Interface CloudControlOrBuilder (0.1.0)

public interface CloudControlOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategories(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getCreateTimeOrBuilder()

public abstract 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

getDescription()

public abstract 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 abstract 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.

getDisplayName()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getParameterSpecCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> getRelatedFrameworksList()

Output only. The Frameworks that include this CloudControl

repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the relatedFrameworks.

getRemediationSteps()

public abstract 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 abstract 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 abstract 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

getRulesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.