public static final class KernelDef.AttrConstraint extends com.github.os72.protobuf351.GeneratedMessageV3 implements KernelDef.AttrConstraintOrBuilder
tensorflow.KernelDef.AttrConstraint
Modifier and Type | Class and Description |
---|---|
static class |
KernelDef.AttrConstraint.Builder
Protobuf type
tensorflow.KernelDef.AttrConstraint |
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ALLOWED_VALUES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AttrValue |
getAllowedValues()
A list of values that this kernel supports for this attr.
|
AttrValueOrBuilder |
getAllowedValuesOrBuilder()
A list of values that this kernel supports for this attr.
|
static KernelDef.AttrConstraint |
getDefaultInstance() |
KernelDef.AttrConstraint |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Name of an attr from the Op.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Name of an attr from the Op.
|
com.github.os72.protobuf351.Parser<KernelDef.AttrConstraint> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAllowedValues()
A list of values that this kernel supports for this attr.
|
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KernelDef.AttrConstraint.Builder |
newBuilder() |
static KernelDef.AttrConstraint.Builder |
newBuilder(KernelDef.AttrConstraint prototype) |
KernelDef.AttrConstraint.Builder |
newBuilderForType() |
protected KernelDef.AttrConstraint.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static KernelDef.AttrConstraint |
parseDelimitedFrom(InputStream input) |
static KernelDef.AttrConstraint |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef.AttrConstraint |
parseFrom(byte[] data) |
static KernelDef.AttrConstraint |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef.AttrConstraint |
parseFrom(ByteBuffer data) |
static KernelDef.AttrConstraint |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef.AttrConstraint |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static KernelDef.AttrConstraint |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef.AttrConstraint |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static KernelDef.AttrConstraint |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef.AttrConstraint |
parseFrom(InputStream input) |
static KernelDef.AttrConstraint |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<KernelDef.AttrConstraint> |
parser() |
KernelDef.AttrConstraint.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NAME_FIELD_NUMBER
public static final int ALLOWED_VALUES_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
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
public String getName()
Name of an attr from the Op.
string name = 1;
getName
in interface KernelDef.AttrConstraintOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
Name of an attr from the Op.
string name = 1;
getNameBytes
in interface KernelDef.AttrConstraintOrBuilder
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.AttrConstraintOrBuilder
public 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.AttrConstraintOrBuilder
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.AttrConstraintOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static KernelDef.AttrConstraint parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef.AttrConstraint parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef.AttrConstraint parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef.AttrConstraint parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef.AttrConstraint parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef.AttrConstraint parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef.AttrConstraint parseFrom(InputStream input) throws IOException
IOException
public static KernelDef.AttrConstraint parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KernelDef.AttrConstraint parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KernelDef.AttrConstraint parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KernelDef.AttrConstraint parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static KernelDef.AttrConstraint parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public KernelDef.AttrConstraint.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static KernelDef.AttrConstraint.Builder newBuilder()
public static KernelDef.AttrConstraint.Builder newBuilder(KernelDef.AttrConstraint prototype)
public KernelDef.AttrConstraint.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected KernelDef.AttrConstraint.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static KernelDef.AttrConstraint getDefaultInstance()
public static com.github.os72.protobuf351.Parser<KernelDef.AttrConstraint> parser()
public com.github.os72.protobuf351.Parser<KernelDef.AttrConstraint> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public KernelDef.AttrConstraint getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.