Class TransactionOuterClass.TransactionTree.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
com.daml.ledger.api.v2.TransactionOuterClass.TransactionTree.Builder
All Implemented Interfaces:
TransactionOuterClass.TransactionTreeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TransactionOuterClass.TransactionTree

public static final class TransactionOuterClass.TransactionTree.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder> implements TransactionOuterClass.TransactionTreeOrBuilder
 Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
 Complete view of an on-ledger transaction.
 
Protobuf type com.daml.ledger.api.v2.TransactionTree
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • setField

      public TransactionOuterClass.TransactionTree.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • clearField

      public TransactionOuterClass.TransactionTree.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • clearOneof

      public TransactionOuterClass.TransactionTree.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • setRepeatedField

      public TransactionOuterClass.TransactionTree.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • addRepeatedField

      public TransactionOuterClass.TransactionTree.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • mergeFrom

      public TransactionOuterClass.TransactionTree.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.TransactionTree.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • mergeFrom

      public TransactionOuterClass.TransactionTree.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.TransactionTree.Builder>
      Throws:
      IOException
    • getUpdateId

      public String getUpdateId()
       Assigned by the server. Useful for correlating logs.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Specified by:
      getUpdateId in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The updateId.
    • getUpdateIdBytes

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

       Assigned by the server. Useful for correlating logs.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Parameters:
      value - The updateId to set.
      Returns:
      This builder for chaining.
    • clearUpdateId

       Assigned by the server. Useful for correlating logs.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Returns:
      This builder for chaining.
    • setUpdateIdBytes

      public TransactionOuterClass.TransactionTree.Builder setUpdateIdBytes(com.google.protobuf.ByteString value)
       Assigned by the server. Useful for correlating logs.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Parameters:
      value - The bytes for updateId to set.
      Returns:
      This builder for chaining.
    • getCommandId

      public 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.TransactionTreeOrBuilder
      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.TransactionTreeOrBuilder
      Returns:
      The bytes for commandId.
    • setCommandId

       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"];
      Parameters:
      value - The commandId to set.
      Returns:
      This builder for chaining.
    • clearCommandId

       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"];
      Returns:
      This builder for chaining.
    • setCommandIdBytes

      public TransactionOuterClass.TransactionTree.Builder setCommandIdBytes(com.google.protobuf.ByteString value)
       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"];
      Parameters:
      value - The bytes for commandId to set.
      Returns:
      This builder for chaining.
    • getWorkflowId

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

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

       The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 3 [json_name = "workflowId"];
      Parameters:
      value - The workflowId to set.
      Returns:
      This builder for chaining.
    • clearWorkflowId

       The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 3 [json_name = "workflowId"];
      Returns:
      This builder for chaining.
    • setWorkflowIdBytes

      public TransactionOuterClass.TransactionTree.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
       The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 3 [json_name = "workflowId"];
      Parameters:
      value - The bytes for workflowId to set.
      Returns:
      This builder for chaining.
    • hasEffectiveAt

      public boolean hasEffectiveAt()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
      Specified by:
      hasEffectiveAt in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      Whether the effectiveAt field is set.
    • getEffectiveAt

      public com.google.protobuf.Timestamp getEffectiveAt()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
      Specified by:
      getEffectiveAt in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The effectiveAt.
    • setEffectiveAt

      public TransactionOuterClass.TransactionTree.Builder setEffectiveAt(com.google.protobuf.Timestamp value)
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
    • setEffectiveAt

      public TransactionOuterClass.TransactionTree.Builder setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
    • mergeEffectiveAt

      public TransactionOuterClass.TransactionTree.Builder mergeEffectiveAt(com.google.protobuf.Timestamp value)
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
    • clearEffectiveAt

       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
    • getEffectiveAtBuilder

      public com.google.protobuf.Timestamp.Builder getEffectiveAtBuilder()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
    • getEffectiveAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
      Specified by:
      getEffectiveAtOrBuilder in interface TransactionOuterClass.TransactionTreeOrBuilder
    • getOffset

      public long getOffset()
       The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
       Required, it is a valid absolute offset (positive integer).
       
      int64 offset = 5 [json_name = "offset"];
      Specified by:
      getOffset in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The offset.
    • setOffset

      public TransactionOuterClass.TransactionTree.Builder setOffset(long value)
       The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
       Required, it is a valid absolute offset (positive integer).
       
      int64 offset = 5 [json_name = "offset"];
      Parameters:
      value - The offset to set.
      Returns:
      This builder for chaining.
    • clearOffset

       The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
       Required, it is a valid absolute offset (positive integer).
       
      int64 offset = 5 [json_name = "offset"];
      Returns:
      This builder for chaining.
    • getEventsByIdCount

      public int getEventsByIdCount()
      Description copied from interface: TransactionOuterClass.TransactionTreeOrBuilder
       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
      Specified by:
      getEventsByIdCount in interface TransactionOuterClass.TransactionTreeOrBuilder
    • containsEventsById

      public boolean containsEventsById(int key)
       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
      Specified by:
      containsEventsById in interface TransactionOuterClass.TransactionTreeOrBuilder
    • getEventsById

      Deprecated.
      Use getEventsByIdMap() instead.
      Specified by:
      getEventsById in interface TransactionOuterClass.TransactionTreeOrBuilder
    • getEventsByIdMap

      public Map<Integer,TransactionOuterClass.TreeEvent> getEventsByIdMap()
       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
      Specified by:
      getEventsByIdMap in interface TransactionOuterClass.TransactionTreeOrBuilder
    • getEventsByIdOrDefault

      public TransactionOuterClass.TreeEvent getEventsByIdOrDefault(int key, TransactionOuterClass.TreeEvent defaultValue)
       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
      Specified by:
      getEventsByIdOrDefault in interface TransactionOuterClass.TransactionTreeOrBuilder
    • getEventsByIdOrThrow

      public TransactionOuterClass.TreeEvent getEventsByIdOrThrow(int key)
       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
      Specified by:
      getEventsByIdOrThrow in interface TransactionOuterClass.TransactionTreeOrBuilder
    • clearEventsById

    • removeEventsById

      public TransactionOuterClass.TransactionTree.Builder removeEventsById(int key)
       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
    • getMutableEventsById

      @Deprecated public Map<Integer,TransactionOuterClass.TreeEvent> getMutableEventsById()
      Deprecated.
      Use alternate mutation accessors instead.
    • putEventsById

       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
    • putAllEventsById

       Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
       Each key must be a valid node ID (non-negative integer).
       Required
       
      map<int32, .com.daml.ledger.api.v2.TreeEvent> events_by_id = 6 [json_name = "eventsById"];
    • getSynchronizerId

      public String getSynchronizerId()
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Specified by:
      getSynchronizerId in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      public com.google.protobuf.ByteString getSynchronizerIdBytes()
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Specified by:
      getSynchronizerIdBytes in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The bytes for synchronizerId.
    • setSynchronizerId

      public TransactionOuterClass.TransactionTree.Builder setSynchronizerId(String value)
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Parameters:
      value - The synchronizerId to set.
      Returns:
      This builder for chaining.
    • clearSynchronizerId

      public TransactionOuterClass.TransactionTree.Builder clearSynchronizerId()
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Returns:
      This builder for chaining.
    • setSynchronizerIdBytes

      public TransactionOuterClass.TransactionTree.Builder setSynchronizerIdBytes(com.google.protobuf.ByteString value)
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Parameters:
      value - The bytes for synchronizerId to set.
      Returns:
      This builder for chaining.
    • hasTraceContext

      public boolean hasTraceContext()
       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
      Specified by:
      hasTraceContext in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      Whether the traceContext field is set.
    • getTraceContext

      public TraceContextOuterClass.TraceContext getTraceContext()
       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
      Specified by:
      getTraceContext in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The traceContext.
    • setTraceContext

       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
    • setTraceContext

       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
    • mergeTraceContext

       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
    • clearTraceContext

       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
    • getTraceContextBuilder

      public TraceContextOuterClass.TraceContext.Builder getTraceContextBuilder()
       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
    • getTraceContextOrBuilder

      public TraceContextOuterClass.TraceContextOrBuilder getTraceContextOrBuilder()
       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
      Specified by:
      getTraceContextOrBuilder in interface TransactionOuterClass.TransactionTreeOrBuilder
    • hasRecordTime

      public boolean hasRecordTime()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
      Specified by:
      hasRecordTime in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      Whether the recordTime field is set.
    • getRecordTime

      public com.google.protobuf.Timestamp getRecordTime()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
      Specified by:
      getRecordTime in interface TransactionOuterClass.TransactionTreeOrBuilder
      Returns:
      The recordTime.
    • setRecordTime

      public TransactionOuterClass.TransactionTree.Builder setRecordTime(com.google.protobuf.Timestamp value)
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
    • setRecordTime

      public TransactionOuterClass.TransactionTree.Builder setRecordTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
    • mergeRecordTime

      public TransactionOuterClass.TransactionTree.Builder mergeRecordTime(com.google.protobuf.Timestamp value)
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
    • clearRecordTime

       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
    • getRecordTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRecordTimeBuilder()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
    • getRecordTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRecordTimeOrBuilder()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
      Specified by:
      getRecordTimeOrBuilder in interface TransactionOuterClass.TransactionTreeOrBuilder
    • setUnknownFields

      public final TransactionOuterClass.TransactionTree.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
    • mergeUnknownFields

      public final TransactionOuterClass.TransactionTree.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>