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 class
ApiDef.Arg
Protobuf typetensorflow.ApiDef.Arg
static interface
ApiDef.ArgOrBuilder
static class
ApiDef.Attr
Description of the graph-construction-time configuration of this Op.static interface
ApiDef.AttrOrBuilder
static class
ApiDef.Builder
Used to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone.static class
ApiDef.Endpoint
If you specify any endpoint, this will replace all of the inherited endpoints.static interface
ApiDef.EndpointOrBuilder
static class
ApiDef.Visibility
Protobuf 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 int
ARG_ORDER_FIELD_NUMBER
static int
ATTR_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DESCRIPTION_PREFIX_FIELD_NUMBER
static int
DESCRIPTION_SUFFIX_FIELD_NUMBER
static int
ENDPOINT_FIELD_NUMBER
static int
GRAPH_OP_NAME_FIELD_NUMBER
static int
IN_ARG_FIELD_NUMBER
static int
OUT_ARG_FIELD_NUMBER
static int
SUMMARY_FIELD_NUMBER
static int
VISIBILITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getArgOrder(int index)
List of original in_arg names to specify new argument order.org.nd4j.shade.protobuf.ByteString
getArgOrderBytes(int index)
List of original in_arg names to specify new argument order.int
getArgOrderCount()
List of original in_arg names to specify new argument order.org.nd4j.shade.protobuf.ProtocolStringList
getArgOrderList()
List of original in_arg names to specify new argument order.ApiDef.Attr
getAttr(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
int
getAttrCount()
repeated .tensorflow.ApiDef.Attr attr = 6;
List<ApiDef.Attr>
getAttrList()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
List<? extends ApiDef.AttrOrBuilder>
getAttrOrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;
static ApiDef
getDefaultInstance()
ApiDef
getDefaultInstanceForType()
String
getDescription()
Additional, longer human-readable description of what the Op does.org.nd4j.shade.protobuf.ByteString
getDescriptionBytes()
Additional, longer human-readable description of what the Op does.String
getDescriptionPrefix()
Modify an existing/inherited description by adding text to the beginning or end.org.nd4j.shade.protobuf.ByteString
getDescriptionPrefixBytes()
Modify an existing/inherited description by adding text to the beginning or end.String
getDescriptionSuffix()
string description_suffix = 10;
org.nd4j.shade.protobuf.ByteString
getDescriptionSuffixBytes()
string description_suffix = 10;
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
ApiDef.Endpoint
getEndpoint(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
int
getEndpointCount()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
List<ApiDef.Endpoint>
getEndpointList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
List<? extends ApiDef.EndpointOrBuilder>
getEndpointOrBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
String
getGraphOpName()
Name of the op (in the OpDef) to specify the API for.org.nd4j.shade.protobuf.ByteString
getGraphOpNameBytes()
Name of the op (in the OpDef) to specify the API for.ApiDef.Arg
getInArg(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
int
getInArgCount()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
List<ApiDef.Arg>
getInArgList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
List<? extends ApiDef.ArgOrBuilder>
getInArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int
getOutArgCount()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
List<ApiDef.Arg>
getOutArgList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
List<? extends ApiDef.ArgOrBuilder>
getOutArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
org.nd4j.shade.protobuf.Parser<ApiDef>
getParserForType()
int
getSerializedSize()
String
getSummary()
One-line human-readable description of what the Op does.org.nd4j.shade.protobuf.ByteString
getSummaryBytes()
One-line human-readable description of what the Op does.org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields()
ApiDef.Visibility
getVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;
int
getVisibilityValue()
.tensorflow.ApiDef.Visibility visibility = 2;
int
hashCode()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ApiDef.Builder
newBuilder()
static ApiDef.Builder
newBuilder(ApiDef prototype)
ApiDef.Builder
newBuilderForType()
protected ApiDef.Builder
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ApiDef
parseDelimitedFrom(InputStream input)
static ApiDef
parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(byte[] data)
static ApiDef
parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(InputStream input)
static ApiDef
parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(ByteBuffer data)
static ApiDef
parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(org.nd4j.shade.protobuf.ByteString data)
static ApiDef
parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input)
static ApiDef
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static org.nd4j.shade.protobuf.Parser<ApiDef>
parser()
ApiDef.Builder
toBuilder()
void
writeTo(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:
newInstance
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in 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:
internalGetFieldAccessorTable
in 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:
getGraphOpName
in 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:
getGraphOpNameBytes
in interfaceApiDefOrBuilder
- Returns:
- The bytes for graphOpName.
-
getVisibilityValue
public int getVisibilityValue()
.tensorflow.ApiDef.Visibility visibility = 2;
- Specified by:
getVisibilityValue
in interfaceApiDefOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
getVisibility
public ApiDef.Visibility getVisibility()
.tensorflow.ApiDef.Visibility visibility = 2;
- Specified by:
getVisibility
in interfaceApiDefOrBuilder
- Returns:
- The visibility.
-
getEndpointList
public List<ApiDef.Endpoint> getEndpointList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointList
in interfaceApiDefOrBuilder
-
getEndpointOrBuilderList
public List<? extends ApiDef.EndpointOrBuilder> getEndpointOrBuilderList()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointOrBuilderList
in interfaceApiDefOrBuilder
-
getEndpointCount
public int getEndpointCount()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointCount
in interfaceApiDefOrBuilder
-
getEndpoint
public ApiDef.Endpoint getEndpoint(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpoint
in interfaceApiDefOrBuilder
-
getEndpointOrBuilder
public ApiDef.EndpointOrBuilder getEndpointOrBuilder(int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointOrBuilder
in interfaceApiDefOrBuilder
-
getInArgList
public List<ApiDef.Arg> getInArgList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgList
in interfaceApiDefOrBuilder
-
getInArgOrBuilderList
public List<? extends ApiDef.ArgOrBuilder> getInArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgOrBuilderList
in interfaceApiDefOrBuilder
-
getInArgCount
public int getInArgCount()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgCount
in interfaceApiDefOrBuilder
-
getInArg
public ApiDef.Arg getInArg(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
- Specified by:
getInArg
in interfaceApiDefOrBuilder
-
getInArgOrBuilder
public ApiDef.ArgOrBuilder getInArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgOrBuilder
in interfaceApiDefOrBuilder
-
getOutArgList
public List<ApiDef.Arg> getOutArgList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgList
in interfaceApiDefOrBuilder
-
getOutArgOrBuilderList
public List<? extends ApiDef.ArgOrBuilder> getOutArgOrBuilderList()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgOrBuilderList
in interfaceApiDefOrBuilder
-
getOutArgCount
public int getOutArgCount()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgCount
in interfaceApiDefOrBuilder
-
getOutArg
public ApiDef.Arg getOutArg(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArg
in interfaceApiDefOrBuilder
-
getOutArgOrBuilder
public ApiDef.ArgOrBuilder getOutArgOrBuilder(int index)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgOrBuilder
in 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:
getArgOrderList
in 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:
getArgOrderCount
in 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:
getArgOrder
in 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:
getArgOrderBytes
in 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:
getAttrList
in interfaceApiDefOrBuilder
-
getAttrOrBuilderList
public List<? extends ApiDef.AttrOrBuilder> getAttrOrBuilderList()
repeated .tensorflow.ApiDef.Attr attr = 6;
- Specified by:
getAttrOrBuilderList
in interfaceApiDefOrBuilder
-
getAttrCount
public int getAttrCount()
repeated .tensorflow.ApiDef.Attr attr = 6;
- Specified by:
getAttrCount
in interfaceApiDefOrBuilder
-
getAttr
public ApiDef.Attr getAttr(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
- Specified by:
getAttr
in interfaceApiDefOrBuilder
-
getAttrOrBuilder
public ApiDef.AttrOrBuilder getAttrOrBuilder(int index)
repeated .tensorflow.ApiDef.Attr attr = 6;
- Specified by:
getAttrOrBuilder
in interfaceApiDefOrBuilder
-
getSummary
public String getSummary()
One-line human-readable description of what the Op does.
string summary = 7;
- Specified by:
getSummary
in 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:
getSummaryBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
getDescriptionPrefix
in 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:
getDescriptionPrefixBytes
in interfaceApiDefOrBuilder
- Returns:
- The bytes for descriptionPrefix.
-
getDescriptionSuffix
public String getDescriptionSuffix()
string description_suffix = 10;
- Specified by:
getDescriptionSuffix
in interfaceApiDefOrBuilder
- Returns:
- The descriptionSuffix.
-
getDescriptionSuffixBytes
public org.nd4j.shade.protobuf.ByteString getDescriptionSuffixBytes()
string description_suffix = 10;
- Specified by:
getDescriptionSuffixBytes
in interfaceApiDefOrBuilder
- Returns:
- The bytes for descriptionSuffix.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
writeTo
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getSerializedSize
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
equals
in classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected ApiDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getParserForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-