Class UpdateResourceValueConfigRequest.Builder (2.47.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateResourceValueConfigRequest build()
Returns
TypeDescription
UpdateResourceValueConfigRequest

buildPartial()

public UpdateResourceValueConfigRequest buildPartial()
Returns
TypeDescription
UpdateResourceValueConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateResourceValueConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateResourceValueConfigRequest.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
UpdateResourceValueConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateResourceValueConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateResourceValueConfigRequest

getDescriptorForType()

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

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

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

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

public UpdateResourceValueConfigRequest.Builder mergeFrom(UpdateResourceValueConfigRequest other)
Parameter
NameDescription
otherUpdateResourceValueConfigRequest
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateResourceValueConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueResourceValueConfig
Returns
TypeDescription
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
NameDescription
builderForValueResourceValueConfig.Builder
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
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.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateResourceValueConfigRequest.Builder