Package com.daml.ledger.api.v1
Class ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
- com.daml.ledger.api.v1.ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
-
- All Implemented Interfaces:
ExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures
public static final class ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder> implements ExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
Feature descriptors for command deduplication intended to be used for adapting Ledger API tests.
Protobuf typecom.daml.ledger.api.v1.CommandDeduplicationFeatures
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures
build()
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures
buildPartial()
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clear()
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clearDeduplicationPeriodSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clearDeduplicationType()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clearMaxDeduplicationDurationEnforced()
The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
clone()
ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport
getDeduplicationPeriodSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder
getDeduplicationPeriodSupportBuilder()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
getDeduplicationPeriodSupportOrBuilder()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationType
getDeduplicationType()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
int
getDeduplicationTypeValue()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getMaxDeduplicationDurationEnforced()
The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.boolean
hasDeduplicationPeriodSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
mergeDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
mergeFrom(ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures other)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
mergeFrom(com.google.protobuf.Message other)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder builderForValue)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setDeduplicationType(ExperimentalFeaturesOuterClass.CommandDeduplicationType value)
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setDeduplicationTypeValue(int value)
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setMaxDeduplicationDurationEnforced(boolean value)
The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
clear
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
getDefaultInstanceForType
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
setField
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
clearField
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
clearOneof
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
setRepeatedField
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
addRepeatedField
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeFrom(ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
- Throws:
java.io.IOException
-
hasDeduplicationPeriodSupport
public boolean hasDeduplicationPeriodSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
- Specified by:
hasDeduplicationPeriodSupport
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
- Returns:
- Whether the deduplicationPeriodSupport field is set.
-
getDeduplicationPeriodSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport getDeduplicationPeriodSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
- Specified by:
getDeduplicationPeriodSupport
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
- Returns:
- The deduplicationPeriodSupport.
-
setDeduplicationPeriodSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
-
setDeduplicationPeriodSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder builderForValue)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
-
mergeDeduplicationPeriodSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
-
clearDeduplicationPeriodSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder clearDeduplicationPeriodSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
-
getDeduplicationPeriodSupportBuilder
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder getDeduplicationPeriodSupportBuilder()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
-
getDeduplicationPeriodSupportOrBuilder
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder getDeduplicationPeriodSupportOrBuilder()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];
- Specified by:
getDeduplicationPeriodSupportOrBuilder
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
-
getDeduplicationTypeValue
public int getDeduplicationTypeValue()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
- Specified by:
getDeduplicationTypeValue
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
- Returns:
- The enum numeric value on the wire for deduplicationType.
-
setDeduplicationTypeValue
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setDeduplicationTypeValue(int value)
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
- Parameters:
value
- The enum numeric value on the wire for deduplicationType to set.- Returns:
- This builder for chaining.
-
getDeduplicationType
public ExperimentalFeaturesOuterClass.CommandDeduplicationType getDeduplicationType()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
- Specified by:
getDeduplicationType
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
- Returns:
- The deduplicationType.
-
setDeduplicationType
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setDeduplicationType(ExperimentalFeaturesOuterClass.CommandDeduplicationType value)
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
- Parameters:
value
- The deduplicationType to set.- Returns:
- This builder for chaining.
-
clearDeduplicationType
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder clearDeduplicationType()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];
- Returns:
- This builder for chaining.
-
getMaxDeduplicationDurationEnforced
public boolean getMaxDeduplicationDurationEnforced()
The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration. This is also enforced for ledgers that convert deduplication periods specified as offsets to durations.
bool max_deduplication_duration_enforced = 3 [json_name = "maxDeduplicationDurationEnforced"];
- Specified by:
getMaxDeduplicationDurationEnforced
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
- Returns:
- The maxDeduplicationDurationEnforced.
-
setMaxDeduplicationDurationEnforced
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setMaxDeduplicationDurationEnforced(boolean value)
The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration. This is also enforced for ledgers that convert deduplication periods specified as offsets to durations.
bool max_deduplication_duration_enforced = 3 [json_name = "maxDeduplicationDurationEnforced"];
- Parameters:
value
- The maxDeduplicationDurationEnforced to set.- Returns:
- This builder for chaining.
-
clearMaxDeduplicationDurationEnforced
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder clearMaxDeduplicationDurationEnforced()
The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration. This is also enforced for ledgers that convert deduplication periods specified as offsets to durations.
bool max_deduplication_duration_enforced = 3 [json_name = "maxDeduplicationDurationEnforced"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeUnknownFields
public final ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
-