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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>
public ApiDef.Attr getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public ApiDef.Attr build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public ApiDef.Attr buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public ApiDef.Attr.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<ApiDef.Attr.Builder>
IOException
public String getName()
string name = 1;
getName
in interface ApiDef.AttrOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
string name = 1;
getNameBytes
in interface ApiDef.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>
Copyright © 2018. All rights reserved.