Class AttrValue.ListValue

  • All Implemented Interfaces:
    Serializable, org.nd4j.shade.protobuf.Message, org.nd4j.shade.protobuf.MessageLite, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, AttrValue.ListValueOrBuilder
    Enclosing class:
    AttrValue

    public static final class AttrValue.ListValue
    extends org.nd4j.shade.protobuf.GeneratedMessageV3
    implements AttrValue.ListValueOrBuilder
     LINT.IfChange
     
    Protobuf type tensorflow.AttrValue.ListValue
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(org.nd4j.shade.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        writeTo in class org.nd4j.shade.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface org.nd4j.shade.protobuf.Message
        Overrides:
        equals in class org.nd4j.shade.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.nd4j.shade.protobuf.Message
        Overrides:
        hashCode in class org.nd4j.shade.protobuf.AbstractMessage
      • parseFrom

        public static AttrValue.ListValue parseFrom​(ByteBuffer data)
                                             throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(ByteBuffer data,
                                                    org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(org.nd4j.shade.protobuf.ByteString data)
                                             throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(org.nd4j.shade.protobuf.ByteString data,
                                                    org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(byte[] data)
                                             throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(byte[] data,
                                                    org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                    org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected AttrValue.ListValue.Builder newBuilderForType​(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getParserForType

        public org.nd4j.shade.protobuf.Parser<AttrValue.ListValue> getParserForType()
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • 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