public static final class ApiDef.Arg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder> implements ApiDef.ArgOrBuilder
tensorflow.ApiDef.Arg| Modifier and Type | Method and Description |
|---|---|
ApiDef.Arg.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Arg |
build() |
ApiDef.Arg |
buildPartial() |
ApiDef.Arg.Builder |
clear() |
ApiDef.Arg.Builder |
clearDescription()
Note: this will replace any inherited arg doc.
|
ApiDef.Arg.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ApiDef.Arg.Builder |
clearName()
string name = 1; |
ApiDef.Arg.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Arg.Builder |
clearRenameTo()
Change the name used to access this arg in the API from what
is used in the GraphDef.
|
ApiDef.Arg.Builder |
clone() |
ApiDef.Arg |
getDefaultInstanceForType() |
String |
getDescription()
Note: this will replace any inherited arg doc.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Note: this will replace any inherited arg doc.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1; |
String |
getRenameTo()
Change the name used to access this arg in the API from what
is used in the GraphDef.
|
com.google.protobuf.ByteString |
getRenameToBytes()
Change the name used to access this arg in the API from what
is used in the GraphDef.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApiDef.Arg.Builder |
mergeFrom(ApiDef.Arg other) |
ApiDef.Arg.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Arg.Builder |
mergeFrom(com.google.protobuf.Message other) |
ApiDef.Arg.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Arg.Builder |
setDescription(String value)
Note: this will replace any inherited arg doc.
|
ApiDef.Arg.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Note: this will replace any inherited arg doc.
|
ApiDef.Arg.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Arg.Builder |
setName(String value)
string name = 1; |
ApiDef.Arg.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 1; |
ApiDef.Arg.Builder |
setRenameTo(String value)
Change the name used to access this arg in the API from what
is used in the GraphDef.
|
ApiDef.Arg.Builder |
setRenameToBytes(com.google.protobuf.ByteString value)
Change the name used to access this arg in the API from what
is used in the GraphDef.
|
ApiDef.Arg.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApiDef.Arg.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ApiDef.Arg build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ApiDef.Arg buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ApiDef.Arg.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder mergeFrom(ApiDef.Arg other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public ApiDef.Arg.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiDef.Arg.Builder>IOExceptionpublic String getName()
string name = 1;getName in interface ApiDef.ArgOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 1;getNameBytes in interface ApiDef.ArgOrBuilderpublic ApiDef.Arg.Builder setName(String value)
string name = 1;public ApiDef.Arg.Builder clearName()
string name = 1;public ApiDef.Arg.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;public String 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;getRenameTo in interface ApiDef.ArgOrBuilderpublic com.google.protobuf.ByteString 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;getRenameToBytes in interface ApiDef.ArgOrBuilderpublic ApiDef.Arg.Builder setRenameTo(String value)
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;public ApiDef.Arg.Builder 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;public ApiDef.Arg.Builder setRenameToBytes(com.google.protobuf.ByteString value)
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;public String 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;getDescription in interface ApiDef.ArgOrBuilderpublic com.google.protobuf.ByteString 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;getDescriptionBytes in interface ApiDef.ArgOrBuilderpublic ApiDef.Arg.Builder setDescription(String value)
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;public ApiDef.Arg.Builder 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;public ApiDef.Arg.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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;public final ApiDef.Arg.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>public final ApiDef.Arg.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>Copyright © 2015–2019. All rights reserved.