Class Service.LogModel.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, Service.LogModelOrBuilder
    Enclosing class:
    Service.LogModel

    public static final class Service.LogModel.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
    implements Service.LogModelOrBuilder
    Protobuf type mlflow.LogModel
    • Method Detail

      • 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<Service.LogModel.Builder>
      • clear

        public Service.LogModel.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<Service.LogModel.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<Service.LogModel.Builder>
      • getDefaultInstanceForType

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

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

        public Service.LogModel buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Service.LogModel.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<Service.LogModel.Builder>
      • setField

        public Service.LogModel.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
      • clearField

        public Service.LogModel.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<Service.LogModel.Builder>
      • clearOneof

        public Service.LogModel.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<Service.LogModel.Builder>
      • setRepeatedField

        public Service.LogModel.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
      • addRepeatedField

        public Service.LogModel.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
      • mergeFrom

        public Service.LogModel.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<Service.LogModel.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
      • mergeFrom

        public Service.LogModel.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.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<Service.LogModel.Builder>
        Throws:
        java.io.IOException
      • hasRunId

        public boolean hasRunId()
         ID of the run to log under
         
        optional string run_id = 1;
        Specified by:
        hasRunId in interface Service.LogModelOrBuilder
        Returns:
        Whether the runId field is set.
      • getRunId

        public java.lang.String getRunId()
         ID of the run to log under
         
        optional string run_id = 1;
        Specified by:
        getRunId in interface Service.LogModelOrBuilder
        Returns:
        The runId.
      • getRunIdBytes

        public com.google.protobuf.ByteString getRunIdBytes()
         ID of the run to log under
         
        optional string run_id = 1;
        Specified by:
        getRunIdBytes in interface Service.LogModelOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public Service.LogModel.Builder setRunId​(java.lang.String value)
         ID of the run to log under
         
        optional string run_id = 1;
        Parameters:
        value - The runId to set.
        Returns:
        This builder for chaining.
      • clearRunId

        public Service.LogModel.Builder clearRunId()
         ID of the run to log under
         
        optional string run_id = 1;
        Returns:
        This builder for chaining.
      • setRunIdBytes

        public Service.LogModel.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
         ID of the run to log under
         
        optional string run_id = 1;
        Parameters:
        value - The bytes for runId to set.
        Returns:
        This builder for chaining.
      • hasModelJson

        public boolean hasModelJson()
         MLmodel file in json format.
         
        optional string model_json = 2;
        Specified by:
        hasModelJson in interface Service.LogModelOrBuilder
        Returns:
        Whether the modelJson field is set.
      • getModelJson

        public java.lang.String getModelJson()
         MLmodel file in json format.
         
        optional string model_json = 2;
        Specified by:
        getModelJson in interface Service.LogModelOrBuilder
        Returns:
        The modelJson.
      • getModelJsonBytes

        public com.google.protobuf.ByteString getModelJsonBytes()
         MLmodel file in json format.
         
        optional string model_json = 2;
        Specified by:
        getModelJsonBytes in interface Service.LogModelOrBuilder
        Returns:
        The bytes for modelJson.
      • setModelJson

        public Service.LogModel.Builder setModelJson​(java.lang.String value)
         MLmodel file in json format.
         
        optional string model_json = 2;
        Parameters:
        value - The modelJson to set.
        Returns:
        This builder for chaining.
      • clearModelJson

        public Service.LogModel.Builder clearModelJson()
         MLmodel file in json format.
         
        optional string model_json = 2;
        Returns:
        This builder for chaining.
      • setModelJsonBytes

        public Service.LogModel.Builder setModelJsonBytes​(com.google.protobuf.ByteString value)
         MLmodel file in json format.
         
        optional string model_json = 2;
        Parameters:
        value - The bytes for modelJson to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Service.LogModel.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<Service.LogModel.Builder>
      • mergeUnknownFields

        public final Service.LogModel.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<Service.LogModel.Builder>