Class InteractiveSubmissionServiceOuterClass.MinLedgerTime

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.interactive.InteractiveSubmissionServiceOuterClass.MinLedgerTime
All Implemented Interfaces:
InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder, 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.MinLedgerTime extends com.google.protobuf.GeneratedMessageV3 implements InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
Protobuf type com.daml.ledger.api.v2.interactive.MinLedgerTime
See Also:
  • Field Details

    • MIN_LEDGER_TIME_ABS_FIELD_NUMBER

      public static final int MIN_LEDGER_TIME_ABS_FIELD_NUMBER
      See Also:
    • MIN_LEDGER_TIME_REL_FIELD_NUMBER

      public static final int MIN_LEDGER_TIME_REL_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getTimeCase

      Specified by:
      getTimeCase in interface InteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
    • 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.
    • 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.
    • 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
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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 InteractiveSubmissionServiceOuterClass.MinLedgerTime parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime 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.MinLedgerTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      Throws:
      IOException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static InteractiveSubmissionServiceOuterClass.MinLedgerTime getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.MinLedgerTime> parser()
    • getParserForType

      public com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.MinLedgerTime> 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 InteractiveSubmissionServiceOuterClass.MinLedgerTime getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder