public static final class KernelDef.AttrConstraint.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.AttrConstraint.Builder> implements KernelDef.AttrConstraintOrBuilder
tensorflow.KernelDef.AttrConstraint| Modifier and Type | Method and Description |
|---|---|
KernelDef.AttrConstraint.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
KernelDef.AttrConstraint |
build() |
KernelDef.AttrConstraint |
buildPartial() |
KernelDef.AttrConstraint.Builder |
clear() |
KernelDef.AttrConstraint.Builder |
clearAllowedValues()
A list of values that this kernel supports for this attr.
|
KernelDef.AttrConstraint.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
KernelDef.AttrConstraint.Builder |
clearName()
Name of an attr from the Op.
|
KernelDef.AttrConstraint.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
KernelDef.AttrConstraint.Builder |
clone() |
AttrValue |
getAllowedValues()
A list of values that this kernel supports for this attr.
|
AttrValue.Builder |
getAllowedValuesBuilder()
A list of values that this kernel supports for this attr.
|
AttrValueOrBuilder |
getAllowedValuesOrBuilder()
A list of values that this kernel supports for this attr.
|
KernelDef.AttrConstraint |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of an attr from the Op.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Name of an attr from the Op.
|
boolean |
hasAllowedValues()
A list of values that this kernel supports for this attr.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
KernelDef.AttrConstraint.Builder |
mergeAllowedValues(AttrValue value)
A list of values that this kernel supports for this attr.
|
KernelDef.AttrConstraint.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
KernelDef.AttrConstraint.Builder |
mergeFrom(KernelDef.AttrConstraint other) |
KernelDef.AttrConstraint.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
KernelDef.AttrConstraint.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
KernelDef.AttrConstraint.Builder |
setAllowedValues(AttrValue.Builder builderForValue)
A list of values that this kernel supports for this attr.
|
KernelDef.AttrConstraint.Builder |
setAllowedValues(AttrValue value)
A list of values that this kernel supports for this attr.
|
KernelDef.AttrConstraint.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
KernelDef.AttrConstraint.Builder |
setName(String value)
Name of an attr from the Op.
|
KernelDef.AttrConstraint.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
Name of an attr from the Op.
|
KernelDef.AttrConstraint.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic KernelDef.AttrConstraint build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic KernelDef.AttrConstraint buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.Builder mergeFrom(KernelDef.AttrConstraint other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.AttrConstraint.Builder>public KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>IOExceptionpublic String getName()
Name of an attr from the Op.
string name = 1;getName in interface KernelDef.AttrConstraintOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
Name of an attr from the Op.
string name = 1;getNameBytes in interface KernelDef.AttrConstraintOrBuilderpublic KernelDef.AttrConstraint.Builder setName(String value)
Name of an attr from the Op.
string name = 1;public KernelDef.AttrConstraint.Builder clearName()
Name of an attr from the Op.
string name = 1;public KernelDef.AttrConstraint.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
Name of an attr from the Op.
string name = 1;public boolean hasAllowedValues()
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;hasAllowedValues in interface KernelDef.AttrConstraintOrBuilderpublic AttrValue getAllowedValues()
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;getAllowedValues in interface KernelDef.AttrConstraintOrBuilderpublic KernelDef.AttrConstraint.Builder setAllowedValues(AttrValue value)
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;public KernelDef.AttrConstraint.Builder setAllowedValues(AttrValue.Builder builderForValue)
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;public KernelDef.AttrConstraint.Builder mergeAllowedValues(AttrValue value)
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;public KernelDef.AttrConstraint.Builder clearAllowedValues()
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;public AttrValue.Builder getAllowedValuesBuilder()
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;public AttrValueOrBuilder getAllowedValuesOrBuilder()
A list of values that this kernel supports for this attr. Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
.tensorflow.AttrValue allowed_values = 2;getAllowedValuesOrBuilder in interface KernelDef.AttrConstraintOrBuilderpublic final KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>public final KernelDef.AttrConstraint.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<KernelDef.AttrConstraint.Builder>Copyright © 2018. All rights reserved.