public static final class ApiDef.Attr.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder> implements ApiDef.AttrOrBuilder
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.Protobuf type
tensorflow.ApiDef.Attr| Modifier and Type | Method and Description |
|---|---|
ApiDef.Attr.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Attr |
build() |
ApiDef.Attr |
buildPartial() |
ApiDef.Attr.Builder |
clear() |
ApiDef.Attr.Builder |
clearDefaultValue()
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
clearDescription()
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
ApiDef.Attr.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
ApiDef.Attr.Builder |
clearName()
string name = 1; |
ApiDef.Attr.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
ApiDef.Attr.Builder |
clearRenameTo()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
ApiDef.Attr.Builder |
clone() |
ApiDef.Attr |
getDefaultInstanceForType() |
AttrValue |
getDefaultValue()
Specify a new default value to use for this attr.
|
AttrValue.Builder |
getDefaultValueBuilder()
Specify a new default value to use for this attr.
|
AttrValueOrBuilder |
getDefaultValueOrBuilder()
Specify a new default value to use for this attr.
|
String |
getDescription()
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
com.github.os72.protobuf351.ByteString |
getDescriptionBytes()
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
string name = 1; |
com.github.os72.protobuf351.ByteString |
getNameBytes()
string name = 1; |
String |
getRenameTo()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
com.github.os72.protobuf351.ByteString |
getRenameToBytes()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
boolean |
hasDefaultValue()
Specify a new default value to use for this attr.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApiDef.Attr.Builder |
mergeDefaultValue(AttrValue value)
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
mergeFrom(ApiDef.Attr other) |
ApiDef.Attr.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
ApiDef.Attr.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
ApiDef.Attr.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
ApiDef.Attr.Builder |
setDefaultValue(AttrValue.Builder builderForValue)
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
setDefaultValue(AttrValue value)
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
setDescription(String value)
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
ApiDef.Attr.Builder |
setDescriptionBytes(com.github.os72.protobuf351.ByteString value)
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
ApiDef.Attr.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Attr.Builder |
setName(String value)
string name = 1; |
ApiDef.Attr.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
string name = 1; |
ApiDef.Attr.Builder |
setRenameTo(String value)
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
ApiDef.Attr.Builder |
setRenameToBytes(com.github.os72.protobuf351.ByteString value)
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
ApiDef.Attr.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApiDef.Attr.Builder |
setUnknownFields(com.github.os72.protobuf351.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.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic ApiDef.Attr build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic ApiDef.Attr buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic ApiDef.Attr.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder mergeFrom(ApiDef.Attr other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ApiDef.Attr.Builder>IOExceptionpublic String getName()
string name = 1;getName in interface ApiDef.AttrOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
string name = 1;getNameBytes in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setName(String value)
string name = 1;public ApiDef.Attr.Builder clearName()
string name = 1;public ApiDef.Attr.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
string name = 1;public String getRenameTo()
Change the name used to access this attr 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.AttrOrBuilderpublic com.github.os72.protobuf351.ByteString getRenameToBytes()
Change the name used to access this attr 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.AttrOrBuilderpublic ApiDef.Attr.Builder setRenameTo(String value)
Change the name used to access this attr 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.Attr.Builder clearRenameTo()
Change the name used to access this attr 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.Attr.Builder setRenameToBytes(com.github.os72.protobuf351.ByteString value)
Change the name used to access this attr 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 boolean hasDefaultValue()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;hasDefaultValue in interface ApiDef.AttrOrBuilderpublic AttrValue getDefaultValue()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;getDefaultValue in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setDefaultValue(AttrValue value)
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public ApiDef.Attr.Builder setDefaultValue(AttrValue.Builder builderForValue)
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public ApiDef.Attr.Builder mergeDefaultValue(AttrValue value)
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public ApiDef.Attr.Builder clearDefaultValue()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public AttrValue.Builder getDefaultValueBuilder()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public AttrValueOrBuilder getDefaultValueOrBuilder()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;getDefaultValueOrBuilder in interface ApiDef.AttrOrBuilderpublic String getDescription()
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;getDescription in interface ApiDef.AttrOrBuilderpublic com.github.os72.protobuf351.ByteString getDescriptionBytes()
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;getDescriptionBytes in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setDescription(String value)
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;public ApiDef.Attr.Builder clearDescription()
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;public ApiDef.Attr.Builder setDescriptionBytes(com.github.os72.protobuf351.ByteString value)
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;public final ApiDef.Attr.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public final ApiDef.Attr.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>Copyright © 2018. All rights reserved.