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.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampLower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Timestamp.BuilderLower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.TimestampOrBuilderLower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.DurationSame 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.BuilderSame as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.com.google.protobuf.DurationOrBuilderSame as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.booleanLower bound for the ledger time assigned to the resulting transaction.booleanSame 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.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
setField
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
clearField
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
clearOneof
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
addRepeatedField
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
mergeFrom
public InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>- Throws:
IOException
-
getTimeCase
- Specified by:
getTimeCasein 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:
hasMinLedgerTimeAbsin 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:
getMinLedgerTimeAbsin 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:
getMinLedgerTimeAbsOrBuilderin 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:
hasMinLedgerTimeRelin 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:
getMinLedgerTimeRelin 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:
getMinLedgerTimeRelOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.MinLedgerTimeOrBuilder
-
setUnknownFields
public final InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-
mergeUnknownFields
public final InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder>
-