Package com.daml.ledger.api.v1
Class ValueOuterClass.List.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
-
- com.daml.ledger.api.v1.ValueOuterClass.List.Builder
-
- All Implemented Interfaces:
ValueOuterClass.ListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ValueOuterClass.List
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 typecom.daml.ledger.api.v1.List
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 value)
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(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.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(ValueOuterClass.List other)
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
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 value)
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
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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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.List.Builder>
-
clear
public ValueOuterClass.List.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.List.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.List.Builder>
-
getDefaultInstanceForType
public ValueOuterClass.List getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueOuterClass.List build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueOuterClass.List buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ValueOuterClass.List.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.List.Builder>
-
setField
public ValueOuterClass.List.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.List.Builder>
-
clearField
public ValueOuterClass.List.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.List.Builder>
-
clearOneof
public ValueOuterClass.List.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.List.Builder>
-
setRepeatedField
public ValueOuterClass.List.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.List.Builder>
-
addRepeatedField
public ValueOuterClass.List.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.List.Builder>
-
mergeFrom
public ValueOuterClass.List.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.List.Builder>
-
mergeFrom
public ValueOuterClass.List.Builder mergeFrom(ValueOuterClass.List other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
-
mergeFrom
public ValueOuterClass.List.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.List.Builder>
- Throws:
java.io.IOException
-
getElementsList
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"];
- Specified by:
getElementsList
in interfaceValueOuterClass.ListOrBuilder
-
getElementsCount
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"];
- Specified by:
getElementsCount
in interfaceValueOuterClass.ListOrBuilder
-
getElements
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"];
- Specified by:
getElements
in interfaceValueOuterClass.ListOrBuilder
-
setElements
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"];
-
setElements
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"];
-
addElements
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"];
-
addElements
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"];
-
addElements
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"];
-
addElements
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"];
-
addAllElements
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"];
-
clearElements
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"];
-
removeElements
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"];
-
getElementsBuilder
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"];
-
getElementsOrBuilder
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"];
- Specified by:
getElementsOrBuilder
in interfaceValueOuterClass.ListOrBuilder
-
getElementsOrBuilderList
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"];
- Specified by:
getElementsOrBuilderList
in interfaceValueOuterClass.ListOrBuilder
-
addElementsBuilder
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"];
-
addElementsBuilder
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"];
-
getElementsBuilderList
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"];
-
setUnknownFields
public final ValueOuterClass.List.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.List.Builder>
-
mergeUnknownFields
public final ValueOuterClass.List.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.List.Builder>
-
-