Package com.daml.ledger.api.v1
Class ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder>
-
- com.daml.ledger.api.v1.ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder
-
- All Implemented Interfaces:
ExperimentalFeaturesOuterClass.ExperimentalContractIdsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ExperimentalFeaturesOuterClass.ExperimentalContractIds
public static final class ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder> implements ExperimentalFeaturesOuterClass.ExperimentalContractIdsOrBuilder
See `daml-lf/spec/contract-id.rst` for more information on contract ID formats.
Protobuf typecom.daml.ledger.api.v1.ExperimentalContractIds
-
-
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.ExperimentalContractIds.Builder>
-
clear
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
getDefaultInstanceForType
public ExperimentalFeaturesOuterClass.ExperimentalContractIds getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExperimentalFeaturesOuterClass.ExperimentalContractIds build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExperimentalFeaturesOuterClass.ExperimentalContractIds buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
setField
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
clearField
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
clearOneof
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
setRepeatedField
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
addRepeatedField
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder mergeFrom(ExperimentalFeaturesOuterClass.ExperimentalContractIds other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder>
-
mergeFrom
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
- Throws:
java.io.IOException
-
getV1Value
public int getV1Value()
.com.daml.ledger.api.v1.ExperimentalContractIds.ContractIdV1Support v1 = 1 [json_name = "v1"];
- Specified by:
getV1Value
in interfaceExperimentalFeaturesOuterClass.ExperimentalContractIdsOrBuilder
- Returns:
- The enum numeric value on the wire for v1.
-
setV1Value
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder setV1Value(int value)
.com.daml.ledger.api.v1.ExperimentalContractIds.ContractIdV1Support v1 = 1 [json_name = "v1"];
- Parameters:
value
- The enum numeric value on the wire for v1 to set.- Returns:
- This builder for chaining.
-
getV1
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.ContractIdV1Support getV1()
.com.daml.ledger.api.v1.ExperimentalContractIds.ContractIdV1Support v1 = 1 [json_name = "v1"];
- Specified by:
getV1
in interfaceExperimentalFeaturesOuterClass.ExperimentalContractIdsOrBuilder
- Returns:
- The v1.
-
setV1
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder setV1(ExperimentalFeaturesOuterClass.ExperimentalContractIds.ContractIdV1Support value)
.com.daml.ledger.api.v1.ExperimentalContractIds.ContractIdV1Support v1 = 1 [json_name = "v1"];
- Parameters:
value
- The v1 to set.- Returns:
- This builder for chaining.
-
clearV1
public ExperimentalFeaturesOuterClass.ExperimentalContractIds.Builder clearV1()
.com.daml.ledger.api.v1.ExperimentalContractIds.ContractIdV1Support v1 = 1 [json_name = "v1"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
mergeUnknownFields
public final ExperimentalFeaturesOuterClass.ExperimentalContractIds.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.ExperimentalContractIds.Builder>
-
-