Package com.exonum.messages.proof
Class MapProofOuterClass.OptionalEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
com.exonum.messages.proof.MapProofOuterClass.OptionalEntry.Builder
- All Implemented Interfaces:
MapProofOuterClass.OptionalEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- MapProofOuterClass.OptionalEntry
public static final class MapProofOuterClass.OptionalEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder> implements MapProofOuterClass.OptionalEntryOrBuilder
Key with corresponding value or an empty value if the key is missing from the underlying map.Protobuf type
exonum.proof.OptionalEntry-
Method Summary
Modifier and Type Method Description MapProofOuterClass.OptionalEntry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MapProofOuterClass.OptionalEntrybuild()MapProofOuterClass.OptionalEntrybuildPartial()MapProofOuterClass.OptionalEntry.Builderclear()MapProofOuterClass.OptionalEntry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MapProofOuterClass.OptionalEntry.BuilderclearKey()Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).MapProofOuterClass.OptionalEntry.BuilderclearMaybeValue()MapProofOuterClass.OptionalEntry.BuilderclearNoValue()Indicator that `key` is missing from the underlying map.MapProofOuterClass.OptionalEntry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MapProofOuterClass.OptionalEntry.BuilderclearValue()Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).MapProofOuterClass.OptionalEntry.Builderclone()MapProofOuterClass.OptionalEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetKey()Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).MapProofOuterClass.OptionalEntry.MaybeValueCasegetMaybeValueCase()com.google.protobuf.EmptygetNoValue()Indicator that `key` is missing from the underlying map.com.google.protobuf.Empty.BuildergetNoValueBuilder()Indicator that `key` is missing from the underlying map.com.google.protobuf.EmptyOrBuildergetNoValueOrBuilder()Indicator that `key` is missing from the underlying map.com.google.protobuf.ByteStringgetValue()Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).booleanhasNoValue()Indicator that `key` is missing from the underlying map.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MapProofOuterClass.OptionalEntry.BuildermergeFrom(MapProofOuterClass.OptionalEntry other)MapProofOuterClass.OptionalEntry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MapProofOuterClass.OptionalEntry.BuildermergeFrom(com.google.protobuf.Message other)MapProofOuterClass.OptionalEntry.BuildermergeNoValue(com.google.protobuf.Empty value)Indicator that `key` is missing from the underlying map.MapProofOuterClass.OptionalEntry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MapProofOuterClass.OptionalEntry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MapProofOuterClass.OptionalEntry.BuildersetKey(com.google.protobuf.ByteString value)Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).MapProofOuterClass.OptionalEntry.BuildersetNoValue(com.google.protobuf.Empty value)Indicator that `key` is missing from the underlying map.MapProofOuterClass.OptionalEntry.BuildersetNoValue(com.google.protobuf.Empty.Builder builderForValue)Indicator that `key` is missing from the underlying map.MapProofOuterClass.OptionalEntry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)MapProofOuterClass.OptionalEntry.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MapProofOuterClass.OptionalEntry.BuildersetValue(com.google.protobuf.ByteString value)Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
setField
public MapProofOuterClass.OptionalEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
clearField
public MapProofOuterClass.OptionalEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
clearOneof
public MapProofOuterClass.OptionalEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
setRepeatedField
public MapProofOuterClass.OptionalEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
addRepeatedField
public MapProofOuterClass.OptionalEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
mergeFrom
public MapProofOuterClass.OptionalEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MapProofOuterClass.OptionalEntry.Builder>- Throws:
java.io.IOException
-
getMaybeValueCase
- Specified by:
getMaybeValueCasein interfaceMapProofOuterClass.OptionalEntryOrBuilder
-
clearMaybeValue
-
getKey
public com.google.protobuf.ByteString getKey()Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes key = 1;- Specified by:
getKeyin interfaceMapProofOuterClass.OptionalEntryOrBuilder- Returns:
- The key.
-
setKey
Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
Key serialized as per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes key = 1;- Returns:
- This builder for chaining.
-
getValue
public com.google.protobuf.ByteString getValue()Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes value = 2;- Specified by:
getValuein interfaceMapProofOuterClass.OptionalEntryOrBuilder- Returns:
- The value.
-
setValue
Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes value = 2;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
Value serialized per `BinaryValue` implementation (usually as a Protobuf message, except for primitive types).
bytes value = 2;- Returns:
- This builder for chaining.
-
hasNoValue
public boolean hasNoValue()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3;- Specified by:
hasNoValuein interfaceMapProofOuterClass.OptionalEntryOrBuilder- Returns:
- Whether the noValue field is set.
-
getNoValue
public com.google.protobuf.Empty getNoValue()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3;- Specified by:
getNoValuein interfaceMapProofOuterClass.OptionalEntryOrBuilder- Returns:
- The noValue.
-
setNoValue
Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3; -
setNoValue
public MapProofOuterClass.OptionalEntry.Builder setNoValue(com.google.protobuf.Empty.Builder builderForValue)Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3; -
mergeNoValue
Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3; -
clearNoValue
Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3; -
getNoValueBuilder
public com.google.protobuf.Empty.Builder getNoValueBuilder()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3; -
getNoValueOrBuilder
public com.google.protobuf.EmptyOrBuilder getNoValueOrBuilder()Indicator that `key` is missing from the underlying map.
.google.protobuf.Empty no_value = 3;- Specified by:
getNoValueOrBuilderin interfaceMapProofOuterClass.OptionalEntryOrBuilder
-
setUnknownFields
public final MapProofOuterClass.OptionalEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-
mergeUnknownFields
public final MapProofOuterClass.OptionalEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MapProofOuterClass.OptionalEntry.Builder>
-