Package onnx
Class Onnx.ModelProto
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- onnx.Onnx.ModelProto
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Onnx.ModelProtoOrBuilder
- Enclosing class:
- Onnx
public static final class Onnx.ModelProto extends com.google.protobuf.GeneratedMessageV3 implements Onnx.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.
Protobuf typeonnx.ModelProto
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Onnx.ModelProto.Builder
Models ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field 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<Onnx.ModelProto>
PARSER
Deprecated.static int
PRODUCER_NAME_FIELD_NUMBER
static int
PRODUCER_VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Onnx.ModelProto
getDefaultInstance()
Onnx.ModelProto
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDocString()
A human-readable documentation for this model.com.google.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this model.String
getDomain()
Domain name of the model.com.google.protobuf.ByteString
getDomainBytes()
Domain name of the model.Onnx.GraphProto
getGraph()
The parameterized graph that is evaluated to execute the model.Onnx.GraphProtoOrBuilder
getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.long
getIrVersion()
The version of the IR this model targets.Onnx.StringStringEntryProto
getMetadataProps(int index)
Named metadata values; keys should be distinct.int
getMetadataPropsCount()
Named metadata values; keys should be distinct.List<Onnx.StringStringEntryProto>
getMetadataPropsList()
Named metadata values; keys should be distinct.Onnx.StringStringEntryProtoOrBuilder
getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.List<? extends Onnx.StringStringEntryProtoOrBuilder>
getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.long
getModelVersion()
The version of the graph encoded.Onnx.OperatorSetIdProto
getOpsetImport(int index)
The OperatorSets this model relies on.int
getOpsetImportCount()
The OperatorSets this model relies on.List<Onnx.OperatorSetIdProto>
getOpsetImportList()
The OperatorSets this model relies on.Onnx.OperatorSetIdProtoOrBuilder
getOpsetImportOrBuilder(int index)
The OperatorSets this model relies on.List<? extends Onnx.OperatorSetIdProtoOrBuilder>
getOpsetImportOrBuilderList()
The OperatorSets this model relies on.com.google.protobuf.Parser<Onnx.ModelProto>
getParserForType()
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.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()
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 Onnx.ModelProto.Builder
newBuilder()
static Onnx.ModelProto.Builder
newBuilder(Onnx.ModelProto prototype)
Onnx.ModelProto.Builder
newBuilderForType()
protected Onnx.ModelProto.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Onnx.ModelProto
parseDelimitedFrom(InputStream input)
static Onnx.ModelProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.ModelProto
parseFrom(byte[] data)
static Onnx.ModelProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.ModelProto
parseFrom(com.google.protobuf.ByteString data)
static Onnx.ModelProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.ModelProto
parseFrom(com.google.protobuf.CodedInputStream input)
static Onnx.ModelProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.ModelProto
parseFrom(InputStream input)
static Onnx.ModelProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.ModelProto
parseFrom(ByteBuffer data)
static Onnx.ModelProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Onnx.ModelProto>
parser()
Onnx.ModelProto.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IR_VERSION_FIELD_NUMBER
public static final int IR_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPSET_IMPORT_FIELD_NUMBER
public static final int OPSET_IMPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODUCER_NAME_FIELD_NUMBER
public static final int PRODUCER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODUCER_VERSION_FIELD_NUMBER
public static final int PRODUCER_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODEL_VERSION_FIELD_NUMBER
public static final int MODEL_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOC_STRING_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRAPH_FIELD_NUMBER
public static final int GRAPH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_PROPS_FIELD_NUMBER
public static final int METADATA_PROPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Onnx.ModelProto> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasIrVersion
public boolean hasIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;
- Specified by:
hasIrVersion
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the irVersion field is set.
-
getIrVersion
public long getIrVersion()
The version of the IR this model targets. See Version enum above. This field MUST be present.
optional int64 ir_version = 1;
- Specified by:
getIrVersion
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The irVersion.
-
getOpsetImportList
public List<Onnx.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;
- Specified by:
getOpsetImportList
in interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImportOrBuilderList
public List<? extends Onnx.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;
- Specified by:
getOpsetImportOrBuilderList
in interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImportCount
public 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;
- Specified by:
getOpsetImportCount
in interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImport
public Onnx.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;
- Specified by:
getOpsetImport
in interfaceOnnx.ModelProtoOrBuilder
-
getOpsetImportOrBuilder
public Onnx.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;
- Specified by:
getOpsetImportOrBuilder
in interfaceOnnx.ModelProtoOrBuilder
-
hasProducerName
public 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;
- Specified by:
hasProducerName
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the producerName field is set.
-
getProducerName
public 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;
- Specified by:
getProducerName
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The producerName.
-
getProducerNameBytes
public 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;
- Specified by:
getProducerNameBytes
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The bytes for producerName.
-
hasProducerVersion
public 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;
- Specified by:
hasProducerVersion
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the producerVersion field is set.
-
getProducerVersion
public 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;
- Specified by:
getProducerVersion
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The producerVersion.
-
getProducerVersionBytes
public 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;
- Specified by:
getProducerVersionBytes
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The bytes for producerVersion.
-
hasDomain
public 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;
- Specified by:
hasDomain
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the domain field is set.
-
getDomain
public 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;
- Specified by:
getDomain
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The domain.
-
getDomainBytes
public 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;
- Specified by:
getDomainBytes
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The bytes for domain.
-
hasModelVersion
public boolean hasModelVersion()
The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;
- Specified by:
hasModelVersion
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the modelVersion field is set.
-
getModelVersion
public long getModelVersion()
The version of the graph encoded. See Version enum below.
optional int64 model_version = 5;
- Specified by:
getModelVersion
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The modelVersion.
-
hasDocString
public boolean hasDocString()
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;
- Specified by:
hasDocString
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the docString field is set.
-
getDocString
public String getDocString()
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;
- Specified by:
getDocString
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this model. Markdown is allowed.
optional string doc_string = 6;
- Specified by:
getDocStringBytes
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The bytes for docString.
-
hasGraph
public boolean hasGraph()
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;
- Specified by:
hasGraph
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- Whether the graph field is set.
-
getGraph
public Onnx.GraphProto getGraph()
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;
- Specified by:
getGraph
in interfaceOnnx.ModelProtoOrBuilder
- Returns:
- The graph.
-
getGraphOrBuilder
public Onnx.GraphProtoOrBuilder getGraphOrBuilder()
The parameterized graph that is evaluated to execute the model.
optional .onnx.GraphProto graph = 7;
- Specified by:
getGraphOrBuilder
in interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsList
public List<Onnx.StringStringEntryProto> getMetadataPropsList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsList
in interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsOrBuilderList
public List<? extends Onnx.StringStringEntryProtoOrBuilder> getMetadataPropsOrBuilderList()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsOrBuilderList
in interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsCount
public int getMetadataPropsCount()
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsCount
in interfaceOnnx.ModelProtoOrBuilder
-
getMetadataProps
public Onnx.StringStringEntryProto getMetadataProps(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataProps
in interfaceOnnx.ModelProtoOrBuilder
-
getMetadataPropsOrBuilder
public Onnx.StringStringEntryProtoOrBuilder getMetadataPropsOrBuilder(int index)
Named metadata values; keys should be distinct.
repeated .onnx.StringStringEntryProto metadata_props = 14;
- Specified by:
getMetadataPropsOrBuilder
in interfaceOnnx.ModelProtoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Onnx.ModelProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.ModelProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.ModelProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.ModelProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.ModelProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.ModelProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.ModelProto parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Onnx.ModelProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Onnx.ModelProto parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Onnx.ModelProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Onnx.ModelProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Onnx.ModelProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Onnx.ModelProto.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Onnx.ModelProto.Builder newBuilder()
-
newBuilder
public static Onnx.ModelProto.Builder newBuilder(Onnx.ModelProto prototype)
-
toBuilder
public Onnx.ModelProto.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Onnx.ModelProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Onnx.ModelProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Onnx.ModelProto> parser()
-
getParserForType
public com.google.protobuf.Parser<Onnx.ModelProto> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Onnx.ModelProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-