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 Summary
Modifier and TypeMethodDescriptionbuild()clear()If non-empty, returns the alerts in this time interval.Required.If non-empty, returns the alerts of this model monitoring job.If non-empty, returns the alerts of this objective type.The standard list page size.A page token received from a previous [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts] call.If non-empty, returns the alerts of this stats_name.If non-empty, returns the alerts in this time interval.If non-empty, returns the alerts in this time interval.If non-empty, returns the alerts in this time interval.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.If non-empty, returns the alerts of this model monitoring job.com.google.protobuf.ByteStringIf non-empty, returns the alerts of this model monitoring job.If non-empty, returns the alerts of this objective type.com.google.protobuf.ByteStringIf non-empty, returns the alerts of this objective type.intThe standard list page size.A page token received from a previous [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts] call.com.google.protobuf.ByteStringA page token received from a previous [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts] call.If non-empty, returns the alerts of this stats_name.com.google.protobuf.ByteStringIf non-empty, returns the alerts of this stats_name.booleanIf non-empty, returns the alerts in this time interval.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAlertTimeInterval(Interval value) If non-empty, returns the alerts in this time interval.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAlertTimeInterval(Interval value) If non-empty, returns the alerts in this time interval.setAlertTimeInterval(Interval.Builder builderForValue) If non-empty, returns the alerts in this time interval.setModelMonitor(String value) Required.setModelMonitorBytes(com.google.protobuf.ByteString value) Required.setModelMonitoringJob(String value) If non-empty, returns the alerts of this model monitoring job.setModelMonitoringJobBytes(com.google.protobuf.ByteString value) If non-empty, returns the alerts of this model monitoring job.setObjectiveType(String value) If non-empty, returns the alerts of this objective type.setObjectiveTypeBytes(com.google.protobuf.ByteString value) If non-empty, returns the alerts of this objective type.setPageSize(int value) The standard list page size.setPageToken(String value) A page token received from a previous [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts] call.setPageTokenBytes(com.google.protobuf.ByteString value) A page token received from a previous [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts] call.setStatsName(String value) If non-empty, returns the alerts of this stats_name.setStatsNameBytes(com.google.protobuf.ByteString value) If non-empty, returns the alerts of this stats_name.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchModelMonitoringAlertsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchModelMonitoringAlertsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchModelMonitoringAlertsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchModelMonitoringAlertsRequest.Builder>
-
mergeFrom
public SearchModelMonitoringAlertsRequest.Builder mergeFrom(SearchModelMonitoringAlertsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchModelMonitoringAlertsRequest.Builder>- Throws:
IOException
-
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:
getModelMonitorin interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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:
getModelMonitorBytesin interfaceSearchModelMonitoringAlertsRequestOrBuilder- Returns:
- The bytes for modelMonitor.
-
setModelMonitor
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
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
If non-empty, returns the alerts of this model monitoring job.
string model_monitoring_job = 2;- Specified by:
getModelMonitoringJobin interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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:
getModelMonitoringJobBytesin interfaceSearchModelMonitoringAlertsRequestOrBuilder- Returns:
- The bytes for modelMonitoringJob.
-
setModelMonitoringJob
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
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:
hasAlertTimeIntervalin interfaceSearchModelMonitoringAlertsRequestOrBuilder- Returns:
- Whether the alertTimeInterval field is set.
-
getAlertTimeInterval
If non-empty, returns the alerts in this time interval.
.google.type.Interval alert_time_interval = 3;- Specified by:
getAlertTimeIntervalin interfaceSearchModelMonitoringAlertsRequestOrBuilder- Returns:
- The alertTimeInterval.
-
setAlertTimeInterval
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
If non-empty, returns the alerts in this time interval.
.google.type.Interval alert_time_interval = 3; -
clearAlertTimeInterval
If non-empty, returns the alerts in this time interval.
.google.type.Interval alert_time_interval = 3; -
getAlertTimeIntervalBuilder
If non-empty, returns the alerts in this time interval.
.google.type.Interval alert_time_interval = 3; -
getAlertTimeIntervalOrBuilder
If non-empty, returns the alerts in this time interval.
.google.type.Interval alert_time_interval = 3;- Specified by:
getAlertTimeIntervalOrBuilderin interfaceSearchModelMonitoringAlertsRequestOrBuilder
-
getStatsName
If non-empty, returns the alerts of this stats_name.
string stats_name = 4;- Specified by:
getStatsNamein interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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:
getStatsNameBytesin interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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
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:
getObjectiveTypein interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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:
getObjectiveTypeBytesin interfaceSearchModelMonitoringAlertsRequestOrBuilder- Returns:
- The bytes for objectiveType.
-
setObjectiveType
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
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:
getPageSizein interfaceSearchModelMonitoringAlertsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
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
A page token received from a previous [ModelMonitoringService.SearchModelMonitoringAlerts][google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts] call.
string page_token = 7;- Specified by:
getPageTokenin interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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:
getPageTokenBytesin interfaceSearchModelMonitoringAlertsRequestOrBuilder- 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.
-