Package onnx

Class Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>
      • clear

        public Onnx.TypeProto.Optional.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>
      • getDefaultInstanceForType

        public Onnx.TypeProto.Optional getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public Onnx.TypeProto.Optional 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 Onnx.TypeProto.Optional buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public Onnx.TypeProto.Optional.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Optional.Builder>
      • clearField

        public Onnx.TypeProto.Optional.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Optional.Builder>
      • clearOneof

        public Onnx.TypeProto.Optional.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Optional.Builder>
      • setRepeatedField

        public Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>
      • addRepeatedField

        public Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>
      • mergeFrom

        public Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>
        Throws:
        IOException
      • hasElemType

        public boolean hasElemType()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
        Specified by:
        hasElemType in interface Onnx.TypeProto.OptionalOrBuilder
        Returns:
        Whether the elemType field is set.
      • getElemType

        public Onnx.TypeProto getElemType()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
        Specified by:
        getElemType in interface Onnx.TypeProto.OptionalOrBuilder
        Returns:
        The elemType.
      • setElemType

        public Onnx.TypeProto.Optional.Builder setElemType​(Onnx.TypeProto value)
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
      • setElemType

        public Onnx.TypeProto.Optional.Builder setElemType​(Onnx.TypeProto.Builder builderForValue)
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
      • mergeElemType

        public Onnx.TypeProto.Optional.Builder mergeElemType​(Onnx.TypeProto value)
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
      • clearElemType

        public Onnx.TypeProto.Optional.Builder clearElemType()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
      • getElemTypeBuilder

        public Onnx.TypeProto.Builder getElemTypeBuilder()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
      • setUnknownFields

        public final Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>
      • mergeUnknownFields

        public final Onnx.TypeProto.Optional.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<Onnx.TypeProto.Optional.Builder>