public static final class OpDef.ArgDef extends com.github.os72.protobuf351.GeneratedMessageV3 implements OpDef.ArgDefOrBuilder
For describing inputs and outputs.Protobuf type
tensorflow.OpDef.ArgDef
Modifier and Type | Class and Description |
---|---|
static class |
OpDef.ArgDef.Builder
For describing inputs and outputs.
|
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 |
DESCRIPTION_FIELD_NUMBER |
static int |
IS_REF_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NUMBER_ATTR_FIELD_NUMBER |
static int |
TYPE_ATTR_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
TYPE_LIST_ATTR_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static OpDef.ArgDef |
getDefaultInstance() |
OpDef.ArgDef |
getDefaultInstanceForType() |
String |
getDescription()
Human readable description.
|
com.github.os72.protobuf351.ByteString |
getDescriptionBytes()
Human readable description.
|
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsRef()
For inputs: if true, the inputs are required to be refs.
|
String |
getName()
Name for the input/output.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Name for the input/output.
|
String |
getNumberAttr()
if specified, attr must have type "int"
|
com.github.os72.protobuf351.ByteString |
getNumberAttrBytes()
if specified, attr must have type "int"
|
com.github.os72.protobuf351.Parser<OpDef.ArgDef> |
getParserForType() |
int |
getSerializedSize() |
DataType |
getType()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg.
|
String |
getTypeAttr()
if specified, attr must have type "type"
|
com.github.os72.protobuf351.ByteString |
getTypeAttrBytes()
if specified, attr must have type "type"
|
String |
getTypeListAttr()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified.
|
com.github.os72.protobuf351.ByteString |
getTypeListAttrBytes()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified.
|
int |
getTypeValue()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OpDef.ArgDef.Builder |
newBuilder() |
static OpDef.ArgDef.Builder |
newBuilder(OpDef.ArgDef prototype) |
OpDef.ArgDef.Builder |
newBuilderForType() |
protected OpDef.ArgDef.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static OpDef.ArgDef |
parseDelimitedFrom(InputStream input) |
static OpDef.ArgDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.ArgDef |
parseFrom(byte[] data) |
static OpDef.ArgDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.ArgDef |
parseFrom(ByteBuffer data) |
static OpDef.ArgDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.ArgDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static OpDef.ArgDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.ArgDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static OpDef.ArgDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.ArgDef |
parseFrom(InputStream input) |
static OpDef.ArgDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<OpDef.ArgDef> |
parser() |
OpDef.ArgDef.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 DESCRIPTION_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TYPE_ATTR_FIELD_NUMBER
public static final int NUMBER_ATTR_FIELD_NUMBER
public static final int TYPE_LIST_ATTR_FIELD_NUMBER
public static final int IS_REF_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 for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
getName
in interface OpDef.ArgDefOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
getNameBytes
in interface OpDef.ArgDefOrBuilder
public String getDescription()
Human readable description.
string description = 2;
getDescription
in interface OpDef.ArgDefOrBuilder
public com.github.os72.protobuf351.ByteString getDescriptionBytes()
Human readable description.
string description = 2;
getDescriptionBytes
in interface OpDef.ArgDefOrBuilder
public int getTypeValue()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
getTypeValue
in interface OpDef.ArgDefOrBuilder
public DataType getType()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
getType
in interface OpDef.ArgDefOrBuilder
public String getTypeAttr()
if specified, attr must have type "type"
string type_attr = 4;
getTypeAttr
in interface OpDef.ArgDefOrBuilder
public com.github.os72.protobuf351.ByteString getTypeAttrBytes()
if specified, attr must have type "type"
string type_attr = 4;
getTypeAttrBytes
in interface OpDef.ArgDefOrBuilder
public String getNumberAttr()
if specified, attr must have type "int"
string number_attr = 5;
getNumberAttr
in interface OpDef.ArgDefOrBuilder
public com.github.os72.protobuf351.ByteString getNumberAttrBytes()
if specified, attr must have type "int"
string number_attr = 5;
getNumberAttrBytes
in interface OpDef.ArgDefOrBuilder
public String getTypeListAttr()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
getTypeListAttr
in interface OpDef.ArgDefOrBuilder
public com.github.os72.protobuf351.ByteString getTypeListAttrBytes()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
getTypeListAttrBytes
in interface OpDef.ArgDefOrBuilder
public boolean getIsRef()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
getIsRef
in interface OpDef.ArgDefOrBuilder
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 OpDef.ArgDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.ArgDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.ArgDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.ArgDef 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 OpDef.ArgDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.ArgDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.ArgDef parseFrom(InputStream input) throws IOException
IOException
public static OpDef.ArgDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OpDef.ArgDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OpDef.ArgDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OpDef.ArgDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static OpDef.ArgDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OpDef.ArgDef.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static OpDef.ArgDef.Builder newBuilder()
public static OpDef.ArgDef.Builder newBuilder(OpDef.ArgDef prototype)
public OpDef.ArgDef.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected OpDef.ArgDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static OpDef.ArgDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<OpDef.ArgDef> parser()
public com.github.os72.protobuf351.Parser<OpDef.ArgDef> 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 OpDef.ArgDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2019. All rights reserved.