Class AttrValue.ListValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.AttrValue.ListValue
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, AttrValue.ListValueOrBuilder
- Enclosing class:
AttrValue
public static final class AttrValue.ListValue
extends GeneratedMessageV3
implements AttrValue.ListValueOrBuilder
LINT.IfChangeProtobuf type
tensorflow.AttrValue.ListValue- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
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 GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetB(int index) "list(bool)"int"list(bool)"getBList()"list(bool)"static AttrValue.ListValuestatic final 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)"getS(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)"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)"final UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AttrValue.ListValue.Builderstatic AttrValue.ListValue.BuildernewBuilder(AttrValue.ListValue prototype) protected AttrValue.ListValue.Builderprotected Objectstatic AttrValue.ListValueparseDelimitedFrom(InputStream input) static AttrValue.ListValueparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(byte[] data) static AttrValue.ListValueparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(ByteString data) static AttrValue.ListValueparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(CodedInputStream input) static AttrValue.ListValueparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(InputStream input) static AttrValue.ListValueparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static AttrValue.ListValueparseFrom(ByteBuffer data) static AttrValue.ListValueparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<AttrValue.ListValue> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class 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, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, 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 classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
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
"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 interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static AttrValue.ListValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static AttrValue.ListValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static AttrValue.ListValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AttrValue.ListValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-