Package onnx

Class OnnxMl.OperatorSetIdProto.Builder

    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>
      • getDefaultInstanceForType

        public OnnxMl.OperatorSetIdProto getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public OnnxMl.OperatorSetIdProto build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public OnnxMl.OperatorSetIdProto buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • setRepeatedField

        public OnnxMl.OperatorSetIdProto.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>
      • addRepeatedField

        public OnnxMl.OperatorSetIdProto.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                  Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>
      • mergeFrom

        public OnnxMl.OperatorSetIdProto.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                           org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.OperatorSetIdProto.Builder>
        Throws:
        IOException
      • 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.
         
        string domain = 1;
        Specified by:
        getDomain in interface OnnxMl.OperatorSetIdProtoOrBuilder
        Returns:
        The domain.
      • getDomainBytes

        public org.nd4j.shade.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.
         
        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.
         
        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.
         
        string domain = 1;
        Returns:
        This builder for chaining.
      • setDomainBytes

        public OnnxMl.OperatorSetIdProto.Builder setDomainBytes​(org.nd4j.shade.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.
         
        string domain = 1;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • getVersion

        public long getVersion()
         The version of the operator set being identified.
         This field MUST be present in this version of the IR.
         
        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.
         
        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.
         
        int64 version = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OnnxMl.OperatorSetIdProto.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>
      • mergeUnknownFields

        public final OnnxMl.OperatorSetIdProto.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.OperatorSetIdProto.Builder>