Package org.tensorflow.framework
Class AttrValue.ListValue
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite
-
- org.nd4j.shade.protobuf.AbstractMessage
-
- org.nd4j.shade.protobuf.GeneratedMessageV3
-
- org.tensorflow.framework.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 typetensorflow.AttrValue.ListValue- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttrValue.ListValue.BuilderLINT.IfChange-
Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intB_FIELD_NUMBERstatic intF_FIELD_NUMBERstatic intFUNC_FIELD_NUMBERstatic intI_FIELD_NUMBERstatic intS_FIELD_NUMBERstatic intSHAPE_FIELD_NUMBERstatic intTENSOR_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetB(int index)"list(bool)"intgetBCount()"list(bool)"List<Boolean>getBList()"list(bool)"static AttrValue.ListValuegetDefaultInstance()AttrValue.ListValuegetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()floatgetF(int index)"list(float)"intgetFCount()"list(float)"List<Float>getFList()"list(float)"NameAttrListgetFunc(int index)"list(attr)"intgetFuncCount()"list(attr)"List<NameAttrList>getFuncList()"list(attr)"NameAttrListOrBuildergetFuncOrBuilder(int index)"list(attr)"List<? extends NameAttrListOrBuilder>getFuncOrBuilderList()"list(attr)"longgetI(int index)"list(int)"intgetICount()"list(int)"List<Long>getIList()"list(int)"org.nd4j.shade.protobuf.Parser<AttrValue.ListValue>getParserForType()org.nd4j.shade.protobuf.ByteStringgetS(int index)"list(string)"intgetSCount()"list(string)"intgetSerializedSize()TensorShapeProtogetShape(int index)"list(shape)"intgetShapeCount()"list(shape)"List<TensorShapeProto>getShapeList()"list(shape)"TensorShapeProtoOrBuildergetShapeOrBuilder(int index)"list(shape)"List<? extends TensorShapeProtoOrBuilder>getShapeOrBuilderList()"list(shape)"List<org.nd4j.shade.protobuf.ByteString>getSList()"list(string)"TensorProtogetTensor(int index)"list(tensor)"intgetTensorCount()"list(tensor)"List<TensorProto>getTensorList()"list(tensor)"TensorProtoOrBuildergetTensorOrBuilder(int index)"list(tensor)"List<? extends TensorProtoOrBuilder>getTensorOrBuilderList()"list(tensor)"DataTypegetType(int index)"list(type)"intgetTypeCount()"list(type)"List<DataType>getTypeList()"list(type)"intgetTypeValue(int index)"list(type)"List<Integer>getTypeValueList()"list(type)"org.nd4j.shade.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AttrValue.ListValue.BuildernewBuilder()static AttrValue.ListValue.BuildernewBuilder(AttrValue.ListValue prototype)AttrValue.ListValue.BuildernewBuilderForType()protected AttrValue.ListValue.BuildernewBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AttrValue.ListValueparseDelimitedFrom(InputStream input)static AttrValue.ListValueparseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static AttrValue.ListValueparseFrom(byte[] data)static AttrValue.ListValueparseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static AttrValue.ListValueparseFrom(InputStream input)static AttrValue.ListValueparseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static AttrValue.ListValueparseFrom(ByteBuffer data)static AttrValue.ListValueparseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static AttrValue.ListValueparseFrom(org.nd4j.shade.protobuf.ByteString data)static AttrValue.ListValueparseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static AttrValue.ListValueparseFrom(org.nd4j.shade.protobuf.CodedInputStream input)static AttrValue.ListValueparseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static org.nd4j.shade.protobuf.Parser<AttrValue.ListValue>parser()AttrValue.ListValue.BuildertoBuilder()voidwriteTo(org.nd4j.shade.protobuf.CodedOutputStream output)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
S_FIELD_NUMBER
public static final int S_FIELD_NUMBER
- See Also:
- Constant Field Values
-
I_FIELD_NUMBER
public static final int I_FIELD_NUMBER
- See Also:
- Constant Field Values
-
F_FIELD_NUMBER
public static final int F_FIELD_NUMBER
- See Also:
- Constant Field Values
-
B_FIELD_NUMBER
public static final int B_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENSOR_FIELD_NUMBER
public static final int TENSOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNC_FIELD_NUMBER
public static final int FUNC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classorg.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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getSList
public List<org.nd4j.shade.protobuf.ByteString> getSList()
"list(string)"
repeated bytes s = 2;- Specified by:
getSListin interfaceAttrValue.ListValueOrBuilder- Returns:
- A list containing the s.
-
getSCount
public int getSCount()
"list(string)"
repeated bytes s = 2;- Specified by:
getSCountin interfaceAttrValue.ListValueOrBuilder- Returns:
- The count of s.
-
getS
public org.nd4j.shade.protobuf.ByteString getS(int index)
"list(string)"
repeated bytes s = 2;- Specified by:
getSin interfaceAttrValue.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:
getIListin interfaceAttrValue.ListValueOrBuilder- Returns:
- A list containing the i.
-
getICount
public int getICount()
"list(int)"
repeated int64 i = 3 [packed = true];- Specified by:
getICountin interfaceAttrValue.ListValueOrBuilder- Returns:
- The count of i.
-
getI
public long getI(int index)
"list(int)"
repeated int64 i = 3 [packed = true];- Specified by:
getIin interfaceAttrValue.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:
getFListin interfaceAttrValue.ListValueOrBuilder- Returns:
- A list containing the f.
-
getFCount
public int getFCount()
"list(float)"
repeated float f = 4 [packed = true];- Specified by:
getFCountin interfaceAttrValue.ListValueOrBuilder- Returns:
- The count of f.
-
getF
public float getF(int index)
"list(float)"
repeated float f = 4 [packed = true];- Specified by:
getFin interfaceAttrValue.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:
getBListin interfaceAttrValue.ListValueOrBuilder- Returns:
- A list containing the b.
-
getBCount
public int getBCount()
"list(bool)"
repeated bool b = 5 [packed = true];- Specified by:
getBCountin interfaceAttrValue.ListValueOrBuilder- Returns:
- The count of b.
-
getB
public boolean getB(int index)
"list(bool)"
repeated bool b = 5 [packed = true];- Specified by:
getBin interfaceAttrValue.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:
getTypeListin interfaceAttrValue.ListValueOrBuilder- Returns:
- A list containing the type.
-
getTypeCount
public int getTypeCount()
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Specified by:
getTypeCountin interfaceAttrValue.ListValueOrBuilder- Returns:
- The count of type.
-
getType
public DataType getType(int index)
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Specified by:
getTypein interfaceAttrValue.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:
getTypeValueListin interfaceAttrValue.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:
getTypeValuein interfaceAttrValue.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:
getShapeListin interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilderList
public List<? extends TensorShapeProtoOrBuilder> getShapeOrBuilderList()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeOrBuilderListin interfaceAttrValue.ListValueOrBuilder
-
getShapeCount
public int getShapeCount()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeCountin interfaceAttrValue.ListValueOrBuilder
-
getShape
public TensorShapeProto getShape(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapein interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getTensorList
public List<TensorProto> getTensorList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorListin interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilderList
public List<? extends TensorProtoOrBuilder> getTensorOrBuilderList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorOrBuilderListin interfaceAttrValue.ListValueOrBuilder
-
getTensorCount
public int getTensorCount()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorCountin interfaceAttrValue.ListValueOrBuilder
-
getTensor
public TensorProto getTensor(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorin interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getFuncList
public List<NameAttrList> getFuncList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncListin interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilderList
public List<? extends NameAttrListOrBuilder> getFuncOrBuilderList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncOrBuilderListin interfaceAttrValue.ListValueOrBuilder
-
getFuncCount
public int getFuncCount()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncCountin interfaceAttrValue.ListValueOrBuilder
-
getFunc
public NameAttrList getFunc(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncin interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilder
public NameAttrListOrBuilder getFuncOrBuilder(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
writeToin classorg.nd4j.shade.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceorg.nd4j.shade.protobuf.Message- Overrides:
equalsin classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.nd4j.shade.protobuf.Message- Overrides:
hashCodein classorg.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(InputStream input, org.nd4j.shade.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, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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:
newBuilderForTypein interfaceorg.nd4j.shade.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.nd4j.shade.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:
toBuilderin interfaceorg.nd4j.shade.protobuf.Message- Specified by:
toBuilderin interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected AttrValue.ListValue.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AttrValue.ListValue getDefaultInstance()
-
parser
public static org.nd4j.shade.protobuf.Parser<AttrValue.ListValue> parser()
-
getParserForType
public org.nd4j.shade.protobuf.Parser<AttrValue.ListValue> getParserForType()
- Specified by:
getParserForTypein interfaceorg.nd4j.shade.protobuf.Message- Specified by:
getParserForTypein interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
getParserForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AttrValue.ListValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-