Class SearchModelMonitoringAlertsResponse.Builder (3.48.0)

public static final class SearchModelMonitoringAlertsResponse.Builder extends GeneratedMessageV3.Builder<SearchModelMonitoringAlertsResponse.Builder> implements SearchModelMonitoringAlertsResponseOrBuilder

Response message for ModelMonitoringService.SearchModelMonitoringAlerts.

Protobuf type google.cloud.aiplatform.v1beta1.SearchModelMonitoringAlertsResponse

Static Methods

getDescriptor()

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

Methods

addAllModelMonitoringAlerts(Iterable<? extends ModelMonitoringAlert> values)

public SearchModelMonitoringAlertsResponse.Builder addAllModelMonitoringAlerts(Iterable<? extends ModelMonitoringAlert> values)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringAlert>
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

addModelMonitoringAlerts(ModelMonitoringAlert value)

public SearchModelMonitoringAlertsResponse.Builder addModelMonitoringAlerts(ModelMonitoringAlert value)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
value ModelMonitoringAlert
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

addModelMonitoringAlerts(ModelMonitoringAlert.Builder builderForValue)

public SearchModelMonitoringAlertsResponse.Builder addModelMonitoringAlerts(ModelMonitoringAlert.Builder builderForValue)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
builderForValue ModelMonitoringAlert.Builder
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

addModelMonitoringAlerts(int index, ModelMonitoringAlert value)

public SearchModelMonitoringAlertsResponse.Builder addModelMonitoringAlerts(int index, ModelMonitoringAlert value)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameters
Name Description
index int
value ModelMonitoringAlert
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

addModelMonitoringAlerts(int index, ModelMonitoringAlert.Builder builderForValue)

public SearchModelMonitoringAlertsResponse.Builder addModelMonitoringAlerts(int index, ModelMonitoringAlert.Builder builderForValue)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameters
Name Description
index int
builderForValue ModelMonitoringAlert.Builder
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

addModelMonitoringAlertsBuilder()

public ModelMonitoringAlert.Builder addModelMonitoringAlertsBuilder()

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Returns
Type Description
ModelMonitoringAlert.Builder

addModelMonitoringAlertsBuilder(int index)

public ModelMonitoringAlert.Builder addModelMonitoringAlertsBuilder(int index)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringAlert.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchModelMonitoringAlertsResponse build()
Returns
Type Description
SearchModelMonitoringAlertsResponse

buildPartial()

public SearchModelMonitoringAlertsResponse buildPartial()
Returns
Type Description
SearchModelMonitoringAlertsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelMonitoringAlerts()

public SearchModelMonitoringAlertsResponse.Builder clearModelMonitoringAlerts()

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

clearNextPageToken()

public SearchModelMonitoringAlertsResponse.Builder clearNextPageToken()

The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringAlerts call.

string next_page_token = 3;

Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalNumberAlerts()

public SearchModelMonitoringAlertsResponse.Builder clearTotalNumberAlerts()

The total number of alerts retrieved by the requested objectives.

int64 total_number_alerts = 2;

Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchModelMonitoringAlertsResponse getDefaultInstanceForType()
Returns
Type Description
SearchModelMonitoringAlertsResponse

getDescriptorForType()

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

getModelMonitoringAlerts(int index)

public ModelMonitoringAlert getModelMonitoringAlerts(int index)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringAlert

getModelMonitoringAlertsBuilder(int index)

public ModelMonitoringAlert.Builder getModelMonitoringAlertsBuilder(int index)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringAlert.Builder

getModelMonitoringAlertsBuilderList()

public List<ModelMonitoringAlert.Builder> getModelMonitoringAlertsBuilderList()

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Returns
Type Description
List<Builder>

getModelMonitoringAlertsCount()

public int getModelMonitoringAlertsCount()

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Returns
Type Description
int

getModelMonitoringAlertsList()

public List<ModelMonitoringAlert> getModelMonitoringAlertsList()

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Returns
Type Description
List<ModelMonitoringAlert>

getModelMonitoringAlertsOrBuilder(int index)

public ModelMonitoringAlertOrBuilder getModelMonitoringAlertsOrBuilder(int index)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringAlertOrBuilder

getModelMonitoringAlertsOrBuilderList()

public List<? extends ModelMonitoringAlertOrBuilder> getModelMonitoringAlertsOrBuilderList()

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertOrBuilder>

getNextPageToken()

public String getNextPageToken()

The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringAlerts call.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringAlerts call.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalNumberAlerts()

public long getTotalNumberAlerts()

The total number of alerts retrieved by the requested objectives.

int64 total_number_alerts = 2;

Returns
Type Description
long

The totalNumberAlerts.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchModelMonitoringAlertsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeModelMonitoringAlerts(int index)

public SearchModelMonitoringAlertsResponse.Builder removeModelMonitoringAlerts(int index)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelMonitoringAlerts(int index, ModelMonitoringAlert value)

public SearchModelMonitoringAlertsResponse.Builder setModelMonitoringAlerts(int index, ModelMonitoringAlert value)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameters
Name Description
index int
value ModelMonitoringAlert
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

setModelMonitoringAlerts(int index, ModelMonitoringAlert.Builder builderForValue)

public SearchModelMonitoringAlertsResponse.Builder setModelMonitoringAlerts(int index, ModelMonitoringAlert.Builder builderForValue)

Alerts retrieved for the requested objectives. Sorted by alert time descendingly.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringAlert model_monitoring_alerts = 1;

Parameters
Name Description
index int
builderForValue ModelMonitoringAlert.Builder
Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

setNextPageToken(String value)

public SearchModelMonitoringAlertsResponse.Builder setNextPageToken(String value)

The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringAlerts call.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchModelMonitoringAlertsResponse.Builder setNextPageTokenBytes(ByteString value)

The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringAlerts call.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

This builder for chaining.

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

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

setTotalNumberAlerts(long value)

public SearchModelMonitoringAlertsResponse.Builder setTotalNumberAlerts(long value)

The total number of alerts retrieved by the requested objectives.

int64 total_number_alerts = 2;

Parameter
Name Description
value long

The totalNumberAlerts to set.

Returns
Type Description
SearchModelMonitoringAlertsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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