Package org.apache.bookkeeper.proto
Interface BookkeeperProtocol.ContextPairOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BookkeeperProtocol.ContextPair,BookkeeperProtocol.ContextPair.Builder
- Enclosing class:
- BookkeeperProtocol
public static interface BookkeeperProtocol.ContextPairOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()required string key = 1;com.google.protobuf.ByteStringgetKeyBytes()required string key = 1;java.lang.StringgetValue()required string value = 2;com.google.protobuf.ByteStringgetValueBytes()required string value = 2;booleanhasKey()required string key = 1;booleanhasValue()required string 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()
required string key = 1;- Returns:
- Whether the key field is set.
-
getKey
java.lang.String getKey()
required string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
required string key = 1;- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
required string value = 2;- Returns:
- Whether the value field is set.
-
getValue
java.lang.String getValue()
required string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
required string value = 2;- Returns:
- The bytes for value.
-
-