Class AttrValue.ListValue

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.AttrValue.ListValue
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AttrValue.ListValueOrBuilder
Enclosing class:
AttrValue

public static final class AttrValue.ListValue extends com.google.protobuf.GeneratedMessageV3 implements AttrValue.ListValueOrBuilder
 LINT.IfChange
 
Protobuf type tensorflow.AttrValue.ListValue
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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 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.
    • getSCount

      public int getSCount()
       "list(string)"
       
      repeated bytes s = 2;
      Specified by:
      getSCount in interface AttrValue.ListValueOrBuilder
      Returns:
      The count of 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 List<Long> getIList()
       "list(int)"
       
      repeated int64 i = 3 [packed = true];
      Specified by:
      getIList in interface AttrValue.ListValueOrBuilder
      Returns:
      A list containing the i.
    • getICount

      public int getICount()
       "list(int)"
       
      repeated int64 i = 3 [packed = true];
      Specified by:
      getICount in interface AttrValue.ListValueOrBuilder
      Returns:
      The count of 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 List<Float> getFList()
       "list(float)"
       
      repeated float f = 4 [packed = true];
      Specified by:
      getFList in interface AttrValue.ListValueOrBuilder
      Returns:
      A list containing the f.
    • getFCount

      public int getFCount()
       "list(float)"
       
      repeated float f = 4 [packed = true];
      Specified by:
      getFCount in interface AttrValue.ListValueOrBuilder
      Returns:
      The count of 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 List<Boolean> getBList()
       "list(bool)"
       
      repeated bool b = 5 [packed = true];
      Specified by:
      getBList in interface AttrValue.ListValueOrBuilder
      Returns:
      A list containing the b.
    • getBCount

      public int getBCount()
       "list(bool)"
       
      repeated bool b = 5 [packed = true];
      Specified by:
      getBCount in interface AttrValue.ListValueOrBuilder
      Returns:
      The count of 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 List<DataType> getTypeList()
       "list(type)"
       
      repeated .tensorflow.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 .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.
    • getShapeList

      public List<TensorShapeProto> getShapeList()
       "list(shape)"
       
      repeated .tensorflow.TensorShapeProto shape = 7;
      Specified by:
      getShapeList in interface AttrValue.ListValueOrBuilder
    • getShapeOrBuilderList

      public List<? extends TensorShapeProtoOrBuilder> getShapeOrBuilderList()
       "list(shape)"
       
      repeated .tensorflow.TensorShapeProto shape = 7;
      Specified by:
      getShapeOrBuilderList in interface AttrValue.ListValueOrBuilder
    • getShapeCount

      public int getShapeCount()
       "list(shape)"
       
      repeated .tensorflow.TensorShapeProto shape = 7;
      Specified by:
      getShapeCount in interface AttrValue.ListValueOrBuilder
    • getShape

      public TensorShapeProto getShape(int index)
       "list(shape)"
       
      repeated .tensorflow.TensorShapeProto shape = 7;
      Specified by:
      getShape in interface AttrValue.ListValueOrBuilder
    • getShapeOrBuilder

      public TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
       "list(shape)"
       
      repeated .tensorflow.TensorShapeProto shape = 7;
      Specified by:
      getShapeOrBuilder in interface AttrValue.ListValueOrBuilder
    • getTensorList

      public List<TensorProto> getTensorList()
       "list(tensor)"
       
      repeated .tensorflow.TensorProto tensor = 8;
      Specified by:
      getTensorList in interface AttrValue.ListValueOrBuilder
    • getTensorOrBuilderList

      public List<? extends TensorProtoOrBuilder> getTensorOrBuilderList()
       "list(tensor)"
       
      repeated .tensorflow.TensorProto tensor = 8;
      Specified by:
      getTensorOrBuilderList in interface AttrValue.ListValueOrBuilder
    • getTensorCount

      public int getTensorCount()
       "list(tensor)"
       
      repeated .tensorflow.TensorProto tensor = 8;
      Specified by:
      getTensorCount in interface AttrValue.ListValueOrBuilder
    • getTensor

      public TensorProto getTensor(int index)
       "list(tensor)"
       
      repeated .tensorflow.TensorProto tensor = 8;
      Specified by:
      getTensor in interface AttrValue.ListValueOrBuilder
    • getTensorOrBuilder

      public TensorProtoOrBuilder getTensorOrBuilder(int index)
       "list(tensor)"
       
      repeated .tensorflow.TensorProto tensor = 8;
      Specified by:
      getTensorOrBuilder in interface AttrValue.ListValueOrBuilder
    • getFuncList

      public List<NameAttrList> getFuncList()
       "list(attr)"
       
      repeated .tensorflow.NameAttrList func = 9;
      Specified by:
      getFuncList in interface AttrValue.ListValueOrBuilder
    • getFuncOrBuilderList

      public List<? extends NameAttrListOrBuilder> getFuncOrBuilderList()
       "list(attr)"
       
      repeated .tensorflow.NameAttrList func = 9;
      Specified by:
      getFuncOrBuilderList in interface AttrValue.ListValueOrBuilder
    • getFuncCount

      public int getFuncCount()
       "list(attr)"
       
      repeated .tensorflow.NameAttrList func = 9;
      Specified by:
      getFuncCount in interface AttrValue.ListValueOrBuilder
    • getFunc

      public NameAttrList getFunc(int index)
       "list(attr)"
       
      repeated .tensorflow.NameAttrList func = 9;
      Specified by:
      getFunc in interface AttrValue.ListValueOrBuilder
    • getFuncOrBuilder

      public NameAttrListOrBuilder getFuncOrBuilder(int index)
       "list(attr)"
       
      repeated .tensorflow.NameAttrList func = 9;
      Specified by:
      getFuncOrBuilder in interface AttrValue.ListValueOrBuilder
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttrValue.ListValue parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

      public static AttrValue.ListValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      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
    • newBuilder

      public static AttrValue.ListValue.Builder newBuilder()
    • newBuilder

      public static AttrValue.ListValue.Builder newBuilder(AttrValue.ListValue prototype)
    • 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
    • getDefaultInstance

      public static AttrValue.ListValue getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AttrValue.ListValue> parser()
    • 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