public static final class OnnxMl.ModelProto extends com.google.protobuf.GeneratedMessageV3 implements OnnxMl.ModelProtoOrBuilder
Models ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata. The semantics of the model are described by the associated GraphProto's.Protobuf type
onnx.ModelProto| Modifier and Type | Class and Description |
|---|---|
static class |
OnnxMl.ModelProto.Builder
Models
ModelProto is a top-level file/container format for bundling a ML model and
associating its computation graph with metadata.
|
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 |
DOC_STRING_FIELD_NUMBER |
static int |
DOMAIN_FIELD_NUMBER |
static int |
GRAPH_FIELD_NUMBER |
static int |
IR_VERSION_FIELD_NUMBER |
static int |
METADATA_PROPS_FIELD_NUMBER |
static int |
MODEL_VERSION_FIELD_NUMBER |
static int |
OPSET_IMPORT_FIELD_NUMBER |
static com.google.protobuf.Parser<OnnxMl.ModelProto> |
PARSER
Deprecated.
|
static int |
PRODUCER_NAME_FIELD_NUMBER |
static int |
PRODUCER_VERSION_FIELD_NUMBER |
static int |
TRAINING_INFO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static OnnxMl.ModelProto |
getDefaultInstance() |
OnnxMl.ModelProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDocString()
A human-readable documentation for this model.
|
com.google.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this model.
|
java.lang.String |
getDomain()
Domain name of the model.
|
com.google.protobuf.ByteString |
getDomainBytes()
Domain name of the model.
|
OnnxMl.GraphProto |
getGraph()
The parameterized graph that is evaluated to execute the model.
|
OnnxMl.GraphProtoOrBuilder |
getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
|
long |
getIrVersion()
The version of the IR this model targets.
|
OnnxMl.StringStringEntryProto |
getMetadataProps(int index)
Named metadata values; keys should be distinct.
|
int |
getMetadataPropsCount()
Named metadata values; keys should be distinct.
|
java.util.List<OnnxMl.StringStringEntryProto> |
getMetadataPropsList()
Named metadata values; keys should be distinct.
|
OnnxMl.StringStringEntryProtoOrBuilder |
getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
|
java.util.List<? extends OnnxMl.StringStringEntryProtoOrBuilder> |
getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
|
long |
getModelVersion()
The version of the graph encoded.
|
OnnxMl.OperatorSetIdProto |
getOpsetImport(int index)
The OperatorSets this model relies on.
|
int |
getOpsetImportCount()
The OperatorSets this model relies on.
|
java.util.List<OnnxMl.OperatorSetIdProto> |
getOpsetImportList()
The OperatorSets this model relies on.
|
OnnxMl.OperatorSetIdProtoOrBuilder |
getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on.
|
java.util.List<? extends OnnxMl.OperatorSetIdProtoOrBuilder> |
getOpsetImportOrBuilderList()
The OperatorSets this model relies on.
|
com.google.protobuf.Parser<OnnxMl.ModelProto> |
getParserForType() |
java.lang.String |
getProducerName()
The name of the framework or tool used to generate this model.
|
com.google.protobuf.ByteString |
getProducerNameBytes()
The name of the framework or tool used to generate this model.
|
java.lang.String |
getProducerVersion()
The version of the framework or tool used to generate this model.
|
com.google.protobuf.ByteString |
getProducerVersionBytes()
The version of the framework or tool used to generate this model.
|
int |
getSerializedSize() |
OnnxMl.TrainingInfoProto |
getTrainingInfo(int index)
Training-specific information.
|
int |
getTrainingInfoCount()
Training-specific information.
|
java.util.List<OnnxMl.TrainingInfoProto> |
getTrainingInfoList()
Training-specific information.
|
OnnxMl.TrainingInfoProtoOrBuilder |
getTrainingInfoOrBuilder(int index)
Training-specific information.
|
java.util.List<? extends OnnxMl.TrainingInfoProtoOrBuilder> |
getTrainingInfoOrBuilderList()
Training-specific information.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDocString()
A human-readable documentation for this model.
|
boolean |
hasDomain()
Domain name of the model.
|
boolean |
hasGraph()
The parameterized graph that is evaluated to execute the model.
|
int |
hashCode() |
boolean |
hasIrVersion()
The version of the IR this model targets.
|
boolean |
hasModelVersion()
The version of the graph encoded.
|
boolean |
hasProducerName()
The name of the framework or tool used to generate this model.
|
boolean |
hasProducerVersion()
The version of the framework or tool used to generate this model.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OnnxMl.ModelProto.Builder |
newBuilder() |
static OnnxMl.ModelProto.Builder |
newBuilder(OnnxMl.ModelProto prototype) |
OnnxMl.ModelProto.Builder |
newBuilderForType() |
protected OnnxMl.ModelProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OnnxMl.ModelProto |
parseDelimitedFrom(java.io.InputStream input) |
static OnnxMl.ModelProto |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.ModelProto |
parseFrom(byte[] data) |
static OnnxMl.ModelProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.ModelProto |
parseFrom(java.nio.ByteBuffer data) |
static OnnxMl.ModelProto |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.ModelProto |
parseFrom(com.google.protobuf.ByteString data) |
static OnnxMl.ModelProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.ModelProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OnnxMl.ModelProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OnnxMl.ModelProto |
parseFrom(java.io.InputStream input) |
static OnnxMl.ModelProto |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OnnxMl.ModelProto> |
parser() |
OnnxMl.ModelProto.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 IR_VERSION_FIELD_NUMBER
public static final int OPSET_IMPORT_FIELD_NUMBER
public static final int PRODUCER_NAME_FIELD_NUMBER
public static final int PRODUCER_VERSION_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
public static final int MODEL_VERSION_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER
public static final int GRAPH_FIELD_NUMBER
public static final int METADATA_PROPS_FIELD_NUMBER
public static final int TRAINING_INFO_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OnnxMl.ModelProto> 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 boolean hasIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;hasIrVersion in interface OnnxMl.ModelProtoOrBuilderpublic long getIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;getIrVersion in interface OnnxMl.ModelProtoOrBuilderpublic java.util.List<OnnxMl.OperatorSetIdProto> getOpsetImportList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;getOpsetImportList in interface OnnxMl.ModelProtoOrBuilderpublic java.util.List<? extends OnnxMl.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;getOpsetImportOrBuilderList in interface OnnxMl.ModelProtoOrBuilderpublic int getOpsetImportCount()
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;getOpsetImportCount in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.OperatorSetIdProto getOpsetImport(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;getOpsetImport in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
repeated .onnx.OperatorSetIdProto opset_import = 8;getOpsetImportOrBuilder in interface OnnxMl.ModelProtoOrBuilderpublic boolean hasProducerName()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
optional string producer_name = 2;hasProducerName in interface OnnxMl.ModelProtoOrBuilderpublic java.lang.String getProducerName()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
optional string producer_name = 2;getProducerName in interface OnnxMl.ModelProtoOrBuilderpublic com.google.protobuf.ByteString getProducerNameBytes()
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
optional string producer_name = 2;getProducerNameBytes in interface OnnxMl.ModelProtoOrBuilderpublic boolean hasProducerVersion()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
optional string producer_version = 3;hasProducerVersion in interface OnnxMl.ModelProtoOrBuilderpublic java.lang.String getProducerVersion()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
optional string producer_version = 3;getProducerVersion in interface OnnxMl.ModelProtoOrBuilderpublic com.google.protobuf.ByteString getProducerVersionBytes()
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
optional string producer_version = 3;getProducerVersionBytes in interface OnnxMl.ModelProtoOrBuilderpublic boolean hasDomain()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
optional string domain = 4;hasDomain in interface OnnxMl.ModelProtoOrBuilderpublic java.lang.String getDomain()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
optional string domain = 4;getDomain in interface OnnxMl.ModelProtoOrBuilderpublic com.google.protobuf.ByteString getDomainBytes()
Domain name of the model. We use reverse domain names as name space indicators. For example: `com.facebook.fair` or `com.microsoft.cognitiveservices` Together with `model_version` and GraphProto.name, this forms the unique identity of the graph.
optional string domain = 4;getDomainBytes in interface OnnxMl.ModelProtoOrBuilderpublic boolean hasModelVersion()
The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;hasModelVersion in interface OnnxMl.ModelProtoOrBuilderpublic long getModelVersion()
The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;getModelVersion in interface OnnxMl.ModelProtoOrBuilderpublic boolean hasDocString()
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;hasDocString in interface OnnxMl.ModelProtoOrBuilderpublic java.lang.String getDocString()
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;getDocString in interface OnnxMl.ModelProtoOrBuilderpublic com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;getDocStringBytes in interface OnnxMl.ModelProtoOrBuilderpublic boolean hasGraph()
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;hasGraph in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;getGraph in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;getGraphOrBuilder in interface OnnxMl.ModelProtoOrBuilderpublic java.util.List<OnnxMl.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsList in interface OnnxMl.ModelProtoOrBuilderpublic java.util.List<? extends OnnxMl.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsOrBuilderList in interface OnnxMl.ModelProtoOrBuilderpublic int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsCount in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataProps in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;getMetadataPropsOrBuilder in interface OnnxMl.ModelProtoOrBuilderpublic java.util.List<OnnxMl.TrainingInfoProto> getTrainingInfoList()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;getTrainingInfoList in interface OnnxMl.ModelProtoOrBuilderpublic java.util.List<? extends OnnxMl.TrainingInfoProtoOrBuilder> getTrainingInfoOrBuilderList()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;getTrainingInfoOrBuilderList in interface OnnxMl.ModelProtoOrBuilderpublic int getTrainingInfoCount()
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;getTrainingInfoCount in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.TrainingInfoProto getTrainingInfo(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;getTrainingInfo in interface OnnxMl.ModelProtoOrBuilderpublic OnnxMl.TrainingInfoProtoOrBuilder getTrainingInfoOrBuilder(int index)
Training-specific information. Sequentially executing all stored `TrainingInfoProto.algorithm`s and assigning their outputs following the corresponding `TrainingInfoProto.update_binding`s is one training iteration. Similarly, to initialize the model (as if training hasn't happened), the user should sequentially execute all stored `TrainingInfoProto.initialization`s and assigns their outputs using `TrainingInfoProto.initialization_binding`s. If this field is empty, the training behavior of the model is undefined.
repeated .onnx.TrainingInfoProto training_info = 20;getTrainingInfoOrBuilder in interface OnnxMl.ModelProtoOrBuilderpublic 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.ModelProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.ModelProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.ModelProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.ModelProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.ModelProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.ModelProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OnnxMl.ModelProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.ModelProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.ModelProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.ModelProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.ModelProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OnnxMl.ModelProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic OnnxMl.ModelProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OnnxMl.ModelProto.Builder newBuilder()
public static OnnxMl.ModelProto.Builder newBuilder(OnnxMl.ModelProto prototype)
public OnnxMl.ModelProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OnnxMl.ModelProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OnnxMl.ModelProto getDefaultInstance()
public static com.google.protobuf.Parser<OnnxMl.ModelProto> parser()
public com.google.protobuf.Parser<OnnxMl.ModelProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OnnxMl.ModelProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder