public static final class CloudControl.Builder extends GeneratedMessageV3.Builder<CloudControl.Builder> implements CloudControlOrBuilder
A CloudControl is a GCP-provided parameterized concept which is used to satisfy a 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 of 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 of 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 spec of 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 CloudControl
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 Policy to be enforced to prevent/detect resource non-compliance.
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. cloud providers supported
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. cloud providers supported
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 mode of the cloud control. Default is DETECTIVE.
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 mode of the cloud control. Default is DETECTIVE.
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. target resource types supported by the CloudControl.
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. target resource types supported by the CloudControl.
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 of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CloudControlCategory The categories to add. |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
This builder for chaining. |
addCategoriesValue(int value)
public CloudControl.Builder addCategoriesValue(int value)
Optional. The categories of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The 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 spec of 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 spec of 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 spec of 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 spec of 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 spec of 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 spec of 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 CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The 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 CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CloudProvider The supportedCloudProviders to add. |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedCloudProvidersValue(int value)
public CloudControl.Builder addSupportedCloudProvidersValue(int value)
Optional. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The 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 mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
EnforcementMode The 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 mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The 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. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TargetResourceType The supportedTargetResourceTypes to add. |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
This builder for chaining. |
addSupportedTargetResourceTypesValue(int value)
public CloudControl.Builder addSupportedTargetResourceTypesValue(int value)
Optional. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The 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 of 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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 display 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 of the cloud control. 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. Major revision of the cloud control 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 resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
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 spec of 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 CloudControl
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 findings generated by the cloud control. 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 Policy to be enforced to prevent/detect resource non-compliance.
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 findings 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. cloud providers supported
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 mode of the cloud control. Default is DETECTIVE.
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. target resource types supported by the CloudControl.
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 of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
CloudControlCategory |
The categories at the given index. |
getCategoriesCount()
public int getCategoriesCount()
Optional. The categories of 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 of 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 of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The 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 of 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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 display 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 display 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 of the cloud control. 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 of the cloud control. 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. Major revision of the cloud control 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 resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
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 resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
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 spec of 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 spec of 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 spec of 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 spec of 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 spec of 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 spec of 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 spec of 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 CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The 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 CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The 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 CloudControl
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 CloudControl
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 findings generated by the cloud control. 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 findings generated by the cloud control. 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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getRulesCount()
public int getRulesCount()
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getRulesList()
public List<Rule> getRulesList()
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 findings 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 findings 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. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
CloudProvider |
The supportedCloudProviders at the given index. |
getSupportedCloudProvidersCount()
public int getSupportedCloudProvidersCount()
Optional. cloud providers supported
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. cloud providers supported
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. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The 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. cloud providers supported
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 mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The 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 mode of the cloud control. Default is DETECTIVE.
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 mode of the cloud control. Default is DETECTIVE.
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 mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The 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 mode of the cloud control. Default is DETECTIVE.
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. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
TargetResourceType |
The supportedTargetResourceTypes at the given index. |
getSupportedTargetResourceTypesCount()
public int getSupportedTargetResourceTypesCount()
Optional. target resource types supported by the CloudControl.
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. target resource types supported by the CloudControl.
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. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The 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. target resource types supported by the CloudControl.
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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 spec of 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 Policy to be enforced to prevent/detect resource non-compliance.
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 of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
CloudControlCategory The 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 of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The 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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.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 |
String The 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 |
ByteString The 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 display name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public CloudControl.Builder setDisplayNameBytes(ByteString value)
Optional. The display name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 of the cloud control. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The 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 of the cloud control. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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. Major revision of the cloud control incremented in ascending order.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The majorRevisionId to set. |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
This builder for chaining. |
setName(String value)
public CloudControl.Builder setName(String value)
Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CloudControl.Builder setNameBytes(ByteString value)
Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 spec of 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 spec of 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 CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The 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 findings generated by the cloud control. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The 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 findings generated by the cloud control. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 Policy to be enforced to prevent/detect resource non-compliance.
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 Policy to be enforced to prevent/detect resource non-compliance.
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 findings generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Severity The 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 findings generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The 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. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
CloudProvider The 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. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The 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 mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
EnforcementMode The 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 mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The 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. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
TargetResourceType The 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. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The 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 |