FunctionDef.ArgAttrs.Builder

public static final class FunctionDef.ArgAttrs.Builder

 Attributes for function arguments. These attributes are the same set of
 valid attributes as to _Arg nodes.
 
Protobuf type tensorflow.FunctionDef.ArgAttrs

Public Methods

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

Inherited Methods

Public Methods

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

public FunctionDef.ArgAttrs build ()

public FunctionDef.ArgAttrs buildPartial ()

public FunctionDef.ArgAttrs.Builder clearAttr ()

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

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

public boolean containsAttr (String key)

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

public Map<String, AttrValue> getAttr ()

Use getAttrMap() instead.

public int getAttrCount ()

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

public Map<String, AttrValue> getAttrMap ()

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

public AttrValue getAttrOrDefault (String key, AttrValue defaultValue)

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

public AttrValue getAttrOrThrow (String key)

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

public FunctionDef.ArgAttrs 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 final boolean isInitialized ()

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

Throws
IOException

public FunctionDef.ArgAttrs.Builder mergeFrom (com.google.protobuf.Message other)

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

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

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

public FunctionDef.ArgAttrs.Builder putAttr (String key, AttrValue value)

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

public FunctionDef.ArgAttrs.Builder removeAttr (String key)

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

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

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

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