Class ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder (3.59.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public ModelMonitoringNotificationSpec.NotificationChannelConfig build()

buildPartial()

public ModelMonitoringNotificationSpec.NotificationChannelConfig buildPartial()

clear()

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clone()

public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder clone()
Overrides

getDefaultInstanceForType()

public ModelMonitoringNotificationSpec.NotificationChannelConfig getDefaultInstanceForType()

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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