Package com.exonum.messages.proof
Interface MapProofOuterClass.OptionalEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MapProofOuterClass.OptionalEntry
,MapProofOuterClass.OptionalEntry.Builder
- Enclosing class:
- MapProofOuterClass
public static interface MapProofOuterClass.OptionalEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description com.google.protobuf.ByteString
getKey()
Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).MapProofOuterClass.OptionalEntry.MaybeValueCase
getMaybeValueCase()
com.google.protobuf.Empty
getNoValue()
Indicator that `key` is missing from the underlying map.com.google.protobuf.EmptyOrBuilder
getNoValueOrBuilder()
Indicator that `key` is missing from the underlying map.com.google.protobuf.ByteString
getValue()
Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).boolean
hasNoValue()
Indicator that `key` is missing from the underlying map.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKey
com.google.protobuf.ByteString getKey()Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes key = 1;
- Returns:
- The key.
-
getValue
com.google.protobuf.ByteString getValue()Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes value = 2;
- Returns:
- The value.
-
hasNoValue
boolean hasNoValue()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3;
- Returns:
- Whether the noValue field is set.
-
getNoValue
com.google.protobuf.Empty getNoValue()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3;
- Returns:
- The noValue.
-
getNoValueOrBuilder
com.google.protobuf.EmptyOrBuilder getNoValueOrBuilder()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3;
-
getMaybeValueCase
MapProofOuterClass.OptionalEntry.MaybeValueCase getMaybeValueCase()
-