Class UpdateResourceValueConfigRequest.Builder (2.57.0)

public static final class UpdateResourceValueConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateResourceValueConfigRequest.Builder> implements UpdateResourceValueConfigRequestOrBuilder

Request message to update resource value config

Protobuf type google.cloud.securitycenter.v2.UpdateResourceValueConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateResourceValueConfigRequest build()
Returns
Type Description
UpdateResourceValueConfigRequest

buildPartial()

public UpdateResourceValueConfigRequest buildPartial()
Returns
Type Description
UpdateResourceValueConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceValueConfig()

public UpdateResourceValueConfigRequest.Builder clearResourceValueConfig()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateResourceValueConfigRequest.Builder

clearUpdateMask()

public UpdateResourceValueConfigRequest.Builder clearUpdateMask()

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

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateResourceValueConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateResourceValueConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateResourceValueConfigRequest

getDescriptorForType()

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

getResourceValueConfig()

public ResourceValueConfig getResourceValueConfig()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceValueConfig

The resourceValueConfig.

getResourceValueConfigBuilder()

public ResourceValueConfig.Builder getResourceValueConfigBuilder()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceValueConfig.Builder

getResourceValueConfigOrBuilder()

public ResourceValueConfigOrBuilder getResourceValueConfigOrBuilder()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceValueConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.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.

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.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.

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasResourceValueConfig()

public boolean hasResourceValueConfig()

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resourceValueConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.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(UpdateResourceValueConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResourceValueConfig(ResourceValueConfig value)

public UpdateResourceValueConfigRequest.Builder mergeResourceValueConfig(ResourceValueConfig value)

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResourceValueConfig
Returns
Type Description
UpdateResourceValueConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateResourceValueConfigRequest.Builder mergeUpdateMask(FieldMask value)

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

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateResourceValueConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResourceValueConfig(ResourceValueConfig value)

public UpdateResourceValueConfigRequest.Builder setResourceValueConfig(ResourceValueConfig value)

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResourceValueConfig
Returns
Type Description
UpdateResourceValueConfigRequest.Builder

setResourceValueConfig(ResourceValueConfig.Builder builderForValue)

public UpdateResourceValueConfigRequest.Builder setResourceValueConfig(ResourceValueConfig.Builder builderForValue)

Required. The resource value config being updated.

.google.cloud.securitycenter.v2.ResourceValueConfig resource_value_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ResourceValueConfig.Builder
Returns
Type Description
UpdateResourceValueConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateResourceValueConfigRequest.Builder setUpdateMask(FieldMask value)

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

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateResourceValueConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateResourceValueConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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

To update nested fields, include the top level field in the mask For example, to update gcp_metadata.resource_type, include the "gcp_metadata" field mask

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateResourceValueConfigRequest.Builder