Package com.daml.ledger.api.v1
Class ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder>
-
- com.daml.ledger.api.v1.ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder
-
- All Implemented Interfaces:
ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport
public static final class ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder> implements ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
Feature descriptor specifying how deduplication periods can be specified and how they are handled by the participant node.
Protobuf typecom.daml.ledger.api.v1.CommandDeduplicationPeriodSupport
-
-
Method Summary
-
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<ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder>
-
clear
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
getDefaultInstanceForType
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
setField
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
clearField
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
clearOneof
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
setRepeatedField
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
addRepeatedField
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder mergeFrom(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
- Throws:
java.io.IOException
-
getOffsetSupportValue
public int getOffsetSupportValue()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.OffsetSupport offset_support = 1 [json_name = "offsetSupport"];
- Specified by:
getOffsetSupportValue
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
- Returns:
- The enum numeric value on the wire for offsetSupport.
-
setOffsetSupportValue
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder setOffsetSupportValue(int value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.OffsetSupport offset_support = 1 [json_name = "offsetSupport"];
- Parameters:
value
- The enum numeric value on the wire for offsetSupport to set.- Returns:
- This builder for chaining.
-
getOffsetSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.OffsetSupport getOffsetSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.OffsetSupport offset_support = 1 [json_name = "offsetSupport"];
- Specified by:
getOffsetSupport
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
- Returns:
- The offsetSupport.
-
setOffsetSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder setOffsetSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.OffsetSupport value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.OffsetSupport offset_support = 1 [json_name = "offsetSupport"];
- Parameters:
value
- The offsetSupport to set.- Returns:
- This builder for chaining.
-
clearOffsetSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder clearOffsetSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.OffsetSupport offset_support = 1 [json_name = "offsetSupport"];
- Returns:
- This builder for chaining.
-
getDurationSupportValue
public int getDurationSupportValue()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.DurationSupport duration_support = 2 [json_name = "durationSupport"];
- Specified by:
getDurationSupportValue
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
- Returns:
- The enum numeric value on the wire for durationSupport.
-
setDurationSupportValue
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder setDurationSupportValue(int value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.DurationSupport duration_support = 2 [json_name = "durationSupport"];
- Parameters:
value
- The enum numeric value on the wire for durationSupport to set.- Returns:
- This builder for chaining.
-
getDurationSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.DurationSupport getDurationSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.DurationSupport duration_support = 2 [json_name = "durationSupport"];
- Specified by:
getDurationSupport
in interfaceExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupportOrBuilder
- Returns:
- The durationSupport.
-
setDurationSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder setDurationSupport(ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.DurationSupport value)
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.DurationSupport duration_support = 2 [json_name = "durationSupport"];
- Parameters:
value
- The durationSupport to set.- Returns:
- This builder for chaining.
-
clearDurationSupport
public ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.Builder clearDurationSupport()
.com.daml.ledger.api.v1.CommandDeduplicationPeriodSupport.DurationSupport duration_support = 2 [json_name = "durationSupport"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
mergeUnknownFields
public final ExperimentalFeaturesOuterClass.CommandDeduplicationPeriodSupport.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.CommandDeduplicationPeriodSupport.Builder>
-
-