Class UpdateMuteConfigRequest.Builder (2.52.0)

public static final class UpdateMuteConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateMuteConfigRequest.Builder> implements UpdateMuteConfigRequestOrBuilder

Request message for updating a mute config.

Protobuf type google.cloud.securitycenter.v1.UpdateMuteConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateMuteConfigRequest build()
Returns
Type Description
UpdateMuteConfigRequest

buildPartial()

public UpdateMuteConfigRequest buildPartial()
Returns
Type Description
UpdateMuteConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMuteConfig()

public UpdateMuteConfigRequest.Builder clearMuteConfig()

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateMuteConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateMuteConfigRequest.Builder clearUpdateMask()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateMuteConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateMuteConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateMuteConfigRequest

getDescriptorForType()

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

getMuteConfig()

public MuteConfig getMuteConfig()

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MuteConfig

The muteConfig.

getMuteConfigBuilder()

public MuteConfig.Builder getMuteConfigBuilder()

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MuteConfig.Builder

getMuteConfigOrBuilder()

public MuteConfigOrBuilder getMuteConfigOrBuilder()

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MuteConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated. 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 list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasMuteConfig()

public boolean hasMuteConfig()

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the muteConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated. 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(UpdateMuteConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMuteConfig(MuteConfig value)

public UpdateMuteConfigRequest.Builder mergeMuteConfig(MuteConfig value)

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MuteConfig
Returns
Type Description
UpdateMuteConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateMuteConfigRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMuteConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMuteConfig(MuteConfig value)

public UpdateMuteConfigRequest.Builder setMuteConfig(MuteConfig value)

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MuteConfig
Returns
Type Description
UpdateMuteConfigRequest.Builder

setMuteConfig(MuteConfig.Builder builderForValue)

public UpdateMuteConfigRequest.Builder setMuteConfig(MuteConfig.Builder builderForValue)

Required. The mute config being updated.

.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MuteConfig.Builder
Returns
Type Description
UpdateMuteConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateMuteConfigRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMuteConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMuteConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateMuteConfigRequest.Builder