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 class
AttrValue.ListValue.Builder
LINT.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 int
B_FIELD_NUMBER
static int
F_FIELD_NUMBER
static int
FUNC_FIELD_NUMBER
static int
I_FIELD_NUMBER
static int
S_FIELD_NUMBER
static int
SHAPE_FIELD_NUMBER
static int
TENSOR_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getB(int index)
"list(bool)"int
getBCount()
"list(bool)"List<Boolean>
getBList()
"list(bool)"static AttrValue.ListValue
getDefaultInstance()
AttrValue.ListValue
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
float
getF(int index)
"list(float)"int
getFCount()
"list(float)"List<Float>
getFList()
"list(float)"NameAttrList
getFunc(int index)
"list(attr)"int
getFuncCount()
"list(attr)"List<NameAttrList>
getFuncList()
"list(attr)"NameAttrListOrBuilder
getFuncOrBuilder(int index)
"list(attr)"List<? extends NameAttrListOrBuilder>
getFuncOrBuilderList()
"list(attr)"long
getI(int index)
"list(int)"int
getICount()
"list(int)"List<Long>
getIList()
"list(int)"org.nd4j.shade.protobuf.Parser<AttrValue.ListValue>
getParserForType()
org.nd4j.shade.protobuf.ByteString
getS(int index)
"list(string)"int
getSCount()
"list(string)"int
getSerializedSize()
TensorShapeProto
getShape(int index)
"list(shape)"int
getShapeCount()
"list(shape)"List<TensorShapeProto>
getShapeList()
"list(shape)"TensorShapeProtoOrBuilder
getShapeOrBuilder(int index)
"list(shape)"List<? extends TensorShapeProtoOrBuilder>
getShapeOrBuilderList()
"list(shape)"List<org.nd4j.shade.protobuf.ByteString>
getSList()
"list(string)"TensorProto
getTensor(int index)
"list(tensor)"int
getTensorCount()
"list(tensor)"List<TensorProto>
getTensorList()
"list(tensor)"TensorProtoOrBuilder
getTensorOrBuilder(int index)
"list(tensor)"List<? extends TensorProtoOrBuilder>
getTensorOrBuilderList()
"list(tensor)"DataType
getType(int index)
"list(type)"int
getTypeCount()
"list(type)"List<DataType>
getTypeList()
"list(type)"int
getTypeValue(int index)
"list(type)"List<Integer>
getTypeValueList()
"list(type)"org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AttrValue.ListValue.Builder
newBuilder()
static AttrValue.ListValue.Builder
newBuilder(AttrValue.ListValue prototype)
AttrValue.ListValue.Builder
newBuilderForType()
protected AttrValue.ListValue.Builder
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AttrValue.ListValue
parseDelimitedFrom(InputStream input)
static AttrValue.ListValue
parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(byte[] data)
static AttrValue.ListValue
parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(InputStream input)
static AttrValue.ListValue
parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(ByteBuffer data)
static AttrValue.ListValue
parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(org.nd4j.shade.protobuf.ByteString data)
static AttrValue.ListValue
parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input)
static AttrValue.ListValue
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static org.nd4j.shade.protobuf.Parser<AttrValue.ListValue>
parser()
AttrValue.ListValue.Builder
toBuilder()
void
writeTo(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:
newInstance
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in 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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getSList
public List<org.nd4j.shade.protobuf.ByteString> getSList()
"list(string)"
repeated bytes s = 2;
- Specified by:
getSList
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- A list containing the s.
-
getSCount
public int getSCount()
"list(string)"
repeated bytes s = 2;
- Specified by:
getSCount
in 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:
getS
in 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:
getIList
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- A list containing the i.
-
getICount
public int getICount()
"list(int)"
repeated int64 i = 3 [packed = true];
- Specified by:
getICount
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- The count of i.
-
getI
public long getI(int index)
"list(int)"
repeated int64 i = 3 [packed = true];
- Specified by:
getI
in 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:
getFList
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- A list containing the f.
-
getFCount
public int getFCount()
"list(float)"
repeated float f = 4 [packed = true];
- Specified by:
getFCount
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- The count of f.
-
getF
public float getF(int index)
"list(float)"
repeated float f = 4 [packed = true];
- Specified by:
getF
in 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:
getBList
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- A list containing the b.
-
getBCount
public int getBCount()
"list(bool)"
repeated bool b = 5 [packed = true];
- Specified by:
getBCount
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- The count of b.
-
getB
public boolean getB(int index)
"list(bool)"
repeated bool b = 5 [packed = true];
- Specified by:
getB
in 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:
getTypeList
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- A list containing the type.
-
getTypeCount
public int getTypeCount()
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];
- Specified by:
getTypeCount
in interfaceAttrValue.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 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:
getTypeValueList
in 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:
getTypeValue
in 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:
getShapeList
in interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilderList
public List<? extends TensorShapeProtoOrBuilder> getShapeOrBuilderList()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
- Specified by:
getShapeOrBuilderList
in interfaceAttrValue.ListValueOrBuilder
-
getShapeCount
public int getShapeCount()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
- Specified by:
getShapeCount
in interfaceAttrValue.ListValueOrBuilder
-
getShape
public TensorShapeProto getShape(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
- Specified by:
getShape
in interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
- Specified by:
getShapeOrBuilder
in interfaceAttrValue.ListValueOrBuilder
-
getTensorList
public List<TensorProto> getTensorList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
- Specified by:
getTensorList
in interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilderList
public List<? extends TensorProtoOrBuilder> getTensorOrBuilderList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
- Specified by:
getTensorOrBuilderList
in interfaceAttrValue.ListValueOrBuilder
-
getTensorCount
public int getTensorCount()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
- Specified by:
getTensorCount
in interfaceAttrValue.ListValueOrBuilder
-
getTensor
public TensorProto getTensor(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
- Specified by:
getTensor
in interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
- Specified by:
getTensorOrBuilder
in interfaceAttrValue.ListValueOrBuilder
-
getFuncList
public List<NameAttrList> getFuncList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
- Specified by:
getFuncList
in interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilderList
public List<? extends NameAttrListOrBuilder> getFuncOrBuilderList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
- Specified by:
getFuncOrBuilderList
in interfaceAttrValue.ListValueOrBuilder
-
getFuncCount
public int getFuncCount()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
- Specified by:
getFuncCount
in interfaceAttrValue.ListValueOrBuilder
-
getFunc
public NameAttrList getFunc(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
- Specified by:
getFunc
in interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilder
public NameAttrListOrBuilder getFuncOrBuilder(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
- Specified by:
getFuncOrBuilder
in interfaceAttrValue.ListValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
writeTo
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getSerializedSize
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
equals
in classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected AttrValue.ListValue.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getParserForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AttrValue.ListValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-