public static final class CloudControl.Builder extends GeneratedMessageV3.Builder<CloudControl.Builder> implements CloudControlOrBuilderA cloud control is a set of rules and associated metadata that you can use to define your organization's security or compliance intent.
Protobuf type google.cloud.cloudsecuritycompliance.v1.CloudControl
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudControl.BuilderImplements
CloudControlOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCategories(Iterable<? extends CloudControlCategory> values)
public CloudControl.Builder addAllCategories(Iterable<? extends CloudControlCategory> values)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlCategory>The categories to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllCategoriesValue(Iterable<Integer> values)
public CloudControl.Builder addAllCategoriesValue(Iterable<Integer> values)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for categories to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllParameterSpec(Iterable<? extends ParameterSpec> values)
public CloudControl.Builder addAllParameterSpec(Iterable<? extends ParameterSpec> values)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.ParameterSpec> |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addAllRelatedFrameworks(Iterable<String> values)
public CloudControl.Builder addAllRelatedFrameworks(Iterable<String> values)Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The relatedFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllRules(Iterable<? extends Rule> values)
public CloudControl.Builder addAllRules(Iterable<? extends Rule> values)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.Rule> |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addAllSupportedCloudProviders(Iterable<? extends CloudProvider> values)
public CloudControl.Builder addAllSupportedCloudProviders(Iterable<? extends CloudProvider> values)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudProvider>The supportedCloudProviders to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllSupportedCloudProvidersValue(Iterable<Integer> values)
public CloudControl.Builder addAllSupportedCloudProvidersValue(Iterable<Integer> values)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for supportedCloudProviders to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllSupportedEnforcementModes(Iterable<? extends EnforcementMode> values)
public CloudControl.Builder addAllSupportedEnforcementModes(Iterable<? extends EnforcementMode> values)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.EnforcementMode>The supportedEnforcementModes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllSupportedEnforcementModesValue(Iterable<Integer> values)
public CloudControl.Builder addAllSupportedEnforcementModesValue(Iterable<Integer> values)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for supportedEnforcementModes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllSupportedTargetResourceTypes(Iterable<? extends TargetResourceType> values)
public CloudControl.Builder addAllSupportedTargetResourceTypes(Iterable<? extends TargetResourceType> values)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.TargetResourceType>The supportedTargetResourceTypes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addAllSupportedTargetResourceTypesValue(Iterable<Integer> values)
public CloudControl.Builder addAllSupportedTargetResourceTypesValue(Iterable<Integer> values)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for supportedTargetResourceTypes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addCategories(CloudControlCategory value)
public CloudControl.Builder addCategories(CloudControlCategory value)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CloudControlCategoryThe categories to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addCategoriesValue(int value)
public CloudControl.Builder addCategoriesValue(int value)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for categories to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addParameterSpec(ParameterSpec value)
public CloudControl.Builder addParameterSpec(ParameterSpec value)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ParameterSpec |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addParameterSpec(ParameterSpec.Builder builderForValue)
public CloudControl.Builder addParameterSpec(ParameterSpec.Builder builderForValue)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ParameterSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addParameterSpec(int index, ParameterSpec value)
public CloudControl.Builder addParameterSpec(int index, ParameterSpec value)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ParameterSpec |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addParameterSpec(int index, ParameterSpec.Builder builderForValue)
public CloudControl.Builder addParameterSpec(int index, ParameterSpec.Builder builderForValue)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ParameterSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addParameterSpecBuilder()
public ParameterSpec.Builder addParameterSpecBuilder()Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParameterSpec.Builder |
|
addParameterSpecBuilder(int index)
public ParameterSpec.Builder addParameterSpecBuilder(int index)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterSpec.Builder |
|
addRelatedFrameworks(String value)
public CloudControl.Builder addRelatedFrameworks(String value)Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe relatedFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addRelatedFrameworksBytes(ByteString value)
public CloudControl.Builder addRelatedFrameworksBytes(ByteString value)Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the relatedFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudControl.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addRules(Rule value)
public CloudControl.Builder addRules(Rule value)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Rule |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addRules(Rule.Builder builderForValue)
public CloudControl.Builder addRules(Rule.Builder builderForValue)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Rule.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addRules(int index, Rule value)
public CloudControl.Builder addRules(int index, Rule value)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Rule |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addRules(int index, Rule.Builder builderForValue)
public CloudControl.Builder addRules(int index, Rule.Builder builderForValue)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Rule.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
addRulesBuilder()
public Rule.Builder addRulesBuilder()Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Rule.Builder |
|
addRulesBuilder(int index)
public Rule.Builder addRulesBuilder(int index)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Rule.Builder |
|
addSupportedCloudProviders(CloudProvider value)
public CloudControl.Builder addSupportedCloudProviders(CloudProvider value)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CloudProviderThe supportedCloudProviders to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedCloudProvidersValue(int value)
public CloudControl.Builder addSupportedCloudProvidersValue(int value)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for supportedCloudProviders to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedEnforcementModes(EnforcementMode value)
public CloudControl.Builder addSupportedEnforcementModes(EnforcementMode value)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EnforcementModeThe supportedEnforcementModes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedEnforcementModesValue(int value)
public CloudControl.Builder addSupportedEnforcementModesValue(int value)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for supportedEnforcementModes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedTargetResourceTypes(TargetResourceType value)
public CloudControl.Builder addSupportedTargetResourceTypes(TargetResourceType value)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TargetResourceTypeThe supportedTargetResourceTypes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedTargetResourceTypesValue(int value)
public CloudControl.Builder addSupportedTargetResourceTypesValue(int value)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for supportedTargetResourceTypes to add. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
build()
public CloudControl build()| Returns | |
|---|---|
| Type | Description |
CloudControl |
|
buildPartial()
public CloudControl buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudControl |
|
clear()
public CloudControl.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
clearCategories()
public CloudControl.Builder clearCategories()Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearCreateTime()
public CloudControl.Builder clearCreateTime() Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
clearDescription()
public CloudControl.Builder clearDescription()Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearDisplayName()
public CloudControl.Builder clearDisplayName()Optional. The friendly name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudControl.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
clearFindingCategory()
public CloudControl.Builder clearFindingCategory()Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearMajorRevisionId()
public CloudControl.Builder clearMajorRevisionId()Output only. The major version of the cloud control, which is incremented in ascending order.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearName()
public CloudControl.Builder clearName() Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudControl.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
clearParameterSpec()
public CloudControl.Builder clearParameterSpec()Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
clearRelatedFrameworks()
public CloudControl.Builder clearRelatedFrameworks()Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearRemediationSteps()
public CloudControl.Builder clearRemediationSteps()Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearRules()
public CloudControl.Builder clearRules()Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
clearSeverity()
public CloudControl.Builder clearSeverity()Optional. The severity of the findings that are generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearSupportedCloudProviders()
public CloudControl.Builder clearSupportedCloudProviders()Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearSupportedEnforcementModes()
public CloudControl.Builder clearSupportedEnforcementModes()Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clearSupportedTargetResourceTypes()
public CloudControl.Builder clearSupportedTargetResourceTypes()Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
clone()
public CloudControl.Builder clone()| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
getCategories(int index)
public CloudControlCategory getCategories(int index)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
CloudControlCategory |
The categories at the given index. |
getCategoriesCount()
public int getCategoriesCount()Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of categories. |
getCategoriesList()
public List<CloudControlCategory> getCategoriesList()Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<CloudControlCategory> |
A list containing the categories. |
getCategoriesValue(int index)
public int getCategoriesValue(int index)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of categories at the given index. |
getCategoriesValueList()
public List<Integer> getCategoriesValueList()Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for categories. |
getCreateTime()
public Timestamp getCreateTime() Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder() Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder() Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public CloudControl getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudControl |
|
getDescription()
public String getDescription()Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. The friendly name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. The friendly name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getFindingCategory()
public String getFindingCategory()Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The findingCategory. |
getFindingCategoryBytes()
public ByteString getFindingCategoryBytes()Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for findingCategory. |
getMajorRevisionId()
public long getMajorRevisionId()Output only. The major version of the cloud control, which is incremented in ascending order.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The majorRevisionId. |
getName()
public String getName() Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParameterSpec(int index)
public ParameterSpec getParameterSpec(int index)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterSpec |
|
getParameterSpecBuilder(int index)
public ParameterSpec.Builder getParameterSpecBuilder(int index)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterSpec.Builder |
|
getParameterSpecBuilderList()
public List<ParameterSpec.Builder> getParameterSpecBuilderList()Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getParameterSpecCount()
public int getParameterSpecCount()Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getParameterSpecList()
public List<ParameterSpec> getParameterSpecList()Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ParameterSpec> |
|
getParameterSpecOrBuilder(int index)
public ParameterSpecOrBuilder getParameterSpecOrBuilder(int index)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterSpecOrBuilder |
|
getParameterSpecOrBuilderList()
public List<? extends ParameterSpecOrBuilder> getParameterSpecOrBuilderList()Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.ParameterSpecOrBuilder> |
|
getRelatedFrameworks(int index)
public String getRelatedFrameworks(int index)Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The relatedFrameworks at the given index. |
getRelatedFrameworksBytes(int index)
public ByteString getRelatedFrameworksBytes(int index)Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the relatedFrameworks at the given index. |
getRelatedFrameworksCount()
public int getRelatedFrameworksCount()Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of relatedFrameworks. |
getRelatedFrameworksList()
public ProtocolStringList getRelatedFrameworksList()Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the relatedFrameworks. |
getRemediationSteps()
public String getRemediationSteps()Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The remediationSteps. |
getRemediationStepsBytes()
public ByteString getRemediationStepsBytes()Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for remediationSteps. |
getRules(int index)
public Rule getRules(int index)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Rule |
|
getRulesBuilder(int index)
public Rule.Builder getRulesBuilder(int index)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Rule.Builder |
|
getRulesBuilderList()
public List<Rule.Builder> getRulesBuilderList()Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRulesCount()
public int getRulesCount()Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRulesList()
public List<Rule> getRulesList()Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Rule> |
|
getRulesOrBuilder(int index)
public RuleOrBuilder getRulesOrBuilder(int index)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RuleOrBuilder |
|
getRulesOrBuilderList()
public List<? extends RuleOrBuilder> getRulesOrBuilderList()Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.RuleOrBuilder> |
|
getSeverity()
public Severity getSeverity()Optional. The severity of the findings that are generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()Optional. The severity of the findings that are generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for severity. |
getSupportedCloudProviders(int index)
public CloudProvider getSupportedCloudProviders(int index)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
CloudProvider |
The supportedCloudProviders at the given index. |
getSupportedCloudProvidersCount()
public int getSupportedCloudProvidersCount()Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedCloudProviders. |
getSupportedCloudProvidersList()
public List<CloudProvider> getSupportedCloudProvidersList()Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<CloudProvider> |
A list containing the supportedCloudProviders. |
getSupportedCloudProvidersValue(int index)
public int getSupportedCloudProvidersValue(int index)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of supportedCloudProviders at the given index. |
getSupportedCloudProvidersValueList()
public List<Integer> getSupportedCloudProvidersValueList()Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedCloudProviders. |
getSupportedEnforcementModes(int index)
public EnforcementMode getSupportedEnforcementModes(int index)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
EnforcementMode |
The supportedEnforcementModes at the given index. |
getSupportedEnforcementModesCount()
public int getSupportedEnforcementModesCount()Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedEnforcementModes. |
getSupportedEnforcementModesList()
public List<EnforcementMode> getSupportedEnforcementModesList()Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<EnforcementMode> |
A list containing the supportedEnforcementModes. |
getSupportedEnforcementModesValue(int index)
public int getSupportedEnforcementModesValue(int index)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of supportedEnforcementModes at the given index. |
getSupportedEnforcementModesValueList()
public List<Integer> getSupportedEnforcementModesValueList()Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedEnforcementModes. |
getSupportedTargetResourceTypes(int index)
public TargetResourceType getSupportedTargetResourceTypes(int index)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceType |
The supportedTargetResourceTypes at the given index. |
getSupportedTargetResourceTypesCount()
public int getSupportedTargetResourceTypesCount()Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedTargetResourceTypes. |
getSupportedTargetResourceTypesList()
public List<TargetResourceType> getSupportedTargetResourceTypesList()Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<TargetResourceType> |
A list containing the supportedTargetResourceTypes. |
getSupportedTargetResourceTypesValue(int index)
public int getSupportedTargetResourceTypesValue(int index)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of supportedTargetResourceTypes at the given index. |
getSupportedTargetResourceTypesValueList()
public List<Integer> getSupportedTargetResourceTypesValueList()Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedTargetResourceTypes. |
hasCreateTime()
public boolean hasCreateTime() Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public CloudControl.Builder mergeCreateTime(Timestamp value) Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
mergeFrom(CloudControl other)
public CloudControl.Builder mergeFrom(CloudControl other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudControl |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudControl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudControl.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudControl.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
removeParameterSpec(int index)
public CloudControl.Builder removeParameterSpec(int index)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
removeRules(int index)
public CloudControl.Builder removeRules(int index)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setCategories(int index, CloudControlCategory value)
public CloudControl.Builder setCategories(int index, CloudControlCategory value)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
CloudControlCategoryThe categories to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setCategoriesValue(int index, int value)
public CloudControl.Builder setCategoriesValue(int index, int value)Optional. The categories for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for categories to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public CloudControl.Builder setCreateTime(Timestamp value) Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public CloudControl.Builder setCreateTime(Timestamp.Builder builderForValue) Output only. The time that the cloud control was last updated.
create_time is used because a new cloud control is created
whenever an existing cloud control is updated.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setDescription(String value)
public CloudControl.Builder setDescription(String value)Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public CloudControl.Builder setDescriptionBytes(ByteString value)Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setDisplayName(String value)
public CloudControl.Builder setDisplayName(String value)Optional. The friendly name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public CloudControl.Builder setDisplayNameBytes(ByteString value)Optional. The friendly name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudControl.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setFindingCategory(String value)
public CloudControl.Builder setFindingCategory(String value)Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe findingCategory to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setFindingCategoryBytes(ByteString value)
public CloudControl.Builder setFindingCategoryBytes(ByteString value)Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for findingCategory to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setMajorRevisionId(long value)
public CloudControl.Builder setMajorRevisionId(long value)Output only. The major version of the cloud control, which is incremented in ascending order.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe majorRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setName(String value)
public CloudControl.Builder setName(String value) Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CloudControl.Builder setNameBytes(ByteString value) Required. Identifier. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setParameterSpec(int index, ParameterSpec value)
public CloudControl.Builder setParameterSpec(int index, ParameterSpec value)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ParameterSpec |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setParameterSpec(int index, ParameterSpec.Builder builderForValue)
public CloudControl.Builder setParameterSpec(int index, ParameterSpec.Builder builderForValue)Optional. The parameter specifications for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ParameterSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setRelatedFrameworks(int index, String value)
public CloudControl.Builder setRelatedFrameworks(int index, String value)Output only. The frameworks that include this cloud control.
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe relatedFrameworks to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setRemediationSteps(String value)
public CloudControl.Builder setRemediationSteps(String value)Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe remediationSteps to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setRemediationStepsBytes(ByteString value)
public CloudControl.Builder setRemediationStepsBytes(ByteString value)Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for remediationSteps to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudControl.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setRules(int index, Rule value)
public CloudControl.Builder setRules(int index, Rule value)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Rule |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setRules(int index, Rule.Builder builderForValue)
public CloudControl.Builder setRules(int index, Rule.Builder builderForValue)Optional. The rules that you can enforce to meet your security or compliance intent.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Rule.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|
setSeverity(Severity value)
public CloudControl.Builder setSeverity(Severity value)Optional. The severity of the findings that are generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SeverityThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSeverityValue(int value)
public CloudControl.Builder setSeverityValue(int value)Optional. The severity of the findings that are generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSupportedCloudProviders(int index, CloudProvider value)
public CloudControl.Builder setSupportedCloudProviders(int index, CloudProvider value)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
CloudProviderThe supportedCloudProviders to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSupportedCloudProvidersValue(int index, int value)
public CloudControl.Builder setSupportedCloudProvidersValue(int index, int value)Optional. The supported cloud providers.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for supportedCloudProviders to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSupportedEnforcementModes(int index, EnforcementMode value)
public CloudControl.Builder setSupportedEnforcementModes(int index, EnforcementMode value)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
EnforcementModeThe supportedEnforcementModes to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSupportedEnforcementModesValue(int index, int value)
public CloudControl.Builder setSupportedEnforcementModesValue(int index, int value)Output only. The supported enforcement modes for the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for supportedEnforcementModes to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSupportedTargetResourceTypes(int index, TargetResourceType value)
public CloudControl.Builder setSupportedTargetResourceTypes(int index, TargetResourceType value)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
TargetResourceTypeThe supportedTargetResourceTypes to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setSupportedTargetResourceTypesValue(int index, int value)
public CloudControl.Builder setSupportedTargetResourceTypesValue(int index, int value)Optional. The target resource types that are supported by the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for supportedTargetResourceTypes to set. |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudControl.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudControl.Builder |
|