Class ApiDef.Arg.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ApiDef.Arg.Builder>
com.google.protobuf.GeneratedMessage.Builder<ApiDef.Arg.Builder>
org.tensorflow.proto.ApiDef.Arg.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, ApiDef.ArgOrBuilder
- Enclosing class:
ApiDef.Arg
public static final class ApiDef.Arg.Builder
extends GeneratedMessage.Builder<ApiDef.Arg.Builder>
implements ApiDef.ArgOrBuilder
Protobuf type
tensorflow.ApiDef.Arg-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Note: this will replace any inherited arg doc.string name = 1;Change the name used to access this arg in the API from what is used in the GraphDef.Note: this will replace any inherited arg doc.Note: this will replace any inherited arg doc.static final Descriptors.DescriptorgetName()string name = 1;string name = 1;Change the name used to access this arg in the API from what is used in the GraphDef.Change the name used to access this arg in the API from what is used in the GraphDef.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(ApiDef.Arg other) setDescription(String value) Note: this will replace any inherited arg doc.setDescriptionBytes(ByteString value) Note: this will replace any inherited arg doc.string name = 1;setNameBytes(ByteString value) string name = 1;setRenameTo(String value) Change the name used to access this arg in the API from what is used in the GraphDef.setRenameToBytes(ByteString value) Change the name used to access this arg in the API from what is used in the GraphDef.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<ApiDef.Arg.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<ApiDef.Arg.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<ApiDef.Arg.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ApiDef.Arg.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<ApiDef.Arg.Builder>
-
mergeFrom
public ApiDef.Arg.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ApiDef.Arg.Builder>- Throws:
IOException
-
getName
string name = 1;- Specified by:
getNamein interfaceApiDef.ArgOrBuilder- Returns:
- The name.
-
getNameBytes
string name = 1;- Specified by:
getNameBytesin interfaceApiDef.ArgOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
-
setNameBytes
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRenameTo
Change the name used to access this arg in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Specified by:
getRenameToin interfaceApiDef.ArgOrBuilder- Returns:
- The renameTo.
-
getRenameToBytes
Change the name used to access this arg in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Specified by:
getRenameToBytesin interfaceApiDef.ArgOrBuilder- Returns:
- The bytes for renameTo.
-
setRenameTo
Change the name used to access this arg in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Parameters:
value- The renameTo to set.- Returns:
- This builder for chaining.
-
clearRenameTo
Change the name used to access this arg in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Returns:
- This builder for chaining.
-
setRenameToBytes
Change the name used to access this arg in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Parameters:
value- The bytes for renameTo to set.- Returns:
- This builder for chaining.
-
getDescription
Note: this will replace any inherited arg doc. There is no current way of modifying arg descriptions (other than replacing them entirely) as can be done with op descriptions.
string description = 3;- Specified by:
getDescriptionin interfaceApiDef.ArgOrBuilder- Returns:
- The description.
-
getDescriptionBytes
Note: this will replace any inherited arg doc. There is no current way of modifying arg descriptions (other than replacing them entirely) as can be done with op descriptions.
string description = 3;- Specified by:
getDescriptionBytesin interfaceApiDef.ArgOrBuilder- Returns:
- The bytes for description.
-
setDescription
Note: this will replace any inherited arg doc. There is no current way of modifying arg descriptions (other than replacing them entirely) as can be done with op descriptions.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Note: this will replace any inherited arg doc. There is no current way of modifying arg descriptions (other than replacing them entirely) as can be done with op descriptions.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Note: this will replace any inherited arg doc. There is no current way of modifying arg descriptions (other than replacing them entirely) as can be done with op descriptions.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-