Class 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 type com.daml.ledger.api.v1.List
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • clear

        public ValueOuterClass.List.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • getDefaultInstanceForType

        public ValueOuterClass.List getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ValueOuterClass.List build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ValueOuterClass.List buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ValueOuterClass.List.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • clearField

        public ValueOuterClass.List.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • clearOneof

        public ValueOuterClass.List.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.List.Builder>
        Throws:
        java.io.IOException
      • 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 interface ValueOuterClass.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"];
      • 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"];
      • 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"];
      • 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>
      • mergeUnknownFields

        public final ValueOuterClass.List.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.List.Builder>