Class ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder (3.84.0)

public static final class ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder extends GeneratedMessage.Builder<ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder> implements ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder

Google Cloud Notification Channel config.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder

Static Methods

getDescriptor()

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

Methods

build()

public ModelMonitoringNotificationSpec.NotificationChannelConfig build()
Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig

buildPartial()

public ModelMonitoringNotificationSpec.NotificationChannelConfig buildPartial()
Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig

clear()

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder clear()
Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder
Overrides

clearNotificationChannel()

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder clearNotificationChannel()

Resource names of the NotificationChannels. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

string notification_channel = 1;

Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ModelMonitoringNotificationSpec.NotificationChannelConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig

getDescriptorForType()

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

getNotificationChannel()

public String getNotificationChannel()

Resource names of the NotificationChannels. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

string notification_channel = 1;

Returns
Type Description
String

The notificationChannel.

getNotificationChannelBytes()

public ByteString getNotificationChannelBytes()

Resource names of the NotificationChannels. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

string notification_channel = 1;

Returns
Type Description
ByteString

The bytes for notificationChannel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringNotificationSpec.NotificationChannelConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNotificationChannel(String value)

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder setNotificationChannel(String value)

Resource names of the NotificationChannels. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

string notification_channel = 1;

Parameter
Name Description
value String

The notificationChannel to set.

Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder

This builder for chaining.

setNotificationChannelBytes(ByteString value)

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder setNotificationChannelBytes(ByteString value)

Resource names of the NotificationChannels. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

string notification_channel = 1;

Parameter
Name Description
value ByteString

The bytes for notificationChannel to set.

Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder

This builder for chaining.