Package ai.onnx.proto

Class OnnxMl.OperatorSetIdProto.Builder

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

public static final class OnnxMl.OperatorSetIdProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder> implements OnnxMl.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<OnnxMl.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<OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • getDefaultInstanceForType

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

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

      public OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • setField

      public OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • clearField

      public OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • clearOneof

      public OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • setRepeatedField

      public OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • addRepeatedField

      public OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • mergeFrom

      public OnnxMl.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<OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • mergeFrom

      public OnnxMl.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<OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.OperatorSetIdProtoOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      public OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.OperatorSetIdProtoOrBuilder
      Returns:
      The version.
    • setVersion

      public OnnxMl.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 OnnxMl.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 OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>
    • mergeUnknownFields

      public final OnnxMl.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<OnnxMl.OperatorSetIdProto.Builder>