NameAttrList.Builder

public static final class NameAttrList.Builder

 A list of attr names and their values. The whole list is attached
 with a string name.  E.g., MatMul[T=float].
 
Protobuf type tensorflow.NameAttrList

Public Methods

NameAttrList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NameAttrList
build()
NameAttrList
NameAttrList.Builder
clear()
NameAttrList.Builder
NameAttrList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NameAttrList.Builder
clearName()
string name = 1;
NameAttrList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NameAttrList.Builder
clone()
boolean
containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
Map<String, AttrValue>
getAttr()
Use getAttrMap() instead.
int
getAttrCount()
map<string, .tensorflow.AttrValue> attr = 2;
Map<String, AttrValue>
getAttrMap()
map<string, .tensorflow.AttrValue> attr = 2;
AttrValue
getAttrOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 2;
AttrValue
getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 2;
NameAttrList
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Map<String, AttrValue>
getMutableAttr()
Use alternate mutation accessors instead.
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
final boolean
NameAttrList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NameAttrList.Builder
mergeFrom(com.google.protobuf.Message other)
final NameAttrList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NameAttrList.Builder
putAllAttr(Map<String, AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 2;
NameAttrList.Builder
putAttr(String key, AttrValue value)
map<string, .tensorflow.AttrValue> attr = 2;
NameAttrList.Builder
removeAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
NameAttrList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NameAttrList.Builder
setName(String value)
string name = 1;
NameAttrList.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
NameAttrList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final NameAttrList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public NameAttrList.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public NameAttrList build ()

public NameAttrList buildPartial ()

public NameAttrList.Builder clear ()

public NameAttrList.Builder clearAttr ()

public NameAttrList.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public NameAttrList.Builder clearName ()

string name = 1;

public NameAttrList.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public NameAttrList.Builder clone ()

public boolean containsAttr (String key)

map<string, .tensorflow.AttrValue> attr = 2;

public Map<String, AttrValue> getAttr ()

Use getAttrMap() instead.

public int getAttrCount ()

map<string, .tensorflow.AttrValue> attr = 2;

public Map<String, AttrValue> getAttrMap ()

map<string, .tensorflow.AttrValue> attr = 2;

public AttrValue getAttrOrDefault (String key, AttrValue defaultValue)

map<string, .tensorflow.AttrValue> attr = 2;

public AttrValue getAttrOrThrow (String key)

map<string, .tensorflow.AttrValue> attr = 2;

public NameAttrList getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public Map<String, AttrValue> getMutableAttr ()

Use alternate mutation accessors instead.

public String getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 1;

public final boolean isInitialized ()

public NameAttrList.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public NameAttrList.Builder mergeFrom (com.google.protobuf.Message other)

public final NameAttrList.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public NameAttrList.Builder putAllAttr (Map<String, AttrValue> values)

map<string, .tensorflow.AttrValue> attr = 2;

public NameAttrList.Builder putAttr (String key, AttrValue value)

map<string, .tensorflow.AttrValue> attr = 2;

public NameAttrList.Builder removeAttr (String key)

map<string, .tensorflow.AttrValue> attr = 2;

public NameAttrList.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public NameAttrList.Builder setName (String value)

string name = 1;

public NameAttrList.Builder setNameBytes (com.google.protobuf.ByteString value)

string name = 1;

public NameAttrList.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final NameAttrList.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)