Package com.exonum.messages.core
Class Proofs.IndexProof.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
com.exonum.messages.core.Proofs.IndexProof.Builder
- All Implemented Interfaces:
Proofs.IndexProofOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Proofs.IndexProof
public static final class Proofs.IndexProof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder> implements Proofs.IndexProofOrBuilder
Proof of authenticity for a single index within the database.Protobuf type
exonum.IndexProof
-
Method Summary
Modifier and Type Method Description Proofs.IndexProof.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Proofs.IndexProof
build()
Proofs.IndexProof
buildPartial()
Proofs.IndexProof.Builder
clear()
Proofs.IndexProof.Builder
clearBlockProof()
Proof of authenticity for the block header.Proofs.IndexProof.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Proofs.IndexProof.Builder
clearIndexProof()
Proof of authenticity for the index.Proofs.IndexProof.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Proofs.IndexProof.Builder
clone()
Proofs.BlockProof
getBlockProof()
Proof of authenticity for the block header.Proofs.BlockProof.Builder
getBlockProofBuilder()
Proof of authenticity for the block header.Proofs.BlockProofOrBuilder
getBlockProofOrBuilder()
Proof of authenticity for the block header.Proofs.IndexProof
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
MapProofOuterClass.MapProof
getIndexProof()
Proof of authenticity for the index.MapProofOuterClass.MapProof.Builder
getIndexProofBuilder()
Proof of authenticity for the index.MapProofOuterClass.MapProofOrBuilder
getIndexProofOrBuilder()
Proof of authenticity for the index.boolean
hasBlockProof()
Proof of authenticity for the block header.boolean
hasIndexProof()
Proof of authenticity for the index.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Proofs.IndexProof.Builder
mergeBlockProof(Proofs.BlockProof value)
Proof of authenticity for the block header.Proofs.IndexProof.Builder
mergeFrom(Proofs.IndexProof other)
Proofs.IndexProof.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Proofs.IndexProof.Builder
mergeFrom(com.google.protobuf.Message other)
Proofs.IndexProof.Builder
mergeIndexProof(MapProofOuterClass.MapProof value)
Proof of authenticity for the index.Proofs.IndexProof.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Proofs.IndexProof.Builder
setBlockProof(Proofs.BlockProof value)
Proof of authenticity for the block header.Proofs.IndexProof.Builder
setBlockProof(Proofs.BlockProof.Builder builderForValue)
Proof of authenticity for the block header.Proofs.IndexProof.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Proofs.IndexProof.Builder
setIndexProof(MapProofOuterClass.MapProof value)
Proof of authenticity for the index.Proofs.IndexProof.Builder
setIndexProof(MapProofOuterClass.MapProof.Builder builderForValue)
Proof of authenticity for the index.Proofs.IndexProof.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Proofs.IndexProof.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
setField
public Proofs.IndexProof.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
setRepeatedField
public Proofs.IndexProof.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
addRepeatedField
public Proofs.IndexProof.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Proofs.IndexProof.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
mergeFrom
public Proofs.IndexProof.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Proofs.IndexProof.Builder>
- Throws:
java.io.IOException
-
hasBlockProof
public boolean hasBlockProof()Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
- Specified by:
hasBlockProof
in interfaceProofs.IndexProofOrBuilder
- Returns:
- Whether the blockProof field is set.
-
getBlockProof
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
- Specified by:
getBlockProof
in interfaceProofs.IndexProofOrBuilder
- Returns:
- The blockProof.
-
setBlockProof
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
-
setBlockProof
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
-
mergeBlockProof
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
-
clearBlockProof
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
-
getBlockProofBuilder
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
-
getBlockProofOrBuilder
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
- Specified by:
getBlockProofOrBuilder
in interfaceProofs.IndexProofOrBuilder
-
hasIndexProof
public boolean hasIndexProof()Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
- Specified by:
hasIndexProof
in interfaceProofs.IndexProofOrBuilder
- Returns:
- Whether the indexProof field is set.
-
getIndexProof
Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
- Specified by:
getIndexProof
in interfaceProofs.IndexProofOrBuilder
- Returns:
- The indexProof.
-
setIndexProof
Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
-
setIndexProof
public Proofs.IndexProof.Builder setIndexProof(MapProofOuterClass.MapProof.Builder builderForValue)Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
-
mergeIndexProof
Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
-
clearIndexProof
Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
-
getIndexProofBuilder
Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
-
getIndexProofOrBuilder
Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
- Specified by:
getIndexProofOrBuilder
in interfaceProofs.IndexProofOrBuilder
-
setUnknownFields
public final Proofs.IndexProof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-
mergeUnknownFields
public final Proofs.IndexProof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.IndexProof.Builder>
-