Class InteractiveSubmissionServiceOuterClass.Metadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.interactive.InteractiveSubmissionServiceOuterClass.Metadata
- All Implemented Interfaces:
InteractiveSubmissionServiceOuterClass.MetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
InteractiveSubmissionServiceOuterClass
public static final class InteractiveSubmissionServiceOuterClass.Metadata
extends com.google.protobuf.GeneratedMessageV3
implements InteractiveSubmissionServiceOuterClass.MetadataOrBuilder
Transaction Metadata Refer to the hashing documentation for information on how it should be hashed.Protobuf type
com.daml.ledger.api.v2.interactive.Metadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTransaction Metadata Refer to the hashing documentation for information on how it should be hashed.static final classThis message is deprecated and may be removed in future releasesstatic interfacestatic final classProtobuf typecom.daml.ledger.api.v2.interactive.Metadata.InputContractstatic interfacestatic final classProtobuf typecom.daml.ledger.api.v2.interactive.Metadata.SubmitterInfostatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorgetGlobalKeyMapping(int index) Deprecated.intDeprecated.Deprecated.getGlobalKeyMappingOrBuilder(int index) Deprecated.Deprecated.getInputContracts(int index) Not populated if the transaction has no input contracts Optional: can be emptyintNot populated if the transaction has no input contracts Optional: can be emptyNot populated if the transaction has no input contracts Optional: can be emptygetInputContractsOrBuilder(int index) Not populated if the transaction has no input contracts Optional: can be emptyNot populated if the transaction has no input contracts Optional: can be emptylongOptionallongMaximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer `synchronizer_id`.intRequiredlongOptionalcom.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.Metadata> longRequiredintRequiredRequiredRequiredcom.google.protobuf.ByteStringRequiredRequiredcom.google.protobuf.ByteStringRequiredinthashCode()booleanOptionalbooleanMaximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer `synchronizer_id`.booleanOptionalbooleanRequiredprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.Metadata> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SUBMITTER_INFO_FIELD_NUMBER
public static final int SUBMITTER_INFO_FIELD_NUMBER- See Also:
-
SYNCHRONIZER_ID_FIELD_NUMBER
public static final int SYNCHRONIZER_ID_FIELD_NUMBER- See Also:
-
MEDIATOR_GROUP_FIELD_NUMBER
public static final int MEDIATOR_GROUP_FIELD_NUMBER- See Also:
-
TRANSACTION_UUID_FIELD_NUMBER
public static final int TRANSACTION_UUID_FIELD_NUMBER- See Also:
-
PREPARATION_TIME_FIELD_NUMBER
public static final int PREPARATION_TIME_FIELD_NUMBER- See Also:
-
INPUT_CONTRACTS_FIELD_NUMBER
public static final int INPUT_CONTRACTS_FIELD_NUMBER- See Also:
-
MIN_LEDGER_EFFECTIVE_TIME_FIELD_NUMBER
public static final int MIN_LEDGER_EFFECTIVE_TIME_FIELD_NUMBER- See Also:
-
MAX_LEDGER_EFFECTIVE_TIME_FIELD_NUMBER
public static final int MAX_LEDGER_EFFECTIVE_TIME_FIELD_NUMBER- See Also:
-
MAX_RECORD_TIME_FIELD_NUMBER
public static final int MAX_RECORD_TIME_FIELD_NUMBER- See Also:
-
GLOBAL_KEY_MAPPING_FIELD_NUMBER
public static final int GLOBAL_KEY_MAPPING_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasSubmitterInfo
public boolean hasSubmitterInfo()Required
.com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo submitter_info = 2;- Specified by:
hasSubmitterInfoin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- Whether the submitterInfo field is set.
-
getSubmitterInfo
Required
.com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo submitter_info = 2;- Specified by:
getSubmitterInfoin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The submitterInfo.
-
getSubmitterInfoOrBuilder
public InteractiveSubmissionServiceOuterClass.Metadata.SubmitterInfoOrBuilder getSubmitterInfoOrBuilder()Required
.com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo submitter_info = 2;- Specified by:
getSubmitterInfoOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getSynchronizerId
Required
string synchronizer_id = 3;- Specified by:
getSynchronizerIdin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
public com.google.protobuf.ByteString getSynchronizerIdBytes()Required
string synchronizer_id = 3;- Specified by:
getSynchronizerIdBytesin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The bytes for synchronizerId.
-
getMediatorGroup
public int getMediatorGroup()Required
uint32 mediator_group = 4;- Specified by:
getMediatorGroupin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The mediatorGroup.
-
getTransactionUuid
Required
string transaction_uuid = 5;- Specified by:
getTransactionUuidin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The transactionUuid.
-
getTransactionUuidBytes
public com.google.protobuf.ByteString getTransactionUuidBytes()Required
string transaction_uuid = 5;- Specified by:
getTransactionUuidBytesin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The bytes for transactionUuid.
-
getPreparationTime
public long getPreparationTime()Required
uint64 preparation_time = 6;- Specified by:
getPreparationTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The preparationTime.
-
getInputContractsList
Not populated if the transaction has no input contracts Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7;- Specified by:
getInputContractsListin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getInputContractsOrBuilderList
public List<? extends InteractiveSubmissionServiceOuterClass.Metadata.InputContractOrBuilder> getInputContractsOrBuilderList()Not populated if the transaction has no input contracts Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7;- Specified by:
getInputContractsOrBuilderListin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getInputContractsCount
public int getInputContractsCount()Not populated if the transaction has no input contracts Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7;- Specified by:
getInputContractsCountin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getInputContracts
Not populated if the transaction has no input contracts Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7;- Specified by:
getInputContractsin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getInputContractsOrBuilder
public InteractiveSubmissionServiceOuterClass.Metadata.InputContractOrBuilder getInputContractsOrBuilder(int index) Not populated if the transaction has no input contracts Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7;- Specified by:
getInputContractsOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
hasMinLedgerEffectiveTime
public boolean hasMinLedgerEffectiveTime()Optional
optional uint64 min_ledger_effective_time = 9;- Specified by:
hasMinLedgerEffectiveTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- Whether the minLedgerEffectiveTime field is set.
-
getMinLedgerEffectiveTime
public long getMinLedgerEffectiveTime()Optional
optional uint64 min_ledger_effective_time = 9;- Specified by:
getMinLedgerEffectiveTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The minLedgerEffectiveTime.
-
hasMaxLedgerEffectiveTime
public boolean hasMaxLedgerEffectiveTime()Optional
optional uint64 max_ledger_effective_time = 10;- Specified by:
hasMaxLedgerEffectiveTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- Whether the maxLedgerEffectiveTime field is set.
-
getMaxLedgerEffectiveTime
public long getMaxLedgerEffectiveTime()Optional
optional uint64 max_ledger_effective_time = 10;- Specified by:
getMaxLedgerEffectiveTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The maxLedgerEffectiveTime.
-
hasMaxRecordTime
public boolean hasMaxRecordTime()Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer `synchronizer_id`. If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again with a new valid max_record_time. Set max_record_time in the PreparedTransactionRequest to get this field set accordingly Optional
optional uint64 max_record_time = 11;- Specified by:
hasMaxRecordTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- Whether the maxRecordTime field is set.
-
getMaxRecordTime
public long getMaxRecordTime()Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer `synchronizer_id`. If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again with a new valid max_record_time. Set max_record_time in the PreparedTransactionRequest to get this field set accordingly Optional
optional uint64 max_record_time = 11;- Specified by:
getMaxRecordTimein interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder- Returns:
- The maxRecordTime.
-
getGlobalKeyMappingList
@Deprecated public List<InteractiveSubmissionServiceOuterClass.Metadata.GlobalKeyMappingEntry> getGlobalKeyMappingList()Deprecated.This fields is deprecated and will always be empty. Keys and associated contracts are already present and signed within the transaction nodes where they're used Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8 [deprecated = true];- Specified by:
getGlobalKeyMappingListin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getGlobalKeyMappingOrBuilderList
@Deprecated public List<? extends InteractiveSubmissionServiceOuterClass.Metadata.GlobalKeyMappingEntryOrBuilder> getGlobalKeyMappingOrBuilderList()Deprecated.This fields is deprecated and will always be empty. Keys and associated contracts are already present and signed within the transaction nodes where they're used Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8 [deprecated = true];- Specified by:
getGlobalKeyMappingOrBuilderListin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getGlobalKeyMappingCount
Deprecated.This fields is deprecated and will always be empty. Keys and associated contracts are already present and signed within the transaction nodes where they're used Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8 [deprecated = true];- Specified by:
getGlobalKeyMappingCountin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getGlobalKeyMapping
@Deprecated public InteractiveSubmissionServiceOuterClass.Metadata.GlobalKeyMappingEntry getGlobalKeyMapping(int index) Deprecated.This fields is deprecated and will always be empty. Keys and associated contracts are already present and signed within the transaction nodes where they're used Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8 [deprecated = true];- Specified by:
getGlobalKeyMappingin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
getGlobalKeyMappingOrBuilder
@Deprecated public InteractiveSubmissionServiceOuterClass.Metadata.GlobalKeyMappingEntryOrBuilder getGlobalKeyMappingOrBuilder(int index) Deprecated.This fields is deprecated and will always be empty. Keys and associated contracts are already present and signed within the transaction nodes where they're used Optional: can be empty
repeated .com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8 [deprecated = true];- Specified by:
getGlobalKeyMappingOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.MetadataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.Metadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static InteractiveSubmissionServiceOuterClass.Metadata.Builder newBuilder(InteractiveSubmissionServiceOuterClass.Metadata prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InteractiveSubmissionServiceOuterClass.Metadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
public com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.Metadata> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-