Package org.tensorflow.framework
Class ApiDef.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
- org.tensorflow.framework.ApiDef.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,ApiDefOrBuilder
- Enclosing class:
- ApiDef
public static final class ApiDef.Builder extends org.nd4j.shade.protobuf.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 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 typetensorflow.ApiDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiDef.BuilderaddAllArgOrder(Iterable<String> values)List of original in_arg names to specify new argument order.ApiDef.BuilderaddAllAttr(Iterable<? extends ApiDef.Attr> values)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderaddAllEndpoint(Iterable<? extends ApiDef.Endpoint> values)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderaddAllInArg(Iterable<? extends ApiDef.Arg> values)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderaddAllOutArg(Iterable<? extends ApiDef.Arg> values)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuilderaddArgOrder(String value)List of original in_arg names to specify new argument order.ApiDef.BuilderaddArgOrderBytes(org.nd4j.shade.protobuf.ByteString value)List of original in_arg names to specify new argument order.ApiDef.BuilderaddAttr(int index, ApiDef.Attr value)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderaddAttr(int index, ApiDef.Attr.Builder builderForValue)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderaddAttr(ApiDef.Attr value)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderaddAttr(ApiDef.Attr.Builder builderForValue)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.Attr.BuilderaddAttrBuilder()repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.Attr.BuilderaddAttrBuilder(int index)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderaddEndpoint(int index, ApiDef.Endpoint value)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderaddEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderaddEndpoint(ApiDef.Endpoint value)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderaddEndpoint(ApiDef.Endpoint.Builder builderForValue)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.Endpoint.BuilderaddEndpointBuilder()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.Endpoint.BuilderaddEndpointBuilder(int index)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderaddInArg(int index, ApiDef.Arg value)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderaddInArg(int index, ApiDef.Arg.Builder builderForValue)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderaddInArg(ApiDef.Arg value)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderaddInArg(ApiDef.Arg.Builder builderForValue)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.Arg.BuilderaddInArgBuilder()repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.Arg.BuilderaddInArgBuilder(int index)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderaddOutArg(int index, ApiDef.Arg value)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuilderaddOutArg(int index, ApiDef.Arg.Builder builderForValue)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuilderaddOutArg(ApiDef.Arg value)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuilderaddOutArg(ApiDef.Arg.Builder builderForValue)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.Arg.BuilderaddOutArgBuilder()repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.Arg.BuilderaddOutArgBuilder(int index)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)ApiDefbuild()ApiDefbuildPartial()ApiDef.Builderclear()ApiDef.BuilderclearArgOrder()List of original in_arg names to specify new argument order.ApiDef.BuilderclearAttr()repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderclearDescription()Additional, longer human-readable description of what the Op does.ApiDef.BuilderclearDescriptionPrefix()Modify an existing/inherited description by adding text to the beginning or end.ApiDef.BuilderclearDescriptionSuffix()string description_suffix = 10;ApiDef.BuilderclearEndpoint()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)ApiDef.BuilderclearGraphOpName()Name of the op (in the OpDef) to specify the API for.ApiDef.BuilderclearInArg()repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)ApiDef.BuilderclearOutArg()repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuilderclearSummary()One-line human-readable description of what the Op does.ApiDef.BuilderclearVisibility().tensorflow.ApiDef.Visibility visibility = 2;ApiDef.Builderclone()StringgetArgOrder(int index)List of original in_arg names to specify new argument order.org.nd4j.shade.protobuf.ByteStringgetArgOrderBytes(int index)List of original in_arg names to specify new argument order.intgetArgOrderCount()List of original in_arg names to specify new argument order.org.nd4j.shade.protobuf.ProtocolStringListgetArgOrderList()List of original in_arg names to specify new argument order.ApiDef.AttrgetAttr(int index)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.Attr.BuildergetAttrBuilder(int index)repeated .tensorflow.ApiDef.Attr attr = 6;List<ApiDef.Attr.Builder>getAttrBuilderList()repeated .tensorflow.ApiDef.Attr attr = 6;intgetAttrCount()repeated .tensorflow.ApiDef.Attr attr = 6;List<ApiDef.Attr>getAttrList()repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.AttrOrBuildergetAttrOrBuilder(int index)repeated .tensorflow.ApiDef.Attr attr = 6;List<? extends ApiDef.AttrOrBuilder>getAttrOrBuilderList()repeated .tensorflow.ApiDef.Attr attr = 6;ApiDefgetDefaultInstanceForType()StringgetDescription()Additional, longer human-readable description of what the Op does.org.nd4j.shade.protobuf.ByteStringgetDescriptionBytes()Additional, longer human-readable description of what the Op does.StringgetDescriptionPrefix()Modify an existing/inherited description by adding text to the beginning or end.org.nd4j.shade.protobuf.ByteStringgetDescriptionPrefixBytes()Modify an existing/inherited description by adding text to the beginning or end.StringgetDescriptionSuffix()string description_suffix = 10;org.nd4j.shade.protobuf.ByteStringgetDescriptionSuffixBytes()string description_suffix = 10;static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()ApiDef.EndpointgetEndpoint(int index)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.Endpoint.BuildergetEndpointBuilder(int index)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;List<ApiDef.Endpoint.Builder>getEndpointBuilderList()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;intgetEndpointCount()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;List<ApiDef.Endpoint>getEndpointList()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.EndpointOrBuildergetEndpointOrBuilder(int index)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;List<? extends ApiDef.EndpointOrBuilder>getEndpointOrBuilderList()repeated .tensorflow.ApiDef.Endpoint endpoint = 3;StringgetGraphOpName()Name of the op (in the OpDef) to specify the API for.org.nd4j.shade.protobuf.ByteStringgetGraphOpNameBytes()Name of the op (in the OpDef) to specify the API for.ApiDef.ArggetInArg(int index)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.Arg.BuildergetInArgBuilder(int index)repeated .tensorflow.ApiDef.Arg in_arg = 4;List<ApiDef.Arg.Builder>getInArgBuilderList()repeated .tensorflow.ApiDef.Arg in_arg = 4;intgetInArgCount()repeated .tensorflow.ApiDef.Arg in_arg = 4;List<ApiDef.Arg>getInArgList()repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.ArgOrBuildergetInArgOrBuilder(int index)repeated .tensorflow.ApiDef.Arg in_arg = 4;List<? extends ApiDef.ArgOrBuilder>getInArgOrBuilderList()repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.ArggetOutArg(int index)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.Arg.BuildergetOutArgBuilder(int index)repeated .tensorflow.ApiDef.Arg out_arg = 5;List<ApiDef.Arg.Builder>getOutArgBuilderList()repeated .tensorflow.ApiDef.Arg out_arg = 5;intgetOutArgCount()repeated .tensorflow.ApiDef.Arg out_arg = 5;List<ApiDef.Arg>getOutArgList()repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.ArgOrBuildergetOutArgOrBuilder(int index)repeated .tensorflow.ApiDef.Arg out_arg = 5;List<? extends ApiDef.ArgOrBuilder>getOutArgOrBuilderList()repeated .tensorflow.ApiDef.Arg out_arg = 5;StringgetSummary()One-line human-readable description of what the Op does.org.nd4j.shade.protobuf.ByteStringgetSummaryBytes()One-line human-readable description of what the Op does.ApiDef.VisibilitygetVisibility().tensorflow.ApiDef.Visibility visibility = 2;intgetVisibilityValue().tensorflow.ApiDef.Visibility visibility = 2;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ApiDef.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)ApiDef.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)ApiDef.BuildermergeFrom(ApiDef other)ApiDef.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)ApiDef.BuilderremoveAttr(int index)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuilderremoveEndpoint(int index)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuilderremoveInArg(int index)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuilderremoveOutArg(int index)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuildersetArgOrder(int index, String value)List of original in_arg names to specify new argument order.ApiDef.BuildersetAttr(int index, ApiDef.Attr value)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuildersetAttr(int index, ApiDef.Attr.Builder builderForValue)repeated .tensorflow.ApiDef.Attr attr = 6;ApiDef.BuildersetDescription(String value)Additional, longer human-readable description of what the Op does.ApiDef.BuildersetDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)Additional, longer human-readable description of what the Op does.ApiDef.BuildersetDescriptionPrefix(String value)Modify an existing/inherited description by adding text to the beginning or end.ApiDef.BuildersetDescriptionPrefixBytes(org.nd4j.shade.protobuf.ByteString value)Modify an existing/inherited description by adding text to the beginning or end.ApiDef.BuildersetDescriptionSuffix(String value)string description_suffix = 10;ApiDef.BuildersetDescriptionSuffixBytes(org.nd4j.shade.protobuf.ByteString value)string description_suffix = 10;ApiDef.BuildersetEndpoint(int index, ApiDef.Endpoint value)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuildersetEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)repeated .tensorflow.ApiDef.Endpoint endpoint = 3;ApiDef.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)ApiDef.BuildersetGraphOpName(String value)Name of the op (in the OpDef) to specify the API for.ApiDef.BuildersetGraphOpNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the op (in the OpDef) to specify the API for.ApiDef.BuildersetInArg(int index, ApiDef.Arg value)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuildersetInArg(int index, ApiDef.Arg.Builder builderForValue)repeated .tensorflow.ApiDef.Arg in_arg = 4;ApiDef.BuildersetOutArg(int index, ApiDef.Arg value)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuildersetOutArg(int index, ApiDef.Arg.Builder builderForValue)repeated .tensorflow.ApiDef.Arg out_arg = 5;ApiDef.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ApiDef.BuildersetSummary(String value)One-line human-readable description of what the Op does.ApiDef.BuildersetSummaryBytes(org.nd4j.shade.protobuf.ByteString value)One-line human-readable description of what the Op does.ApiDef.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)ApiDef.BuildersetVisibility(ApiDef.Visibility value).tensorflow.ApiDef.Visibility visibility = 2;ApiDef.BuildersetVisibilityValue(int value).tensorflow.ApiDef.Visibility visibility = 2;-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
clear
public ApiDef.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
getDefaultInstanceForType
public ApiDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public ApiDef build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public ApiDef buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public ApiDef.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
setField
public ApiDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
clearField
public ApiDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
clearOneof
public ApiDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
setRepeatedField
public ApiDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
addRepeatedField
public ApiDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(ApiDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Builder>- Throws:
IOException
-
getGraphOpName
public String 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
public org.nd4j.shade.protobuf.ByteString 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
public ApiDef.Builder setGraphOpName(String value)
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
public ApiDef.Builder clearGraphOpName()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;- Returns:
- This builder for chaining.
-
setGraphOpNameBytes
public ApiDef.Builder setGraphOpNameBytes(org.nd4j.shade.protobuf.ByteString value)
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.
-
getVisibilityValue
public int getVisibilityValue()
.tensorflow.ApiDef.Visibility visibility = 2;- Specified by:
getVisibilityValuein interfaceApiDefOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
public ApiDef.Builder setVisibilityValue(int value)
.tensorflow.ApiDef.Visibility visibility = 2;- Parameters:
value- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
public ApiDef.Visibility getVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;- Specified by:
getVisibilityin interfaceApiDefOrBuilder- Returns:
- The visibility.
-
setVisibility
public ApiDef.Builder setVisibility(ApiDef.Visibility value)
.tensorflow.ApiDef.Visibility visibility = 2;- Parameters:
value- The visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
public ApiDef.Builder clearVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;- Returns:
- This builder for chaining.
-
getEndpointList
public List<ApiDef.Endpoint> 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
public ApiDef.Endpoint getEndpoint(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointin interfaceApiDefOrBuilder
-
setEndpoint
public ApiDef.Builder setEndpoint(int index, ApiDef.Endpoint value)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
setEndpoint
public ApiDef.Builder setEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(ApiDef.Endpoint value)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(int index, ApiDef.Endpoint value)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
addAllEndpoint
public ApiDef.Builder addAllEndpoint(Iterable<? extends ApiDef.Endpoint> values)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
clearEndpoint
public ApiDef.Builder clearEndpoint()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
removeEndpoint
public ApiDef.Builder removeEndpoint(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
getEndpointBuilder
public ApiDef.Endpoint.Builder getEndpointBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
getEndpointOrBuilder
public ApiDef.EndpointOrBuilder getEndpointOrBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointOrBuilderin interfaceApiDefOrBuilder
-
getEndpointOrBuilderList
public List<? extends ApiDef.EndpointOrBuilder> getEndpointOrBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointOrBuilderListin interfaceApiDefOrBuilder
-
addEndpointBuilder
public ApiDef.Endpoint.Builder addEndpointBuilder()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
addEndpointBuilder
public ApiDef.Endpoint.Builder addEndpointBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
getEndpointBuilderList
public List<ApiDef.Endpoint.Builder> getEndpointBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
-
getInArgList
public List<ApiDef.Arg> 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
public ApiDef.Arg getInArg(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgin interfaceApiDefOrBuilder
-
setInArg
public ApiDef.Builder setInArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
setInArg
public ApiDef.Builder setInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
addAllInArg
public ApiDef.Builder addAllInArg(Iterable<? extends ApiDef.Arg> values)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
clearInArg
public ApiDef.Builder clearInArg()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
removeInArg
public ApiDef.Builder removeInArg(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
getInArgBuilder
public ApiDef.Arg.Builder getInArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
getInArgOrBuilder
public ApiDef.ArgOrBuilder getInArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgOrBuilderin interfaceApiDefOrBuilder
-
getInArgOrBuilderList
public List<? extends ApiDef.ArgOrBuilder> getInArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgOrBuilderListin interfaceApiDefOrBuilder
-
addInArgBuilder
public ApiDef.Arg.Builder addInArgBuilder()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
addInArgBuilder
public ApiDef.Arg.Builder addInArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
getInArgBuilderList
public List<ApiDef.Arg.Builder> getInArgBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
-
getOutArgList
public List<ApiDef.Arg> 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
public ApiDef.Arg getOutArg(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgin interfaceApiDefOrBuilder
-
setOutArg
public ApiDef.Builder setOutArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
setOutArg
public ApiDef.Builder setOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(int index, ApiDef.Arg value)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
addAllOutArg
public ApiDef.Builder addAllOutArg(Iterable<? extends ApiDef.Arg> values)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
clearOutArg
public ApiDef.Builder clearOutArg()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
removeOutArg
public ApiDef.Builder removeOutArg(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
getOutArgBuilder
public ApiDef.Arg.Builder getOutArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
getOutArgOrBuilder
public ApiDef.ArgOrBuilder getOutArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgOrBuilderin interfaceApiDefOrBuilder
-
getOutArgOrBuilderList
public List<? extends ApiDef.ArgOrBuilder> getOutArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgOrBuilderListin interfaceApiDefOrBuilder
-
addOutArgBuilder
public ApiDef.Arg.Builder addOutArgBuilder()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
addOutArgBuilder
public ApiDef.Arg.Builder addOutArgBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
getOutArgBuilderList
public List<ApiDef.Arg.Builder> getOutArgBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
-
getArgOrderList
public org.nd4j.shade.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;- 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
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;- Specified by:
getArgOrderin interfaceApiDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The argOrder at the given index.
-
getArgOrderBytes
public org.nd4j.shade.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;- Specified by:
getArgOrderBytesin interfaceApiDefOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the argOrder at the given index.
-
setArgOrder
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;- Parameters:
index- The index to set the value at.value- The argOrder to set.- Returns:
- This builder for chaining.
-
addArgOrder
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;- Parameters:
value- The argOrder to add.- Returns:
- This builder for chaining.
-
addAllArgOrder
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;- Parameters:
values- The argOrder to add.- Returns:
- This builder for chaining.
-
clearArgOrder
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;- Returns:
- This builder for chaining.
-
addArgOrderBytes
public ApiDef.Builder addArgOrderBytes(org.nd4j.shade.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;- Parameters:
value- The bytes of the argOrder to add.- Returns:
- This builder for chaining.
-
getAttrList
public List<ApiDef.Attr> 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
public ApiDef.Attr getAttr(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrin interfaceApiDefOrBuilder
-
setAttr
public ApiDef.Builder setAttr(int index, ApiDef.Attr value)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
setAttr
public ApiDef.Builder setAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(ApiDef.Attr value)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(int index, ApiDef.Attr value)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
addAllAttr
public ApiDef.Builder addAllAttr(Iterable<? extends ApiDef.Attr> values)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
clearAttr
public ApiDef.Builder clearAttr()
repeated .tensorflow.ApiDef.Attr attr = 6;
-
removeAttr
public ApiDef.Builder removeAttr(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
getAttrBuilder
public ApiDef.Attr.Builder getAttrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
getAttrOrBuilder
public ApiDef.AttrOrBuilder getAttrOrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrOrBuilderin interfaceApiDefOrBuilder
-
getAttrOrBuilderList
public List<? extends ApiDef.AttrOrBuilder> getAttrOrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrOrBuilderListin interfaceApiDefOrBuilder
-
addAttrBuilder
public ApiDef.Attr.Builder addAttrBuilder()
repeated .tensorflow.ApiDef.Attr attr = 6;
-
addAttrBuilder
public ApiDef.Attr.Builder addAttrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
-
getAttrBuilderList
public List<ApiDef.Attr.Builder> getAttrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;
-
getSummary
public String getSummary()
One-line human-readable description of what the Op does.
string summary = 7;- Specified by:
getSummaryin interfaceApiDefOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public org.nd4j.shade.protobuf.ByteString getSummaryBytes()
One-line human-readable description of what the Op does.
string summary = 7;- Specified by:
getSummaryBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for summary.
-
setSummary
public ApiDef.Builder setSummary(String value)
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
public ApiDef.Builder clearSummary()
One-line human-readable description of what the Op does.
string summary = 7;- Returns:
- This builder for chaining.
-
setSummaryBytes
public ApiDef.Builder setSummaryBytes(org.nd4j.shade.protobuf.ByteString value)
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
public String getDescription()
Additional, longer human-readable description of what the Op does.
string description = 8;- Specified by:
getDescriptionin interfaceApiDefOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Additional, longer human-readable description of what the Op does.
string description = 8;- Specified by:
getDescriptionBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for description.
-
setDescription
public ApiDef.Builder setDescription(String value)
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
public ApiDef.Builder clearDescription()
Additional, longer human-readable description of what the Op does.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public ApiDef.Builder setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
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
public String 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
public org.nd4j.shade.protobuf.ByteString 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
public ApiDef.Builder setDescriptionPrefix(String value)
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
public ApiDef.Builder clearDescriptionPrefix()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;- Returns:
- This builder for chaining.
-
setDescriptionPrefixBytes
public ApiDef.Builder setDescriptionPrefixBytes(org.nd4j.shade.protobuf.ByteString value)
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
public String getDescriptionSuffix()
string description_suffix = 10;- Specified by:
getDescriptionSuffixin interfaceApiDefOrBuilder- Returns:
- The descriptionSuffix.
-
getDescriptionSuffixBytes
public org.nd4j.shade.protobuf.ByteString getDescriptionSuffixBytes()
string description_suffix = 10;- Specified by:
getDescriptionSuffixBytesin interfaceApiDefOrBuilder- Returns:
- The bytes for descriptionSuffix.
-
setDescriptionSuffix
public ApiDef.Builder setDescriptionSuffix(String value)
string description_suffix = 10;- Parameters:
value- The descriptionSuffix to set.- Returns:
- This builder for chaining.
-
clearDescriptionSuffix
public ApiDef.Builder clearDescriptionSuffix()
string description_suffix = 10;- Returns:
- This builder for chaining.
-
setDescriptionSuffixBytes
public ApiDef.Builder setDescriptionSuffixBytes(org.nd4j.shade.protobuf.ByteString value)
string description_suffix = 10;- Parameters:
value- The bytes for descriptionSuffix to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ApiDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeUnknownFields
public final ApiDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
-