public static final class UpdateNotificationConfigRequest.Builder extends GeneratedMessage.Builder<UpdateNotificationConfigRequest.Builder> implements UpdateNotificationConfigRequestOrBuilderRequest message for updating a notification config.
Protobuf type google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateNotificationConfigRequest.BuilderImplements
UpdateNotificationConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearNotificationConfig()
public UpdateNotificationConfigRequest.Builder clearNotificationConfig()Required. The notification config to update.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateNotificationConfigRequest.Builder |
|
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 |
|
getDefaultInstanceForType()
public UpdateNotificationConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateNotificationConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNotificationConfig()
public NotificationConfig getNotificationConfig()Required. The notification config to update.
.google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateNotificationConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateNotificationConfigRequest.Builder |
|
mergeNotificationConfig(NotificationConfig value)
public UpdateNotificationConfigRequest.Builder mergeNotificationConfig(NotificationConfig value)Required. The notification config to update.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
NotificationConfig |
| Returns | |
|---|---|
| Type | Description |
UpdateNotificationConfigRequest.Builder |
|
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 |
|
setNotificationConfig(NotificationConfig value)
public UpdateNotificationConfigRequest.Builder setNotificationConfig(NotificationConfig value)Required. The notification config to update.
.google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.NotificationConfig notification_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NotificationConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateNotificationConfigRequest.Builder |
|
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 |
|