Package org.tensorflow.framework
Class ApiDef
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite
-
- org.nd4j.shade.protobuf.AbstractMessage
-
- org.nd4j.shade.protobuf.GeneratedMessageV3
-
- org.tensorflow.framework.ApiDef
-
- All Implemented Interfaces:
Serializable,org.nd4j.shade.protobuf.Message,org.nd4j.shade.protobuf.MessageLite,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,ApiDefOrBuilder
public final class ApiDef extends org.nd4j.shade.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApiDef.ArgProtobuf typetensorflow.ApiDef.Argstatic interfaceApiDef.ArgOrBuilderstatic classApiDef.AttrDescription of the graph-construction-time configuration of this Op.static interfaceApiDef.AttrOrBuilderstatic classApiDef.BuilderUsed to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone.static classApiDef.EndpointIf you specify any endpoint, this will replace all of the inherited endpoints.static interfaceApiDef.EndpointOrBuilderstatic classApiDef.VisibilityProtobuf enumtensorflow.ApiDef.Visibility-
Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intARG_ORDER_FIELD_NUMBERstatic intATTR_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDESCRIPTION_PREFIX_FIELD_NUMBERstatic intDESCRIPTION_SUFFIX_FIELD_NUMBERstatic intENDPOINT_FIELD_NUMBERstatic intGRAPH_OP_NAME_FIELD_NUMBERstatic intIN_ARG_FIELD_NUMBERstatic intOUT_ARG_FIELD_NUMBERstatic intSUMMARY_FIELD_NUMBERstatic intVISIBILITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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;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;static ApiDefgetDefaultInstance()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()ApiDef.EndpointgetEndpoint(int index)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;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;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;org.nd4j.shade.protobuf.Parser<ApiDef>getParserForType()intgetSerializedSize()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.org.nd4j.shade.protobuf.UnknownFieldSetgetUnknownFields()ApiDef.VisibilitygetVisibility().tensorflow.ApiDef.Visibility visibility = 2;intgetVisibilityValue().tensorflow.ApiDef.Visibility visibility = 2;inthashCode()protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ApiDef.BuildernewBuilder()static ApiDef.BuildernewBuilder(ApiDef prototype)ApiDef.BuildernewBuilderForType()protected ApiDef.BuildernewBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ApiDefparseDelimitedFrom(InputStream input)static ApiDefparseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDefparseFrom(byte[] data)static ApiDefparseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDefparseFrom(InputStream input)static ApiDefparseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDefparseFrom(ByteBuffer data)static ApiDefparseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDefparseFrom(org.nd4j.shade.protobuf.ByteString data)static ApiDefparseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDefparseFrom(org.nd4j.shade.protobuf.CodedInputStream input)static ApiDefparseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)static org.nd4j.shade.protobuf.Parser<ApiDef>parser()ApiDef.BuildertoBuilder()voidwriteTo(org.nd4j.shade.protobuf.CodedOutputStream output)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
GRAPH_OP_NAME_FIELD_NUMBER
public static final int GRAPH_OP_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VISIBILITY_FIELD_NUMBER
public static final int VISIBILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IN_ARG_FIELD_NUMBER
public static final int IN_ARG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUT_ARG_FIELD_NUMBER
public static final int OUT_ARG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARG_ORDER_FIELD_NUMBER
public static final int ARG_ORDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTR_FIELD_NUMBER
public static final int ATTR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_PREFIX_FIELD_NUMBER
public static final int DESCRIPTION_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_SUFFIX_FIELD_NUMBER
public static final int DESCRIPTION_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
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
-
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.
-
getVisibilityValue
public int getVisibilityValue()
.tensorflow.ApiDef.Visibility visibility = 2;- Specified by:
getVisibilityValuein interfaceApiDefOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
getVisibility
public ApiDef.Visibility getVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;- Specified by:
getVisibilityin interfaceApiDefOrBuilder- Returns:
- The visibility.
-
getEndpointList
public List<ApiDef.Endpoint> getEndpointList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointListin interfaceApiDefOrBuilder
-
getEndpointOrBuilderList
public List<? extends ApiDef.EndpointOrBuilder> getEndpointOrBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointOrBuilderListin 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
-
getEndpointOrBuilder
public ApiDef.EndpointOrBuilder getEndpointOrBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;- Specified by:
getEndpointOrBuilderin interfaceApiDefOrBuilder
-
getInArgList
public List<ApiDef.Arg> getInArgList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgListin interfaceApiDefOrBuilder
-
getInArgOrBuilderList
public List<? extends ApiDef.ArgOrBuilder> getInArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgOrBuilderListin 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
-
getInArgOrBuilder
public ApiDef.ArgOrBuilder getInArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;- Specified by:
getInArgOrBuilderin interfaceApiDefOrBuilder
-
getOutArgList
public List<ApiDef.Arg> getOutArgList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgListin interfaceApiDefOrBuilder
-
getOutArgOrBuilderList
public List<? extends ApiDef.ArgOrBuilder> getOutArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgOrBuilderListin 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
-
getOutArgOrBuilder
public ApiDef.ArgOrBuilder getOutArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;- Specified by:
getOutArgOrBuilderin interfaceApiDefOrBuilder
-
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.
-
getAttrList
public List<ApiDef.Attr> getAttrList()
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrListin interfaceApiDefOrBuilder
-
getAttrOrBuilderList
public List<? extends ApiDef.AttrOrBuilder> getAttrOrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrOrBuilderListin 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
-
getAttrOrBuilder
public ApiDef.AttrOrBuilder getAttrOrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;- Specified by:
getAttrOrBuilderin interfaceApiDefOrBuilder
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
writeToin classorg.nd4j.shade.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceorg.nd4j.shade.protobuf.Message- Overrides:
equalsin classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.nd4j.shade.protobuf.Message- Overrides:
hashCodein classorg.nd4j.shade.protobuf.AbstractMessage
-
parseFrom
public static ApiDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApiDef parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApiDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ApiDef.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceorg.nd4j.shade.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilder
public static ApiDef.Builder newBuilder()
-
newBuilder
public static ApiDef.Builder newBuilder(ApiDef prototype)
-
toBuilder
public ApiDef.Builder toBuilder()
- Specified by:
toBuilderin interfaceorg.nd4j.shade.protobuf.Message- Specified by:
toBuilderin interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected ApiDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ApiDef getDefaultInstance()
-
parser
public static org.nd4j.shade.protobuf.Parser<ApiDef> parser()
-
getParserForType
public org.nd4j.shade.protobuf.Parser<ApiDef> getParserForType()
- Specified by:
getParserForTypein interfaceorg.nd4j.shade.protobuf.Message- Specified by:
getParserForTypein interfaceorg.nd4j.shade.protobuf.MessageLite- Overrides:
getParserForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-