Package org.platanios.tensorflow.proto
Class AttrValue.ListValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
- org.platanios.tensorflow.proto.AttrValue.ListValue.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,AttrValue.ListValueOrBuilder
- Enclosing class:
- AttrValue.ListValue
public static final class AttrValue.ListValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder> implements AttrValue.ListValueOrBuilder
LINT.IfChange
Protobuf typeorg.platanios.tensorflow.proto.AttrValue.ListValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttrValue.ListValue.Builder
addAllB(java.lang.Iterable<? extends java.lang.Boolean> values)
"list(bool)"AttrValue.ListValue.Builder
addAllF(java.lang.Iterable<? extends java.lang.Float> values)
"list(float)"AttrValue.ListValue.Builder
addAllFunc(java.lang.Iterable<? extends NameAttrList> values)
"list(attr)"AttrValue.ListValue.Builder
addAllI(java.lang.Iterable<? extends java.lang.Long> values)
"list(int)"AttrValue.ListValue.Builder
addAllS(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
"list(string)"AttrValue.ListValue.Builder
addAllShape(java.lang.Iterable<? extends TensorShapeProto> values)
"list(shape)"AttrValue.ListValue.Builder
addAllTensor(java.lang.Iterable<? extends TensorProto> values)
"list(tensor)"AttrValue.ListValue.Builder
addAllType(java.lang.Iterable<? extends DataType> values)
"list(type)"AttrValue.ListValue.Builder
addAllTypeValue(java.lang.Iterable<java.lang.Integer> values)
"list(type)"AttrValue.ListValue.Builder
addB(boolean value)
"list(bool)"AttrValue.ListValue.Builder
addF(float value)
"list(float)"AttrValue.ListValue.Builder
addFunc(int index, NameAttrList value)
"list(attr)"AttrValue.ListValue.Builder
addFunc(int index, NameAttrList.Builder builderForValue)
"list(attr)"AttrValue.ListValue.Builder
addFunc(NameAttrList value)
"list(attr)"AttrValue.ListValue.Builder
addFunc(NameAttrList.Builder builderForValue)
"list(attr)"NameAttrList.Builder
addFuncBuilder()
"list(attr)"NameAttrList.Builder
addFuncBuilder(int index)
"list(attr)"AttrValue.ListValue.Builder
addI(long value)
"list(int)"AttrValue.ListValue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AttrValue.ListValue.Builder
addS(com.google.protobuf.ByteString value)
"list(string)"AttrValue.ListValue.Builder
addShape(int index, TensorShapeProto value)
"list(shape)"AttrValue.ListValue.Builder
addShape(int index, TensorShapeProto.Builder builderForValue)
"list(shape)"AttrValue.ListValue.Builder
addShape(TensorShapeProto value)
"list(shape)"AttrValue.ListValue.Builder
addShape(TensorShapeProto.Builder builderForValue)
"list(shape)"TensorShapeProto.Builder
addShapeBuilder()
"list(shape)"TensorShapeProto.Builder
addShapeBuilder(int index)
"list(shape)"AttrValue.ListValue.Builder
addTensor(int index, TensorProto value)
"list(tensor)"AttrValue.ListValue.Builder
addTensor(int index, TensorProto.Builder builderForValue)
"list(tensor)"AttrValue.ListValue.Builder
addTensor(TensorProto value)
"list(tensor)"AttrValue.ListValue.Builder
addTensor(TensorProto.Builder builderForValue)
"list(tensor)"TensorProto.Builder
addTensorBuilder()
"list(tensor)"TensorProto.Builder
addTensorBuilder(int index)
"list(tensor)"AttrValue.ListValue.Builder
addType(DataType value)
"list(type)"AttrValue.ListValue.Builder
addTypeValue(int value)
"list(type)"AttrValue.ListValue
build()
AttrValue.ListValue
buildPartial()
AttrValue.ListValue.Builder
clear()
AttrValue.ListValue.Builder
clearB()
"list(bool)"AttrValue.ListValue.Builder
clearF()
"list(float)"AttrValue.ListValue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AttrValue.ListValue.Builder
clearFunc()
"list(attr)"AttrValue.ListValue.Builder
clearI()
"list(int)"AttrValue.ListValue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttrValue.ListValue.Builder
clearS()
"list(string)"AttrValue.ListValue.Builder
clearShape()
"list(shape)"AttrValue.ListValue.Builder
clearTensor()
"list(tensor)"AttrValue.ListValue.Builder
clearType()
"list(type)"AttrValue.ListValue.Builder
clone()
boolean
getB(int index)
"list(bool)"int
getBCount()
"list(bool)"java.util.List<java.lang.Boolean>
getBList()
"list(bool)"AttrValue.ListValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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)"NameAttrList.Builder
getFuncBuilder(int index)
"list(attr)"java.util.List<NameAttrList.Builder>
getFuncBuilderList()
"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.ByteString
getS(int index)
"list(string)"int
getSCount()
"list(string)"TensorShapeProto
getShape(int index)
"list(shape)"TensorShapeProto.Builder
getShapeBuilder(int index)
"list(shape)"java.util.List<TensorShapeProto.Builder>
getShapeBuilderList()
"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)"TensorProto.Builder
getTensorBuilder(int index)
"list(tensor)"java.util.List<TensorProto.Builder>
getTensorBuilderList()
"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)"protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AttrValue.ListValue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue.ListValue.Builder
mergeFrom(com.google.protobuf.Message other)
AttrValue.ListValue.Builder
mergeFrom(AttrValue.ListValue other)
AttrValue.ListValue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AttrValue.ListValue.Builder
removeFunc(int index)
"list(attr)"AttrValue.ListValue.Builder
removeShape(int index)
"list(shape)"AttrValue.ListValue.Builder
removeTensor(int index)
"list(tensor)"AttrValue.ListValue.Builder
setB(int index, boolean value)
"list(bool)"AttrValue.ListValue.Builder
setF(int index, float value)
"list(float)"AttrValue.ListValue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AttrValue.ListValue.Builder
setFunc(int index, NameAttrList value)
"list(attr)"AttrValue.ListValue.Builder
setFunc(int index, NameAttrList.Builder builderForValue)
"list(attr)"AttrValue.ListValue.Builder
setI(int index, long value)
"list(int)"AttrValue.ListValue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AttrValue.ListValue.Builder
setS(int index, com.google.protobuf.ByteString value)
"list(string)"AttrValue.ListValue.Builder
setShape(int index, TensorShapeProto value)
"list(shape)"AttrValue.ListValue.Builder
setShape(int index, TensorShapeProto.Builder builderForValue)
"list(shape)"AttrValue.ListValue.Builder
setTensor(int index, TensorProto value)
"list(tensor)"AttrValue.ListValue.Builder
setTensor(int index, TensorProto.Builder builderForValue)
"list(tensor)"AttrValue.ListValue.Builder
setType(int index, DataType value)
"list(type)"AttrValue.ListValue.Builder
setTypeValue(int index, int value)
"list(type)"AttrValue.ListValue.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<AttrValue.ListValue.Builder>
-
clear
public AttrValue.ListValue.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
getDefaultInstanceForType
public AttrValue.ListValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttrValue.ListValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttrValue.ListValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttrValue.ListValue.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
setField
public AttrValue.ListValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
clearField
public AttrValue.ListValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
clearOneof
public AttrValue.ListValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
setRepeatedField
public AttrValue.ListValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
addRepeatedField
public AttrValue.ListValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
mergeFrom
public AttrValue.ListValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttrValue.ListValue.Builder>
-
mergeFrom
public AttrValue.ListValue.Builder mergeFrom(AttrValue.ListValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
mergeFrom
public AttrValue.ListValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttrValue.ListValue.Builder>
- Throws:
java.io.IOException
-
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.
-
setS
public AttrValue.ListValue.Builder setS(int index, com.google.protobuf.ByteString value)
"list(string)"
repeated bytes s = 2;
- Parameters:
index
- The index to set the value at.value
- The s to set.- Returns:
- This builder for chaining.
-
addS
public AttrValue.ListValue.Builder addS(com.google.protobuf.ByteString value)
"list(string)"
repeated bytes s = 2;
- Parameters:
value
- The s to add.- Returns:
- This builder for chaining.
-
addAllS
public AttrValue.ListValue.Builder addAllS(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
"list(string)"
repeated bytes s = 2;
- Parameters:
values
- The s to add.- Returns:
- This builder for chaining.
-
clearS
public AttrValue.ListValue.Builder clearS()
"list(string)"
repeated bytes s = 2;
- Returns:
- This builder for chaining.
-
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.
-
setI
public AttrValue.ListValue.Builder setI(int index, long value)
"list(int)"
repeated int64 i = 3 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The i to set.- Returns:
- This builder for chaining.
-
addI
public AttrValue.ListValue.Builder addI(long value)
"list(int)"
repeated int64 i = 3 [packed = true];
- Parameters:
value
- The i to add.- Returns:
- This builder for chaining.
-
addAllI
public AttrValue.ListValue.Builder addAllI(java.lang.Iterable<? extends java.lang.Long> values)
"list(int)"
repeated int64 i = 3 [packed = true];
- Parameters:
values
- The i to add.- Returns:
- This builder for chaining.
-
clearI
public AttrValue.ListValue.Builder clearI()
"list(int)"
repeated int64 i = 3 [packed = true];
- Returns:
- This builder for chaining.
-
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.
-
setF
public AttrValue.ListValue.Builder setF(int index, float value)
"list(float)"
repeated float f = 4 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The f to set.- Returns:
- This builder for chaining.
-
addF
public AttrValue.ListValue.Builder addF(float value)
"list(float)"
repeated float f = 4 [packed = true];
- Parameters:
value
- The f to add.- Returns:
- This builder for chaining.
-
addAllF
public AttrValue.ListValue.Builder addAllF(java.lang.Iterable<? extends java.lang.Float> values)
"list(float)"
repeated float f = 4 [packed = true];
- Parameters:
values
- The f to add.- Returns:
- This builder for chaining.
-
clearF
public AttrValue.ListValue.Builder clearF()
"list(float)"
repeated float f = 4 [packed = true];
- Returns:
- This builder for chaining.
-
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.
-
setB
public AttrValue.ListValue.Builder setB(int index, boolean value)
"list(bool)"
repeated bool b = 5 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The b to set.- Returns:
- This builder for chaining.
-
addB
public AttrValue.ListValue.Builder addB(boolean value)
"list(bool)"
repeated bool b = 5 [packed = true];
- Parameters:
value
- The b to add.- Returns:
- This builder for chaining.
-
addAllB
public AttrValue.ListValue.Builder addAllB(java.lang.Iterable<? extends java.lang.Boolean> values)
"list(bool)"
repeated bool b = 5 [packed = true];
- Parameters:
values
- The b to add.- Returns:
- This builder for chaining.
-
clearB
public AttrValue.ListValue.Builder clearB()
"list(bool)"
repeated bool b = 5 [packed = true];
- Returns:
- This builder for chaining.
-
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.
-
setType
public AttrValue.ListValue.Builder setType(int index, DataType value)
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The type to set.- Returns:
- This builder for chaining.
-
addType
public AttrValue.ListValue.Builder addType(DataType value)
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Parameters:
value
- The type to add.- Returns:
- This builder for chaining.
-
addAllType
public AttrValue.ListValue.Builder addAllType(java.lang.Iterable<? extends DataType> values)
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Parameters:
values
- The type to add.- Returns:
- This builder for chaining.
-
clearType
public AttrValue.ListValue.Builder clearType()
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Returns:
- This builder for chaining.
-
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.
-
setTypeValue
public AttrValue.ListValue.Builder setTypeValue(int index, int value)
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of type at the given index.
-
addTypeValue
public AttrValue.ListValue.Builder addTypeValue(int value)
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Parameters:
value
- The enum numeric value on the wire for type to add.- Returns:
- This builder for chaining.
-
addAllTypeValue
public AttrValue.ListValue.Builder addAllTypeValue(java.lang.Iterable<java.lang.Integer> values)
"list(type)"
repeated .org.platanios.tensorflow.proto.DataType type = 6 [packed = true];
- Parameters:
values
- The enum numeric values on the wire for type to add.- Returns:
- This builder for chaining.
-
getShapeList
public java.util.List<TensorShapeProto> getShapeList()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeList
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
-
setShape
public AttrValue.ListValue.Builder setShape(int index, TensorShapeProto value)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
setShape
public AttrValue.ListValue.Builder setShape(int index, TensorShapeProto.Builder builderForValue)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(TensorShapeProto value)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(int index, TensorShapeProto value)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(TensorShapeProto.Builder builderForValue)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(int index, TensorShapeProto.Builder builderForValue)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
addAllShape
public AttrValue.ListValue.Builder addAllShape(java.lang.Iterable<? extends TensorShapeProto> values)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
clearShape
public AttrValue.ListValue.Builder clearShape()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
removeShape
public AttrValue.ListValue.Builder removeShape(int index)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder(int index)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeOrBuilder
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
-
addShapeBuilder
public TensorShapeProto.Builder addShapeBuilder()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
addShapeBuilder
public TensorShapeProto.Builder addShapeBuilder(int index)
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
getShapeBuilderList
public java.util.List<TensorShapeProto.Builder> getShapeBuilderList()
"list(shape)"
repeated .org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
getTensorList
public java.util.List<TensorProto> getTensorList()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorList
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
-
setTensor
public AttrValue.ListValue.Builder setTensor(int index, TensorProto value)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
setTensor
public AttrValue.ListValue.Builder setTensor(int index, TensorProto.Builder builderForValue)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(TensorProto value)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(int index, TensorProto value)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(TensorProto.Builder builderForValue)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(int index, TensorProto.Builder builderForValue)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
addAllTensor
public AttrValue.ListValue.Builder addAllTensor(java.lang.Iterable<? extends TensorProto> values)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
clearTensor
public AttrValue.ListValue.Builder clearTensor()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
removeTensor
public AttrValue.ListValue.Builder removeTensor(int index)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
getTensorBuilder
public TensorProto.Builder getTensorBuilder(int index)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder(int index)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorOrBuilder
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
-
addTensorBuilder
public TensorProto.Builder addTensorBuilder()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
addTensorBuilder
public TensorProto.Builder addTensorBuilder(int index)
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
getTensorBuilderList
public java.util.List<TensorProto.Builder> getTensorBuilderList()
"list(tensor)"
repeated .org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
getFuncList
public java.util.List<NameAttrList> getFuncList()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFuncList
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
-
setFunc
public AttrValue.ListValue.Builder setFunc(int index, NameAttrList value)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
setFunc
public AttrValue.ListValue.Builder setFunc(int index, NameAttrList.Builder builderForValue)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(NameAttrList value)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(int index, NameAttrList value)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(NameAttrList.Builder builderForValue)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(int index, NameAttrList.Builder builderForValue)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
addAllFunc
public AttrValue.ListValue.Builder addAllFunc(java.lang.Iterable<? extends NameAttrList> values)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
clearFunc
public AttrValue.ListValue.Builder clearFunc()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
removeFunc
public AttrValue.ListValue.Builder removeFunc(int index)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
getFuncBuilder
public NameAttrList.Builder getFuncBuilder(int index)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
getFuncOrBuilder
public NameAttrListOrBuilder getFuncOrBuilder(int index)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
- Specified by:
getFuncOrBuilder
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
-
addFuncBuilder
public NameAttrList.Builder addFuncBuilder()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
addFuncBuilder
public NameAttrList.Builder addFuncBuilder(int index)
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
getFuncBuilderList
public java.util.List<NameAttrList.Builder> getFuncBuilderList()
"list(attr)"
repeated .org.platanios.tensorflow.proto.NameAttrList func = 9;
-
setUnknownFields
public final AttrValue.ListValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
mergeUnknownFields
public final AttrValue.ListValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
-