public static final class OnnxMl.TypeProto extends com.google.protobuf.GeneratedMessageV3 implements OnnxMl.TypeProtoOrBuilder
Types The standard ONNX data types.Protobuf type
onnx.TypeProto| Modifier and Type | Class and Description |
|---|---|
static class |
OnnxMl.TypeProto.Builder
Types
The standard ONNX data types.
|
static class |
OnnxMl.TypeProto.Map
map<K,V>
|
static interface |
OnnxMl.TypeProto.MapOrBuilder |
static class |
OnnxMl.TypeProto.Opaque
Protobuf type
onnx.TypeProto.Opaque |
static interface |
OnnxMl.TypeProto.OpaqueOrBuilder |
static class |
OnnxMl.TypeProto.Sequence
repeated T
|
static interface |
OnnxMl.TypeProto.SequenceOrBuilder |
static class |
OnnxMl.TypeProto.SparseTensor
Protobuf type
onnx.TypeProto.SparseTensor |
static interface |
OnnxMl.TypeProto.SparseTensorOrBuilder |
static class |
OnnxMl.TypeProto.Tensor
Protobuf type
onnx.TypeProto.Tensor |
static interface |
OnnxMl.TypeProto.TensorOrBuilder |
static class |
OnnxMl.TypeProto.ValueCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DENOTATION_FIELD_NUMBER |
static int |
MAP_TYPE_FIELD_NUMBER |
static int |
OPAQUE_TYPE_FIELD_NUMBER |
static com.google.protobuf.Parser<OnnxMl.TypeProto> |
PARSER
Deprecated.
|
static int |
SEQUENCE_TYPE_FIELD_NUMBER |
static int |
SPARSE_TENSOR_TYPE_FIELD_NUMBER |
static int |
TENSOR_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static OnnxMl.TypeProto |
getDefaultInstance() |
OnnxMl.TypeProto |
getDefaultInstanceForType() |
java.lang.String |
getDenotation()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
com.google.protobuf.ByteString |
getDenotationBytes()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
OnnxMl.TypeProto.Map |
getMapType()
The type of a map.
|
OnnxMl.TypeProto.MapOrBuilder |
getMapTypeOrBuilder()
The type of a map.
|
OnnxMl.TypeProto.Opaque |
getOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.OpaqueOrBuilder |
getOpaqueTypeOrBuilder()
.onnx.TypeProto.Opaque opaque_type = 7; |
com.google.protobuf.Parser<OnnxMl.TypeProto> |
getParserForType() |
OnnxMl.TypeProto.Sequence |
getSequenceType()
The type of a sequence.
|
OnnxMl.TypeProto.SequenceOrBuilder |
getSequenceTypeOrBuilder()
The type of a sequence.
|
int |
getSerializedSize() |
OnnxMl.TypeProto.SparseTensor |
getSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.SparseTensorOrBuilder |
getSparseTensorTypeOrBuilder()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.Tensor |
getTensorType()
The type of a tensor.
|
OnnxMl.TypeProto.TensorOrBuilder |
getTensorTypeOrBuilder()
The type of a tensor.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
OnnxMl.TypeProto.ValueCase |
getValueCase() |
boolean |
hasDenotation()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
int |
hashCode() |
boolean |
hasMapType()
The type of a map.
|
boolean |
hasOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7; |
boolean |
hasSequenceType()
The type of a sequence.
|
boolean |
hasSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
boolean |
hasTensorType()
The type of a tensor.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxMl.TypeProto.Builder |
newBuilder() |
static OnnxMl.TypeProto.Builder |
newBuilder(OnnxMl.TypeProto prototype) |
OnnxMl.TypeProto.Builder |
newBuilderForType() |
protected OnnxMl.TypeProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OnnxMl.TypeProto |
parseDelimitedFrom(java.io.InputStream input) |
static OnnxMl.TypeProto |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.TypeProto |
parseFrom(byte[] data) |
static OnnxMl.TypeProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.TypeProto |
parseFrom(java.nio.ByteBuffer data) |
static OnnxMl.TypeProto |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.TypeProto |
parseFrom(com.google.protobuf.ByteString data) |
static OnnxMl.TypeProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.TypeProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OnnxMl.TypeProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.TypeProto |
parseFrom(java.io.InputStream input) |
static OnnxMl.TypeProto |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OnnxMl.TypeProto> |
parser() |
OnnxMl.TypeProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TENSOR_TYPE_FIELD_NUMBER
public static final int SEQUENCE_TYPE_FIELD_NUMBER
public static final int MAP_TYPE_FIELD_NUMBER
public static final int SPARSE_TENSOR_TYPE_FIELD_NUMBER
public static final int OPAQUE_TYPE_FIELD_NUMBER
public static final int DENOTATION_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OnnxMl.TypeProto> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public OnnxMl.TypeProto.ValueCase getValueCase()
getValueCase in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;hasTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Tensor getTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;getTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.TensorOrBuilder getTensorTypeOrBuilder()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;getTensorTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;hasSequenceType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Sequence getSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;getSequenceType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.SequenceOrBuilder getSequenceTypeOrBuilder()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;getSequenceTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;hasMapType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Map getMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;getMapType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.MapOrBuilder getMapTypeOrBuilder()
The type of a map.
.onnx.TypeProto.Map map_type = 5;getMapTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;hasSparseTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.SparseTensor getSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;getSparseTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.SparseTensorOrBuilder getSparseTensorTypeOrBuilder()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;getSparseTensorTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;hasOpaqueType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Opaque getOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;getOpaqueType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.OpaqueOrBuilder getOpaqueTypeOrBuilder()
.onnx.TypeProto.Opaque opaque_type = 7;getOpaqueTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasDenotation()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;hasDenotation in interface OnnxMl.TypeProtoOrBuilderpublic java.lang.String getDenotation()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;getDenotation in interface OnnxMl.TypeProtoOrBuilderpublic com.google.protobuf.ByteString getDenotationBytes()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;getDenotationBytes in interface OnnxMl.TypeProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OnnxMl.TypeProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.TypeProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.TypeProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.TypeProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.TypeProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.TypeProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.TypeProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.TypeProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.TypeProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.TypeProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.TypeProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.TypeProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic OnnxMl.TypeProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OnnxMl.TypeProto.Builder newBuilder()
public static OnnxMl.TypeProto.Builder newBuilder(OnnxMl.TypeProto prototype)
public OnnxMl.TypeProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OnnxMl.TypeProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OnnxMl.TypeProto getDefaultInstance()
public static com.google.protobuf.Parser<OnnxMl.TypeProto> parser()
public com.google.protobuf.Parser<OnnxMl.TypeProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OnnxMl.TypeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder