Class SearchModelMonitoringAlertsRequest.Builder (3.50.0)

public static final class SearchModelMonitoringAlertsRequest.Builder extends GeneratedMessageV3.Builder<SearchModelMonitoringAlertsRequest.Builder> implements SearchModelMonitoringAlertsRequestOrBuilder

Request message for ModelMonitoringService.SearchModelMonitoringAlerts.

Protobuf type google.cloud.aiplatform.v1beta1.SearchModelMonitoringAlertsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchModelMonitoringAlertsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

build()

public SearchModelMonitoringAlertsRequest build()
Returns
Type Description
SearchModelMonitoringAlertsRequest

buildPartial()

public SearchModelMonitoringAlertsRequest buildPartial()
Returns
Type Description
SearchModelMonitoringAlertsRequest

clear()

public SearchModelMonitoringAlertsRequest.Builder clear()
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

clearAlertTimeInterval()

public SearchModelMonitoringAlertsRequest.Builder clearAlertTimeInterval()

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchModelMonitoringAlertsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

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
Type Description
SearchModelMonitoringAlertsRequest.Builder

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
Type Description
SearchModelMonitoringAlertsRequest.Builder

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
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchModelMonitoringAlertsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

clearPageSize()

public SearchModelMonitoringAlertsRequest.Builder clearPageSize()

The standard list page size.

int32 page_size = 6;

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchModelMonitoringAlertsRequest.Builder clearPageToken()

A page token received from a previous ModelMonitoringService.SearchModelMonitoringAlerts call.

string page_token = 7;

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

clearStatsName()

public SearchModelMonitoringAlertsRequest.Builder clearStatsName()

If non-empty, returns the alerts of this stats_name.

string stats_name = 4;

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

clone()

public SearchModelMonitoringAlertsRequest.Builder clone()
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

getAlertTimeInterval()

public Interval getAlertTimeInterval()

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Returns
Type Description
com.google.type.Interval

The alertTimeInterval.

getAlertTimeIntervalBuilder()

public Interval.Builder getAlertTimeIntervalBuilder()

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Returns
Type Description
com.google.type.Interval.Builder

getAlertTimeIntervalOrBuilder()

public IntervalOrBuilder getAlertTimeIntervalOrBuilder()

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Returns
Type Description
com.google.type.IntervalOrBuilder

getDefaultInstanceForType()

public SearchModelMonitoringAlertsRequest getDefaultInstanceForType()
Returns
Type Description
SearchModelMonitoringAlertsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The modelMonitor.

getModelMonitorBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for modelMonitor.

getModelMonitoringJob()

public String getModelMonitoringJob()

If non-empty, returns the alerts of this model monitoring job.

string model_monitoring_job = 2;

Returns
Type Description
String

The modelMonitoringJob.

getModelMonitoringJobBytes()

public ByteString getModelMonitoringJobBytes()

If non-empty, returns the alerts of this model monitoring job.

string model_monitoring_job = 2;

Returns
Type Description
ByteString

The bytes for modelMonitoringJob.

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;

Returns
Type Description
String

The objectiveType.

getObjectiveTypeBytes()

public 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;

Returns
Type Description
ByteString

The bytes for objectiveType.

getPageSize()

public int getPageSize()

The standard list page size.

int32 page_size = 6;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token received from a previous ModelMonitoringService.SearchModelMonitoringAlerts call.

string page_token = 7;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token received from a previous ModelMonitoringService.SearchModelMonitoringAlerts call.

string page_token = 7;

Returns
Type Description
ByteString

The bytes for pageToken.

getStatsName()

public String getStatsName()

If non-empty, returns the alerts of this stats_name.

string stats_name = 4;

Returns
Type Description
String

The statsName.

getStatsNameBytes()

public ByteString getStatsNameBytes()

If non-empty, returns the alerts of this stats_name.

string stats_name = 4;

Returns
Type Description
ByteString

The bytes for statsName.

hasAlertTimeInterval()

public boolean hasAlertTimeInterval()

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Returns
Type Description
boolean

Whether the alertTimeInterval field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAlertTimeInterval(Interval value)

public SearchModelMonitoringAlertsRequest.Builder mergeAlertTimeInterval(Interval value)

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

mergeFrom(SearchModelMonitoringAlertsRequest other)

public SearchModelMonitoringAlertsRequest.Builder mergeFrom(SearchModelMonitoringAlertsRequest other)
Parameter
Name Description
other SearchModelMonitoringAlertsRequest
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchModelMonitoringAlertsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchModelMonitoringAlertsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchModelMonitoringAlertsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

setAlertTimeInterval(Interval value)

public SearchModelMonitoringAlertsRequest.Builder setAlertTimeInterval(Interval value)

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

setAlertTimeInterval(Interval.Builder builderForValue)

public SearchModelMonitoringAlertsRequest.Builder setAlertTimeInterval(Interval.Builder builderForValue)

If non-empty, returns the alerts in this time interval.

.google.type.Interval alert_time_interval = 3;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchModelMonitoringAlertsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

setModelMonitor(String value)

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) = { ... }

Parameter
Name Description
value String

The modelMonitor to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setModelMonitorBytes(ByteString value)

public SearchModelMonitoringAlertsRequest.Builder setModelMonitorBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for modelMonitor to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setModelMonitoringJob(String value)

public SearchModelMonitoringAlertsRequest.Builder setModelMonitoringJob(String value)

If non-empty, returns the alerts of this model monitoring job.

string model_monitoring_job = 2;

Parameter
Name Description
value String

The modelMonitoringJob to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setModelMonitoringJobBytes(ByteString value)

public SearchModelMonitoringAlertsRequest.Builder setModelMonitoringJobBytes(ByteString value)

If non-empty, returns the alerts of this model monitoring job.

string model_monitoring_job = 2;

Parameter
Name Description
value ByteString

The bytes for modelMonitoringJob to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setObjectiveType(String value)

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;

Parameter
Name Description
value String

The objectiveType to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setObjectiveTypeBytes(ByteString value)

public SearchModelMonitoringAlertsRequest.Builder setObjectiveTypeBytes(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;

Parameter
Name Description
value ByteString

The bytes for objectiveType to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setPageSize(int value)

public SearchModelMonitoringAlertsRequest.Builder setPageSize(int value)

The standard list page size.

int32 page_size = 6;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchModelMonitoringAlertsRequest.Builder setPageToken(String value)

A page token received from a previous ModelMonitoringService.SearchModelMonitoringAlerts call.

string page_token = 7;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchModelMonitoringAlertsRequest.Builder setPageTokenBytes(ByteString value)

A page token received from a previous ModelMonitoringService.SearchModelMonitoringAlerts call.

string page_token = 7;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchModelMonitoringAlertsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides

setStatsName(String value)

public SearchModelMonitoringAlertsRequest.Builder setStatsName(String value)

If non-empty, returns the alerts of this stats_name.

string stats_name = 4;

Parameter
Name Description
value String

The statsName to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setStatsNameBytes(ByteString value)

public SearchModelMonitoringAlertsRequest.Builder setStatsNameBytes(ByteString value)

If non-empty, returns the alerts of this stats_name.

string stats_name = 4;

Parameter
Name Description
value ByteString

The bytes for statsName to set.

Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchModelMonitoringAlertsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchModelMonitoringAlertsRequest.Builder
Overrides