Interface KeyValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KeyValue
,KeyValue.Builder
public interface KeyValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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 key of the key/value pair.
string key = 1 [(.validate.rules) = { ... }
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()The key of the key/value pair.
string key = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for key.
-
getValue
com.google.protobuf.ByteString getValue()The value of the key/value pair.
bytes value = 2;
- Returns:
- The value.
-