Class InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
com.daml.ledger.api.v2.interactive.InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder
- All Implemented Interfaces:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse
public static final class InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
implements InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
Protobuf type
com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Optional additional details on how the transaction was encoded and hashed.The hashing scheme version used when building the hashclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Optional additional details on how the transaction was encoded and hashed.com.google.protobuf.ByteString
Optional additional details on how the transaction was encoded and hashed.The hashing scheme version used when building the hashint
The hashing scheme version used when building the hashThe interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.com.google.protobuf.ByteString
Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.boolean
Optional additional details on how the transaction was encoded and hashed.boolean
The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setHashingDetails
(String value) Optional additional details on how the transaction was encoded and hashed.setHashingDetailsBytes
(com.google.protobuf.ByteString value) Optional additional details on how the transaction was encoded and hashed.The hashing scheme version used when building the hashsetHashingSchemeVersionValue
(int value) The hashing scheme version used when building the hashThe interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.setPreparedTransaction
(InteractiveSubmissionServiceOuterClass.PreparedTransaction.Builder builderForValue) The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.setPreparedTransactionHash
(com.google.protobuf.ByteString value) Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.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<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.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<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.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<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
setField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
clearField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
clearOneof
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
setRepeatedField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
addRepeatedField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
mergeFrom
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
mergeFrom
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
- Throws:
IOException
-
hasPreparedTransaction
public boolean hasPreparedTransaction()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
- Specified by:
hasPreparedTransaction
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- Whether the preparedTransaction field is set.
-
getPreparedTransaction
The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
- Specified by:
getPreparedTransaction
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- The preparedTransaction.
-
setPreparedTransaction
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setPreparedTransaction(InteractiveSubmissionServiceOuterClass.PreparedTransaction value) The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
-
setPreparedTransaction
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setPreparedTransaction(InteractiveSubmissionServiceOuterClass.PreparedTransaction.Builder builderForValue) The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
-
mergePreparedTransaction
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder mergePreparedTransaction(InteractiveSubmissionServiceOuterClass.PreparedTransaction value) The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
-
clearPreparedTransaction
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder clearPreparedTransaction()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
-
getPreparedTransactionBuilder
public InteractiveSubmissionServiceOuterClass.PreparedTransaction.Builder getPreparedTransactionBuilder()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
-
getPreparedTransactionOrBuilder
public InteractiveSubmissionServiceOuterClass.PreparedTransactionOrBuilder getPreparedTransactionOrBuilder()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
- Specified by:
getPreparedTransactionOrBuilder
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
-
getPreparedTransactionHash
public com.google.protobuf.ByteString getPreparedTransactionHash()Hash of the transaction, this is what needs to be signed by the party to authorize the transaction. Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted. May be removed in future versions
bytes prepared_transaction_hash = 2 [json_name = "preparedTransactionHash"];
- Specified by:
getPreparedTransactionHash
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- The preparedTransactionHash.
-
setPreparedTransactionHash
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setPreparedTransactionHash(com.google.protobuf.ByteString value) Hash of the transaction, this is what needs to be signed by the party to authorize the transaction. Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted. May be removed in future versions
bytes prepared_transaction_hash = 2 [json_name = "preparedTransactionHash"];
- Parameters:
value
- The preparedTransactionHash to set.- Returns:
- This builder for chaining.
-
clearPreparedTransactionHash
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder clearPreparedTransactionHash()Hash of the transaction, this is what needs to be signed by the party to authorize the transaction. Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted. May be removed in future versions
bytes prepared_transaction_hash = 2 [json_name = "preparedTransactionHash"];
- Returns:
- This builder for chaining.
-
getHashingSchemeVersionValue
public int getHashingSchemeVersionValue()The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Specified by:
getHashingSchemeVersionValue
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- The enum numeric value on the wire for hashingSchemeVersion.
-
setHashingSchemeVersionValue
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setHashingSchemeVersionValue(int value) The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Parameters:
value
- The enum numeric value on the wire for hashingSchemeVersion to set.- Returns:
- This builder for chaining.
-
getHashingSchemeVersion
The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Specified by:
getHashingSchemeVersion
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- The hashingSchemeVersion.
-
setHashingSchemeVersion
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setHashingSchemeVersion(InteractiveSubmissionServiceOuterClass.HashingSchemeVersion value) The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Parameters:
value
- The hashingSchemeVersion to set.- Returns:
- This builder for chaining.
-
clearHashingSchemeVersion
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder clearHashingSchemeVersion()The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Returns:
- This builder for chaining.
-
hasHashingDetails
public boolean hasHashingDetails()Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Specified by:
hasHashingDetails
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- Whether the hashingDetails field is set.
-
getHashingDetails
Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Specified by:
getHashingDetails
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- The hashingDetails.
-
getHashingDetailsBytes
public com.google.protobuf.ByteString getHashingDetailsBytes()Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Specified by:
getHashingDetailsBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- Returns:
- The bytes for hashingDetails.
-
setHashingDetails
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setHashingDetails(String value) Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Parameters:
value
- The hashingDetails to set.- Returns:
- This builder for chaining.
-
clearHashingDetails
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder clearHashingDetails()Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Returns:
- This builder for chaining.
-
setHashingDetailsBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setHashingDetailsBytes(com.google.protobuf.ByteString value) Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Parameters:
value
- The bytes for hashingDetails to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-
mergeUnknownFields
public final InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder>
-