Package namespace.stdlib
Interface Labels.LabelOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Labels.Label,Labels.Label.Builder
- Enclosing class:
Labels
public static interface Labels.LabelOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()A name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`.com.google.protobuf.ByteStringA name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`.getValue()Label values are arbitrary values up to 255 bytes.com.google.protobuf.ByteStringLabel values are arbitrary values up to 255 bytes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()A name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`.
string name = 1;- Returns:
- The bytes for name.
-
getValue
String getValue()Label values are arbitrary values up to 255 bytes.
string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Label values are arbitrary values up to 255 bytes.
string value = 2;- Returns:
- The bytes for value.
-