Have a question? Connect with the community at the TensorFlow Forum Visit Forum

AttrValue.ListValue.Builder

public static final class AttrValue.ListValue.Builder

 LINT.IfChange
 
Protobuf type tensorflow.AttrValue.ListValue

Public Methods

AttrValue.ListValue.Builder
addAllB (Iterable<? extends Boolean> values)
 "list(bool)"
 
repeated bool b = 5 [packed = true];
AttrValue.ListValue.Builder
addAllF (Iterable<? extends Float> values)
 "list(float)"
 
repeated float f = 4 [packed = true];
AttrValue.ListValue.Builder
addAllFunc (Iterable<? extends NameAttrList > values)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
AttrValue.ListValue.Builder
addAllI (Iterable<? extends Long> values)
 "list(int)"
 
repeated int64 i = 3 [packed = true];
AttrValue.ListValue.Builder
addAllS (Iterable<? extends ByteString> values)
 "list(string)"
 
repeated bytes s = 2;
AttrValue.ListValue.Builder
addAllShape (Iterable<? extends TensorShapeProto > values)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
AttrValue.ListValue.Builder
addAllTensor (Iterable<? extends TensorProto > values)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
AttrValue.ListValue.Builder
addAllType (Iterable<? extends DataType > values)
 "list(type)"
 
repeated .tensorflow.DataType type = 6 [packed = true];
AttrValue.ListValue.Builder
addAllTypeValue (Iterable<Integer> values)
 "list(type)"
 
repeated .tensorflow.DataType type = 6 [packed = true];
AttrValue.ListValue.Builder
addB (boolean value)
 "list(bool)"
 
repeated bool b = 5 [packed = true];
AttrValue.ListValue.Builder
addF (float value)
 "list(float)"
 
repeated float f = 4 [packed = true];
AttrValue.ListValue.Builder
addFunc (int index, NameAttrList.Builder builderForValue)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
AttrValue.ListValue.Builder
addFunc ( NameAttrList value)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
AttrValue.ListValue.Builder
addFunc ( NameAttrList.Builder builderForValue)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
AttrValue.ListValue.Builder
addFunc (int index, NameAttrList value)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
NameAttrList.Builder
addFuncBuilder ()
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
NameAttrList.Builder
addFuncBuilder (int index)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
AttrValue.ListValue.Builder
addI (long value)
 "list(int)"
 
repeated int64 i = 3 [packed = true];
AttrValue.ListValue.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttrValue.ListValue.Builder
addS (com.google.protobuf.ByteString value)
 "list(string)"
 
repeated bytes s = 2;
AttrValue.ListValue.Builder
addShape (int index, TensorShapeProto.Builder builderForValue)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
AttrValue.ListValue.Builder
addShape ( TensorShapeProto value)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
AttrValue.ListValue.Builder
addShape (int index, TensorShapeProto value)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
AttrValue.ListValue.Builder
addShape ( TensorShapeProto.Builder builderForValue)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
addShapeBuilder (int index)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
addShapeBuilder ()
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
AttrValue.ListValue.Builder
addTensor ( TensorProto value)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
AttrValue.ListValue.Builder
addTensor (int index, TensorProto.Builder builderForValue)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
AttrValue.ListValue.Builder
addTensor ( TensorProto.Builder builderForValue)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
AttrValue.ListValue.Builder
addTensor (int index, TensorProto value)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
TensorProto.Builder
addTensorBuilder (int index)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
TensorProto.Builder
addTensorBuilder ()
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
AttrValue.ListValue.Builder
addType ( DataType value)
 "list(type)"
 
repeated .tensorflow.DataType type = 6 [packed = true];
AttrValue.ListValue.Builder
addTypeValue (int value)
 "list(type)"
 
repeated .tensorflow.DataType type = 6 [packed = true];
AttrValue.ListValue
AttrValue.ListValue
AttrValue.ListValue.Builder
AttrValue.ListValue.Builder
clearB ()
 "list(bool)"
 
repeated bool b = 5 [packed = true];
AttrValue.ListValue.Builder
clearF ()
 "list(float)"
 
repeated float f = 4 [packed = true];
AttrValue.ListValue.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
AttrValue.ListValue.Builder
clearFunc ()
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
AttrValue.ListValue.Builder
clearI ()
 "list(int)"
 
repeated int64 i = 3 [packed = true];
AttrValue.ListValue.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttrValue.ListValue.Builder
clearS ()
 "list(string)"
 
repeated bytes s = 2;
AttrValue.ListValue.Builder
clearShape ()
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
AttrValue.ListValue.Builder
clearTensor ()
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
AttrValue.ListValue.Builder
clearType ()
 "list(type)"
 
repeated .tensorflow.DataType type = 6 [packed = true];
AttrValue.ListValue.Builder
boolean
getB (int index)
 "list(bool)"
 
repeated bool b = 5 [packed = true];
int
getBCount ()
 "list(bool)"
 
repeated bool b = 5 [packed = true];
List<Boolean>
getBList ()
 "list(bool)"
 
repeated bool b = 5 [packed = true];
AttrValue.ListValue
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
float
getF (int index)
 "list(float)"
 
repeated float f = 4 [packed = true];
int
getFCount ()
 "list(float)"
 
repeated float f = 4 [packed = true];
List<Float>
getFList ()
 "list(float)"
 
repeated float f = 4 [packed = true];
NameAttrList
getFunc (int index)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
NameAttrList.Builder
getFuncBuilder (int index)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
List< NameAttrList.Builder >
getFuncBuilderList ()
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
int
getFuncCount ()
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
List< NameAttrList >
getFuncList ()
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
NameAttrListOrBuilder
getFuncOrBuilder (int index)
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
List<? extends NameAttrListOrBuilder >
getFuncOrBuilderList ()
 "list(attr)"
 
repeated .tensorflow.NameAttrList func = 9;
long
getI (int index)
 "list(int)"
 
repeated int64 i = 3 [packed = true];
int
getICount ()
 "list(int)"
 
repeated int64 i = 3 [packed = true];
List<Long>
getIList ()
 "list(int)"
 
repeated int64 i = 3 [packed = true];
com.google.protobuf.ByteString
getS (int index)
 "list(string)"
 
repeated bytes s = 2;
int
getSCount ()
 "list(string)"
 
repeated bytes s = 2;
List<ByteString>
getSList ()
 "list(string)"
 
repeated bytes s = 2;
TensorShapeProto
getShape (int index)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
getShapeBuilder (int index)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
List< TensorShapeProto.Builder >
getShapeBuilderList ()
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
int
getShapeCount ()
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
List< TensorShapeProto >
getShapeList ()
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder (int index)
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
List<? extends TensorShapeProtoOrBuilder >
getShapeOrBuilderList ()
 "list(shape)"
 
repeated .tensorflow.TensorShapeProto shape = 7;
TensorProto
getTensor (int index)
 "list(tensor)"
 
repeated .tensorflow.TensorProto tensor = 8;
TensorProto.Builder