Class SearchModelMonitoringAlertsRequest.Builder

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

public static final class SearchModelMonitoringAlertsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchModelMonitoringAlertsRequest.Builder> implements SearchModelMonitoringAlertsRequestOrBuilder
 Request message for
 [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts].
 
Protobuf type google.cloud.aiplatform.v1beta1.SearchModelMonitoringAlertsRequest
  • 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<SearchModelMonitoringAlertsRequest.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<SearchModelMonitoringAlertsRequest.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<SearchModelMonitoringAlertsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public SearchModelMonitoringAlertsRequest.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<SearchModelMonitoringAlertsRequest.Builder>
      Throws:
      IOException
    • getModelMonitor

      public String getModelMonitor()
       Required. ModelMonitor resource name.
       Format:
       `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`
       
      string model_monitor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getModelMonitor in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The modelMonitor.
    • getModelMonitorBytes

      public com.google.protobuf.ByteString getModelMonitorBytes()
       Required. ModelMonitor resource name.
       Format:
       `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`
       
      string model_monitor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getModelMonitorBytes in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The bytes for modelMonitor.
    • setModelMonitor

      public SearchModelMonitoringAlertsRequest.Builder setModelMonitor(String value)
       Required. ModelMonitor resource name.
       Format:
       `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`
       
      string model_monitor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The modelMonitor to set.
      Returns:
      This builder for chaining.
    • clearModelMonitor

      public SearchModelMonitoringAlertsRequest.Builder clearModelMonitor()
       Required. ModelMonitor resource name.
       Format:
       `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`
       
      string model_monitor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setModelMonitorBytes

      public SearchModelMonitoringAlertsRequest.Builder setModelMonitorBytes(com.google.protobuf.ByteString value)
       Required. ModelMonitor resource name.
       Format:
       `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`
       
      string model_monitor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for modelMonitor to set.
      Returns:
      This builder for chaining.
    • getModelMonitoringJob

      public String getModelMonitoringJob()
       If non-empty, returns the alerts of this model monitoring job.
       
      string model_monitoring_job = 2;
      Specified by:
      getModelMonitoringJob in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The modelMonitoringJob.
    • getModelMonitoringJobBytes

      public com.google.protobuf.ByteString getModelMonitoringJobBytes()
       If non-empty, returns the alerts of this model monitoring job.
       
      string model_monitoring_job = 2;
      Specified by:
      getModelMonitoringJobBytes in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The bytes for modelMonitoringJob.
    • setModelMonitoringJob

      public SearchModelMonitoringAlertsRequest.Builder setModelMonitoringJob(String value)
       If non-empty, returns the alerts of this model monitoring job.
       
      string model_monitoring_job = 2;
      Parameters:
      value - The modelMonitoringJob to set.
      Returns:
      This builder for chaining.
    • clearModelMonitoringJob

      public SearchModelMonitoringAlertsRequest.Builder clearModelMonitoringJob()
       If non-empty, returns the alerts of this model monitoring job.
       
      string model_monitoring_job = 2;
      Returns:
      This builder for chaining.
    • setModelMonitoringJobBytes

      public SearchModelMonitoringAlertsRequest.Builder setModelMonitoringJobBytes(com.google.protobuf.ByteString value)
       If non-empty, returns the alerts of this model monitoring job.
       
      string model_monitoring_job = 2;
      Parameters:
      value - The bytes for modelMonitoringJob to set.
      Returns:
      This builder for chaining.
    • hasAlertTimeInterval

      public boolean hasAlertTimeInterval()
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
      Specified by:
      hasAlertTimeInterval in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      Whether the alertTimeInterval field is set.
    • getAlertTimeInterval

      public Interval getAlertTimeInterval()
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
      Specified by:
      getAlertTimeInterval in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The alertTimeInterval.
    • setAlertTimeInterval

      public SearchModelMonitoringAlertsRequest.Builder setAlertTimeInterval(Interval value)
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
    • setAlertTimeInterval

      public SearchModelMonitoringAlertsRequest.Builder setAlertTimeInterval(Interval.Builder builderForValue)
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
    • mergeAlertTimeInterval

      public SearchModelMonitoringAlertsRequest.Builder mergeAlertTimeInterval(Interval value)
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
    • clearAlertTimeInterval

      public SearchModelMonitoringAlertsRequest.Builder clearAlertTimeInterval()
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
    • getAlertTimeIntervalBuilder

      public Interval.Builder getAlertTimeIntervalBuilder()
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
    • getAlertTimeIntervalOrBuilder

      public IntervalOrBuilder getAlertTimeIntervalOrBuilder()
       If non-empty, returns the alerts in this time interval.
       
      .google.type.Interval alert_time_interval = 3;
      Specified by:
      getAlertTimeIntervalOrBuilder in interface SearchModelMonitoringAlertsRequestOrBuilder
    • getStatsName

      public String getStatsName()
       If non-empty, returns the alerts of this stats_name.
       
      string stats_name = 4;
      Specified by:
      getStatsName in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The statsName.
    • getStatsNameBytes

      public com.google.protobuf.ByteString getStatsNameBytes()
       If non-empty, returns the alerts of this stats_name.
       
      string stats_name = 4;
      Specified by:
      getStatsNameBytes in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The bytes for statsName.
    • setStatsName

       If non-empty, returns the alerts of this stats_name.
       
      string stats_name = 4;
      Parameters:
      value - The statsName to set.
      Returns:
      This builder for chaining.
    • clearStatsName

       If non-empty, returns the alerts of this stats_name.
       
      string stats_name = 4;
      Returns:
      This builder for chaining.
    • setStatsNameBytes

      public SearchModelMonitoringAlertsRequest.Builder setStatsNameBytes(com.google.protobuf.ByteString value)
       If non-empty, returns the alerts of this stats_name.
       
      string stats_name = 4;
      Parameters:
      value - The bytes for statsName to set.
      Returns:
      This builder for chaining.
    • getObjectiveType

      public String getObjectiveType()
       If non-empty, returns the alerts of this objective type.
       Supported monitoring objectives:
       `raw-feature-drift`
       `prediction-output-drift`
       `feature-attribution`
       
      string objective_type = 5;
      Specified by:
      getObjectiveType in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The objectiveType.
    • getObjectiveTypeBytes

      public com.google.protobuf.ByteString getObjectiveTypeBytes()
       If non-empty, returns the alerts of this objective type.
       Supported monitoring objectives:
       `raw-feature-drift`
       `prediction-output-drift`
       `feature-attribution`
       
      string objective_type = 5;
      Specified by:
      getObjectiveTypeBytes in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The bytes for objectiveType.
    • setObjectiveType

      public SearchModelMonitoringAlertsRequest.Builder setObjectiveType(String value)
       If non-empty, returns the alerts of this objective type.
       Supported monitoring objectives:
       `raw-feature-drift`
       `prediction-output-drift`
       `feature-attribution`
       
      string objective_type = 5;
      Parameters:
      value - The objectiveType to set.
      Returns:
      This builder for chaining.
    • clearObjectiveType

      public SearchModelMonitoringAlertsRequest.Builder clearObjectiveType()
       If non-empty, returns the alerts of this objective type.
       Supported monitoring objectives:
       `raw-feature-drift`
       `prediction-output-drift`
       `feature-attribution`
       
      string objective_type = 5;
      Returns:
      This builder for chaining.
    • setObjectiveTypeBytes

      public SearchModelMonitoringAlertsRequest.Builder setObjectiveTypeBytes(com.google.protobuf.ByteString value)
       If non-empty, returns the alerts of this objective type.
       Supported monitoring objectives:
       `raw-feature-drift`
       `prediction-output-drift`
       `feature-attribution`
       
      string objective_type = 5;
      Parameters:
      value - The bytes for objectiveType to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The standard list page size.
       
      int32 page_size = 6;
      Specified by:
      getPageSize in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public SearchModelMonitoringAlertsRequest.Builder setPageSize(int value)
       The standard list page size.
       
      int32 page_size = 6;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       The standard list page size.
       
      int32 page_size = 6;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A page token received from a previous
       [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts]
       call.
       
      string page_token = 7;
      Specified by:
      getPageToken in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A page token received from a previous
       [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts]
       call.
       
      string page_token = 7;
      Specified by:
      getPageTokenBytes in interface SearchModelMonitoringAlertsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

       A page token received from a previous
       [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts]
       call.
       
      string page_token = 7;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       A page token received from a previous
       [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts]
       call.
       
      string page_token = 7;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public SearchModelMonitoringAlertsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A page token received from a previous
       [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts]
       call.
       
      string page_token = 7;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.