public static final class ValueOuterClass.Enum.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder> implements ValueOuterClass.EnumOrBuilder
A value with finite set of alternative representations.Protobuf type
com.daml.ledger.api.v1.Enum
Modifier and Type | Method and Description |
---|---|
ValueOuterClass.Enum.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ValueOuterClass.Enum |
build() |
ValueOuterClass.Enum |
buildPartial() |
ValueOuterClass.Enum.Builder |
clear() |
ValueOuterClass.Enum.Builder |
clearConstructor()
Determines which of the Variant's alternatives is encoded in this message.
|
ValueOuterClass.Enum.Builder |
clearEnumId()
Omitted from the transaction stream when verbose streaming is not enabled.
|
ValueOuterClass.Enum.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ValueOuterClass.Enum.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ValueOuterClass.Enum.Builder |
clone() |
java.lang.String |
getConstructor()
Determines which of the Variant's alternatives is encoded in this message.
|
com.google.protobuf.ByteString |
getConstructorBytes()
Determines which of the Variant's alternatives is encoded in this message.
|
ValueOuterClass.Enum |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ValueOuterClass.Identifier |
getEnumId()
Omitted from the transaction stream when verbose streaming is not enabled.
|
ValueOuterClass.Identifier.Builder |
getEnumIdBuilder()
Omitted from the transaction stream when verbose streaming is not enabled.
|
ValueOuterClass.IdentifierOrBuilder |
getEnumIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled.
|
boolean |
hasEnumId()
Omitted from the transaction stream when verbose streaming is not enabled.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ValueOuterClass.Enum.Builder |
mergeEnumId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled.
|
ValueOuterClass.Enum.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ValueOuterClass.Enum.Builder |
mergeFrom(com.google.protobuf.Message other) |
ValueOuterClass.Enum.Builder |
mergeFrom(ValueOuterClass.Enum other) |
ValueOuterClass.Enum.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ValueOuterClass.Enum.Builder |
setConstructor(java.lang.String value)
Determines which of the Variant's alternatives is encoded in this message.
|
ValueOuterClass.Enum.Builder |
setConstructorBytes(com.google.protobuf.ByteString value)
Determines which of the Variant's alternatives is encoded in this message.
|
ValueOuterClass.Enum.Builder |
setEnumId(ValueOuterClass.Identifier.Builder builderForValue)
Omitted from the transaction stream when verbose streaming is not enabled.
|
ValueOuterClass.Enum.Builder |
setEnumId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled.
|
ValueOuterClass.Enum.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ValueOuterClass.Enum.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ValueOuterClass.Enum.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ValueOuterClass.Enum build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ValueOuterClass.Enum buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ValueOuterClass.Enum.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder mergeFrom(ValueOuterClass.Enum other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public ValueOuterClass.Enum.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Enum.Builder>
java.io.IOException
public boolean hasEnumId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
hasEnumId
in interface ValueOuterClass.EnumOrBuilder
public ValueOuterClass.Identifier getEnumId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
getEnumId
in interface ValueOuterClass.EnumOrBuilder
public ValueOuterClass.Enum.Builder setEnumId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
public ValueOuterClass.Enum.Builder setEnumId(ValueOuterClass.Identifier.Builder builderForValue)
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
public ValueOuterClass.Enum.Builder mergeEnumId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
public ValueOuterClass.Enum.Builder clearEnumId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
public ValueOuterClass.Identifier.Builder getEnumIdBuilder()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
public ValueOuterClass.IdentifierOrBuilder getEnumIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier enum_id = 1 [json_name = "enumId"];
getEnumIdOrBuilder
in interface ValueOuterClass.EnumOrBuilder
public java.lang.String getConstructor()
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
getConstructor
in interface ValueOuterClass.EnumOrBuilder
public com.google.protobuf.ByteString getConstructorBytes()
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
getConstructorBytes
in interface ValueOuterClass.EnumOrBuilder
public ValueOuterClass.Enum.Builder setConstructor(java.lang.String value)
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
value
- The constructor to set.public ValueOuterClass.Enum.Builder clearConstructor()
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
public ValueOuterClass.Enum.Builder setConstructorBytes(com.google.protobuf.ByteString value)
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
value
- The bytes for constructor to set.public final ValueOuterClass.Enum.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>
public final ValueOuterClass.Enum.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Enum.Builder>