Class ApiDef.Builder
java.lang.Object
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, ApiDefOrBuilder
- Enclosing class:
ApiDef
public static final class ApiDef.Builder
extends GeneratedMessageV3.Builder<ApiDef.Builder>
implements ApiDefOrBuilder
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 interpreting 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-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgOrder(Iterable<String> values) List of original in_arg names to specify new argument order.addAllAttr(Iterable<? extends ApiDef.Attr> values) repeated .tensorflow.ApiDef.Attr attr = 6;addAllEndpoint(Iterable<? extends ApiDef.Endpoint> values) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;addAllInArg(Iterable<? extends ApiDef.Arg> values) repeated .tensorflow.ApiDef.Arg in_arg = 4;addAllOutArg(Iterable<? extends ApiDef.Arg> values) repeated .tensorflow.ApiDef.Arg out_arg = 5;addArgOrder(String value) List of original in_arg names to specify new argument order.addArgOrderBytes(ByteString value) List of original in_arg names to specify new argument order.addAttr(int index, ApiDef.Attr value) repeated .tensorflow.ApiDef.Attr attr = 6;addAttr(int index, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6;addAttr(ApiDef.Attr value) repeated .tensorflow.ApiDef.Attr attr = 6;addAttr(ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6;repeated .tensorflow.ApiDef.Attr attr = 6;addAttrBuilder(int index) repeated .tensorflow.ApiDef.Attr attr = 6;addEndpoint(int index, ApiDef.Endpoint value) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;addEndpoint(int index, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;addEndpoint(ApiDef.Endpoint value) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;addEndpoint(ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;repeated .tensorflow.ApiDef.Endpoint endpoint = 3;addEndpointBuilder(int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;addInArg(int index, ApiDef.Arg value) repeated .tensorflow.ApiDef.Arg in_arg = 4;addInArg(int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4;addInArg(ApiDef.Arg value) repeated .tensorflow.ApiDef.Arg in_arg = 4;addInArg(ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4;repeated .tensorflow.ApiDef.Arg in_arg = 4;addInArgBuilder(int index) repeated .tensorflow.ApiDef.Arg in_arg = 4;addOutArg(int index, ApiDef.Arg value) repeated .tensorflow.ApiDef.Arg out_arg = 5;addOutArg(int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5;addOutArg(ApiDef.Arg value) repeated .tensorflow.ApiDef.Arg out_arg = 5;addOutArg(ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5;repeated .tensorflow.ApiDef.Arg out_arg = 5;addOutArgBuilder(int index) repeated .tensorflow.ApiDef.Arg out_arg = 5;addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()List of original in_arg names to specify new argument order.repeated .tensorflow.ApiDef.Attr attr = 6;If this op is deprecated, set deprecation message to the message that should be logged when this op is used.Major version when the op will be deleted.Additional, longer human-readable description of what the Op does.Modify an existing/inherited description by adding text to the beginning or end.string description_suffix = 10;repeated .tensorflow.ApiDef.Endpoint endpoint = 3;Name of the op (in the OpDef) to specify the API for.repeated .tensorflow.ApiDef.Arg in_arg = 4;repeated .tensorflow.ApiDef.Arg out_arg = 5;One-line human-readable description of what the Op does..tensorflow.ApiDef.Visibility visibility = 2;clone()getArgOrder(int index) List of original in_arg names to specify new argument order.getArgOrderBytes(int index) List of original in_arg names to specify new argument order.intList of original in_arg names to specify new argument order.List of original in_arg names to specify new argument order.getAttr(int index) repeated .tensorflow.ApiDef.Attr attr = 6;getAttrBuilder(int index) repeated .tensorflow.ApiDef.Attr attr = 6;repeated .tensorflow.ApiDef.Attr attr = 6;intrepeated .tensorflow.ApiDef.Attr attr = 6;repeated .tensorflow.ApiDef.Attr attr = 6;getAttrOrBuilder(int index) repeated .tensorflow.ApiDef.Attr attr = 6;List<? extends ApiDef.AttrOrBuilder> repeated .tensorflow.ApiDef.Attr attr = 6;If this op is deprecated, set deprecation message to the message that should be logged when this op is used.If this op is deprecated, set deprecation message to the message that should be logged when this op is used.intMajor version when the op will be deleted.Additional, longer human-readable description of what the Op does.Additional, longer human-readable description of what the Op does.Modify an existing/inherited description by adding text to the beginning or end.Modify an existing/inherited description by adding text to the beginning or end.string description_suffix = 10;string description_suffix = 10;static final Descriptors.DescriptorgetEndpoint(int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;getEndpointBuilder(int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;repeated .tensorflow.ApiDef.Endpoint endpoint = 3;intrepeated .tensorflow.ApiDef.Endpoint endpoint = 3;repeated .tensorflow.ApiDef.Endpoint endpoint = 3;getEndpointOrBuilder(int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;List<? extends ApiDef.EndpointOrBuilder> repeated .tensorflow.ApiDef.Endpoint endpoint = 3;Name of the op (in the OpDef) to specify the API for.Name of the op (in the OpDef) to specify the API for.getInArg(int index) repeated .tensorflow.ApiDef.Arg in_arg = 4;getInArgBuilder(int index) repeated .tensorflow.ApiDef.Arg in_arg = 4;repeated .tensorflow.ApiDef.Arg in_arg = 4;intrepeated .tensorflow.ApiDef.Arg in_arg = 4;repeated .tensorflow.ApiDef.Arg in_arg = 4;getInArgOrBuilder(int index) repeated .tensorflow.ApiDef.Arg in_arg = 4;List<? extends ApiDef.ArgOrBuilder> repeated .tensorflow.ApiDef.Arg in_arg = 4;getOutArg(int index) repeated .tensorflow.ApiDef.Arg out_arg = 5;getOutArgBuilder(int index) repeated .tensorflow.ApiDef.Arg out_arg = 5;repeated .tensorflow.ApiDef.Arg out_arg = 5;intrepeated .tensorflow.ApiDef.Arg out_arg = 5;repeated .tensorflow.ApiDef.Arg out_arg = 5;getOutArgOrBuilder(int index) repeated .tensorflow.ApiDef.Arg out_arg = 5;List<? extends ApiDef.ArgOrBuilder> repeated .tensorflow.ApiDef.Arg out_arg = 5;One-line human-readable description of what the Op does.One-line human-readable description of what the Op does..tensorflow.ApiDef.Visibility visibility = 2;int.tensorflow.ApiDef.Visibility visibility = 2;protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) final ApiDef.BuildermergeUnknownFields(UnknownFieldSet unknownFields) removeAttr(int index) repeated .tensorflow.ApiDef.Attr attr = 6;removeEndpoint(int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;removeInArg(int index) repeated .tensorflow.ApiDef.Arg in_arg = 4;removeOutArg(int index) repeated .tensorflow.ApiDef.Arg out_arg = 5;setArgOrder(int index, String value) List of original in_arg names to specify new argument order.setAttr(int index, ApiDef.Attr value) repeated .tensorflow.ApiDef.Attr attr = 6;setAttr(int index, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6;setDeprecationMessage(String value) If this op is deprecated, set deprecation message to the message that should be logged when this op is used.If this op is deprecated, set deprecation message to the message that should be logged when this op is used.setDeprecationVersion(int value) Major version when the op will be deleted.setDescription(String value) Additional, longer human-readable description of what the Op does.setDescriptionBytes(ByteString value) Additional, longer human-readable description of what the Op does.setDescriptionPrefix(String value) Modify an existing/inherited description by adding text to the beginning or end.Modify an existing/inherited description by adding text to the beginning or end.setDescriptionSuffix(String value) string description_suffix = 10;string description_suffix = 10;setEndpoint(int index, ApiDef.Endpoint value) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;setEndpoint(int index, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3;setField(Descriptors.FieldDescriptor field, Object value) setGraphOpName(String value) Name of the op (in the OpDef) to specify the API for.setGraphOpNameBytes(ByteString value) Name of the op (in the OpDef) to specify the API for.setInArg(int index, ApiDef.Arg value) repeated .tensorflow.ApiDef.Arg in_arg = 4;setInArg(int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4;setOutArg(int index, ApiDef.Arg value) repeated .tensorflow.ApiDef.Arg out_arg = 5;setOutArg(int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5;setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSummary(String value) One-line human-readable description of what the Op does.setSummaryBytes(ByteString value) One-line human-readable description of what the Op does.final ApiDef.BuildersetUnknownFields(UnknownFieldSet unknownFields) setVisibility(ApiDef.Visibility value) .tensorflow.ApiDef.Visibility visibility = 2;setVisibilityValue(int value) .tensorflow.ApiDef.Visibility visibility = 2;Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<ApiDef.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<ApiDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<ApiDef.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
setRepeatedField
- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ApiDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ApiDef.Builder>- Throws:
IOException
-
getGraphOpName
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;- Specified by:
getGraphOpNamein interfaceApiDefOrBuilder- Returns:
- The graphOpName.
-
getGraphOpNameBytes
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;- Specified by:
getGraphOpNameBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for graphOpName.
-
setGraphOpName
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;- Parameters:
value- The graphOpName to set.- Returns:
- This builder for chaining.
-
clearGraphOpName
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;- Returns:
- This builder for chaining.
-
setGraphOpNameBytes
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;- Parameters:
value- The bytes for graphOpName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDeprecationMessagein interfaceApiDefOrBuilder- Returns:
- The deprecationMessage.
-
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;- Specified by:
getDeprecationMessageBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for deprecationMessage.
-
setDeprecationMessage
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;- Parameters:
value- The deprecationMessage to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setDeprecationMessageBytes
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;- Parameters:
value- The bytes for deprecationMessage to set.- Returns:
- This builder for chaining.
-
getDeprecationVersion
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;- Specified by:
getDeprecationVersionin interfaceApiDefOrBuilder- Returns:
- The deprecationVersion.
-
setDeprecationVersion
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;- Parameters:
value- The deprecationVersion to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue().tensorflow.ApiDef.Visibility visibility = 2;- Specified by:
getVisibilityValuein interfaceApiDefOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
.tensorflow.ApiDef.Visibility visibility = 2;- Parameters:
value- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
.tensorflow.ApiDef.Visibility visibility = 2;- Specified by:
getVisibilityin interfaceApiDefOrBuilder- Returns:
- The visibility.
-
setVisibility
.tensorflow.ApiDef.Visibility visibility = 2;- Parameters:
value- The visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
.tensorflow.ApiDef.Visibility visibility = 2;- Returns:
- This builder for chaining.
-
getEndpointList
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointListin interfaceApiDefOrBuilder
-
getEndpointCount
public int getEndpointCount()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointCountin interfaceApiDefOrBuilder
-
getEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointin interfaceApiDefOrBuilder
-
setEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
setEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
addEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
addEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
addEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
addEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
addAllEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
clearEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
removeEndpoint
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
getEndpointBuilder
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
getEndpointOrBuilder
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointOrBuilderin interfaceApiDefOrBuilder
-
getEndpointOrBuilderList
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointOrBuilderListin interfaceApiDefOrBuilder
-
addEndpointBuilder
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
addEndpointBuilder
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
getEndpointBuilderList
repeated .tensorflow.ApiDef.Endpoint endpoint = 3; -
getInArgList
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgListin interfaceApiDefOrBuilder
-
getInArgCount
public int getInArgCount()repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgCountin interfaceApiDefOrBuilder
-
getInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgin interfaceApiDefOrBuilder
-
setInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
setInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
addInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
addInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
addInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
addInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
addAllInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
clearInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
removeInArg
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
getInArgBuilder
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
getInArgOrBuilder
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgOrBuilderin interfaceApiDefOrBuilder
-
getInArgOrBuilderList
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgOrBuilderListin interfaceApiDefOrBuilder
-
addInArgBuilder
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
addInArgBuilder
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
getInArgBuilderList
repeated .tensorflow.ApiDef.Arg in_arg = 4; -
getOutArgList
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgListin interfaceApiDefOrBuilder
-
getOutArgCount
public int getOutArgCount()repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgCountin interfaceApiDefOrBuilder
-
getOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgin interfaceApiDefOrBuilder
-
setOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
setOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
addOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
addOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
addOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
addOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
addAllOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
clearOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
removeOutArg
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
getOutArgBuilder
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
getOutArgOrBuilder
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgOrBuilderin interfaceApiDefOrBuilder
-
getOutArgOrBuilderList
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgOrBuilderListin interfaceApiDefOrBuilder
-
addOutArgBuilder
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
addOutArgBuilder
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
getOutArgBuilderList
repeated .tensorflow.ApiDef.Arg out_arg = 5; -
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;- Specified by:
getArgOrderListin interfaceApiDefOrBuilder- Returns:
- A list containing the argOrder.
-
getArgOrderCount
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;- Specified by:
getArgOrderCountin interfaceApiDefOrBuilder- Returns:
- The count of argOrder.
-
getArgOrder
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;- Specified by:
getArgOrderin interfaceApiDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The argOrder at the given index.
-
getArgOrderBytes
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;- Specified by:
getArgOrderBytesin interfaceApiDefOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the argOrder at the given index.
-
setArgOrder
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;- Parameters:
index- The index to set the value at.value- The argOrder to set.- Returns:
- This builder for chaining.
-
addArgOrder
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;- Parameters:
value- The argOrder to add.- Returns:
- This builder for chaining.
-
addAllArgOrder
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;- Parameters:
values- The argOrder to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addArgOrderBytes
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;- Parameters:
value- The bytes of the argOrder to add.- Returns:
- This builder for chaining.
-
getAttrList
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrListin interfaceApiDefOrBuilder
-
getAttrCount
public int getAttrCount()repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrCountin interfaceApiDefOrBuilder
-
getAttr
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrin interfaceApiDefOrBuilder
-
setAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
setAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
addAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
addAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
addAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
addAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
addAllAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
clearAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
removeAttr
repeated .tensorflow.ApiDef.Attr attr = 6; -
getAttrBuilder
repeated .tensorflow.ApiDef.Attr attr = 6; -
getAttrOrBuilder
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrOrBuilderin interfaceApiDefOrBuilder
-
getAttrOrBuilderList
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrOrBuilderListin interfaceApiDefOrBuilder
-
addAttrBuilder
repeated .tensorflow.ApiDef.Attr attr = 6; -
addAttrBuilder
repeated .tensorflow.ApiDef.Attr attr = 6; -
getAttrBuilderList
repeated .tensorflow.ApiDef.Attr attr = 6; -
getSummary
One-line human-readable description of what the Op does.
string summary = 7;- Specified by:
getSummaryin interfaceApiDefOrBuilder- Returns:
- The summary.
-
getSummaryBytes
One-line human-readable description of what the Op does.
string summary = 7;- Specified by:
getSummaryBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for summary.
-
setSummary
One-line human-readable description of what the Op does.
string summary = 7;- Parameters:
value- The summary to set.- Returns:
- This builder for chaining.
-
clearSummary
One-line human-readable description of what the Op does.
string summary = 7;- Returns:
- This builder for chaining.
-
setSummaryBytes
One-line human-readable description of what the Op does.
string summary = 7;- Parameters:
value- The bytes for summary to set.- Returns:
- This builder for chaining.
-
getDescription
Additional, longer human-readable description of what the Op does.
string description = 8;- Specified by:
getDescriptionin interfaceApiDefOrBuilder- Returns:
- The description.
-
getDescriptionBytes
Additional, longer human-readable description of what the Op does.
string description = 8;- Specified by:
getDescriptionBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for description.
-
setDescription
Additional, longer human-readable description of what the Op does.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Additional, longer human-readable description of what the Op does.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Additional, longer human-readable description of what the Op does.
string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDescriptionPrefix
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;- Specified by:
getDescriptionPrefixin interfaceApiDefOrBuilder- Returns:
- The descriptionPrefix.
-
getDescriptionPrefixBytes
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;- Specified by:
getDescriptionPrefixBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for descriptionPrefix.
-
setDescriptionPrefix
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;- Parameters:
value- The descriptionPrefix to set.- Returns:
- This builder for chaining.
-
clearDescriptionPrefix
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;- Returns:
- This builder for chaining.
-
setDescriptionPrefixBytes
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;- Parameters:
value- The bytes for descriptionPrefix to set.- Returns:
- This builder for chaining.
-
getDescriptionSuffix
string description_suffix = 10;- Specified by:
getDescriptionSuffixin interfaceApiDefOrBuilder- Returns:
- The descriptionSuffix.
-
getDescriptionSuffixBytes
string description_suffix = 10;- Specified by:
getDescriptionSuffixBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for descriptionSuffix.
-
setDescriptionSuffix
string description_suffix = 10;- Parameters:
value- The descriptionSuffix to set.- Returns:
- This builder for chaining.
-
clearDescriptionSuffix
string description_suffix = 10;- Returns:
- This builder for chaining.
-
setDescriptionSuffixBytes
string description_suffix = 10;- Parameters:
value- The bytes for descriptionSuffix to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<ApiDef.Builder>
-