Class UpdateNotificationConfigRequest.Builder (2.21.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.21.0keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNotificationConfigRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UpdateNotificationConfigRequest build ()
buildPartial()
public UpdateNotificationConfigRequest buildPartial ()
clear()
public UpdateNotificationConfigRequest . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNotificationConfigRequest . Builder clearField ( Descriptors . FieldDescriptor field )
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNotificationConfigRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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;
clone()
public UpdateNotificationConfigRequest . Builder clone ()
Overrides
getDefaultInstanceForType()
public UpdateNotificationConfigRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNotificationConfig()
public NotificationConfig getNotificationConfig ()
Required. The notification config to update.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];
getNotificationConfigBuilder()
public NotificationConfig . Builder getNotificationConfigBuilder ()
Required. The notification config to update.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];
getNotificationConfigOrBuilder()
public NotificationConfigOrBuilder getNotificationConfigOrBuilder ()
Required. The notification config to update.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];
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;
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;
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(UpdateNotificationConfigRequest other)
public UpdateNotificationConfigRequest . Builder mergeFrom ( UpdateNotificationConfigRequest other )
public UpdateNotificationConfigRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UpdateNotificationConfigRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNotificationConfigRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNotificationConfigRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNotificationConfigRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNotificationConfigRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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;
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]