Package org.apache.bookkeeper.proto
Interface DataFormats.LedgerMetadataFormat.cMetadataMapEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataFormats.LedgerMetadataFormat.cMetadataMapEntry
,DataFormats.LedgerMetadataFormat.cMetadataMapEntry.Builder
- Enclosing class:
- DataFormats.LedgerMetadataFormat
public static interface DataFormats.LedgerMetadataFormat.cMetadataMapEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey()
optional string key = 1;
com.google.protobuf.ByteString
getKeyBytes()
optional string key = 1;
com.google.protobuf.ByteString
getValue()
optional bytes value = 2;
boolean
hasKey()
optional string key = 1;
boolean
hasValue()
optional bytes value = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
optional string key = 1;
- Returns:
- Whether the key field is set.
-
getKey
java.lang.String getKey()
optional string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
optional string key = 1;
- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
optional bytes value = 2;
- Returns:
- Whether the value field is set.
-
getValue
com.google.protobuf.ByteString getValue()
optional bytes value = 2;
- Returns:
- The value.
-
-