ApiDef.Builder

public static final class ApiDef.Builder

 Used to specify and override the default API & behavior in the
 generated code for client languages, from what you would get from
 the OpDef alone. There will be a set of ApiDefs that are common
 to all client languages, and another set per client language.
 The per-client-language ApiDefs will inherit values from the
 common ApiDefs which it can either replace or modify.
 We separate the API definition from the OpDef so we can evolve the
 API while remaining backwards compatible when interpretting old
 graphs.  Overrides go in an "api_def.pbtxt" file with a text-format
 ApiDefs message.
 WARNING: Be *very* careful changing the API for any existing op --
 you can change the semantics of existing code.  These changes may
 need to wait until a major release of TensorFlow to avoid breaking
 our compatibility promises.
 
Protobuf type tensorflow.ApiDef

Public Methods

ApiDef.Builder
addAllArgOrder(Iterable<String> values)
 List of original in_arg names to specify new argument order.
ApiDef.Builder
addAllAttr(Iterable<? extends ApiDef.Attr> values)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
addAllEndpoint(Iterable<? extends ApiDef.Endpoint> values)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addAllInArg(Iterable<? extends ApiDef.Arg> values)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addAllOutArg(Iterable<? extends ApiDef.Arg> values)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addArgOrder(String value)
 List of original in_arg names to specify new argument order.
ApiDef.Builder
addArgOrderBytes(com.google.protobuf.ByteString value)
 List of original in_arg names to specify new argument order.
