public static final class UpdateSecurityCenterServiceRequest.Builder extends GeneratedMessageV3.Builder<UpdateSecurityCenterServiceRequest.Builder> implements UpdateSecurityCenterServiceRequestOrBuilder
Request message for updating a Security Command Center service.
Protobuf type
google.cloud.securitycentermanagement.v1.UpdateSecurityCenterServiceRequest
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 UpdateSecurityCenterServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSecurityCenterServiceRequest build()
buildPartial()
public UpdateSecurityCenterServiceRequest buildPartial()
clear()
public UpdateSecurityCenterServiceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSecurityCenterServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSecurityCenterServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecurityCenterService()
public UpdateSecurityCenterServiceRequest.Builder clearSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSecurityCenterServiceRequest.Builder clearUpdateMask()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clearValidateOnly()
public UpdateSecurityCenterServiceRequest.Builder clearValidateOnly()
Optional. When set to true, only validations (including IAM checks) will be
done for the request (service will not be updated). An OK response
indicates that the request is valid, while an error response indicates that
the request is invalid. Note that a subsequent request to actually update
the service could still fail for one of the following reasons:
- The state could have changed (e.g. IAM permission lost).
- A failure occurred while trying to delete the module.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateSecurityCenterServiceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSecurityCenterServiceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSecurityCenterService()
public SecurityCenterService getSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityCenterServiceBuilder()
public SecurityCenterService.Builder getSecurityCenterServiceBuilder()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityCenterServiceOrBuilder()
public SecurityCenterServiceOrBuilder getSecurityCenterServiceOrBuilder()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
Optional. When set to true, only validations (including IAM checks) will be
done for the request (service will not be updated). An OK response
indicates that the request is valid, while an error response indicates that
the request is invalid. Note that a subsequent request to actually update
the service could still fail for one of the following reasons:
- The state could have changed (e.g. IAM permission lost).
- A failure occurred while trying to delete the module.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The validateOnly.
|
hasSecurityCenterService()
public boolean hasSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the securityCenterService field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSecurityCenterServiceRequest other)
public UpdateSecurityCenterServiceRequest.Builder mergeFrom(UpdateSecurityCenterServiceRequest other)
public UpdateSecurityCenterServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSecurityCenterServiceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSecurityCenterService(SecurityCenterService value)
public UpdateSecurityCenterServiceRequest.Builder mergeSecurityCenterService(SecurityCenterService value)
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityCenterServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSecurityCenterServiceRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecurityCenterServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSecurityCenterServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecurityCenterService(SecurityCenterService value)
public UpdateSecurityCenterServiceRequest.Builder setSecurityCenterService(SecurityCenterService value)
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
setSecurityCenterService(SecurityCenterService.Builder builderForValue)
public UpdateSecurityCenterServiceRequest.Builder setSecurityCenterService(SecurityCenterService.Builder builderForValue)
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityCenterServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSecurityCenterServiceRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSecurityCenterServiceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setValidateOnly(boolean value)
public UpdateSecurityCenterServiceRequest.Builder setValidateOnly(boolean value)
Optional. When set to true, only validations (including IAM checks) will be
done for the request (service will not be updated). An OK response
indicates that the request is valid, while an error response indicates that
the request is invalid. Note that a subsequent request to actually update
the service could still fail for one of the following reasons:
- The state could have changed (e.g. IAM permission lost).
- A failure occurred while trying to delete the module.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The validateOnly to set.
|