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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateResourceValueConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateResourceValueConfigRequest build()
buildPartial()
public UpdateResourceValueConfigRequest buildPartial()
clear()
public UpdateResourceValueConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateResourceValueConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateResourceValueConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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;
clone()
public UpdateResourceValueConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateResourceValueConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateResourceValueConfigRequest other)
public UpdateResourceValueConfigRequest.Builder mergeFrom(UpdateResourceValueConfigRequest other)
public UpdateResourceValueConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateResourceValueConfigRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateResourceValueConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateResourceValueConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateResourceValueConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateResourceValueConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|