Package org.platanios.tensorflow.proto
Class AttrValue.ListValue
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.platanios.tensorflow.proto.AttrValue.ListValue
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,AttrValue.ListValueOrBuilder
- Enclosing class:
- AttrValue
public static final class AttrValue.ListValue extends com.google.protobuf.GeneratedMessageV3 implements AttrValue.ListValueOrBuilder
LINT.IfChange
Protobuf typeorg.platanios.tensorflow.proto.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 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.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(java.lang.Object obj)
boolean
getB(int index)
"list(bool)"int
getBCount()
"list(bool)"java.util.List<java.lang.Boolean>
getBList()
"list(bool)"static AttrValue.ListValue
getDefaultInstance()
AttrValue.ListValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
float
getF(int index)
"list(float)"int
getFCount()
"list(float)"java.util.List<java.lang.Float>
getFList()
"list(float)"NameAttrList
getFunc(int index)
"list(attr)"int
getFuncCount()
"list(attr)"java.util.List<NameAttrList>
getFuncList()
"list(attr)"NameAttrListOrBuilder
getFuncOrBuilder(int index)
"list(attr)"java.util.List<? extends NameAttrListOrBuilder>
getFuncOrBuilderList()
"list(attr)"long
getI(int index)
"list(int)"int
getICount()
"list(int)"java.util.List<java.lang.Long>
getIList()
"list(int)"com.google.protobuf.Parser<AttrValue.ListValue>
getParserForType()
com.google.protobuf.ByteString
getS(int index)
"list(string)"int
getSCount()
"list(string)"int
getSerializedSize()
TensorShapeProto
getShape(int index)
"list(shape)"int
getShapeCount()
"list(shape)"java.util.List<TensorShapeProto>
getShapeList()
"list(shape)"TensorShapeProtoOrBuilder
getShapeOrBuilder(int index)
"list(shape)"java.util.List<? extends TensorShapeProtoOrBuilder>
getShapeOrBuilderList()
"list(shape)"java.util.List<com.google.protobuf.ByteString>
getSList()
"list(string)"TensorProto
getTensor(int index)
"list(tensor)"int
getTensorCount()
"list(tensor)"java.util.List<TensorProto>
getTensorList()
"list(tensor)"TensorProtoOrBuilder
getTensorOrBuilder(int index)
"list(tensor)"java.util.List<? extends TensorProtoOrBuilder>
getTensorOrBuilderList()
"list(tensor)"DataType
getType(int index)
"list(type)"int
getTypeCount()
"list(type)"java.util.List<DataType>
getTypeList()
"list(type)"int
getTypeValue(int index)
"list(type)"java.util.List<java.lang.Integer>
getTypeValueList()
"list(type)"com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AttrValue.ListValue
parseDelimitedFrom(java.io.InputStream input)
static AttrValue.ListValue
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(byte[] data)
static AttrValue.ListValue
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(com.google.protobuf.ByteString data)
static AttrValue.ListValue
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(com.google.protobuf.CodedInputStream input)
static AttrValue.ListValue
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(java.io.InputStream input)
static AttrValue.ListValue
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttrValue.ListValue
parseFrom(java.nio.ByteBuffer data)
static AttrValue.ListValue
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AttrValue.ListValue>
parser()
AttrValue.ListValue.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.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 java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getSList
public java.util.List<com.google.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 com.google.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<DataType> getTypeList()
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Specified by:
getTypeList
in interfaceAttrValue.ListValueOrBuilder
- Returns:
- A list containing the type.
-
getTypeCount
public int getTypeCount()
"list(type)"
repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 java.util.List<java.lang.Integer> getTypeValueList()
"list(type)"
repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 java.util.List<TensorShapeProto> getShapeList()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeList
in interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilderList
public java.util.List<? extends TensorShapeProtoOrBuilder> getShapeOrBuilderList()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeOrBuilderList
in interfaceAttrValue.ListValueOrBuilder
-
getShapeCount
public int getShapeCount()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeCount
in interfaceAttrValue.ListValueOrBuilder
-
getShape
public TensorShapeProto getShape(int index)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShape
in interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeOrBuilder
in interfaceAttrValue.ListValueOrBuilder
-
getTensorList
public java.util.List<TensorProto> getTensorList()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorList
in interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilderList
public java.util.List<? extends TensorProtoOrBuilder> getTensorOrBuilderList()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorOrBuilderList
in interfaceAttrValue.ListValueOrBuilder
-
getTensorCount
public int getTensorCount()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorCount
in interfaceAttrValue.ListValueOrBuilder
-
getTensor
public TensorProto getTensor(int index)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensor
in interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder(int index)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorOrBuilder
in interfaceAttrValue.ListValueOrBuilder
-
getFuncList
public java.util.List<NameAttrList> getFuncList()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFuncList
in interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilderList
public java.util.List<? extends NameAttrListOrBuilder> getFuncOrBuilderList()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFuncOrBuilderList
in interfaceAttrValue.ListValueOrBuilder
-
getFuncCount
public int getFuncCount()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFuncCount
in interfaceAttrValue.ListValueOrBuilder
-
getFunc
public NameAttrList getFunc(int index)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFunc
in interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilder
public NameAttrListOrBuilder getFuncOrBuilder(int index)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFuncOrBuilder
in interfaceAttrValue.ListValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AttrValue.ListValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttrValue.ListValue parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AttrValue.ListValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AttrValue.ListValue parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AttrValue.ListValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AttrValue.ListValue.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AttrValue.ListValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AttrValue.ListValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-