Package com.google.api
Interface LabelDescriptorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LabelDescriptor
,LabelDescriptor.Builder
public interface LabelDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA human-readable description for the label.com.google.protobuf.ByteString
A human-readable description for the label.getKey()
The label key.com.google.protobuf.ByteString
The label key.The type of data that can be assigned to the label.int
The type of data that can be assigned to the label.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKey
String getKey()The label key.
string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()The label key.
string key = 1;
- Returns:
- The bytes for key.
-
getValueTypeValue
int getValueTypeValue()The type of data that can be assigned to the label.
.google.api.LabelDescriptor.ValueType value_type = 2;
- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
LabelDescriptor.ValueType getValueType()The type of data that can be assigned to the label.
.google.api.LabelDescriptor.ValueType value_type = 2;
- Returns:
- The valueType.
-
getDescription
String getDescription()A human-readable description for the label.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A human-readable description for the label.
string description = 3;
- Returns:
- The bytes for description.
-