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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Lower bound for the ledger time assigned to the resulting transaction.Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Timestamp
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Timestamp.Builder
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.TimestampOrBuilder
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Duration
Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.com.google.protobuf.Duration.Builder
Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.com.google.protobuf.DurationOrBuilder
Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.boolean
Lower bound for the ledger time assigned to the resulting transaction.boolean
Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMinLedgerTimeAbs
(com.google.protobuf.Timestamp value) Lower bound for the ledger time assigned to the resulting transaction.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.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setMinLedgerTimeAbs
(com.google.protobuf.Timestamp value) Lower bound for the ledger time assigned to the resulting transaction.setMinLedgerTimeAbs
(com.google.protobuf.Timestamp.Builder builderForValue) Lower bound for the ledger time assigned to the resulting transaction.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.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.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
clearField
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
clearOneof
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
mergeFrom
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
- Throws:
IOException
-
getTimeCase
- Specified by:
getTimeCase
in interfaceInteractiveSubmissionServiceOuterClass.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 interfaceInteractiveSubmissionServiceOuterClass.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 interfaceInteractiveSubmissionServiceOuterClass.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 interfaceInteractiveSubmissionServiceOuterClass.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 interfaceInteractiveSubmissionServiceOuterClass.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 interfaceInteractiveSubmissionServiceOuterClass.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 interfaceInteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
-
setUnknownFields
public final InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
mergeUnknownFields
public final InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-