Class UpdateNotificationChannelRequest.Builder (3.43.0)

public static final class UpdateNotificationChannelRequest.Builder extends GeneratedMessageV3.Builder<UpdateNotificationChannelRequest.Builder> implements UpdateNotificationChannelRequestOrBuilder

The UpdateNotificationChannel request.

Protobuf type google.monitoring.v3.UpdateNotificationChannelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNotificationChannelRequest build()
Returns
Type Description
UpdateNotificationChannelRequest

buildPartial()

public UpdateNotificationChannelRequest buildPartial()
Returns
Type Description
UpdateNotificationChannelRequest

clear()

public UpdateNotificationChannelRequest.Builder clear()
Returns
Type Description
UpdateNotificationChannelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateNotificationChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateNotificationChannelRequest.Builder
Overrides

clearNotificationChannel()

public UpdateNotificationChannelRequest.Builder clearNotificationChannel()

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNotificationChannelRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateNotificationChannelRequest.Builder clearUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateNotificationChannelRequest.Builder

clone()

public UpdateNotificationChannelRequest.Builder clone()
Returns
Type Description
UpdateNotificationChannelRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateNotificationChannelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNotificationChannelRequest

getDescriptorForType()

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

getNotificationChannel()

public NotificationChannel getNotificationChannel()

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationChannel

The notificationChannel.

getNotificationChannelBuilder()

public NotificationChannel.Builder getNotificationChannelBuilder()

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationChannel.Builder

getNotificationChannelOrBuilder()

public NotificationChannelOrBuilder getNotificationChannelOrBuilder()

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationChannelOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasNotificationChannel()

public boolean hasNotificationChannel()

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notificationChannel field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateNotificationChannelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotificationChannel(NotificationChannel value)

public UpdateNotificationChannelRequest.Builder mergeNotificationChannel(NotificationChannel value)

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotificationChannel
Returns
Type Description
UpdateNotificationChannelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateNotificationChannelRequest.Builder mergeUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNotificationChannelRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNotificationChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNotificationChannelRequest.Builder
Overrides

setNotificationChannel(NotificationChannel value)

public UpdateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel value)

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotificationChannel
Returns
Type Description
UpdateNotificationChannelRequest.Builder

setNotificationChannel(NotificationChannel.Builder builderForValue)

public UpdateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel.Builder builderForValue)

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NotificationChannel.Builder
Returns
Type Description
UpdateNotificationChannelRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNotificationChannelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNotificationChannelRequest.Builder