Package org.tensorflow.framework
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.tensorflow.framework.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 typetensorflow.AttrValue.ListValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttrValue.ListValue.BuilderaddAllB(java.lang.Iterable<? extends java.lang.Boolean> values)"list(bool)"AttrValue.ListValue.BuilderaddAllF(java.lang.Iterable<? extends java.lang.Float> values)"list(float)"AttrValue.ListValue.BuilderaddAllFunc(java.lang.Iterable<? extends NameAttrList> values)"list(attr)"AttrValue.ListValue.BuilderaddAllI(java.lang.Iterable<? extends java.lang.Long> values)"list(int)"AttrValue.ListValue.BuilderaddAllS(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)"list(string)"AttrValue.ListValue.BuilderaddAllShape(java.lang.Iterable<? extends TensorShapeProto> values)"list(shape)"AttrValue.ListValue.BuilderaddAllTensor(java.lang.Iterable<? extends TensorProto> values)"list(tensor)"AttrValue.ListValue.BuilderaddAllType(java.lang.Iterable<? extends DataType> values)"list(type)"AttrValue.ListValue.BuilderaddAllTypeValue(java.lang.Iterable<java.lang.Integer> values)"list(type)"AttrValue.ListValue.BuilderaddB(boolean value)"list(bool)"AttrValue.ListValue.BuilderaddF(float value)"list(float)"AttrValue.ListValue.BuilderaddFunc(int index, NameAttrList value)"list(attr)"AttrValue.ListValue.BuilderaddFunc(int index, NameAttrList.Builder builderForValue)"list(attr)"AttrValue.ListValue.BuilderaddFunc(NameAttrList value)"list(attr)"AttrValue.ListValue.BuilderaddFunc(NameAttrList.Builder builderForValue)"list(attr)"NameAttrList.BuilderaddFuncBuilder()"list(attr)"NameAttrList.BuilderaddFuncBuilder(int index)"list(attr)"AttrValue.ListValue.BuilderaddI(long value)"list(int)"AttrValue.ListValue.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AttrValue.ListValue.BuilderaddS(com.google.protobuf.ByteString value)"list(string)"AttrValue.ListValue.BuilderaddShape(int index, TensorShapeProto value)"list(shape)"AttrValue.ListValue.BuilderaddShape(int index, TensorShapeProto.Builder builderForValue)"list(shape)"AttrValue.ListValue.BuilderaddShape(TensorShapeProto value)"list(shape)"AttrValue.ListValue.BuilderaddShape(TensorShapeProto.Builder builderForValue)"list(shape)"TensorShapeProto.BuilderaddShapeBuilder()"list(shape)"TensorShapeProto.BuilderaddShapeBuilder(int index)"list(shape)"AttrValue.ListValue.BuilderaddTensor(int index, TensorProto value)"list(tensor)"AttrValue.ListValue.BuilderaddTensor(int index, TensorProto.Builder builderForValue)"list(tensor)"AttrValue.ListValue.BuilderaddTensor(TensorProto value)"list(tensor)"AttrValue.ListValue.BuilderaddTensor(TensorProto.Builder builderForValue)"list(tensor)"TensorProto.BuilderaddTensorBuilder()"list(tensor)"TensorProto.BuilderaddTensorBuilder(int index)"list(tensor)"AttrValue.ListValue.BuilderaddType(DataType value)"list(type)"AttrValue.ListValue.BuilderaddTypeValue(int value)"list(type)"AttrValue.ListValuebuild()AttrValue.ListValuebuildPartial()AttrValue.ListValue.Builderclear()AttrValue.ListValue.BuilderclearB()"list(bool)"AttrValue.ListValue.BuilderclearF()"list(float)"AttrValue.ListValue.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AttrValue.ListValue.BuilderclearFunc()"list(attr)"AttrValue.ListValue.BuilderclearI()"list(int)"AttrValue.ListValue.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AttrValue.ListValue.BuilderclearS()"list(string)"AttrValue.ListValue.BuilderclearShape()"list(shape)"AttrValue.ListValue.BuilderclearTensor()"list(tensor)"AttrValue.ListValue.BuilderclearType()"list(type)"AttrValue.ListValue.Builderclone()booleangetB(int index)"list(bool)"intgetBCount()"list(bool)"java.util.List<java.lang.Boolean>getBList()"list(bool)"AttrValue.ListValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()floatgetF(int index)"list(float)"intgetFCount()"list(float)"java.util.List<java.lang.Float>getFList()"list(float)"NameAttrListgetFunc(int index)"list(attr)"NameAttrList.BuildergetFuncBuilder(int index)"list(attr)"java.util.List<NameAttrList.Builder>getFuncBuilderList()"list(attr)"intgetFuncCount()"list(attr)"java.util.List<NameAttrList>getFuncList()"list(attr)"NameAttrListOrBuildergetFuncOrBuilder(int index)"list(attr)"java.util.List<? extends NameAttrListOrBuilder>getFuncOrBuilderList()"list(attr)"longgetI(int index)"list(int)"intgetICount()"list(int)"java.util.List<java.lang.Long>getIList()"list(int)"com.google.protobuf.ByteStringgetS(int index)"list(string)"intgetSCount()"list(string)"TensorShapeProtogetShape(int index)"list(shape)"TensorShapeProto.BuildergetShapeBuilder(int index)"list(shape)"java.util.List<TensorShapeProto.Builder>getShapeBuilderList()"list(shape)"intgetShapeCount()"list(shape)"java.util.List<TensorShapeProto>getShapeList()"list(shape)"TensorShapeProtoOrBuildergetShapeOrBuilder(int index)"list(shape)"java.util.List<? extends TensorShapeProtoOrBuilder>getShapeOrBuilderList()"list(shape)"java.util.List<com.google.protobuf.ByteString>getSList()"list(string)"TensorProtogetTensor(int index)"list(tensor)"TensorProto.BuildergetTensorBuilder(int index)"list(tensor)"java.util.List<TensorProto.Builder>getTensorBuilderList()"list(tensor)"intgetTensorCount()"list(tensor)"java.util.List<TensorProto>getTensorList()"list(tensor)"TensorProtoOrBuildergetTensorOrBuilder(int index)"list(tensor)"java.util.List<? extends TensorProtoOrBuilder>getTensorOrBuilderList()"list(tensor)"DataTypegetType(int index)"list(type)"intgetTypeCount()"list(type)"java.util.List<DataType>getTypeList()"list(type)"intgetTypeValue(int index)"list(type)"java.util.List<java.lang.Integer>getTypeValueList()"list(type)"protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AttrValue.ListValue.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AttrValue.ListValue.BuildermergeFrom(com.google.protobuf.Message other)AttrValue.ListValue.BuildermergeFrom(AttrValue.ListValue other)AttrValue.ListValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AttrValue.ListValue.BuilderremoveFunc(int index)"list(attr)"AttrValue.ListValue.BuilderremoveShape(int index)"list(shape)"AttrValue.ListValue.BuilderremoveTensor(int index)"list(tensor)"AttrValue.ListValue.BuildersetB(int index, boolean value)"list(bool)"AttrValue.ListValue.BuildersetF(int index, float value)"list(float)"AttrValue.ListValue.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AttrValue.ListValue.BuildersetFunc(int index, NameAttrList value)"list(attr)"AttrValue.ListValue.BuildersetFunc(int index, NameAttrList.Builder builderForValue)"list(attr)"AttrValue.ListValue.BuildersetI(int index, long value)"list(int)"AttrValue.ListValue.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AttrValue.ListValue.BuildersetS(int index, com.google.protobuf.ByteString value)"list(string)"AttrValue.ListValue.BuildersetShape(int index, TensorShapeProto value)"list(shape)"AttrValue.ListValue.BuildersetShape(int index, TensorShapeProto.Builder builderForValue)"list(shape)"AttrValue.ListValue.BuildersetTensor(int index, TensorProto value)"list(tensor)"AttrValue.ListValue.BuildersetTensor(int index, TensorProto.Builder builderForValue)"list(tensor)"AttrValue.ListValue.BuildersetType(int index, DataType value)"list(type)"AttrValue.ListValue.BuildersetTypeValue(int index, int value)"list(type)"AttrValue.ListValue.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
clear
public AttrValue.ListValue.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
getDefaultInstanceForType
public AttrValue.ListValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttrValue.ListValue build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttrValue.ListValue buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttrValue.ListValue.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
clearField
public AttrValue.ListValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
clearOneof
public AttrValue.ListValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
mergeFrom
public AttrValue.ListValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttrValue.ListValue.Builder>
-
mergeFrom
public AttrValue.ListValue.Builder mergeFrom(AttrValue.ListValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
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.
-
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:
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.
-
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:
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.
-
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:
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.
-
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 .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
public DataType getType(int index)
"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.
-
setType
public AttrValue.ListValue.Builder setType(int index, DataType value)
"list(type)"
repeated .tensorflow.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 .tensorflow.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 .tensorflow.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 .tensorflow.DataType type = 6 [packed = true];- Returns:
- This builder for chaining.
-
getTypeValueList
public java.util.List<java.lang.Integer> 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.
-
setTypeValue
public AttrValue.ListValue.Builder setTypeValue(int index, int value)
"list(type)"
repeated .tensorflow.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 .tensorflow.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 .tensorflow.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 .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeListin interfaceAttrValue.ListValueOrBuilder
-
getShapeCount
public int getShapeCount()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeCountin interfaceAttrValue.ListValueOrBuilder
-
getShape
public TensorShapeProto getShape(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapein interfaceAttrValue.ListValueOrBuilder
-
setShape
public AttrValue.ListValue.Builder setShape(int index, TensorShapeProto value)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
setShape
public AttrValue.ListValue.Builder setShape(int index, TensorShapeProto.Builder builderForValue)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(TensorShapeProto value)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(int index, TensorShapeProto value)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(TensorShapeProto.Builder builderForValue)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
addShape
public AttrValue.ListValue.Builder addShape(int index, TensorShapeProto.Builder builderForValue)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
addAllShape
public AttrValue.ListValue.Builder addAllShape(java.lang.Iterable<? extends TensorShapeProto> values)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
clearShape
public AttrValue.ListValue.Builder clearShape()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
removeShape
public AttrValue.ListValue.Builder removeShape(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getShapeOrBuilderList
public java.util.List<? extends TensorShapeProtoOrBuilder> getShapeOrBuilderList()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;- Specified by:
getShapeOrBuilderListin interfaceAttrValue.ListValueOrBuilder
-
addShapeBuilder
public TensorShapeProto.Builder addShapeBuilder()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
addShapeBuilder
public TensorShapeProto.Builder addShapeBuilder(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShapeBuilderList
public java.util.List<TensorShapeProto.Builder> getShapeBuilderList()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getTensorList
public java.util.List<TensorProto> getTensorList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorListin interfaceAttrValue.ListValueOrBuilder
-
getTensorCount
public int getTensorCount()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorCountin interfaceAttrValue.ListValueOrBuilder
-
getTensor
public TensorProto getTensor(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorin interfaceAttrValue.ListValueOrBuilder
-
setTensor
public AttrValue.ListValue.Builder setTensor(int index, TensorProto value)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
setTensor
public AttrValue.ListValue.Builder setTensor(int index, TensorProto.Builder builderForValue)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(TensorProto value)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(int index, TensorProto value)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(TensorProto.Builder builderForValue)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
addTensor
public AttrValue.ListValue.Builder addTensor(int index, TensorProto.Builder builderForValue)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
addAllTensor
public AttrValue.ListValue.Builder addAllTensor(java.lang.Iterable<? extends TensorProto> values)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
clearTensor
public AttrValue.ListValue.Builder clearTensor()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
removeTensor
public AttrValue.ListValue.Builder removeTensor(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensorBuilder
public TensorProto.Builder getTensorBuilder(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getTensorOrBuilderList
public java.util.List<? extends TensorProtoOrBuilder> getTensorOrBuilderList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;- Specified by:
getTensorOrBuilderListin interfaceAttrValue.ListValueOrBuilder
-
addTensorBuilder
public TensorProto.Builder addTensorBuilder()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
addTensorBuilder
public TensorProto.Builder addTensorBuilder(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensorBuilderList
public java.util.List<TensorProto.Builder> getTensorBuilderList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getFuncList
public java.util.List<NameAttrList> getFuncList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncListin interfaceAttrValue.ListValueOrBuilder
-
getFuncCount
public int getFuncCount()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncCountin interfaceAttrValue.ListValueOrBuilder
-
getFunc
public NameAttrList getFunc(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncin interfaceAttrValue.ListValueOrBuilder
-
setFunc
public AttrValue.ListValue.Builder setFunc(int index, NameAttrList value)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
setFunc
public AttrValue.ListValue.Builder setFunc(int index, NameAttrList.Builder builderForValue)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(NameAttrList value)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(int index, NameAttrList value)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(NameAttrList.Builder builderForValue)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
addFunc
public AttrValue.ListValue.Builder addFunc(int index, NameAttrList.Builder builderForValue)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
addAllFunc
public AttrValue.ListValue.Builder addAllFunc(java.lang.Iterable<? extends NameAttrList> values)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
clearFunc
public AttrValue.ListValue.Builder clearFunc()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
removeFunc
public AttrValue.ListValue.Builder removeFunc(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFuncBuilder
public NameAttrList.Builder getFuncBuilder(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFuncOrBuilder
public NameAttrListOrBuilder getFuncOrBuilder(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncOrBuilderin interfaceAttrValue.ListValueOrBuilder
-
getFuncOrBuilderList
public java.util.List<? extends NameAttrListOrBuilder> getFuncOrBuilderList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;- Specified by:
getFuncOrBuilderListin interfaceAttrValue.ListValueOrBuilder
-
addFuncBuilder
public NameAttrList.Builder addFuncBuilder()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
addFuncBuilder
public NameAttrList.Builder addFuncBuilder(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFuncBuilderList
public java.util.List<NameAttrList.Builder> getFuncBuilderList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
setUnknownFields
public final AttrValue.ListValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
mergeUnknownFields
public final AttrValue.ListValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.ListValue.Builder>
-
-