Class AttrValue.ListValue.Builder

    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • clear

        public AttrValue.ListValue.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • getDefaultInstanceForType

        public AttrValue.ListValue getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public AttrValue.ListValue build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public AttrValue.ListValue buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public AttrValue.ListValue.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • setField

        public AttrValue.ListValue.Builder setField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • clearField

        public AttrValue.ListValue.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • clearOneof

        public AttrValue.ListValue.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • setRepeatedField

        public AttrValue.ListValue.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • addRepeatedField

        public AttrValue.ListValue.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • mergeFrom

        public AttrValue.ListValue.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AttrValue.ListValue.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • mergeFrom

        public AttrValue.ListValue.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                     org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AttrValue.ListValue.Builder>
        Throws:
        IOException
      • getSList

        public List<org.nd4j.shade.protobuf.ByteString> getSList()
         "list(string)"
         
        repeated bytes s = 2;
        Specified by:
        getSList in interface AttrValue.ListValueOrBuilder
        Returns:
        A list containing the s.
      • getS

        public org.nd4j.shade.protobuf.ByteString getS​(int index)
         "list(string)"
         
        repeated bytes s = 2;
        Specified by:
        getS in interface AttrValue.ListValueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The s at the given index.
      • setS

        public AttrValue.ListValue.Builder setS​(int index,
                                                org.nd4j.shade.protobuf.ByteString value)
         "list(string)"
         
        repeated bytes s = 2;
        Parameters:
        index - The index to set the value at.
        value - The s to set.
        Returns:
        This builder for chaining.
      • addS

        public AttrValue.ListValue.Builder addS​(org.nd4j.shade.protobuf.ByteString value)
         "list(string)"
         
        repeated bytes s = 2;
        Parameters:
        value - The s to add.
        Returns:
        This builder for chaining.
      • addAllS

        public AttrValue.ListValue.Builder addAllS​(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
         "list(string)"
         
        repeated bytes s = 2;
        Parameters:
        values - The s to add.
        Returns:
        This builder for chaining.
      • getI

        public long getI​(int index)
         "list(int)"
         
        repeated int64 i = 3 [packed = true];
        Specified by:
        getI in interface AttrValue.ListValueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The i at the given index.
      • setI

        public AttrValue.ListValue.Builder setI​(int index,
                                                long value)
         "list(int)"
         
        repeated int64 i = 3 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The i to set.
        Returns:
        This builder for chaining.
      • addI

        public AttrValue.ListValue.Builder addI​(long value)
         "list(int)"
         
        repeated int64 i = 3 [packed = true];
        Parameters:
        value - The i to add.
        Returns:
        This builder for chaining.
      • addAllI

        public AttrValue.ListValue.Builder addAllI​(Iterable<? extends Long> values)
         "list(int)"
         
        repeated int64 i = 3 [packed = true];
        Parameters:
        values - The i to add.
        Returns:
        This builder for chaining.
      • clearI

        public AttrValue.ListValue.Builder clearI()
         "list(int)"
         
        repeated int64 i = 3 [packed = true];
        Returns:
        This builder for chaining.
      • getF

        public float getF​(int index)
         "list(float)"
         
        repeated float f = 4 [packed = true];
        Specified by:
        getF in interface AttrValue.ListValueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The f at the given index.
      • setF

        public AttrValue.ListValue.Builder setF​(int index,
                                                float value)
         "list(float)"
         
        repeated float f = 4 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The f to set.
        Returns:
        This builder for chaining.
      • addF

        public AttrValue.ListValue.Builder addF​(float value)
         "list(float)"
         
        repeated float f = 4 [packed = true];
        Parameters:
        value - The f to add.
        Returns:
        This builder for chaining.
      • addAllF

        public AttrValue.ListValue.Builder addAllF​(Iterable<? extends Float> values)
         "list(float)"
         
        repeated float f = 4 [packed = true];
        Parameters:
        values - The f to add.
        Returns:
        This builder for chaining.
      • clearF

        public AttrValue.ListValue.Builder clearF()
         "list(float)"
         
        repeated float f = 4 [packed = true];
        Returns:
        This builder for chaining.
      • getB

        public boolean getB​(int index)
         "list(bool)"
         
        repeated bool b = 5 [packed = true];
        Specified by:
        getB in interface AttrValue.ListValueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The b at the given index.
      • setB

        public AttrValue.ListValue.Builder setB​(int index,
                                                boolean value)
         "list(bool)"
         
        repeated bool b = 5 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The b to set.
        Returns:
        This builder for chaining.
      • addB

        public AttrValue.ListValue.Builder addB​(boolean value)
         "list(bool)"
         
        repeated bool b = 5 [packed = true];
        Parameters:
        value - The b to add.
        Returns:
        This builder for chaining.
      • addAllB

        public AttrValue.ListValue.Builder addAllB​(Iterable<? extends Boolean> values)
         "list(bool)"
         
        repeated bool b = 5 [packed = true];
        Parameters:
        values - The b to add.
        Returns:
        This builder for chaining.
      • clearB

        public AttrValue.ListValue.Builder clearB()
         "list(bool)"
         
        repeated bool b = 5 [packed = true];
        Returns:
        This builder for chaining.
      • getTypeCount

        public int getTypeCount()
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Specified by:
        getTypeCount in interface AttrValue.ListValueOrBuilder
        Returns:
        The count of type.
      • getType

        public DataType getType​(int index)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Specified by:
        getType in interface AttrValue.ListValueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The type at the given index.
      • setType

        public AttrValue.ListValue.Builder setType​(int index,
                                                   DataType value)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The type to set.
        Returns:
        This builder for chaining.
      • addType

        public AttrValue.ListValue.Builder addType​(DataType value)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Parameters:
        value - The type to add.
        Returns:
        This builder for chaining.
      • addAllType

        public AttrValue.ListValue.Builder addAllType​(Iterable<? extends DataType> values)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Parameters:
        values - The type to add.
        Returns:
        This builder for chaining.
      • clearType

        public AttrValue.ListValue.Builder clearType()
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Returns:
        This builder for chaining.
      • getTypeValueList

        public List<Integer> getTypeValueList()
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Specified by:
        getTypeValueList in interface AttrValue.ListValueOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for type.
      • getTypeValue

        public int getTypeValue​(int index)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Specified by:
        getTypeValue in interface AttrValue.ListValueOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of type at the given index.
      • setTypeValue

        public AttrValue.ListValue.Builder setTypeValue​(int index,
                                                        int value)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • addTypeValue

        public AttrValue.ListValue.Builder addTypeValue​(int value)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Parameters:
        value - The enum numeric value on the wire for type to add.
        Returns:
        This builder for chaining.
      • addAllTypeValue

        public AttrValue.ListValue.Builder addAllTypeValue​(Iterable<Integer> values)
         "list(type)"
         
        repeated .tensorflow.DataType type = 6 [packed = true];
        Parameters:
        values - The enum numeric values on the wire for type to add.
        Returns:
        This builder for chaining.
      • removeShape

        public AttrValue.ListValue.Builder removeShape​(int index)
         "list(shape)"
         
        repeated .tensorflow.TensorShapeProto shape = 7;
      • getShapeBuilder

        public TensorShapeProto.Builder getShapeBuilder​(int index)
         "list(shape)"
         
        repeated .tensorflow.TensorShapeProto shape = 7;
      • addShapeBuilder

        public TensorShapeProto.Builder addShapeBuilder()
         "list(shape)"
         
        repeated .tensorflow.TensorShapeProto shape = 7;
      • addShapeBuilder

        public TensorShapeProto.Builder addShapeBuilder​(int index)
         "list(shape)"
         
        repeated .tensorflow.TensorShapeProto shape = 7;
      • getShapeBuilderList

        public List<TensorShapeProto.Builder> getShapeBuilderList()
         "list(shape)"
         
        repeated .tensorflow.TensorShapeProto shape = 7;
      • removeTensor

        public AttrValue.ListValue.Builder removeTensor​(int index)
         "list(tensor)"
         
        repeated .tensorflow.TensorProto tensor = 8;
      • getTensorBuilder

        public TensorProto.Builder getTensorBuilder​(int index)
         "list(tensor)"
         
        repeated .tensorflow.TensorProto tensor = 8;
      • addTensorBuilder

        public TensorProto.Builder addTensorBuilder()
         "list(tensor)"
         
        repeated .tensorflow.TensorProto tensor = 8;
      • addTensorBuilder

        public TensorProto.Builder addTensorBuilder​(int index)
         "list(tensor)"
         
        repeated .tensorflow.TensorProto tensor = 8;
      • getTensorBuilderList

        public List<TensorProto.Builder> getTensorBuilderList()
         "list(tensor)"
         
        repeated .tensorflow.TensorProto tensor = 8;
      • getFuncBuilder

        public NameAttrList.Builder getFuncBuilder​(int index)
         "list(attr)"
         
        repeated .tensorflow.NameAttrList func = 9;
      • addFuncBuilder

        public NameAttrList.Builder addFuncBuilder()
         "list(attr)"
         
        repeated .tensorflow.NameAttrList func = 9;
      • addFuncBuilder

        public NameAttrList.Builder addFuncBuilder​(int index)
         "list(attr)"
         
        repeated .tensorflow.NameAttrList func = 9;
      • getFuncBuilderList

        public List<NameAttrList.Builder> getFuncBuilderList()
         "list(attr)"
         
        repeated .tensorflow.NameAttrList func = 9;
      • setUnknownFields

        public final AttrValue.ListValue.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
      • mergeUnknownFields

        public final AttrValue.ListValue.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>