Class Service.Scorer.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Service.Scorer.Builder>
org.mlflow.api.proto.Service.Scorer.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Service.ScorerOrBuilder
Enclosing class:
Service.Scorer

public static final class Service.Scorer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Scorer.Builder> implements Service.ScorerOrBuilder
 Scorer entity representing a scorer in the database.
 
Protobuf type mlflow.Scorer
  • 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<Service.Scorer.Builder>
    • clear

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

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

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

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

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

      public Service.Scorer.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<Service.Scorer.Builder>
    • clearField

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

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

      public Service.Scorer.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<Service.Scorer.Builder>
    • addRepeatedField

      public Service.Scorer.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<Service.Scorer.Builder>
    • mergeFrom

      public Service.Scorer.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.Scorer.Builder>
    • mergeFrom

      public Service.Scorer.Builder mergeFrom(Service.Scorer other)
    • isInitialized

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

      public Service.Scorer.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<Service.Scorer.Builder>
      Throws:
      IOException
    • hasExperimentId

      public boolean hasExperimentId()
       The experiment ID.
       
      optional int32 experiment_id = 1;
      Specified by:
      hasExperimentId in interface Service.ScorerOrBuilder
      Returns:
      Whether the experimentId field is set.
    • getExperimentId

      public int getExperimentId()
       The experiment ID.
       
      optional int32 experiment_id = 1;
      Specified by:
      getExperimentId in interface Service.ScorerOrBuilder
      Returns:
      The experimentId.
    • setExperimentId

      public Service.Scorer.Builder setExperimentId(int value)
       The experiment ID.
       
      optional int32 experiment_id = 1;
      Parameters:
      value - The experimentId to set.
      Returns:
      This builder for chaining.
    • clearExperimentId

      public Service.Scorer.Builder clearExperimentId()
       The experiment ID.
       
      optional int32 experiment_id = 1;
      Returns:
      This builder for chaining.
    • hasScorerName

      public boolean hasScorerName()
       The scorer name.
       
      optional string scorer_name = 2;
      Specified by:
      hasScorerName in interface Service.ScorerOrBuilder
      Returns:
      Whether the scorerName field is set.
    • getScorerName

      public String getScorerName()
       The scorer name.
       
      optional string scorer_name = 2;
      Specified by:
      getScorerName in interface Service.ScorerOrBuilder
      Returns:
      The scorerName.
    • getScorerNameBytes

      public com.google.protobuf.ByteString getScorerNameBytes()
       The scorer name.
       
      optional string scorer_name = 2;
      Specified by:
      getScorerNameBytes in interface Service.ScorerOrBuilder
      Returns:
      The bytes for scorerName.
    • setScorerName

      public Service.Scorer.Builder setScorerName(String value)
       The scorer name.
       
      optional string scorer_name = 2;
      Parameters:
      value - The scorerName to set.
      Returns:
      This builder for chaining.
    • clearScorerName

      public Service.Scorer.Builder clearScorerName()
       The scorer name.
       
      optional string scorer_name = 2;
      Returns:
      This builder for chaining.
    • setScorerNameBytes

      public Service.Scorer.Builder setScorerNameBytes(com.google.protobuf.ByteString value)
       The scorer name.
       
      optional string scorer_name = 2;
      Parameters:
      value - The bytes for scorerName to set.
      Returns:
      This builder for chaining.
    • hasScorerVersion

      public boolean hasScorerVersion()
       The scorer version.
       
      optional int32 scorer_version = 3;
      Specified by:
      hasScorerVersion in interface Service.ScorerOrBuilder
      Returns:
      Whether the scorerVersion field is set.
    • getScorerVersion

      public int getScorerVersion()
       The scorer version.
       
      optional int32 scorer_version = 3;
      Specified by:
      getScorerVersion in interface Service.ScorerOrBuilder
      Returns:
      The scorerVersion.
    • setScorerVersion

      public Service.Scorer.Builder setScorerVersion(int value)
       The scorer version.
       
      optional int32 scorer_version = 3;
      Parameters:
      value - The scorerVersion to set.
      Returns:
      This builder for chaining.
    • clearScorerVersion

      public Service.Scorer.Builder clearScorerVersion()
       The scorer version.
       
      optional int32 scorer_version = 3;
      Returns:
      This builder for chaining.
    • hasSerializedScorer

      public boolean hasSerializedScorer()
       The serialized scorer string.
       
      optional string serialized_scorer = 4;
      Specified by:
      hasSerializedScorer in interface Service.ScorerOrBuilder
      Returns:
      Whether the serializedScorer field is set.
    • getSerializedScorer

      public String getSerializedScorer()
       The serialized scorer string.
       
      optional string serialized_scorer = 4;
      Specified by:
      getSerializedScorer in interface Service.ScorerOrBuilder
      Returns:
      The serializedScorer.
    • getSerializedScorerBytes

      public com.google.protobuf.ByteString getSerializedScorerBytes()
       The serialized scorer string.
       
      optional string serialized_scorer = 4;
      Specified by:
      getSerializedScorerBytes in interface Service.ScorerOrBuilder
      Returns:
      The bytes for serializedScorer.
    • setSerializedScorer

      public Service.Scorer.Builder setSerializedScorer(String value)
       The serialized scorer string.
       
      optional string serialized_scorer = 4;
      Parameters:
      value - The serializedScorer to set.
      Returns:
      This builder for chaining.
    • clearSerializedScorer

      public Service.Scorer.Builder clearSerializedScorer()
       The serialized scorer string.
       
      optional string serialized_scorer = 4;
      Returns:
      This builder for chaining.
    • setSerializedScorerBytes

      public Service.Scorer.Builder setSerializedScorerBytes(com.google.protobuf.ByteString value)
       The serialized scorer string.
       
      optional string serialized_scorer = 4;
      Parameters:
      value - The bytes for serializedScorer to set.
      Returns:
      This builder for chaining.
    • hasCreationTime

      public boolean hasCreationTime()
       The creation time of the scorer version (in milliseconds since epoch).
       
      optional int64 creation_time = 5;
      Specified by:
      hasCreationTime in interface Service.ScorerOrBuilder
      Returns:
      Whether the creationTime field is set.
    • getCreationTime

      public long getCreationTime()
       The creation time of the scorer version (in milliseconds since epoch).
       
      optional int64 creation_time = 5;
      Specified by:
      getCreationTime in interface Service.ScorerOrBuilder
      Returns:
      The creationTime.
    • setCreationTime

      public Service.Scorer.Builder setCreationTime(long value)
       The creation time of the scorer version (in milliseconds since epoch).
       
      optional int64 creation_time = 5;
      Parameters:
      value - The creationTime to set.
      Returns:
      This builder for chaining.
    • clearCreationTime

      public Service.Scorer.Builder clearCreationTime()
       The creation time of the scorer version (in milliseconds since epoch).
       
      optional int64 creation_time = 5;
      Returns:
      This builder for chaining.
    • hasScorerId

      public boolean hasScorerId()
       The unique identifier for the scorer.
       
      optional string scorer_id = 6;
      Specified by:
      hasScorerId in interface Service.ScorerOrBuilder
      Returns:
      Whether the scorerId field is set.
    • getScorerId

      public String getScorerId()
       The unique identifier for the scorer.
       
      optional string scorer_id = 6;
      Specified by:
      getScorerId in interface Service.ScorerOrBuilder
      Returns:
      The scorerId.
    • getScorerIdBytes

      public com.google.protobuf.ByteString getScorerIdBytes()
       The unique identifier for the scorer.
       
      optional string scorer_id = 6;
      Specified by:
      getScorerIdBytes in interface Service.ScorerOrBuilder
      Returns:
      The bytes for scorerId.
    • setScorerId

      public Service.Scorer.Builder setScorerId(String value)
       The unique identifier for the scorer.
       
      optional string scorer_id = 6;
      Parameters:
      value - The scorerId to set.
      Returns:
      This builder for chaining.
    • clearScorerId

      public Service.Scorer.Builder clearScorerId()
       The unique identifier for the scorer.
       
      optional string scorer_id = 6;
      Returns:
      This builder for chaining.
    • setScorerIdBytes

      public Service.Scorer.Builder setScorerIdBytes(com.google.protobuf.ByteString value)
       The unique identifier for the scorer.
       
      optional string scorer_id = 6;
      Parameters:
      value - The bytes for scorerId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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