Package onnx

Class OnnxMl.TypeProto.Map.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.TypeProto.Map.Builder>
      • clear

        public OnnxMl.TypeProto.Map.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<OnnxMl.TypeProto.Map.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.TypeProto.Map.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

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

        public OnnxMl.TypeProto.Map.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.TypeProto.Map.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.TypeProto.Map.Builder>
      • mergeFrom

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

        public int getKeyType()
         This field MUST have a valid TensorProto.DataType value
         This field MUST be present for this version of the IR.
         This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRING
         
        int32 key_type = 1;
        Specified by:
        getKeyType in interface OnnxMl.TypeProto.MapOrBuilder
        Returns:
        The keyType.
      • setKeyType

        public OnnxMl.TypeProto.Map.Builder setKeyType​(int value)
         This field MUST have a valid TensorProto.DataType value
         This field MUST be present for this version of the IR.
         This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRING
         
        int32 key_type = 1;
        Parameters:
        value - The keyType to set.
        Returns:
        This builder for chaining.
      • clearKeyType

        public OnnxMl.TypeProto.Map.Builder clearKeyType()
         This field MUST have a valid TensorProto.DataType value
         This field MUST be present for this version of the IR.
         This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRING
         
        int32 key_type = 1;
        Returns:
        This builder for chaining.
      • hasValueType

        public boolean hasValueType()
         This field MUST be present for this version of the IR.
         
        .onnx.TypeProto value_type = 2;
        Specified by:
        hasValueType in interface OnnxMl.TypeProto.MapOrBuilder
        Returns:
        Whether the valueType field is set.
      • clearValueType

        public OnnxMl.TypeProto.Map.Builder clearValueType()
         This field MUST be present for this version of the IR.
         
        .onnx.TypeProto value_type = 2;
      • getValueTypeBuilder

        public OnnxMl.TypeProto.Builder getValueTypeBuilder()
         This field MUST be present for this version of the IR.
         
        .onnx.TypeProto value_type = 2;
      • setUnknownFields

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

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