public static final class OnnxOperatorsProto3.OperatorProto.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder> implements OnnxOperatorsProto3.OperatorProtoOrBuilder
An OperatorProto represents the immutable specification of the signature
and semantics of an operator.
Operators are declared as part of an OperatorSet, which also defines the
domain name for the set.
Operators are uniquely identified by a three part identifier
(domain, op_type, since_version)
where
*domain* is the domain of an operator set that
contains this operator specification.
*op_type* is the name of the operator as referenced by a
NodeProto.op_type
*since_version* is the version of the operator set that
this operator was initially declared in.
Protobuf type onnx.OperatorProto| Modifier and Type | Method and Description |
|---|---|
OnnxOperatorsProto3.OperatorProto.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxOperatorsProto3.OperatorProto |
build() |
OnnxOperatorsProto3.OperatorProto |
buildPartial() |
OnnxOperatorsProto3.OperatorProto.Builder |
clear() |
OnnxOperatorsProto3.OperatorProto.Builder |
clearDocString()
A human-readable documentation for this operator.
|
OnnxOperatorsProto3.OperatorProto.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
OnnxOperatorsProto3.OperatorProto.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
OnnxOperatorsProto3.OperatorProto.Builder |
clearOpType()
The name of the operator within a domain.
|
OnnxOperatorsProto3.OperatorProto.Builder |
clearSinceVersion()
The version of the operator set that first introduced this
operator.
|
OnnxOperatorsProto3.OperatorProto.Builder |
clearStatus()
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
OnnxOperatorsProto3.OperatorProto.Builder |
clone() |
OnnxOperatorsProto3.OperatorProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocString()
A human-readable documentation for this operator.
|
com.github.os72.protobuf351.ByteString |
getDocStringBytes()
A human-readable documentation for this operator.
|
String |
getOpType()
The name of the operator within a domain.
|
com.github.os72.protobuf351.ByteString |
getOpTypeBytes()
The name of the operator within a domain.
|
long |
getSinceVersion()
The version of the operator set that first introduced this
operator.
|
OnnxOperatorsProto3.OperatorProto.OperatorStatus |
getStatus()
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
int |
getStatusValue()
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxOperatorsProto3.OperatorProto.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
OnnxOperatorsProto3.OperatorProto.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
OnnxOperatorsProto3.OperatorProto.Builder |
mergeFrom(OnnxOperatorsProto3.OperatorProto other) |
OnnxOperatorsProto3.OperatorProto.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
OnnxOperatorsProto3.OperatorProto.Builder |
setDocString(String value)
A human-readable documentation for this operator.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setDocStringBytes(com.github.os72.protobuf351.ByteString value)
A human-readable documentation for this operator.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxOperatorsProto3.OperatorProto.Builder |
setOpType(String value)
The name of the operator within a domain.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setOpTypeBytes(com.github.os72.protobuf351.ByteString value)
The name of the operator within a domain.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxOperatorsProto3.OperatorProto.Builder |
setSinceVersion(long value)
The version of the operator set that first introduced this
operator.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setStatus(OnnxOperatorsProto3.OperatorProto.OperatorStatus value)
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setStatusValue(int value)
This field indicates whether the syntax, semantics, or presence
of this operator is in an experimental or stable stage.
|
OnnxOperatorsProto3.OperatorProto.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic OnnxOperatorsProto3.OperatorProto build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic OnnxOperatorsProto3.OperatorProto buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic OnnxOperatorsProto3.OperatorProto.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder mergeFrom(OnnxOperatorsProto3.OperatorProto other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public OnnxOperatorsProto3.OperatorProto.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxOperatorsProto3.OperatorProto.Builder>IOExceptionpublic String getOpType()
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;getOpType in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getOpTypeBytes()
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;getOpTypeBytes in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic OnnxOperatorsProto3.OperatorProto.Builder setOpType(String value)
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;public OnnxOperatorsProto3.OperatorProto.Builder clearOpType()
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;public OnnxOperatorsProto3.OperatorProto.Builder setOpTypeBytes(com.github.os72.protobuf351.ByteString value)
The name of the operator within a domain. This field MUST be present in this version of the IR.
string op_type = 1;public long getSinceVersion()
The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.
int64 since_version = 2;getSinceVersion in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic OnnxOperatorsProto3.OperatorProto.Builder setSinceVersion(long value)
The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.
int64 since_version = 2;public OnnxOperatorsProto3.OperatorProto.Builder clearSinceVersion()
The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.
int64 since_version = 2;public int getStatusValue()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorProto.OperatorStatus status = 3;getStatusValue in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic OnnxOperatorsProto3.OperatorProto.Builder setStatusValue(int value)
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorProto.OperatorStatus status = 3;public OnnxOperatorsProto3.OperatorProto.OperatorStatus getStatus()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorProto.OperatorStatus status = 3;getStatus in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic OnnxOperatorsProto3.OperatorProto.Builder setStatus(OnnxOperatorsProto3.OperatorProto.OperatorStatus value)
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorProto.OperatorStatus status = 3;public OnnxOperatorsProto3.OperatorProto.Builder clearStatus()
This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.
.onnx.OperatorProto.OperatorStatus status = 3;public String getDocString()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;getDocString in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;getDocStringBytes in interface OnnxOperatorsProto3.OperatorProtoOrBuilderpublic OnnxOperatorsProto3.OperatorProto.Builder setDocString(String value)
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;public OnnxOperatorsProto3.OperatorProto.Builder clearDocString()
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;public OnnxOperatorsProto3.OperatorProto.Builder setDocStringBytes(com.github.os72.protobuf351.ByteString value)
A human-readable documentation for this operator. Markdown is allowed.
string doc_string = 10;public final OnnxOperatorsProto3.OperatorProto.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>public final OnnxOperatorsProto3.OperatorProto.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxOperatorsProto3.OperatorProto.Builder>Copyright © 2018. All rights reserved.