Package com.exonum.messages.core
Class Proofs.CallProof.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
com.exonum.messages.core.Proofs.CallProof.Builder
- All Implemented Interfaces:
Proofs.CallProofOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Proofs.CallProof
public static final class Proofs.CallProof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder> implements Proofs.CallProofOrBuilder
Proof of authenticity for a single top-level call in a block, such as a transaction.Protobuf type
exonum.CallProof-
Method Summary
Modifier and Type Method Description Proofs.CallProof.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Proofs.CallProofbuild()Proofs.CallProofbuildPartial()Proofs.CallProof.Builderclear()Proofs.CallProof.BuilderclearBlockProof()Proof of authenticity for the block header.Proofs.CallProof.BuilderclearCallProof()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).Proofs.CallProof.BuilderclearErrorDescription()Human-readable description of an error if the call status is erroneous.Proofs.CallProof.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Proofs.CallProof.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Proofs.CallProof.Builderclone()Proofs.BlockProofgetBlockProof()Proof of authenticity for the block header.Proofs.BlockProof.BuildergetBlockProofBuilder()Proof of authenticity for the block header.Proofs.BlockProofOrBuildergetBlockProofOrBuilder()Proof of authenticity for the block header.MapProofOuterClass.MapProofgetCallProof()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).MapProofOuterClass.MapProof.BuildergetCallProofBuilder()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).MapProofOuterClass.MapProofOrBuildergetCallProofOrBuilder()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).Proofs.CallProofgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetErrorDescription()Human-readable description of an error if the call status is erroneous.com.google.protobuf.ByteStringgetErrorDescriptionBytes()Human-readable description of an error if the call status is erroneous.booleanhasBlockProof()Proof of authenticity for the block header.booleanhasCallProof()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Proofs.CallProof.BuildermergeBlockProof(Proofs.BlockProof value)Proof of authenticity for the block header.Proofs.CallProof.BuildermergeCallProof(MapProofOuterClass.MapProof value)Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).Proofs.CallProof.BuildermergeFrom(Proofs.CallProof other)Proofs.CallProof.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Proofs.CallProof.BuildermergeFrom(com.google.protobuf.Message other)Proofs.CallProof.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Proofs.CallProof.BuildersetBlockProof(Proofs.BlockProof value)Proof of authenticity for the block header.Proofs.CallProof.BuildersetBlockProof(Proofs.BlockProof.Builder builderForValue)Proof of authenticity for the block header.Proofs.CallProof.BuildersetCallProof(MapProofOuterClass.MapProof value)Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).Proofs.CallProof.BuildersetCallProof(MapProofOuterClass.MapProof.Builder builderForValue)Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).Proofs.CallProof.BuildersetErrorDescription(java.lang.String value)Human-readable description of an error if the call status is erroneous.Proofs.CallProof.BuildersetErrorDescriptionBytes(com.google.protobuf.ByteString value)Human-readable description of an error if the call status is erroneous.Proofs.CallProof.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Proofs.CallProof.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Proofs.CallProof.BuildersetUnknownFields(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, 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<Proofs.CallProof.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<Proofs.CallProof.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<Proofs.CallProof.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<Proofs.CallProof.Builder>
-
setField
public Proofs.CallProof.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<Proofs.CallProof.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
setRepeatedField
public Proofs.CallProof.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<Proofs.CallProof.Builder>
-
addRepeatedField
public Proofs.CallProof.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<Proofs.CallProof.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Proofs.CallProof.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
mergeFrom
public Proofs.CallProof.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<Proofs.CallProof.Builder>- Throws:
java.io.IOException
-
hasBlockProof
public boolean hasBlockProof()Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;- Specified by:
hasBlockProofin interfaceProofs.CallProofOrBuilder- Returns:
- Whether the blockProof field is set.
-
getBlockProof
Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;- Specified by:
getBlockProofin interfaceProofs.CallProofOrBuilder- 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:
getBlockProofOrBuilderin interfaceProofs.CallProofOrBuilder
-
hasCallProof
public boolean hasCallProof()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2;- Specified by:
hasCallProofin interfaceProofs.CallProofOrBuilder- Returns:
- Whether the callProof field is set.
-
getCallProof
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2;- Specified by:
getCallProofin interfaceProofs.CallProofOrBuilder- Returns:
- The callProof.
-
setCallProof
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2; -
setCallProof
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2; -
mergeCallProof
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2; -
clearCallProof
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2; -
getCallProofBuilder
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2; -
getCallProofOrBuilder
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2;- Specified by:
getCallProofOrBuilderin interfaceProofs.CallProofOrBuilder
-
getErrorDescription
public java.lang.String getErrorDescription()Human-readable description of an error if the call status is erroneous.
string error_description = 3;- Specified by:
getErrorDescriptionin interfaceProofs.CallProofOrBuilder- Returns:
- The errorDescription.
-
getErrorDescriptionBytes
public com.google.protobuf.ByteString getErrorDescriptionBytes()Human-readable description of an error if the call status is erroneous.
string error_description = 3;- Specified by:
getErrorDescriptionBytesin interfaceProofs.CallProofOrBuilder- Returns:
- The bytes for errorDescription.
-
setErrorDescription
Human-readable description of an error if the call status is erroneous.
string error_description = 3;- Parameters:
value- The errorDescription to set.- Returns:
- This builder for chaining.
-
clearErrorDescription
Human-readable description of an error if the call status is erroneous.
string error_description = 3;- Returns:
- This builder for chaining.
-
setErrorDescriptionBytes
Human-readable description of an error if the call status is erroneous.
string error_description = 3;- Parameters:
value- The bytes for errorDescription to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Proofs.CallProof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
mergeUnknownFields
public final Proofs.CallProof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-