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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Proofs.CallProof
build()
Proofs.CallProof
buildPartial()
Proofs.CallProof.Builder
clear()
Proofs.CallProof.Builder
clearBlockProof()
Proof of authenticity for the block header.Proofs.CallProof.Builder
clearCallProof()
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.Builder
clearErrorDescription()
Human-readable description of an error if the call status is erroneous.Proofs.CallProof.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Proofs.CallProof.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Proofs.CallProof.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.MapProofOuterClass.MapProof
getCallProof()
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.Builder
getCallProofBuilder()
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).MapProofOuterClass.MapProofOrBuilder
getCallProofOrBuilder()
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
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getErrorDescription()
Human-readable description of an error if the call status is erroneous.com.google.protobuf.ByteString
getErrorDescriptionBytes()
Human-readable description of an error if the call status is erroneous.boolean
hasBlockProof()
Proof of authenticity for the block header.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`).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Proofs.CallProof.Builder
mergeBlockProof(Proofs.BlockProof value)
Proof of authenticity for the block header.Proofs.CallProof.Builder
mergeCallProof(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.Builder
mergeFrom(Proofs.CallProof other)
Proofs.CallProof.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Proofs.CallProof.Builder
mergeFrom(com.google.protobuf.Message other)
Proofs.CallProof.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Proofs.CallProof.Builder
setBlockProof(Proofs.BlockProof value)
Proof of authenticity for the block header.Proofs.CallProof.Builder
setBlockProof(Proofs.BlockProof.Builder builderForValue)
Proof of authenticity for the block header.Proofs.CallProof.Builder
setCallProof(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.Builder
setCallProof(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.Builder
setErrorDescription(java.lang.String value)
Human-readable description of an error if the call status is erroneous.Proofs.CallProof.Builder
setErrorDescriptionBytes(com.google.protobuf.ByteString value)
Human-readable description of an error if the call status is erroneous.Proofs.CallProof.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Proofs.CallProof.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Proofs.CallProof.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.CallProof.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.CallProof.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.CallProof.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.CallProof.Builder>
-
setField
public Proofs.CallProof.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.CallProof.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Proofs.CallProof.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.CallProof.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.CallProofOrBuilder
- 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.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:
getBlockProofOrBuilder
in 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:
hasCallProof
in 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:
getCallProof
in 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:
getCallProofOrBuilder
in 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:
getErrorDescription
in 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:
getErrorDescriptionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Proofs.CallProof.Builder>
-
mergeUnknownFields
public final Proofs.CallProof.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.CallProof.Builder>
-