Class UpdateMuteConfigRequest.Builder (2.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateMuteConfigRequest build()
Returns
TypeDescription
UpdateMuteConfigRequest

buildPartial()

public UpdateMuteConfigRequest buildPartial()
Returns
TypeDescription
UpdateMuteConfigRequest

clear()

public UpdateMuteConfigRequest.Builder clear()
Returns
TypeDescription
UpdateMuteConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateMuteConfigRequest.Builder clone()
Returns
TypeDescription
UpdateMuteConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateMuteConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateMuteConfigRequest

getDescriptorForType()

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

public UpdateMuteConfigRequest.Builder mergeFrom(UpdateMuteConfigRequest other)
Parameter
NameDescription
otherUpdateMuteConfigRequest
Returns
TypeDescription
UpdateMuteConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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