Class AttrValue.ListValue

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, AttrValue.ListValueOrBuilder
    Enclosing class:
    AttrValue

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

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getSList

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

        public com.google.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.
      • getIList

        public java.util.List<java.lang.Long> getIList()
         "list(int)"
         
        repeated int64 i = 3 [packed = true];
        Specified by:
        getIList in interface AttrValue.ListValueOrBuilder
        Returns:
        A list containing the i.
      • 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.
      • getFList

        public java.util.List<java.lang.Float> getFList()
         "list(float)"
         
        repeated float f = 4 [packed = true];
        Specified by:
        getFList in interface AttrValue.ListValueOrBuilder
        Returns:
        A list containing the f.
      • 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.
      • getBList

        public java.util.List<java.lang.Boolean> getBList()
         "list(bool)"
         
        repeated bool b = 5 [packed = true];
        Specified by:
        getBList in interface AttrValue.ListValueOrBuilder
        Returns:
        A list containing the b.
      • 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.
      • getTypeList

        public java.util.List<DataType> getTypeList()
         "list(type)"
         
        repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
        Specified by:
        getTypeList in interface AttrValue.ListValueOrBuilder
        Returns:
        A list containing the type.
      • getTypeCount

        public int getTypeCount()
         "list(type)"
         
        repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 java.util.List<java.lang.Integer> getTypeValueList()
         "list(type)"
         
        repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AttrValue.ListValue parseFrom​(java.nio.ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(java.nio.ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static AttrValue.ListValue parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static AttrValue.ListValue parseFrom​(java.io.InputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static AttrValue.ListValue parseDelimitedFrom​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static AttrValue.ListValue parseDelimitedFrom​(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(com.google.protobuf.CodedInputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AttrValue.ListValue parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public AttrValue.ListValue.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AttrValue.ListValue.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

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

        public com.google.protobuf.Parser<AttrValue.ListValue> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AttrValue.ListValue getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder