Class ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder (3.49.0)

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

Google Cloud Notification Channel config.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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