Package com.daml.ledger.api.v1
Class LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
- com.daml.ledger.api.v1.LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
-
- All Implemented Interfaces:
LedgerConfigurationServiceOuterClass.LedgerConfigurationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- LedgerConfigurationServiceOuterClass.LedgerConfiguration
public static final class LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder> implements LedgerConfigurationServiceOuterClass.LedgerConfigurationOrBuilder
LedgerConfiguration contains parameters of the ledger instance that may be useful to clients.
Protobuf typecom.daml.ledger.api.v1.LedgerConfiguration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
LedgerConfigurationServiceOuterClass.LedgerConfiguration
build()
LedgerConfigurationServiceOuterClass.LedgerConfiguration
buildPartial()
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
clear()
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
clearMaxDeduplicationDuration()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
clone()
LedgerConfigurationServiceOuterClass.LedgerConfiguration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Duration
getMaxDeduplicationDuration()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.com.google.protobuf.Duration.Builder
getMaxDeduplicationDurationBuilder()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.com.google.protobuf.DurationOrBuilder
getMaxDeduplicationDurationOrBuilder()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.boolean
hasMaxDeduplicationDuration()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
mergeFrom(LedgerConfigurationServiceOuterClass.LedgerConfiguration other)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
mergeFrom(com.google.protobuf.Message other)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
mergeMaxDeduplicationDuration(com.google.protobuf.Duration value)
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
setMaxDeduplicationDuration(com.google.protobuf.Duration value)
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
setMaxDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early.LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
clear
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
getDefaultInstanceForType
public LedgerConfigurationServiceOuterClass.LedgerConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LedgerConfigurationServiceOuterClass.LedgerConfiguration build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LedgerConfigurationServiceOuterClass.LedgerConfiguration buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
setField
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
clearField
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
clearOneof
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
setRepeatedField
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
addRepeatedField
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
mergeFrom
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
mergeFrom
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder mergeFrom(LedgerConfigurationServiceOuterClass.LedgerConfiguration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
mergeFrom
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
- Throws:
java.io.IOException
-
hasMaxDeduplicationDuration
public boolean hasMaxDeduplicationDuration()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
- Specified by:
hasMaxDeduplicationDuration
in interfaceLedgerConfigurationServiceOuterClass.LedgerConfigurationOrBuilder
- Returns:
- Whether the maxDeduplicationDuration field is set.
-
getMaxDeduplicationDuration
public com.google.protobuf.Duration getMaxDeduplicationDuration()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
- Specified by:
getMaxDeduplicationDuration
in interfaceLedgerConfigurationServiceOuterClass.LedgerConfigurationOrBuilder
- Returns:
- The maxDeduplicationDuration.
-
setMaxDeduplicationDuration
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder setMaxDeduplicationDuration(com.google.protobuf.Duration value)
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
-
setMaxDeduplicationDuration
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder setMaxDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
-
mergeMaxDeduplicationDuration
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder mergeMaxDeduplicationDuration(com.google.protobuf.Duration value)
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
-
clearMaxDeduplicationDuration
public LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder clearMaxDeduplicationDuration()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
-
getMaxDeduplicationDurationBuilder
public com.google.protobuf.Duration.Builder getMaxDeduplicationDurationBuilder()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
-
getMaxDeduplicationDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxDeduplicationDurationOrBuilder()
If a command submission specifies a deduplication period of length up to ``max_deduplication_duration``, the submission SHOULD not be rejected with ``FAILED_PRECONDITION`` because the deduplication period starts too early. The deduplication period is measured on a local clock of the participant or Daml ledger, and therefore subject to clock skews and clock drifts. Command submissions with longer periods MAY get accepted though.
.google.protobuf.Duration max_deduplication_duration = 3 [json_name = "maxDeduplicationDuration"];
- Specified by:
getMaxDeduplicationDurationOrBuilder
in interfaceLedgerConfigurationServiceOuterClass.LedgerConfigurationOrBuilder
-
setUnknownFields
public final LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
mergeUnknownFields
public final LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerConfigurationServiceOuterClass.LedgerConfiguration.Builder>
-
-