Class UpdateNotificationConfigRequest.Builder (2.7.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNotificationConfigRequest build()
Returns

buildPartial()

public UpdateNotificationConfigRequest buildPartial()
Returns

clear()

public UpdateNotificationConfigRequest.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNotificationConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns 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

clone()

public UpdateNotificationConfigRequest.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public UpdateNotificationConfigRequest getDefaultInstanceForType()
Returns

getDescriptorForType()

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

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Required. The notification config to update.

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

Returns

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

public UpdateNotificationConfigRequest.Builder mergeFrom(UpdateNotificationConfigRequest other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueFieldMask
Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
builderForValueNotificationConfig.Builder
Returns

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueFieldMask
Returns

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
NameDescription
builderForValueBuilder
Returns