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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesbuild()ExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesbuildPartial()ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builderclear()ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuilderclearDeduplicationPeriodSupport().com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuilderclearDeduplicationType().com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuilderclearMaxDeduplicationDurationEnforced()The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builderclone()ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportgetDeduplicationPeriodSupport().com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.BuildergetDeduplicationPeriodSupportBuilder().com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuildergetDeduplicationPeriodSupportOrBuilder().com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationTypegetDeduplicationType().com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];intgetDeduplicationTypeValue().com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetMaxDeduplicationDurationEnforced()The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.booleanhasDeduplicationPeriodSupport().com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildermergeDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport value).com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildermergeFrom(ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures other)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildermergeFrom(com.google.protobuf.Message other)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport value).com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetDeduplicationPeriodSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder builderForValue).com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport deduplication_period_support = 1 [json_name = "deduplicationPeriodSupport"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetDeduplicationType(ExperimentalFeaturesOuterClass.CommandDeduplicationType value).com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetDeduplicationTypeValue(int value).com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetMaxDeduplicationDurationEnforced(boolean value)The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
clear
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
getDefaultInstanceForType
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.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<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
setField
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
clearField
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
clearOneof
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeFrom(ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasDeduplicationPeriodSupportin 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:
getDeduplicationPeriodSupportin 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:
getDeduplicationPeriodSupportOrBuilderin interfaceExperimentalFeaturesOuterClass.CommandDeduplicationFeaturesOrBuilder
-
getDeduplicationTypeValue
public int getDeduplicationTypeValue()
.com.daml.ledger.api.v1.CommandDeduplicationType deduplication_type = 2 [json_name = "deduplicationType"];- Specified by:
getDeduplicationTypeValuein 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:
getDeduplicationTypein 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:
getMaxDeduplicationDurationEnforcedin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
mergeUnknownFields
public final ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationFeatures.Builder>
-
-