Package com.daml.ledger.api.v1
Class ValueOuterClass.RecordField.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.RecordField.Builder>
-
- com.daml.ledger.api.v1.ValueOuterClass.RecordField.Builder
-
- All Implemented Interfaces:
ValueOuterClass.RecordFieldOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ValueOuterClass.RecordField
public static final class ValueOuterClass.RecordField.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.RecordField.Builder> implements ValueOuterClass.RecordFieldOrBuilder
A named nested value within a record.
Protobuf typecom.daml.ledger.api.v1.RecordField
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueOuterClass.RecordField.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.RecordField
build()
ValueOuterClass.RecordField
buildPartial()
ValueOuterClass.RecordField.Builder
clear()
ValueOuterClass.RecordField.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ValueOuterClass.RecordField.Builder
clearLabel()
When reading a transaction stream, it's omitted if verbose streaming is not enabled.ValueOuterClass.RecordField.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ValueOuterClass.RecordField.Builder
clearValue()
A nested value of a record.ValueOuterClass.RecordField.Builder
clone()
ValueOuterClass.RecordField
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getLabel()
When reading a transaction stream, it's omitted if verbose streaming is not enabled.com.google.protobuf.ByteString
getLabelBytes()
When reading a transaction stream, it's omitted if verbose streaming is not enabled.ValueOuterClass.Value
getValue()
A nested value of a record.ValueOuterClass.Value.Builder
getValueBuilder()
A nested value of a record.ValueOuterClass.ValueOrBuilder
getValueOrBuilder()
A nested value of a record.boolean
hasValue()
A nested value of a record.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ValueOuterClass.RecordField.Builder
mergeFrom(ValueOuterClass.RecordField other)
ValueOuterClass.RecordField.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ValueOuterClass.RecordField.Builder
mergeFrom(com.google.protobuf.Message other)
ValueOuterClass.RecordField.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValueOuterClass.RecordField.Builder
mergeValue(ValueOuterClass.Value value)
A nested value of a record.ValueOuterClass.RecordField.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.RecordField.Builder
setLabel(java.lang.String value)
When reading a transaction stream, it's omitted if verbose streaming is not enabled.ValueOuterClass.RecordField.Builder
setLabelBytes(com.google.protobuf.ByteString value)
When reading a transaction stream, it's omitted if verbose streaming is not enabled.ValueOuterClass.RecordField.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ValueOuterClass.RecordField.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValueOuterClass.RecordField.Builder
setValue(ValueOuterClass.Value value)
A nested value of a record.ValueOuterClass.RecordField.Builder
setValue(ValueOuterClass.Value.Builder builderForValue)
A nested value of a record.-
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<ValueOuterClass.RecordField.Builder>
-
clear
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
getDefaultInstanceForType
public ValueOuterClass.RecordField getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueOuterClass.RecordField build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueOuterClass.RecordField buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
setField
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
clearField
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
clearOneof
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
setRepeatedField
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
addRepeatedField
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
-
mergeFrom
public ValueOuterClass.RecordField.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValueOuterClass.RecordField.Builder>
-
mergeFrom
public ValueOuterClass.RecordField.Builder mergeFrom(ValueOuterClass.RecordField other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.RecordField.Builder>
-
mergeFrom
public ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
- Throws:
java.io.IOException
-
getLabel
public java.lang.String getLabel()
When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a commmand, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Specified by:
getLabel
in interfaceValueOuterClass.RecordFieldOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a commmand, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Specified by:
getLabelBytes
in interfaceValueOuterClass.RecordFieldOrBuilder
- Returns:
- The bytes for label.
-
setLabel
public ValueOuterClass.RecordField.Builder setLabel(java.lang.String value)
When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a commmand, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
public ValueOuterClass.RecordField.Builder clearLabel()
When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a commmand, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Returns:
- This builder for chaining.
-
setLabelBytes
public ValueOuterClass.RecordField.Builder setLabelBytes(com.google.protobuf.ByteString value)
When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a commmand, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
- Specified by:
hasValue
in interfaceValueOuterClass.RecordFieldOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public ValueOuterClass.Value getValue()
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
- Specified by:
getValue
in interfaceValueOuterClass.RecordFieldOrBuilder
- Returns:
- The value.
-
setValue
public ValueOuterClass.RecordField.Builder setValue(ValueOuterClass.Value value)
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
setValue
public ValueOuterClass.RecordField.Builder setValue(ValueOuterClass.Value.Builder builderForValue)
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
mergeValue
public ValueOuterClass.RecordField.Builder mergeValue(ValueOuterClass.Value value)
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
clearValue
public ValueOuterClass.RecordField.Builder clearValue()
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
getValueBuilder
public ValueOuterClass.Value.Builder getValueBuilder()
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
getValueOrBuilder
public ValueOuterClass.ValueOrBuilder getValueOrBuilder()
A nested value of a record. Required
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
- Specified by:
getValueOrBuilder
in interfaceValueOuterClass.RecordFieldOrBuilder
-
setUnknownFields
public final ValueOuterClass.RecordField.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.RecordField.Builder>
-
mergeUnknownFields
public final ValueOuterClass.RecordField.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.RecordField.Builder>
-
-