Class ModelMonitoringAnomaly.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringAnomaly.Builder>
com.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.Builder
All Implemented Interfaces:
ModelMonitoringAnomalyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ModelMonitoringAnomaly

public static final class ModelMonitoringAnomaly.Builder extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringAnomaly.Builder> implements ModelMonitoringAnomalyOrBuilder
 Represents a single model monitoring anomaly.
 
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringAnomaly.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.GeneratedMessage.Builder<ModelMonitoringAnomaly.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.GeneratedMessage.Builder<ModelMonitoringAnomaly.Builder>
    • getDefaultInstanceForType

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

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

      public ModelMonitoringAnomaly buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public ModelMonitoringAnomaly.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<ModelMonitoringAnomaly.Builder>
      Throws:
      IOException
    • getAnomalyCase

      public ModelMonitoringAnomaly.AnomalyCase getAnomalyCase()
      Specified by:
      getAnomalyCase in interface ModelMonitoringAnomalyOrBuilder
    • clearAnomaly

      public ModelMonitoringAnomaly.Builder clearAnomaly()
    • hasTabularAnomaly

      public boolean hasTabularAnomaly()
       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
      Specified by:
      hasTabularAnomaly in interface ModelMonitoringAnomalyOrBuilder
      Returns:
      Whether the tabularAnomaly field is set.
    • getTabularAnomaly

      public ModelMonitoringAnomaly.TabularAnomaly getTabularAnomaly()
       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
      Specified by:
      getTabularAnomaly in interface ModelMonitoringAnomalyOrBuilder
      Returns:
      The tabularAnomaly.
    • setTabularAnomaly

       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
    • setTabularAnomaly

       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
    • mergeTabularAnomaly

       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
    • clearTabularAnomaly

      public ModelMonitoringAnomaly.Builder clearTabularAnomaly()
       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
    • getTabularAnomalyBuilder

      public ModelMonitoringAnomaly.TabularAnomaly.Builder getTabularAnomalyBuilder()
       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
    • getTabularAnomalyOrBuilder

      public ModelMonitoringAnomaly.TabularAnomalyOrBuilder getTabularAnomalyOrBuilder()
       Tabular anomaly.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
      Specified by:
      getTabularAnomalyOrBuilder in interface ModelMonitoringAnomalyOrBuilder
    • getModelMonitoringJob

      public String getModelMonitoringJob()
       Model monitoring job resource name.
       
      string model_monitoring_job = 2;
      Specified by:
      getModelMonitoringJob in interface ModelMonitoringAnomalyOrBuilder
      Returns:
      The modelMonitoringJob.
    • getModelMonitoringJobBytes

      public com.google.protobuf.ByteString getModelMonitoringJobBytes()
       Model monitoring job resource name.
       
      string model_monitoring_job = 2;
      Specified by:
      getModelMonitoringJobBytes in interface ModelMonitoringAnomalyOrBuilder
      Returns:
      The bytes for modelMonitoringJob.
    • setModelMonitoringJob

      public ModelMonitoringAnomaly.Builder setModelMonitoringJob(String value)
       Model monitoring job resource name.
       
      string model_monitoring_job = 2;
      Parameters:
      value - The modelMonitoringJob to set.
      Returns:
      This builder for chaining.
    • clearModelMonitoringJob

      public ModelMonitoringAnomaly.Builder clearModelMonitoringJob()
       Model monitoring job resource name.
       
      string model_monitoring_job = 2;
      Returns:
      This builder for chaining.
    • setModelMonitoringJobBytes

      public ModelMonitoringAnomaly.Builder setModelMonitoringJobBytes(com.google.protobuf.ByteString value)
       Model monitoring job resource name.
       
      string model_monitoring_job = 2;
      Parameters:
      value - The bytes for modelMonitoringJob to set.
      Returns:
      This builder for chaining.
    • getAlgorithm

      public String getAlgorithm()
       Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
       l_infinity.
       
      string algorithm = 3;
      Specified by:
      getAlgorithm in interface ModelMonitoringAnomalyOrBuilder
      Returns:
      The algorithm.
    • getAlgorithmBytes

      public com.google.protobuf.ByteString getAlgorithmBytes()
       Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
       l_infinity.
       
      string algorithm = 3;
      Specified by:
      getAlgorithmBytes in interface ModelMonitoringAnomalyOrBuilder
      Returns:
      The bytes for algorithm.
    • setAlgorithm

      public ModelMonitoringAnomaly.Builder setAlgorithm(String value)
       Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
       l_infinity.
       
      string algorithm = 3;
      Parameters:
      value - The algorithm to set.
      Returns:
      This builder for chaining.
    • clearAlgorithm

      public ModelMonitoringAnomaly.Builder clearAlgorithm()
       Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
       l_infinity.
       
      string algorithm = 3;
      Returns:
      This builder for chaining.
    • setAlgorithmBytes

      public ModelMonitoringAnomaly.Builder setAlgorithmBytes(com.google.protobuf.ByteString value)
       Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
       l_infinity.
       
      string algorithm = 3;
      Parameters:
      value - The bytes for algorithm to set.
      Returns:
      This builder for chaining.