Package org.platanios.tensorflow.proto
Class ApiDef
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.platanios.tensorflow.proto.ApiDef
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,ApiDefOrBuilder
public final class ApiDef extends com.google.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 typeorg.platanios.tensorflow.proto.ApiDef
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApiDef.Arg
Protobuf typeorg.platanios.tensorflow.proto.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 enumorg.platanios.tensorflow.proto.ApiDef.Visibility
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARG_ORDER_FIELD_NUMBER
static int
ATTR_FIELD_NUMBER
static int
DEPRECATION_MESSAGE_FIELD_NUMBER
static int
DEPRECATION_VERSION_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(java.lang.Object obj)
java.lang.String
getArgOrder(int index)
List of original in_arg names to specify new argument order.com.google.protobuf.ByteString
getArgOrderBytes(int index)
List of original in_arg names to specify new argument order.int
getArgOrderCount()
List of original in_arg names to specify new argument order.com.google.protobuf.ProtocolStringList
getArgOrderList()
List of original in_arg names to specify new argument order.ApiDef.Attr
getAttr(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
int
getAttrCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
java.util.List<ApiDef.Attr>
getAttrList()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
java.util.List<? extends ApiDef.AttrOrBuilder>
getAttrOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
static ApiDef
getDefaultInstance()
ApiDef
getDefaultInstanceForType()
java.lang.String
getDeprecationMessage()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used.com.google.protobuf.ByteString
getDeprecationMessageBytes()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used.int
getDeprecationVersion()
Major version when the op will be deleted.java.lang.String
getDescription()
Additional, longer human-readable description of what the Op does.com.google.protobuf.ByteString
getDescriptionBytes()
Additional, longer human-readable description of what the Op does.java.lang.String
getDescriptionPrefix()
Modify an existing/inherited description by adding text to the beginning or end.com.google.protobuf.ByteString
getDescriptionPrefixBytes()
Modify an existing/inherited description by adding text to the beginning or end.java.lang.String
getDescriptionSuffix()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes()
string description_suffix = 10;
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ApiDef.Endpoint
getEndpoint(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
int
getEndpointCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
java.util.List<ApiDef.Endpoint>
getEndpointList()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
java.util.List<? extends ApiDef.EndpointOrBuilder>
getEndpointOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
java.lang.String
getGraphOpName()
Name of the op (in the OpDef) to specify the API for.com.google.protobuf.ByteString
getGraphOpNameBytes()
Name of the op (in the OpDef) to specify the API for.ApiDef.Arg
getInArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
int
getInArgCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
java.util.List<ApiDef.Arg>
getInArgList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
java.util.List<? extends ApiDef.ArgOrBuilder>
getInArgOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
int
getOutArgCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
java.util.List<ApiDef.Arg>
getOutArgList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
java.util.List<? extends ApiDef.ArgOrBuilder>
getOutArgOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
com.google.protobuf.Parser<ApiDef>
getParserForType()
int
getSerializedSize()
java.lang.String
getSummary()
One-line human-readable description of what the Op does.com.google.protobuf.ByteString
getSummaryBytes()
One-line human-readable description of what the Op does.com.google.protobuf.UnknownFieldSet
getUnknownFields()
ApiDef.Visibility
getVisibility()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
int
getVisibilityValue()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ApiDef.Builder
newBuilder()
static ApiDef.Builder
newBuilder(ApiDef prototype)
ApiDef.Builder
newBuilderForType()
protected ApiDef.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ApiDef
parseDelimitedFrom(java.io.InputStream input)
static ApiDef
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(byte[] data)
static ApiDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(com.google.protobuf.ByteString data)
static ApiDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(com.google.protobuf.CodedInputStream input)
static ApiDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(java.io.InputStream input)
static ApiDef
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef
parseFrom(java.nio.ByteBuffer data)
static ApiDef
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ApiDef>
parser()
ApiDef.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.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
-
DEPRECATION_MESSAGE_FIELD_NUMBER
public static final int DEPRECATION_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATION_VERSION_FIELD_NUMBER
public static final int DEPRECATION_VERSION_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 java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getGraphOpName
public java.lang.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 com.google.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.
-
getDeprecationMessage
public java.lang.String getDeprecationMessage()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
- Specified by:
getDeprecationMessage
in interfaceApiDefOrBuilder
- Returns:
- The deprecationMessage.
-
getDeprecationMessageBytes
public com.google.protobuf.ByteString getDeprecationMessageBytes()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
- Specified by:
getDeprecationMessageBytes
in interfaceApiDefOrBuilder
- Returns:
- The bytes for deprecationMessage.
-
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:
getDeprecationVersion
in interfaceApiDefOrBuilder
- Returns:
- The deprecationVersion.
-
getVisibilityValue
public int getVisibilityValue()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
- Specified by:
getVisibilityValue
in interfaceApiDefOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
getVisibility
public ApiDef.Visibility getVisibility()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
- Specified by:
getVisibility
in interfaceApiDefOrBuilder
- Returns:
- The visibility.
-
getEndpointList
public java.util.List<ApiDef.Endpoint> getEndpointList()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointList
in interfaceApiDefOrBuilder
-
getEndpointOrBuilderList
public java.util.List<? extends ApiDef.EndpointOrBuilder> getEndpointOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointOrBuilderList
in interfaceApiDefOrBuilder
-
getEndpointCount
public int getEndpointCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointCount
in interfaceApiDefOrBuilder
-
getEndpoint
public ApiDef.Endpoint getEndpoint(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpoint
in interfaceApiDefOrBuilder
-
getEndpointOrBuilder
public ApiDef.EndpointOrBuilder getEndpointOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointOrBuilder
in interfaceApiDefOrBuilder
-
getInArgList
public java.util.List<ApiDef.Arg> getInArgList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgList
in interfaceApiDefOrBuilder
-
getInArgOrBuilderList
public java.util.List<? extends ApiDef.ArgOrBuilder> getInArgOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgOrBuilderList
in interfaceApiDefOrBuilder
-
getInArgCount
public int getInArgCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgCount
in interfaceApiDefOrBuilder
-
getInArg
public ApiDef.Arg getInArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArg
in interfaceApiDefOrBuilder
-
getInArgOrBuilder
public ApiDef.ArgOrBuilder getInArgOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgOrBuilder
in interfaceApiDefOrBuilder
-
getOutArgList
public java.util.List<ApiDef.Arg> getOutArgList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgList
in interfaceApiDefOrBuilder
-
getOutArgOrBuilderList
public java.util.List<? extends ApiDef.ArgOrBuilder> getOutArgOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgOrBuilderList
in interfaceApiDefOrBuilder
-
getOutArgCount
public int getOutArgCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgCount
in interfaceApiDefOrBuilder
-
getOutArg
public ApiDef.Arg getOutArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArg
in interfaceApiDefOrBuilder
-
getOutArgOrBuilder
public ApiDef.ArgOrBuilder getOutArgOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgOrBuilder
in interfaceApiDefOrBuilder
-
getArgOrderList
public com.google.protobuf.ProtocolStringList getArgOrderList()
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
- 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 java.lang.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 com.google.protobuf.ByteString getArgOrderBytes(int index)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
- 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 java.util.List<ApiDef.Attr> getAttrList()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttrList
in interfaceApiDefOrBuilder
-
getAttrOrBuilderList
public java.util.List<? extends ApiDef.AttrOrBuilder> getAttrOrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttrOrBuilderList
in interfaceApiDefOrBuilder
-
getAttrCount
public int getAttrCount()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttrCount
in interfaceApiDefOrBuilder
-
getAttr
public ApiDef.Attr getAttr(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttr
in interfaceApiDefOrBuilder
-
getAttrOrBuilder
public ApiDef.AttrOrBuilder getAttrOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttrOrBuilder
in interfaceApiDefOrBuilder
-
getSummary
public java.lang.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 com.google.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 java.lang.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 com.google.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 java.lang.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 com.google.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 java.lang.String getDescriptionSuffix()
string description_suffix = 10;
- Specified by:
getDescriptionSuffix
in interfaceApiDefOrBuilder
- Returns:
- The descriptionSuffix.
-
getDescriptionSuffixBytes
public com.google.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 interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApiDef parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDef parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ApiDef parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ApiDef parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ApiDef parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ApiDef parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ApiDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ApiDef.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApiDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ApiDef getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ApiDef> parser()
-
getParserForType
public com.google.protobuf.Parser<ApiDef> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-