Package onnx

Class Onnx.OperatorSetIdProto.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
onnx.Onnx.OperatorSetIdProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Onnx.OperatorSetIdProtoOrBuilder
Enclosing class:
Onnx.OperatorSetIdProto

public static final class Onnx.OperatorSetIdProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder> implements Onnx.OperatorSetIdProtoOrBuilder
 Operator Sets
 OperatorSets are uniquely identified by a (domain, opset_version) pair.
 
Protobuf type onnx.OperatorSetIdProto
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • getDefaultInstanceForType

      public Onnx.OperatorSetIdProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Onnx.OperatorSetIdProto build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Onnx.OperatorSetIdProto buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • setField

      public Onnx.OperatorSetIdProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • clearField

      public Onnx.OperatorSetIdProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • clearOneof

      public Onnx.OperatorSetIdProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • setRepeatedField

      public Onnx.OperatorSetIdProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • addRepeatedField

      public Onnx.OperatorSetIdProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • mergeFrom

      public Onnx.OperatorSetIdProto.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Onnx.OperatorSetIdProto.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • mergeFrom

      public Onnx.OperatorSetIdProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Onnx.OperatorSetIdProto.Builder>
      Throws:
      IOException
    • hasDomain

      public boolean hasDomain()
       The domain of the operator set being identified.
       The empty string ("") or absence of this field implies the operator
       set that is defined as part of the ONNX specification.
       This field MUST be present in this version of the IR when referring to any other operator set.
       
      optional string domain = 1;
      Specified by:
      hasDomain in interface Onnx.OperatorSetIdProtoOrBuilder
      Returns:
      Whether the domain field is set.
    • getDomain

      public String getDomain()
       The domain of the operator set being identified.
       The empty string ("") or absence of this field implies the operator
       set that is defined as part of the ONNX specification.
       This field MUST be present in this version of the IR when referring to any other operator set.
       
      optional string domain = 1;
      Specified by:
      getDomain in interface Onnx.OperatorSetIdProtoOrBuilder
      Returns:
      The domain.
    • getDomainBytes

      public com.google.protobuf.ByteString getDomainBytes()
       The domain of the operator set being identified.
       The empty string ("") or absence of this field implies the operator
       set that is defined as part of the ONNX specification.
       This field MUST be present in this version of the IR when referring to any other operator set.
       
      optional string domain = 1;
      Specified by:
      getDomainBytes in interface Onnx.OperatorSetIdProtoOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      public Onnx.OperatorSetIdProto.Builder setDomain(String value)
       The domain of the operator set being identified.
       The empty string ("") or absence of this field implies the operator
       set that is defined as part of the ONNX specification.
       This field MUST be present in this version of the IR when referring to any other operator set.
       
      optional string domain = 1;
      Parameters:
      value - The domain to set.
      Returns:
      This builder for chaining.
    • clearDomain

      public Onnx.OperatorSetIdProto.Builder clearDomain()
       The domain of the operator set being identified.
       The empty string ("") or absence of this field implies the operator
       set that is defined as part of the ONNX specification.
       This field MUST be present in this version of the IR when referring to any other operator set.
       
      optional string domain = 1;
      Returns:
      This builder for chaining.
    • setDomainBytes

      public Onnx.OperatorSetIdProto.Builder setDomainBytes(com.google.protobuf.ByteString value)
       The domain of the operator set being identified.
       The empty string ("") or absence of this field implies the operator
       set that is defined as part of the ONNX specification.
       This field MUST be present in this version of the IR when referring to any other operator set.
       
      optional string domain = 1;
      Parameters:
      value - The bytes for domain to set.
      Returns:
      This builder for chaining.
    • hasVersion

      public boolean hasVersion()
       The version of the operator set being identified.
       This field MUST be present in this version of the IR.
       
      optional int64 version = 2;
      Specified by:
      hasVersion in interface Onnx.OperatorSetIdProtoOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public long getVersion()
       The version of the operator set being identified.
       This field MUST be present in this version of the IR.
       
      optional int64 version = 2;
      Specified by:
      getVersion in interface Onnx.OperatorSetIdProtoOrBuilder
      Returns:
      The version.
    • setVersion

      public Onnx.OperatorSetIdProto.Builder setVersion(long value)
       The version of the operator set being identified.
       This field MUST be present in this version of the IR.
       
      optional int64 version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Onnx.OperatorSetIdProto.Builder clearVersion()
       The version of the operator set being identified.
       This field MUST be present in this version of the IR.
       
      optional int64 version = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Onnx.OperatorSetIdProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
    • mergeUnknownFields

      public final Onnx.OperatorSetIdProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>