Class InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder

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

public static final class InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder> implements InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
Protobuf type com.daml.ledger.api.v2.interactive.MinLedgerTime
  • Method Details

    • 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.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • getDefaultInstanceForType

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime 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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • setField

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • clearField

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • clearOneof

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • setRepeatedField

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • addRepeatedField

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • mergeFrom

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • mergeFrom

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
      Throws:
      IOException
    • getTimeCase

      Specified by:
      getTimeCase in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
    • clearTime

    • hasMinLedgerTimeAbs

      public boolean hasMinLedgerTimeAbs()
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
      Specified by:
      hasMinLedgerTimeAbs in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
      Returns:
      Whether the minLedgerTimeAbs field is set.
    • getMinLedgerTimeAbs

      public com.google.protobuf.Timestamp getMinLedgerTimeAbs()
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
      Specified by:
      getMinLedgerTimeAbs in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
      Returns:
      The minLedgerTimeAbs.
    • setMinLedgerTimeAbs

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
    • setMinLedgerTimeAbs

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setMinLedgerTimeAbs(com.google.protobuf.Timestamp.Builder builderForValue)
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
    • mergeMinLedgerTimeAbs

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder mergeMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
    • clearMinLedgerTimeAbs

       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
    • getMinLedgerTimeAbsBuilder

      public com.google.protobuf.Timestamp.Builder getMinLedgerTimeAbsBuilder()
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
    • getMinLedgerTimeAbsOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMinLedgerTimeAbsOrBuilder()
       Lower bound for the ledger time assigned to the resulting transaction.
       The ledger time of a transaction is assigned as part of command interpretation.
       Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
       and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
       The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
       If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
       by the submission timestamp, which is also assigned in the "prepare" step (this request),
       but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 1 [json_name = "minLedgerTimeAbs"];
      Specified by:
      getMinLedgerTimeAbsOrBuilder in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
    • hasMinLedgerTimeRel

      public boolean hasMinLedgerTimeRel()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
      Specified by:
      hasMinLedgerTimeRel in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
      Returns:
      Whether the minLedgerTimeRel field is set.
    • getMinLedgerTimeRel

      public com.google.protobuf.Duration getMinLedgerTimeRel()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
      Specified by:
      getMinLedgerTimeRel in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
      Returns:
      The minLedgerTimeRel.
    • setMinLedgerTimeRel

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setMinLedgerTimeRel(com.google.protobuf.Duration value)
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
    • setMinLedgerTimeRel

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setMinLedgerTimeRel(com.google.protobuf.Duration.Builder builderForValue)
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
    • mergeMinLedgerTimeRel

      public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder mergeMinLedgerTimeRel(com.google.protobuf.Duration value)
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
    • clearMinLedgerTimeRel

       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
    • getMinLedgerTimeRelBuilder

      public com.google.protobuf.Duration.Builder getMinLedgerTimeRelBuilder()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
    • getMinLedgerTimeRelOrBuilder

      public com.google.protobuf.DurationOrBuilder getMinLedgerTimeRelOrBuilder()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 2 [json_name = "minLedgerTimeRel"];
      Specified by:
      getMinLedgerTimeRelOrBuilder in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
    • setUnknownFields

      public final InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
    • mergeUnknownFields

      public final InteractiveSubmissionServiceOuterClass.MinLedgerTime.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<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>