Class UpdateNotificationChannelRequest.Builder (3.2.10)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateNotificationChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

build()

public UpdateNotificationChannelRequest build()
Returns
TypeDescription
UpdateNotificationChannelRequest

buildPartial()

public UpdateNotificationChannelRequest buildPartial()
Returns
TypeDescription
UpdateNotificationChannelRequest

clear()

public UpdateNotificationChannelRequest.Builder clear()
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateNotificationChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateNotificationChannelRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNotificationChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

clearUpdateMask()

public UpdateNotificationChannelRequest.Builder clearUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateNotificationChannelRequest.Builder

clone()

public UpdateNotificationChannelRequest.Builder clone()
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateNotificationChannelRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateNotificationChannelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
NotificationChannelOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the notificationChannel field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateNotificationChannelRequest other)

public UpdateNotificationChannelRequest.Builder mergeFrom(UpdateNotificationChannelRequest other)
Parameter
NameDescription
otherUpdateNotificationChannelRequest
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateNotificationChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateNotificationChannelRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNotificationChannel
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateNotificationChannelRequest.Builder mergeUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNotificationChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNotificationChannel
Returns
TypeDescription
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
NameDescription
builderForValueNotificationChannel.Builder
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder

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

public UpdateNotificationChannelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The fields to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateNotificationChannelRequest.Builder