public static final class ValueOuterClass.List.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder> implements ValueOuterClass.ListOrBuilder
A homogenous collection of values.Protobuf type
com.daml.ledger.api.v1.List
Modifier and Type | Method and Description |
---|---|
ValueOuterClass.List.Builder |
addAllElements(java.lang.Iterable<? extends ValueOuterClass.Value> values)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
addElements(int index,
ValueOuterClass.Value.Builder builderForValue)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
addElements(int index,
ValueOuterClass.Value value)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
addElements(ValueOuterClass.Value.Builder builderForValue)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
addElements(ValueOuterClass.Value value)
The elements must all be of the same concrete value type.
|
ValueOuterClass.Value.Builder |
addElementsBuilder()
The elements must all be of the same concrete value type.
|
ValueOuterClass.Value.Builder |
addElementsBuilder(int index)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ValueOuterClass.List |
build() |
ValueOuterClass.List |
buildPartial() |
ValueOuterClass.List.Builder |
clear() |
ValueOuterClass.List.Builder |
clearElements()
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ValueOuterClass.List.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ValueOuterClass.List.Builder |
clone() |
ValueOuterClass.List |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ValueOuterClass.Value |
getElements(int index)
The elements must all be of the same concrete value type.
|
ValueOuterClass.Value.Builder |
getElementsBuilder(int index)
The elements must all be of the same concrete value type.
|
java.util.List<ValueOuterClass.Value.Builder> |
getElementsBuilderList()
The elements must all be of the same concrete value type.
|
int |
getElementsCount()
The elements must all be of the same concrete value type.
|
java.util.List<ValueOuterClass.Value> |
getElementsList()
The elements must all be of the same concrete value type.
|
ValueOuterClass.ValueOrBuilder |
getElementsOrBuilder(int index)
The elements must all be of the same concrete value type.
|
java.util.List<? extends ValueOuterClass.ValueOrBuilder> |
getElementsOrBuilderList()
The elements must all be of the same concrete value type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ValueOuterClass.List.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ValueOuterClass.List.Builder |
mergeFrom(com.google.protobuf.Message other) |
ValueOuterClass.List.Builder |
mergeFrom(ValueOuterClass.List other) |
ValueOuterClass.List.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ValueOuterClass.List.Builder |
removeElements(int index)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
setElements(int index,
ValueOuterClass.Value.Builder builderForValue)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
setElements(int index,
ValueOuterClass.Value value)
The elements must all be of the same concrete value type.
|
ValueOuterClass.List.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ValueOuterClass.List.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.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.List.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.List.Builder>
public ValueOuterClass.List getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ValueOuterClass.List build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ValueOuterClass.List buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.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.List.Builder>
public ValueOuterClass.List.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.List.Builder>
public ValueOuterClass.List.Builder mergeFrom(ValueOuterClass.List other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
public ValueOuterClass.List.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.List.Builder>
java.io.IOException
public java.util.List<ValueOuterClass.Value> getElementsList()
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
getElementsList
in interface ValueOuterClass.ListOrBuilder
public int getElementsCount()
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
getElementsCount
in interface ValueOuterClass.ListOrBuilder
public ValueOuterClass.Value getElements(int index)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
getElements
in interface ValueOuterClass.ListOrBuilder
public ValueOuterClass.List.Builder setElements(int index, ValueOuterClass.Value value)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder setElements(int index, ValueOuterClass.Value.Builder builderForValue)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder addElements(ValueOuterClass.Value value)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder addElements(int index, ValueOuterClass.Value value)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder addElements(ValueOuterClass.Value.Builder builderForValue)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder addElements(int index, ValueOuterClass.Value.Builder builderForValue)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder addAllElements(java.lang.Iterable<? extends ValueOuterClass.Value> values)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder clearElements()
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.List.Builder removeElements(int index)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.Value.Builder getElementsBuilder(int index)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.ValueOrBuilder getElementsOrBuilder(int index)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
getElementsOrBuilder
in interface ValueOuterClass.ListOrBuilder
public java.util.List<? extends ValueOuterClass.ValueOrBuilder> getElementsOrBuilderList()
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
getElementsOrBuilderList
in interface ValueOuterClass.ListOrBuilder
public ValueOuterClass.Value.Builder addElementsBuilder()
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public ValueOuterClass.Value.Builder addElementsBuilder(int index)
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public java.util.List<ValueOuterClass.Value.Builder> getElementsBuilderList()
The elements must all be of the same concrete value type. Optional
repeated .com.daml.ledger.api.v1.Value elements = 1 [json_name = "elements"];
public final ValueOuterClass.List.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
public final ValueOuterClass.List.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>