Class TransactionOuterClass.Transaction

    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getTransactionId

        public java.lang.String getTransactionId()
         Assigned by the server. Useful for correlating logs.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string transaction_id = 1 [json_name = "transactionId"];
        Specified by:
        getTransactionId in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The transactionId.
      • getTransactionIdBytes

        public com.google.protobuf.ByteString getTransactionIdBytes()
         Assigned by the server. Useful for correlating logs.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string transaction_id = 1 [json_name = "transactionId"];
        Specified by:
        getTransactionIdBytes in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The bytes for transactionId.
      • getCommandId

        public java.lang.String getCommandId()
         The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
         Must be a valid LedgerString (as described in ``value.proto``).
         Optional
         
        string command_id = 2 [json_name = "commandId"];
        Specified by:
        getCommandId in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The commandId.
      • getCommandIdBytes

        public com.google.protobuf.ByteString getCommandIdBytes()
         The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
         Must be a valid LedgerString (as described in ``value.proto``).
         Optional
         
        string command_id = 2 [json_name = "commandId"];
        Specified by:
        getCommandIdBytes in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The bytes for commandId.
      • getWorkflowId

        public java.lang.String getWorkflowId()
         The workflow ID used in command submission.
         Must be a valid LedgerString (as described in ``value.proto``).
         Optional
         
        string workflow_id = 3 [json_name = "workflowId"];
        Specified by:
        getWorkflowId in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The workflowId.
      • getWorkflowIdBytes

        public com.google.protobuf.ByteString getWorkflowIdBytes()
         The workflow ID used in command submission.
         Must be a valid LedgerString (as described in ``value.proto``).
         Optional
         
        string workflow_id = 3 [json_name = "workflowId"];
        Specified by:
        getWorkflowIdBytes in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The bytes for workflowId.
      • hasEffectiveAt

        public boolean hasEffectiveAt()
         Ledger effective time.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
        Specified by:
        hasEffectiveAt in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        Whether the effectiveAt field is set.
      • getEffectiveAt

        public com.google.protobuf.Timestamp getEffectiveAt()
         Ledger effective time.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
        Specified by:
        getEffectiveAt in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The effectiveAt.
      • getEffectiveAtOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
         Ledger effective time.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
        Specified by:
        getEffectiveAtOrBuilder in interface TransactionOuterClass.TransactionOrBuilder
      • getEventsCount

        public int getEventsCount()
         The collection of events.
         Only contains ``CreatedEvent`` or ``ArchivedEvent``.
         Required
         
        repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];
        Specified by:
        getEventsCount in interface TransactionOuterClass.TransactionOrBuilder
      • getOffset

        public java.lang.String getOffset()
         The absolute offset. The format of this field is described in ``ledger_offset.proto``.
         Required
         
        string offset = 6 [json_name = "offset"];
        Specified by:
        getOffset in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The offset.
      • getOffsetBytes

        public com.google.protobuf.ByteString getOffsetBytes()
         The absolute offset. The format of this field is described in ``ledger_offset.proto``.
         Required
         
        string offset = 6 [json_name = "offset"];
        Specified by:
        getOffsetBytes in interface TransactionOuterClass.TransactionOrBuilder
        Returns:
        The bytes for offset.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(java.nio.ByteBuffer data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(java.nio.ByteBuffer data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(com.google.protobuf.ByteString data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(com.google.protobuf.ByteString data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(byte[] data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(byte[] data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(java.io.InputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static TransactionOuterClass.Transaction parseDelimitedFrom​(java.io.InputStream input)
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static TransactionOuterClass.Transaction parseDelimitedFrom​(java.io.InputStream input,
                                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(com.google.protobuf.CodedInputStream input)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static TransactionOuterClass.Transaction parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public TransactionOuterClass.Transaction.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public TransactionOuterClass.Transaction.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected TransactionOuterClass.Transaction.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<TransactionOuterClass.Transaction> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public TransactionOuterClass.Transaction getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder