Package org.tensorflow.framework
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.IfChangeProtobuf type
tensorflow.AttrValue.ListValue- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetB(int index) "list(bool)"int"list(bool)"getBList()"list(bool)"static AttrValue.ListValuestatic final com.google.protobuf.Descriptors.DescriptorfloatgetF(int index) "list(float)"int"list(float)"getFList()"list(float)"getFunc(int index) "list(attr)"int"list(attr)""list(attr)"getFuncOrBuilder(int index) "list(attr)"List<? extends NameAttrListOrBuilder> "list(attr)"longgetI(int index) "list(int)"int"list(int)"getIList()"list(int)"com.google.protobuf.Parser<AttrValue.ListValue> com.google.protobuf.ByteStringgetS(int index) "list(string)"int"list(string)"intgetShape(int index) "list(shape)"int"list(shape)""list(shape)"getShapeOrBuilder(int index) "list(shape)"List<? extends TensorShapeProtoOrBuilder> "list(shape)"List<com.google.protobuf.ByteString> getSList()"list(string)"getTensor(int index) "list(tensor)"int"list(tensor)""list(tensor)"getTensorOrBuilder(int index) "list(tensor)"List<? extends TensorProtoOrBuilder> "list(tensor)"getType(int index) "list(type)"int"list(type)""list(type)"intgetTypeValue(int index) "list(type)""list(type)"inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AttrValue.ListValue.Builderstatic AttrValue.ListValue.BuildernewBuilder(AttrValue.ListValue prototype) protected AttrValue.ListValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AttrValue.ListValueparseDelimitedFrom(InputStream input) static AttrValue.ListValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(byte[] data) static AttrValue.ListValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(com.google.protobuf.ByteString data) static AttrValue.ListValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(com.google.protobuf.CodedInputStream input) static AttrValue.ListValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(InputStream input) static AttrValue.ListValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(ByteBuffer data) static AttrValue.ListValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AttrValue.ListValue> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
S_FIELD_NUMBER
public static final int S_FIELD_NUMBER- See Also:
-
I_FIELD_NUMBER
public static final int I_FIELD_NUMBER- See Also:
-
F_FIELD_NUMBER
public static final int F_FIELD_NUMBER- See Also:
-
B_FIELD_NUMBER
public static final int B_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER- See Also:
-
TENSOR_FIELD_NUMBER
public static final int TENSOR_FIELD_NUMBER- See Also:
-
FUNC_FIELD_NUMBER
public static final int FUNC_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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 com.google.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
"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
"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
"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
"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
"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
"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
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeListin interfaceAttrValue.ListValueOrBuilder
-
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
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapein interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilder
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getTensorList
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorListin interfaceAttrValue.ListValueOrBuilder
-
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
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorin interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilder
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getFuncList
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncListin interfaceAttrValue.ListValueOrBuilder
-
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
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncin interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilder
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AttrValue.ListValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-