Package com.daml.ledger.api.v1
Class ValueOuterClass.Record.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Record.Builder>
-
- com.daml.ledger.api.v1.ValueOuterClass.Record.Builder
-
- All Implemented Interfaces:
ValueOuterClass.RecordOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ValueOuterClass.Record
public static final class ValueOuterClass.Record.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Record.Builder> implements ValueOuterClass.RecordOrBuilder
Contains nested values.
Protobuf typecom.daml.ledger.api.v1.Record
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueOuterClass.Record.Builder
addAllFields(java.lang.Iterable<? extends ValueOuterClass.RecordField> values)
The nested values of the record.ValueOuterClass.Record.Builder
addFields(int index, ValueOuterClass.RecordField value)
The nested values of the record.ValueOuterClass.Record.Builder
addFields(int index, ValueOuterClass.RecordField.Builder builderForValue)
The nested values of the record.ValueOuterClass.Record.Builder
addFields(ValueOuterClass.RecordField value)
The nested values of the record.ValueOuterClass.Record.Builder
addFields(ValueOuterClass.RecordField.Builder builderForValue)
The nested values of the record.ValueOuterClass.RecordField.Builder
addFieldsBuilder()
The nested values of the record.ValueOuterClass.RecordField.Builder
addFieldsBuilder(int index)
The nested values of the record.ValueOuterClass.Record.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.Record
build()
ValueOuterClass.Record
buildPartial()
ValueOuterClass.Record.Builder
clear()
ValueOuterClass.Record.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ValueOuterClass.Record.Builder
clearFields()
The nested values of the record.ValueOuterClass.Record.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ValueOuterClass.Record.Builder
clearRecordId()
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.Record.Builder
clone()
ValueOuterClass.Record
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ValueOuterClass.RecordField
getFields(int index)
The nested values of the record.ValueOuterClass.RecordField.Builder
getFieldsBuilder(int index)
The nested values of the record.java.util.List<ValueOuterClass.RecordField.Builder>
getFieldsBuilderList()
The nested values of the record.int
getFieldsCount()
The nested values of the record.java.util.List<ValueOuterClass.RecordField>
getFieldsList()
The nested values of the record.ValueOuterClass.RecordFieldOrBuilder
getFieldsOrBuilder(int index)
The nested values of the record.java.util.List<? extends ValueOuterClass.RecordFieldOrBuilder>
getFieldsOrBuilderList()
The nested values of the record.ValueOuterClass.Identifier
getRecordId()
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.Identifier.Builder
getRecordIdBuilder()
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.IdentifierOrBuilder
getRecordIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled.boolean
hasRecordId()
Omitted from the transaction stream when verbose streaming is not enabled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ValueOuterClass.Record.Builder
mergeFrom(ValueOuterClass.Record other)
ValueOuterClass.Record.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ValueOuterClass.Record.Builder
mergeFrom(com.google.protobuf.Message other)
ValueOuterClass.Record.Builder
mergeRecordId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.Record.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValueOuterClass.Record.Builder
removeFields(int index)
The nested values of the record.ValueOuterClass.Record.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.Record.Builder
setFields(int index, ValueOuterClass.RecordField value)
The nested values of the record.ValueOuterClass.Record.Builder
setFields(int index, ValueOuterClass.RecordField.Builder builderForValue)
The nested values of the record.ValueOuterClass.Record.Builder
setRecordId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.Record.Builder
setRecordId(ValueOuterClass.Identifier.Builder builderForValue)
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.Record.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ValueOuterClass.Record.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Record.Builder>
-
clear
public ValueOuterClass.Record.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.Record.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.Record.Builder>
-
getDefaultInstanceForType
public ValueOuterClass.Record getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueOuterClass.Record build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueOuterClass.Record buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ValueOuterClass.Record.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.Record.Builder>
-
setField
public ValueOuterClass.Record.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.Record.Builder>
-
clearField
public ValueOuterClass.Record.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.Record.Builder>
-
clearOneof
public ValueOuterClass.Record.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.Record.Builder>
-
setRepeatedField
public ValueOuterClass.Record.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.Record.Builder>
-
addRepeatedField
public ValueOuterClass.Record.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.Record.Builder>
-
mergeFrom
public ValueOuterClass.Record.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.Record.Builder>
-
mergeFrom
public ValueOuterClass.Record.Builder mergeFrom(ValueOuterClass.Record other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Record.Builder>
-
mergeFrom
public ValueOuterClass.Record.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.Record.Builder>
- Throws:
java.io.IOException
-
hasRecordId
public boolean hasRecordId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
- Specified by:
hasRecordId
in interfaceValueOuterClass.RecordOrBuilder
- Returns:
- Whether the recordId field is set.
-
getRecordId
public ValueOuterClass.Identifier getRecordId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
- Specified by:
getRecordId
in interfaceValueOuterClass.RecordOrBuilder
- Returns:
- The recordId.
-
setRecordId
public ValueOuterClass.Record.Builder setRecordId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
-
setRecordId
public ValueOuterClass.Record.Builder setRecordId(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 record_id = 1 [json_name = "recordId"];
-
mergeRecordId
public ValueOuterClass.Record.Builder mergeRecordId(ValueOuterClass.Identifier value)
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
-
clearRecordId
public ValueOuterClass.Record.Builder clearRecordId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
-
getRecordIdBuilder
public ValueOuterClass.Identifier.Builder getRecordIdBuilder()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
-
getRecordIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getRecordIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier record_id = 1 [json_name = "recordId"];
- Specified by:
getRecordIdOrBuilder
in interfaceValueOuterClass.RecordOrBuilder
-
getFieldsList
public java.util.List<ValueOuterClass.RecordField> getFieldsList()
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
- Specified by:
getFieldsList
in interfaceValueOuterClass.RecordOrBuilder
-
getFieldsCount
public int getFieldsCount()
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
- Specified by:
getFieldsCount
in interfaceValueOuterClass.RecordOrBuilder
-
getFields
public ValueOuterClass.RecordField getFields(int index)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
- Specified by:
getFields
in interfaceValueOuterClass.RecordOrBuilder
-
setFields
public ValueOuterClass.Record.Builder setFields(int index, ValueOuterClass.RecordField value)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
setFields
public ValueOuterClass.Record.Builder setFields(int index, ValueOuterClass.RecordField.Builder builderForValue)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
addFields
public ValueOuterClass.Record.Builder addFields(ValueOuterClass.RecordField value)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
addFields
public ValueOuterClass.Record.Builder addFields(int index, ValueOuterClass.RecordField value)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
addFields
public ValueOuterClass.Record.Builder addFields(ValueOuterClass.RecordField.Builder builderForValue)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
addFields
public ValueOuterClass.Record.Builder addFields(int index, ValueOuterClass.RecordField.Builder builderForValue)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
addAllFields
public ValueOuterClass.Record.Builder addAllFields(java.lang.Iterable<? extends ValueOuterClass.RecordField> values)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
clearFields
public ValueOuterClass.Record.Builder clearFields()
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
removeFields
public ValueOuterClass.Record.Builder removeFields(int index)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
getFieldsBuilder
public ValueOuterClass.RecordField.Builder getFieldsBuilder(int index)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
getFieldsOrBuilder
public ValueOuterClass.RecordFieldOrBuilder getFieldsOrBuilder(int index)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
- Specified by:
getFieldsOrBuilder
in interfaceValueOuterClass.RecordOrBuilder
-
getFieldsOrBuilderList
public java.util.List<? extends ValueOuterClass.RecordFieldOrBuilder> getFieldsOrBuilderList()
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
- Specified by:
getFieldsOrBuilderList
in interfaceValueOuterClass.RecordOrBuilder
-
addFieldsBuilder
public ValueOuterClass.RecordField.Builder addFieldsBuilder()
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
addFieldsBuilder
public ValueOuterClass.RecordField.Builder addFieldsBuilder(int index)
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
getFieldsBuilderList
public java.util.List<ValueOuterClass.RecordField.Builder> getFieldsBuilderList()
The nested values of the record. Required
repeated .com.daml.ledger.api.v1.RecordField fields = 2 [json_name = "fields"];
-
setUnknownFields
public final ValueOuterClass.Record.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.Record.Builder>
-
mergeUnknownFields
public final ValueOuterClass.Record.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.Record.Builder>
-
-