Package org.platanios.tensorflow.proto
Class ApiDef.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
- org.platanios.tensorflow.proto.ApiDef.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ApiDefOrBuilder
- Enclosing class:
- ApiDef
public static final class ApiDef.Builder extends com.google.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 typeorg.platanios.tensorflow.proto.ApiDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiDef.Builder
addAllArgOrder(java.lang.Iterable<java.lang.String> values)
List of original in_arg names to specify new argument order.ApiDef.Builder
addAllAttr(java.lang.Iterable<? extends ApiDef.Attr> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
addAllEndpoint(java.lang.Iterable<? extends ApiDef.Endpoint> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addAllInArg(java.lang.Iterable<? extends ApiDef.Arg> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addAllOutArg(java.lang.Iterable<? extends ApiDef.Arg> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addArgOrder(java.lang.String value)
List of original in_arg names to specify new argument order.ApiDef.Builder
addArgOrderBytes(com.google.protobuf.ByteString value)
List of original in_arg names to specify new argument order.ApiDef.Builder
addAttr(int index, ApiDef.Attr value)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
addAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
addAttr(ApiDef.Attr value)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
addAttr(ApiDef.Attr.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Attr.Builder
addAttrBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Attr.Builder
addAttrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
addEndpoint(int index, ApiDef.Endpoint value)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addEndpoint(ApiDef.Endpoint value)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addEndpoint(ApiDef.Endpoint.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder
addEndpointBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder
addEndpointBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
addInArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addInArg(ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addInArg(ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Arg.Builder
addInArgBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Arg.Builder
addInArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
addOutArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addOutArg(ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addOutArg(ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Arg.Builder
addOutArgBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Arg.Builder
addOutArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ApiDef
build()
ApiDef
buildPartial()
ApiDef.Builder
clear()
ApiDef.Builder
clearArgOrder()
List of original in_arg names to specify new argument order.ApiDef.Builder
clearAttr()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
clearDeprecationMessage()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used.ApiDef.Builder
clearDeprecationVersion()
Major version when the op will be deleted.ApiDef.Builder
clearDescription()
Additional, longer human-readable description of what the Op does.ApiDef.Builder
clearDescriptionPrefix()
Modify an existing/inherited description by adding text to the beginning or end.ApiDef.Builder
clearDescriptionSuffix()
string description_suffix = 10;
ApiDef.Builder
clearEndpoint()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApiDef.Builder
clearGraphOpName()
Name of the op (in the OpDef) to specify the API for.ApiDef.Builder
clearInArg()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApiDef.Builder
clearOutArg()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
clearSummary()
One-line human-readable description of what the Op does.ApiDef.Builder
clearVisibility()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
ApiDef.Builder
clone()
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;
ApiDef.Attr.Builder
getAttrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
java.util.List<ApiDef.Attr.Builder>
getAttrBuilderList()
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;
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()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ApiDef.Endpoint
getEndpoint(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder
getEndpointBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
java.util.List<ApiDef.Endpoint.Builder>
getEndpointBuilderList()
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;
ApiDef.Arg.Builder
getInArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
java.util.List<ApiDef.Arg.Builder>
getInArgBuilderList()
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;
ApiDef.Arg.Builder
getOutArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
java.util.List<ApiDef.Arg.Builder>
getOutArgBuilderList()
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;
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.ApiDef.Visibility
getVisibility()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
int
getVisibilityValue()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ApiDef.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef.Builder
mergeFrom(com.google.protobuf.Message other)
ApiDef.Builder
mergeFrom(ApiDef other)
ApiDef.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApiDef.Builder
removeAttr(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
removeEndpoint(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
removeInArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
removeOutArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
setArgOrder(int index, java.lang.String value)
List of original in_arg names to specify new argument order.ApiDef.Builder
setAttr(int index, ApiDef.Attr value)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
setAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
ApiDef.Builder
setDeprecationMessage(java.lang.String value)
If this op is deprecated, set deprecation message to the message that should be logged when this op is used.ApiDef.Builder
setDeprecationMessageBytes(com.google.protobuf.ByteString value)
If this op is deprecated, set deprecation message to the message that should be logged when this op is used.ApiDef.Builder
setDeprecationVersion(int value)
Major version when the op will be deleted.ApiDef.Builder
setDescription(java.lang.String value)
Additional, longer human-readable description of what the Op does.ApiDef.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Additional, longer human-readable description of what the Op does.ApiDef.Builder
setDescriptionPrefix(java.lang.String value)
Modify an existing/inherited description by adding text to the beginning or end.ApiDef.Builder
setDescriptionPrefixBytes(com.google.protobuf.ByteString value)
Modify an existing/inherited description by adding text to the beginning or end.ApiDef.Builder
setDescriptionSuffix(java.lang.String value)
string description_suffix = 10;
ApiDef.Builder
setDescriptionSuffixBytes(com.google.protobuf.ByteString value)
string description_suffix = 10;
ApiDef.Builder
setEndpoint(int index, ApiDef.Endpoint value)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
setEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ApiDef.Builder
setGraphOpName(java.lang.String value)
Name of the op (in the OpDef) to specify the API for.ApiDef.Builder
setGraphOpNameBytes(com.google.protobuf.ByteString value)
Name of the op (in the OpDef) to specify the API for.ApiDef.Builder
setInArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
setInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
ApiDef.Builder
setOutArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
setOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
ApiDef.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ApiDef.Builder
setSummary(java.lang.String value)
One-line human-readable description of what the Op does.ApiDef.Builder
setSummaryBytes(com.google.protobuf.ByteString value)
One-line human-readable description of what the Op does.ApiDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApiDef.Builder
setVisibility(ApiDef.Visibility value)
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
ApiDef.Builder
setVisibilityValue(int value)
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
-
Methods inherited from class com.google.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 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<ApiDef.Builder>
-
clear
public ApiDef.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
getDefaultInstanceForType
public ApiDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApiDef build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApiDef buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApiDef.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
setField
public ApiDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
clearField
public ApiDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
clearOneof
public ApiDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
setRepeatedField
public ApiDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
addRepeatedField
public ApiDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(ApiDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeFrom
public ApiDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiDef.Builder>
- Throws:
java.io.IOException
-
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.
-
setGraphOpName
public ApiDef.Builder setGraphOpName(java.lang.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(com.google.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.
-
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.
-
setDeprecationMessage
public ApiDef.Builder setDeprecationMessage(java.lang.String value)
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
- Parameters:
value
- The deprecationMessage to set.- Returns:
- This builder for chaining.
-
clearDeprecationMessage
public ApiDef.Builder clearDeprecationMessage()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
- Returns:
- This builder for chaining.
-
setDeprecationMessageBytes
public ApiDef.Builder setDeprecationMessageBytes(com.google.protobuf.ByteString value)
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
- Parameters:
value
- The bytes for deprecationMessage to set.- Returns:
- This builder for chaining.
-
getDeprecationVersion
public int getDeprecationVersion()
Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.
int32 deprecation_version = 13;
- Specified by:
getDeprecationVersion
in interfaceApiDefOrBuilder
- Returns:
- The deprecationVersion.
-
setDeprecationVersion
public ApiDef.Builder setDeprecationVersion(int value)
Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.
int32 deprecation_version = 13;
- Parameters:
value
- The deprecationVersion to set.- Returns:
- This builder for chaining.
-
clearDeprecationVersion
public ApiDef.Builder clearDeprecationVersion()
Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.
int32 deprecation_version = 13;
- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
- Specified by:
getVisibilityValue
in interfaceApiDefOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
public ApiDef.Builder setVisibilityValue(int value)
.org.platanios.tensorflow.proto.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()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
- Specified by:
getVisibility
in interfaceApiDefOrBuilder
- Returns:
- The visibility.
-
setVisibility
public ApiDef.Builder setVisibility(ApiDef.Visibility value)
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
- Parameters:
value
- The visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
public ApiDef.Builder clearVisibility()
.org.platanios.tensorflow.proto.ApiDef.Visibility visibility = 2;
- Returns:
- This builder for chaining.
-
getEndpointList
public java.util.List<ApiDef.Endpoint> getEndpointList()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointList
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
-
setEndpoint
public ApiDef.Builder setEndpoint(int index, ApiDef.Endpoint value)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
setEndpoint
public ApiDef.Builder setEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(ApiDef.Endpoint value)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(int index, ApiDef.Endpoint value)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(ApiDef.Endpoint.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
addEndpoint
public ApiDef.Builder addEndpoint(int index, ApiDef.Endpoint.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
addAllEndpoint
public ApiDef.Builder addAllEndpoint(java.lang.Iterable<? extends ApiDef.Endpoint> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
clearEndpoint
public ApiDef.Builder clearEndpoint()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
removeEndpoint
public ApiDef.Builder removeEndpoint(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
getEndpointBuilder
public ApiDef.Endpoint.Builder getEndpointBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
getEndpointOrBuilder
public ApiDef.EndpointOrBuilder getEndpointOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
- Specified by:
getEndpointOrBuilder
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
-
addEndpointBuilder
public ApiDef.Endpoint.Builder addEndpointBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
addEndpointBuilder
public ApiDef.Endpoint.Builder addEndpointBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
getEndpointBuilderList
public java.util.List<ApiDef.Endpoint.Builder> getEndpointBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Endpoint endpoint = 3;
-
getInArgList
public java.util.List<ApiDef.Arg> getInArgList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgList
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
-
setInArg
public ApiDef.Builder setInArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
setInArg
public ApiDef.Builder setInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
addInArg
public ApiDef.Builder addInArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
addAllInArg
public ApiDef.Builder addAllInArg(java.lang.Iterable<? extends ApiDef.Arg> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
clearInArg
public ApiDef.Builder clearInArg()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
removeInArg
public ApiDef.Builder removeInArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
getInArgBuilder
public ApiDef.Arg.Builder getInArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
getInArgOrBuilder
public ApiDef.ArgOrBuilder getInArgOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
- Specified by:
getInArgOrBuilder
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
-
addInArgBuilder
public ApiDef.Arg.Builder addInArgBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
addInArgBuilder
public ApiDef.Arg.Builder addInArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
getInArgBuilderList
public java.util.List<ApiDef.Arg.Builder> getInArgBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg in_arg = 4;
-
getOutArgList
public java.util.List<ApiDef.Arg> getOutArgList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgList
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
-
setOutArg
public ApiDef.Builder setOutArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
setOutArg
public ApiDef.Builder setOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(int index, ApiDef.Arg value)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
addOutArg
public ApiDef.Builder addOutArg(int index, ApiDef.Arg.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
addAllOutArg
public ApiDef.Builder addAllOutArg(java.lang.Iterable<? extends ApiDef.Arg> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
clearOutArg
public ApiDef.Builder clearOutArg()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
removeOutArg
public ApiDef.Builder removeOutArg(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
getOutArgBuilder
public ApiDef.Arg.Builder getOutArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
getOutArgOrBuilder
public ApiDef.ArgOrBuilder getOutArgOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
- Specified by:
getOutArgOrBuilder
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
-
addOutArgBuilder
public ApiDef.Arg.Builder addOutArgBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
addOutArgBuilder
public ApiDef.Arg.Builder addOutArgBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
getOutArgBuilderList
public java.util.List<ApiDef.Arg.Builder> getOutArgBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Arg out_arg = 5;
-
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.
-
setArgOrder
public ApiDef.Builder setArgOrder(int index, java.lang.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(java.lang.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(java.lang.Iterable<java.lang.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(com.google.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 java.util.List<ApiDef.Attr> getAttrList()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttrList
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
-
setAttr
public ApiDef.Builder setAttr(int index, ApiDef.Attr value)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
setAttr
public ApiDef.Builder setAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(ApiDef.Attr value)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(int index, ApiDef.Attr value)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(ApiDef.Attr.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
addAttr
public ApiDef.Builder addAttr(int index, ApiDef.Attr.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
addAllAttr
public ApiDef.Builder addAllAttr(java.lang.Iterable<? extends ApiDef.Attr> values)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
clearAttr
public ApiDef.Builder clearAttr()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
removeAttr
public ApiDef.Builder removeAttr(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
getAttrBuilder
public ApiDef.Attr.Builder getAttrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
getAttrOrBuilder
public ApiDef.AttrOrBuilder getAttrOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
- Specified by:
getAttrOrBuilder
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
-
addAttrBuilder
public ApiDef.Attr.Builder addAttrBuilder()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
addAttrBuilder
public ApiDef.Attr.Builder addAttrBuilder(int index)
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
getAttrBuilderList
public java.util.List<ApiDef.Attr.Builder> getAttrBuilderList()
repeated .org.platanios.tensorflow.proto.ApiDef.Attr attr = 6;
-
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.
-
setSummary
public ApiDef.Builder setSummary(java.lang.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(com.google.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 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.
-
setDescription
public ApiDef.Builder setDescription(java.lang.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(com.google.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 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.
-
setDescriptionPrefix
public ApiDef.Builder setDescriptionPrefix(java.lang.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(com.google.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 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.
-
setDescriptionSuffix
public ApiDef.Builder setDescriptionSuffix(java.lang.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(com.google.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(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
mergeUnknownFields
public final ApiDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Builder>
-
-