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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateMuteConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateMuteConfigRequest build()
Returns
buildPartial()
public UpdateMuteConfigRequest buildPartial()
Returns
clear()
public UpdateMuteConfigRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateMuteConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateMuteConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateMuteConfigRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateMuteConfigRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getMuteConfigOrBuilder()
public MuteConfigOrBuilder getMuteConfigOrBuilder()
Required. The mute config being updated.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateMuteConfigRequest other)
public UpdateMuteConfigRequest.Builder mergeFrom(UpdateMuteConfigRequest other)
Parameter
Returns
public UpdateMuteConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateMuteConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateMuteConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateMuteConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateMuteConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateMuteConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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