Package ai.onnx.proto

Class OnnxMl.TypeProto.Opaque.Builder

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

public static final class OnnxMl.TypeProto.Opaque.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Opaque.Builder> implements OnnxMl.TypeProto.OpaqueOrBuilder
Protobuf type onnx.TypeProto.Opaque
  • 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.TypeProto.Opaque.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.TypeProto.Opaque.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.TypeProto.Opaque.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public OnnxMl.TypeProto.Opaque.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.TypeProto.Opaque.Builder>
      Throws:
      IOException
    • hasDomain

      public boolean hasDomain()
       When missing, the domain is the same as the model's.
       
      optional string domain = 1;
      Specified by:
      hasDomain in interface OnnxMl.TypeProto.OpaqueOrBuilder
      Returns:
      Whether the domain field is set.
    • getDomain

      public String getDomain()
       When missing, the domain is the same as the model's.
       
      optional string domain = 1;
      Specified by:
      getDomain in interface OnnxMl.TypeProto.OpaqueOrBuilder
      Returns:
      The domain.
    • getDomainBytes

      public com.google.protobuf.ByteString getDomainBytes()
       When missing, the domain is the same as the model's.
       
      optional string domain = 1;
      Specified by:
      getDomainBytes in interface OnnxMl.TypeProto.OpaqueOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      public OnnxMl.TypeProto.Opaque.Builder setDomain(String value)
       When missing, the domain is the same as the model's.
       
      optional string domain = 1;
      Parameters:
      value - The domain to set.
      Returns:
      This builder for chaining.
    • clearDomain

      public OnnxMl.TypeProto.Opaque.Builder clearDomain()
       When missing, the domain is the same as the model's.
       
      optional string domain = 1;
      Returns:
      This builder for chaining.
    • setDomainBytes

      public OnnxMl.TypeProto.Opaque.Builder setDomainBytes(com.google.protobuf.ByteString value)
       When missing, the domain is the same as the model's.
       
      optional string domain = 1;
      Parameters:
      value - The bytes for domain to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       The name is optional but significant when provided.
       
      optional string name = 2;
      Specified by:
      hasName in interface OnnxMl.TypeProto.OpaqueOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name is optional but significant when provided.
       
      optional string name = 2;
      Specified by:
      getName in interface OnnxMl.TypeProto.OpaqueOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name is optional but significant when provided.
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface OnnxMl.TypeProto.OpaqueOrBuilder
      Returns:
      The bytes for name.
    • setName

      public OnnxMl.TypeProto.Opaque.Builder setName(String value)
       The name is optional but significant when provided.
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public OnnxMl.TypeProto.Opaque.Builder clearName()
       The name is optional but significant when provided.
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public OnnxMl.TypeProto.Opaque.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name is optional but significant when provided.
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final OnnxMl.TypeProto.Opaque.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.TypeProto.Opaque.Builder>
    • mergeUnknownFields

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