ApiDef.Builder
addAttr(int index, ApiDef.Attr value)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
addAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
addAttr(ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
addAttr(ApiDef.Attr value)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Attr.Builder
addAttrBuilder()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Attr.Builder
addAttrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
addEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addEndpoint(int index, ApiDef.Endpoint value)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addEndpoint(ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addEndpoint(ApiDef.Endpoint value)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder
addEndpointBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder
addEndpointBuilder()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addInArg(ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addInArg(ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addInArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg.Builder
addInArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg.Builder
addInArgBuilder()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addOutArg(ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addOutArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addOutArg(ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Arg.Builder
addOutArgBuilder()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Arg.Builder
addOutArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApiDef
build()
ApiDef
ApiDef.Builder
clear()
ApiDef.Builder
clearArgOrder()
 List of original in_arg names to specify new argument order.
ApiDef.Builder
clearAttr()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
clearDeprecationMessage()
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
ApiDef.Builder
clearDeprecationVersion()
 Major version when the op will be deleted.
ApiDef.Builder
clearDescription()
 Additional, longer human-readable description of what the Op does.
ApiDef.Builder
clearDescriptionPrefix()
 Modify an existing/inherited description by adding text to the beginning
 or end.
ApiDef.Builder
clearDescriptionSuffix()
string description_suffix = 10;
ApiDef.Builder
clearEndpoint()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApiDef.Builder
clearGraphOpName()
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Builder
clearInArg()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApiDef.Builder
clearOutArg()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
clearSummary()
 One-line human-readable description of what the Op does.
ApiDef.Builder
clearVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;
ApiDef.Builder
clone()
String
getArgOrder(int index)
 List of original in_arg names to specify new argument order.
com.google.protobuf.ByteString
getArgOrderBytes(int index)
 List of original in_arg names to specify new argument order.
int
getArgOrderCount()
 List of original in_arg names to specify new argument order.
com.google.protobuf.ProtocolStringList
getArgOrderList()
 List of original in_arg names to specify new argument order.
ApiDef.Attr
getAttr(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Attr.Builder
getAttrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
List<ApiDef.Attr.Builder>
getAttrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;
int
getAttrCount()
repeated .tensorflow.ApiDef.Attr attr = 6;
List<ApiDef.Attr>
getAttrList()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
List<? extends ApiDef.AttrOrBuilder>
getAttrOrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef
String
getDeprecationMessage()
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
com.google.protobuf.ByteString
getDeprecationMessageBytes()
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
int
getDeprecationVersion()
 Major version when the op will be deleted.
String
getDescription()
 Additional, longer human-readable description of what the Op does.
com.google.protobuf.ByteString
getDescriptionBytes()
 Additional, longer human-readable description of what the Op does.
String
getDescriptionPrefix()
 Modify an existing/inherited description by adding text to the beginning
 or end.
com.google.protobuf.ByteString
getDescriptionPrefixBytes()
 Modify an existing/inherited description by adding text to the beginning
 or end.
String
getDescriptionSuffix()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes()
string description_suffix = 10;
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
ApiDef.Endpoint
getEndpoint(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder
getEndpointBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
List<ApiDef.Endpoint.Builder>
getEndpointBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
int
getEndpointCount()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
List<ApiDef.Endpoint>
getEndpointList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
List<? extends ApiDef.EndpointOrBuilder>
getEndpointOrBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
String
getGraphOpName()
 Name of the op (in the OpDef) to specify the API for.
com.google.protobuf.ByteString
getGraphOpNameBytes()
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Arg
getInArg(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg.Builder
getInArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
List<ApiDef.Arg.Builder>
getInArgBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
int
getInArgCount()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
List<ApiDef.Arg>
getInArgList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
List<? extends ApiDef.ArgOrBuilder>
getInArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Arg.Builder
getOutArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
List<ApiDef.Arg.Builder>
getOutArgBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int
getOutArgCount()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
List<ApiDef.Arg>
getOutArgList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
List<? extends ApiDef.ArgOrBuilder>
getOutArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
String
getSummary()
 One-line human-readable description of what the Op does.
com.google.protobuf.ByteString
getSummaryBytes()
 One-line human-readable description of what the Op does.
ApiDef.Visibility
getVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;
int
getVisibilityValue()
.tensorflow.ApiDef.Visibility visibility = 2;
final boolean
ApiDef.Builder
mergeFrom(com.google.protobuf.Message other)
ApiDef.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final ApiDef.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApiDef.Builder
removeAttr(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
removeEndpoint(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
removeInArg(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
removeOutArg(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
setArgOrder(int index, String value)
 List of original in_arg names to specify new argument order.
ApiDef.Builder
setAttr(int index, ApiDef.Attr value)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
setAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder
setDeprecationMessage(String value)
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
ApiDef.Builder
setDeprecationMessageBytes(com.google.protobuf.ByteString value)
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
ApiDef.Builder
setDeprecationVersion(int value)
 Major version when the op will be deleted.
ApiDef.Builder
setDescription(String value)
 Additional, longer human-readable description of what the Op does.
ApiDef.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
 Additional, longer human-readable description of what the Op does.
ApiDef.Builder
setDescriptionPrefix(String value)
 Modify an existing/inherited description by adding text to the beginning
 or end.
ApiDef.Builder
setDescriptionPrefixBytes(com.google.protobuf.ByteString value)
 Modify an existing/inherited description by adding text to the beginning
 or end.
ApiDef.Builder
setDescriptionSuffix(String value)
string description_suffix = 10;
ApiDef.Builder
setDescriptionSuffixBytes(com.google.protobuf.ByteString value)
string description_suffix = 10;
ApiDef.Builder
setEndpoint(int index, ApiDef.Endpoint value)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
setEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApiDef.Builder
setGraphOpName(String value)
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Builder
setGraphOpNameBytes(com.google.protobuf.ByteString value)
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Builder
setInArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
setInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder
setOutArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
setOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ApiDef.Builder
setSummary(String value)
 One-line human-readable description of what the Op does.
ApiDef.Builder
setSummaryBytes(com.google.protobuf.ByteString value)
 One-line human-readable description of what the Op does.
final ApiDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApiDef.Builder
setVisibility(ApiDef.Visibility value)
.tensorflow.ApiDef.Visibility visibility = 2;
ApiDef.Builder
setVisibilityValue(int value)
.tensorflow.ApiDef.Visibility visibility = 2;

Inherited Methods

Public Methods

public ApiDef.Builder addAllArgOrder (Iterable<String> values)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public ApiDef.Builder addAllAttr (Iterable<? extends ApiDef.Attr> values)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder addAllEndpoint (Iterable<? extends ApiDef.Endpoint> values)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder addAllInArg (Iterable<? extends ApiDef.Arg> values)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder addAllOutArg (Iterable<? extends ApiDef.Arg> values)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder addArgOrder (String value)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public ApiDef.Builder addArgOrderBytes (com.google.protobuf.ByteString value)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public ApiDef.Builder addAttr (int index, ApiDef.Attr value)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder addAttr (int index, ApiDef.Attr.Builder builderForValue)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder addAttr (ApiDef.Attr.Builder builderForValue)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder addAttr (ApiDef.Attr value)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Attr.Builder addAttrBuilder ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Attr.Builder addAttrBuilder (int index)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder addEndpoint (int index, ApiDef.Endpoint.Builder builderForValue)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder addEndpoint (int index, ApiDef.Endpoint value)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder addEndpoint (ApiDef.Endpoint.Builder builderForValue)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder addEndpoint (ApiDef.Endpoint value)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Endpoint.Builder addEndpointBuilder (int index)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Endpoint.Builder addEndpointBuilder ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder addInArg (ApiDef.Arg value)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder addInArg (int index, ApiDef.Arg.Builder builderForValue)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder addInArg (ApiDef.Arg.Builder builderForValue)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder addInArg (int index, ApiDef.Arg value)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Arg.Builder addInArgBuilder (int index)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Arg.Builder addInArgBuilder ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder addOutArg (ApiDef.Arg value)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder addOutArg (int index, ApiDef.Arg value)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder addOutArg (int index, ApiDef.Arg.Builder builderForValue)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder addOutArg (ApiDef.Arg.Builder builderForValue)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Arg.Builder addOutArgBuilder ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Arg.Builder addOutArgBuilder (int index)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

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

public ApiDef build ()

public ApiDef buildPartial ()

public ApiDef.Builder clear ()

public ApiDef.Builder clearArgOrder ()

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public ApiDef.Builder clearAttr ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder clearDeprecationMessage ()

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

public ApiDef.Builder clearDeprecationVersion ()

 Major version when the op will be deleted. For e.g. set this
 value to 2 if op API should be removed in TensorFlow 2.0 and
 deprecated in versions before that.
 
int32 deprecation_version = 13;

public ApiDef.Builder clearDescription ()

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

public ApiDef.Builder clearDescriptionPrefix ()

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

public ApiDef.Builder clearDescriptionSuffix ()

string description_suffix = 10;

public ApiDef.Builder clearEndpoint ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

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

public ApiDef.Builder clearGraphOpName ()

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

public ApiDef.Builder clearInArg ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

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

public ApiDef.Builder clearOutArg ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder clearSummary ()

 One-line human-readable description of what the Op does.
 
string summary = 7;

public ApiDef.Builder clearVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

public ApiDef.Builder clone ()

public String getArgOrder (int index)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public com.google.protobuf.ByteString getArgOrderBytes (int index)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public int getArgOrderCount ()

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public com.google.protobuf.ProtocolStringList getArgOrderList ()

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public ApiDef.Attr getAttr (int index)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Attr.Builder getAttrBuilder (int index)

repeated .tensorflow.ApiDef.Attr attr = 6;

public List<ApiDef.Attr.Builder> getAttrBuilderList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public int getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public List<ApiDef.Attr> getAttrList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.AttrOrBuilder getAttrOrBuilder (int index)

repeated .tensorflow.ApiDef.Attr attr = 6;

public List<? extends ApiDef.AttrOrBuilder> getAttrOrBuilderList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef getDefaultInstanceForType ()

public String getDeprecationMessage ()

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

public com.google.protobuf.ByteString getDeprecationMessageBytes ()

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

public int getDeprecationVersion ()

 Major version when the op will be deleted. For e.g. set this
 value to 2 if op API should be removed in TensorFlow 2.0 and
 deprecated in versions before that.
 
int32 deprecation_version = 13;

public String getDescription ()

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

public com.google.protobuf.ByteString getDescriptionBytes ()

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

public String getDescriptionPrefix ()

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

public com.google.protobuf.ByteString getDescriptionPrefixBytes ()

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

public String getDescriptionSuffix ()

string description_suffix = 10;

public com.google.protobuf.ByteString getDescriptionSuffixBytes ()

string description_suffix = 10;

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

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

public ApiDef.Endpoint getEndpoint (int index)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Endpoint.Builder getEndpointBuilder (int index)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public List<ApiDef.Endpoint.Builder> getEndpointBuilderList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public int getEndpointCount ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public List<ApiDef.Endpoint> getEndpointList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.EndpointOrBuilder getEndpointOrBuilder (int index)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public List<? extends ApiDef.EndpointOrBuilder> getEndpointOrBuilderList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public String getGraphOpName ()

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

public com.google.protobuf.ByteString getGraphOpNameBytes ()

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

public ApiDef.Arg getInArg (int index)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Arg.Builder getInArgBuilder (int index)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public List<ApiDef.Arg.Builder> getInArgBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public int getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public List<ApiDef.Arg> getInArgList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.ArgOrBuilder getInArgOrBuilder (int index)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public List<? extends ApiDef.ArgOrBuilder> getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Arg getOutArg (int index)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Arg.Builder getOutArgBuilder (int index)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public List<ApiDef.Arg.Builder> getOutArgBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public int getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public List<ApiDef.Arg> getOutArgList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.ArgOrBuilder getOutArgOrBuilder (int index)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public List<? extends ApiDef.ArgOrBuilder> getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public String getSummary ()

 One-line human-readable description of what the Op does.
 
string summary = 7;

public com.google.protobuf.ByteString getSummaryBytes ()

 One-line human-readable description of what the Op does.
 
string summary = 7;

public ApiDef.Visibility getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

public int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

public final boolean isInitialized ()

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

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

Throws
IOException

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

public ApiDef.Builder removeAttr (int index)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder removeEndpoint (int index)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder removeInArg (int index)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder removeOutArg (int index)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder setArgOrder (int index, String value)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

public ApiDef.Builder setAttr (int index, ApiDef.Attr value)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder setAttr (int index, ApiDef.Attr.Builder builderForValue)

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.Builder setDeprecationMessage (String value)

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

public ApiDef.Builder setDeprecationMessageBytes (com.google.protobuf.ByteString value)

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

public ApiDef.Builder setDeprecationVersion (int value)

 Major version when the op will be deleted. For e.g. set this
 value to 2 if op API should be removed in TensorFlow 2.0 and
 deprecated in versions before that.
 
int32 deprecation_version = 13;

public ApiDef.Builder setDescription (String value)

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

public ApiDef.Builder setDescriptionBytes (com.google.protobuf.ByteString value)

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

public ApiDef.Builder setDescriptionPrefix (String value)

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

public ApiDef.Builder setDescriptionPrefixBytes (com.google.protobuf.ByteString value)

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

public ApiDef.Builder setDescriptionSuffix (String value)

string description_suffix = 10;

public ApiDef.Builder setDescriptionSuffixBytes (com.google.protobuf.ByteString value)

string description_suffix = 10;

public ApiDef.Builder setEndpoint (int index, ApiDef.Endpoint value)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.Builder setEndpoint (int index, ApiDef.Endpoint.Builder builderForValue)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

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

public ApiDef.Builder setGraphOpName (String value)

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

public ApiDef.Builder setGraphOpNameBytes (com.google.protobuf.ByteString value)

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

public ApiDef.Builder setInArg (int index, ApiDef.Arg value)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder setInArg (int index, ApiDef.Arg.Builder builderForValue)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Builder setOutArg (int index, ApiDef.Arg value)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.Builder setOutArg (int index, ApiDef.Arg.Builder builderForValue)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

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

public ApiDef.Builder setSummary (String value)

 One-line human-readable description of what the Op does.
 
string summary = 7;

public ApiDef.Builder setSummaryBytes (com.google.protobuf.ByteString value)

 One-line human-readable description of what the Op does.
 
string summary = 7;

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

public ApiDef.Builder setVisibility (ApiDef.Visibility value)

.tensorflow.ApiDef.Visibility visibility = 2;

public ApiDef.Builder setVisibilityValue (int value)

.tensorflow.ApiDef.Visibility visibility = 2;