- 3.54.0 (latest)
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ModelMonitoringAlertConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder> implements ModelMonitoringAlertConfigOrBuilder
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelMonitoringAlertConfig.BuilderImplements
ModelMonitoringAlertConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllNotificationChannels(Iterable<String> values)
public ModelMonitoringAlertConfig.Builder addAllNotificationChannels(Iterable<String> values)
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The notificationChannels to add. |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
addNotificationChannels(String value)
public ModelMonitoringAlertConfig.Builder addNotificationChannels(String value)
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The notificationChannels to add. |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
addNotificationChannelsBytes(ByteString value)
public ModelMonitoringAlertConfig.Builder addNotificationChannelsBytes(ByteString value)
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the notificationChannels to add. |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ModelMonitoringAlertConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
build()
public ModelMonitoringAlertConfig build()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig |
buildPartial()
public ModelMonitoringAlertConfig buildPartial()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig |
clear()
public ModelMonitoringAlertConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
clearAlert()
public ModelMonitoringAlertConfig.Builder clearAlert()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
clearEmailAlertConfig()
public ModelMonitoringAlertConfig.Builder clearEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
clearEnableLogging()
public ModelMonitoringAlertConfig.Builder clearEnableLogging()
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
bool enable_logging = 2;
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ModelMonitoringAlertConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
clearNotificationChannels()
public ModelMonitoringAlertConfig.Builder clearNotificationChannels()
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ModelMonitoringAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
clone()
public ModelMonitoringAlertConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
getAlertCase()
public ModelMonitoringAlertConfig.AlertCase getAlertCase()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.AlertCase |
getDefaultInstanceForType()
public ModelMonitoringAlertConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEmailAlertConfig()
public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.EmailAlertConfig | The emailAlertConfig. |
getEmailAlertConfigBuilder()
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder getEmailAlertConfigBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.EmailAlertConfig.Builder |
getEmailAlertConfigOrBuilder()
public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder |
getEnableLogging()
public boolean getEnableLogging()
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
bool enable_logging = 2;
Returns | |
---|---|
Type | Description |
boolean | The enableLogging. |
getNotificationChannels(int index)
public String getNotificationChannels(int index)
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The notificationChannels at the given index. |
getNotificationChannelsBytes(int index)
public ByteString getNotificationChannelsBytes(int index)
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the notificationChannels at the given index. |
getNotificationChannelsCount()
public int getNotificationChannelsCount()
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int | The count of notificationChannels. |
getNotificationChannelsList()
public ProtocolStringList getNotificationChannelsList()
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the notificationChannels. |
hasEmailAlertConfig()
public boolean hasEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the emailAlertConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
public ModelMonitoringAlertConfig.Builder mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Parameter | |
---|---|
Name | Description |
value | ModelMonitoringAlertConfig.EmailAlertConfig |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
mergeFrom(ModelMonitoringAlertConfig other)
public ModelMonitoringAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig other)
Parameter | |
---|---|
Name | Description |
other | ModelMonitoringAlertConfig |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModelMonitoringAlertConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ModelMonitoringAlertConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModelMonitoringAlertConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Parameter | |
---|---|
Name | Description |
value | ModelMonitoringAlertConfig.EmailAlertConfig |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | ModelMonitoringAlertConfig.EmailAlertConfig.Builder |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
setEnableLogging(boolean value)
public ModelMonitoringAlertConfig.Builder setEnableLogging(boolean value)
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
bool enable_logging = 2;
Parameter | |
---|---|
Name | Description |
value | boolean The enableLogging to set. |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ModelMonitoringAlertConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
setNotificationChannels(int index, String value)
public ModelMonitoringAlertConfig.Builder setNotificationChannels(int index, String value)
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The notificationChannels to set. |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModelMonitoringAlertConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ModelMonitoringAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ModelMonitoringAlertConfig.Builder |