Class UpdateNotificationConfigRequest.Builder (2.62.0)

public static final class UpdateNotificationConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateNotificationConfigRequest.Builder> implements UpdateNotificationConfigRequestOrBuilder

Request message for updating a notification config.

Protobuf type google.cloud.securitycenter.v1.UpdateNotificationConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNotificationConfigRequest build()
Returns
Type Description
UpdateNotificationConfigRequest

buildPartial()

public UpdateNotificationConfigRequest buildPartial()
Returns
Type Description
UpdateNotificationConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotificationConfig()

public UpdateNotificationConfigRequest.Builder clearNotificationConfig()

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNotificationConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateNotificationConfigRequest.Builder clearUpdateMask()

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateNotificationConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateNotificationConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNotificationConfigRequest

getDescriptorForType()

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

getNotificationConfig()

public NotificationConfig getNotificationConfig()

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationConfig

The notificationConfig.

getNotificationConfigBuilder()

public NotificationConfig.Builder getNotificationConfigBuilder()

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationConfig.Builder

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasNotificationConfig()

public boolean hasNotificationConfig()

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notificationConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.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(UpdateNotificationConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotificationConfig(NotificationConfig value)

public UpdateNotificationConfigRequest.Builder mergeNotificationConfig(NotificationConfig value)

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotificationConfig
Returns
Type Description
UpdateNotificationConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateNotificationConfigRequest.Builder mergeUpdateMask(FieldMask value)

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNotificationConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotificationConfig(NotificationConfig value)

public UpdateNotificationConfigRequest.Builder setNotificationConfig(NotificationConfig value)

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotificationConfig
Returns
Type Description
UpdateNotificationConfigRequest.Builder

setNotificationConfig(NotificationConfig.Builder builderForValue)

public UpdateNotificationConfigRequest.Builder setNotificationConfig(NotificationConfig.Builder builderForValue)

Required. The notification config to update.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NotificationConfig.Builder
Returns
Type Description
UpdateNotificationConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateNotificationConfigRequest.Builder setUpdateMask(FieldMask value)

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNotificationConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNotificationConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The FieldMask to use when updating the notification config.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNotificationConfigRequest.Builder