public static final class UpdateSecurityCenterServiceRequest.Builder extends GeneratedMessageV3.Builder<UpdateSecurityCenterServiceRequest.Builder> implements UpdateSecurityCenterServiceRequestOrBuilder
Request message for SecurityCenterManagement.UpdateSecurityCenterService.
Protobuf type
google.cloud.securitycentermanagement.v1.UpdateSecurityCenterServiceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateSecurityCenterServiceRequest.BuilderImplements
UpdateSecurityCenterServiceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecurityCenterServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
build()
public UpdateSecurityCenterServiceRequest build()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
buildPartial()
public UpdateSecurityCenterServiceRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
clear()
public UpdateSecurityCenterServiceRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateSecurityCenterServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSecurityCenterServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
clearSecurityCenterService()
public UpdateSecurityCenterServiceRequest.Builder clearSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
clearUpdateMask()
public UpdateSecurityCenterServiceRequest.Builder clearUpdateMask()
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
clearValidateOnly()
public UpdateSecurityCenterServiceRequest.Builder clearValidateOnly()
Optional. When set to true
, the request will be validated (including IAM
checks), but no service will be updated. An OK
response indicates that
the request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the service could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during update of the service
Defaults to
false
.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
This builder for chaining. |
clone()
public UpdateSecurityCenterServiceRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
getDefaultInstanceForType()
public UpdateSecurityCenterServiceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSecurityCenterService()
public SecurityCenterService getSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SecurityCenterService |
The securityCenterService. |
getSecurityCenterServiceBuilder()
public SecurityCenterService.Builder getSecurityCenterServiceBuilder()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SecurityCenterService.Builder |
getSecurityCenterServiceOrBuilder()
public SecurityCenterServiceOrBuilder getSecurityCenterServiceOrBuilder()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SecurityCenterServiceOrBuilder |
getUpdateMask()
public FieldMask getUpdateMask()
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
getValidateOnly()
public boolean getValidateOnly()
Optional. When set to true
, the request will be validated (including IAM
checks), but no service will be updated. An OK
response indicates that
the request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the service could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during update of the service
Defaults to
false
.
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 fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpdateSecurityCenterServiceRequest other)
public UpdateSecurityCenterServiceRequest.Builder mergeFrom(UpdateSecurityCenterServiceRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateSecurityCenterServiceRequest |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateSecurityCenterServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateSecurityCenterServiceRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
SecurityCenterService |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityCenterServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateSecurityCenterServiceRequest.Builder mergeUpdateMask(FieldMask value)
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecurityCenterServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSecurityCenterServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
SecurityCenterService |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
SecurityCenterService.Builder |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecurityCenterServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateSecurityCenterServiceRequest.Builder setUpdateMask(FieldMask value)
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSecurityCenterServiceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The fields to update. Accepts the following values:
intended_enablement_state
modules
If omitted, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
setValidateOnly(boolean value)
public UpdateSecurityCenterServiceRequest.Builder setValidateOnly(boolean value)
Optional. When set to true
, the request will be validated (including IAM
checks), but no service will be updated. An OK
response indicates that
the request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the service could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during update of the service
Defaults to
false
.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
This builder for chaining. |