public static final class Framework.Builder extends GeneratedMessageV3.Builder<Framework.Builder> implements FrameworkOrBuilderA Framework is a collection of CloudControls to address security and compliance requirements. Frameworks can be used for prevention, detection, and auditing. They can be either built-in, industry-standard frameworks provided by GCP/AZURE/AWS (e.g., NIST, FedRAMP) or custom frameworks created by users.
 Protobuf type google.cloud.cloudsecuritycompliance.v1.Framework
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Framework.BuilderImplements
FrameworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllCategory(Iterable<? extends FrameworkCategory> values)
public Framework.Builder addAllCategory(Iterable<? extends FrameworkCategory> values)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.FrameworkCategory>The category to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addAllCategoryValue(Iterable<Integer> values)
public Framework.Builder addAllCategoryValue(Iterable<Integer> values)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for category to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addAllCloudControlDetails(Iterable<? extends CloudControlDetails> values)
public Framework.Builder addAllCloudControlDetails(Iterable<? extends CloudControlDetails> values)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlDetails> | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
addAllSupportedCloudProviders(Iterable<? extends CloudProvider> values)
public Framework.Builder addAllSupportedCloudProviders(Iterable<? extends CloudProvider> values)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudProvider>The supportedCloudProviders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addAllSupportedCloudProvidersValue(Iterable<Integer> values)
public Framework.Builder addAllSupportedCloudProvidersValue(Iterable<Integer> values)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for supportedCloudProviders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addAllSupportedEnforcementModes(Iterable<? extends EnforcementMode> values)
public Framework.Builder addAllSupportedEnforcementModes(Iterable<? extends EnforcementMode> values)Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 | 
| Framework.Builder | This builder for chaining. | 
addAllSupportedEnforcementModesValue(Iterable<Integer> values)
public Framework.Builder addAllSupportedEnforcementModesValue(Iterable<Integer> values)Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 | 
| Framework.Builder | This builder for chaining. | 
addAllSupportedTargetResourceTypes(Iterable<? extends TargetResourceType> values)
public Framework.Builder addAllSupportedTargetResourceTypes(Iterable<? extends TargetResourceType> values)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.TargetResourceType>The supportedTargetResourceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addAllSupportedTargetResourceTypesValue(Iterable<Integer> values)
public Framework.Builder addAllSupportedTargetResourceTypesValue(Iterable<Integer> values)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for supportedTargetResourceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addCategory(FrameworkCategory value)
public Framework.Builder addCategory(FrameworkCategory value)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | FrameworkCategoryThe category to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addCategoryValue(int value)
public Framework.Builder addCategoryValue(int value)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for category to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addCloudControlDetails(CloudControlDetails value)
public Framework.Builder addCloudControlDetails(CloudControlDetails value)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | CloudControlDetails | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
addCloudControlDetails(CloudControlDetails.Builder builderForValue)
public Framework.Builder addCloudControlDetails(CloudControlDetails.Builder builderForValue)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | CloudControlDetails.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
addCloudControlDetails(int index, CloudControlDetails value)
public Framework.Builder addCloudControlDetails(int index, CloudControlDetails value)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | CloudControlDetails | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
addCloudControlDetails(int index, CloudControlDetails.Builder builderForValue)
public Framework.Builder addCloudControlDetails(int index, CloudControlDetails.Builder builderForValue)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | CloudControlDetails.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
addCloudControlDetailsBuilder()
public CloudControlDetails.Builder addCloudControlDetailsBuilder()Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| CloudControlDetails.Builder | |
addCloudControlDetailsBuilder(int index)
public CloudControlDetails.Builder addCloudControlDetailsBuilder(int index)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| CloudControlDetails.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Framework.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
addSupportedCloudProviders(CloudProvider value)
public Framework.Builder addSupportedCloudProviders(CloudProvider value)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | CloudProviderThe supportedCloudProviders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addSupportedCloudProvidersValue(int value)
public Framework.Builder addSupportedCloudProvidersValue(int value)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for supportedCloudProviders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addSupportedEnforcementModes(EnforcementMode value)
public Framework.Builder addSupportedEnforcementModes(EnforcementMode value)Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | EnforcementModeThe supportedEnforcementModes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addSupportedEnforcementModesValue(int value)
public Framework.Builder addSupportedEnforcementModesValue(int value)Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for supportedEnforcementModes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addSupportedTargetResourceTypes(TargetResourceType value)
public Framework.Builder addSupportedTargetResourceTypes(TargetResourceType value)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | TargetResourceTypeThe supportedTargetResourceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
addSupportedTargetResourceTypesValue(int value)
public Framework.Builder addSupportedTargetResourceTypesValue(int value)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for supportedTargetResourceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
build()
public Framework build()| Returns | |
|---|---|
| Type | Description | 
| Framework | |
buildPartial()
public Framework buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Framework | |
clear()
public Framework.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
clearCategory()
public Framework.Builder clearCategory()Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearCloudControlDetails()
public Framework.Builder clearCloudControlDetails()Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
clearDescription()
public Framework.Builder clearDescription()Optional. The description of the framework. The maximum length is 2000 characters.
 string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearDisplayName()
public Framework.Builder clearDisplayName()Optional. Display name of the framework. The maximum length is 200 characters.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Framework.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
clearMajorRevisionId()
public Framework.Builder clearMajorRevisionId()Output only. Major revision of the framework incremented in ascending order.
 int64 major_revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearName()
public Framework.Builder clearName()Required. Identifier. The name of the framework. Format: organizations/{organization}/locations/{location}/frameworks/{framework_id}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Framework.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
clearSupportedCloudProviders()
public Framework.Builder clearSupportedCloudProviders()Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearSupportedEnforcementModes()
public Framework.Builder clearSupportedEnforcementModes()Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearSupportedTargetResourceTypes()
public Framework.Builder clearSupportedTargetResourceTypes()Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clearType()
public Framework.Builder clearType()Output only. The type of the framework. The default is TYPE_CUSTOM.
 
 .google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
clone()
public Framework.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
getCategory(int index)
public FrameworkCategory getCategory(int index)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| FrameworkCategory | The category at the given index. | 
getCategoryCount()
public int getCategoryCount()Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of category. | 
getCategoryList()
public List<FrameworkCategory> getCategoryList()Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<FrameworkCategory> | A list containing the category. | 
getCategoryValue(int index)
public int getCategoryValue(int index)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.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 category at the given index. | 
getCategoryValueList()
public List<Integer> getCategoryValueList()Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for category. | 
getCloudControlDetails(int index)
public CloudControlDetails getCloudControlDetails(int index)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| CloudControlDetails | |
getCloudControlDetailsBuilder(int index)
public CloudControlDetails.Builder getCloudControlDetailsBuilder(int index)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| CloudControlDetails.Builder | |
getCloudControlDetailsBuilderList()
public List<CloudControlDetails.Builder> getCloudControlDetailsBuilderList()Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getCloudControlDetailsCount()
public int getCloudControlDetailsCount()Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getCloudControlDetailsList()
public List<CloudControlDetails> getCloudControlDetailsList()Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<CloudControlDetails> | |
getCloudControlDetailsOrBuilder(int index)
public CloudControlDetailsOrBuilder getCloudControlDetailsOrBuilder(int index)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| CloudControlDetailsOrBuilder | |
getCloudControlDetailsOrBuilderList()
public List<? extends CloudControlDetailsOrBuilder> getCloudControlDetailsOrBuilderList()Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlDetailsOrBuilder> | |
getDefaultInstanceForType()
public Framework getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Framework | |
getDescription()
public String getDescription()Optional. The description of the framework. The maximum length is 2000 characters.
 string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. The description of the framework. The maximum length is 2000 characters.
 string description = 5 [(.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. Display name of the framework. The maximum length is 200 characters.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The displayName. | 
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. Display name of the framework. The maximum length is 200 characters.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for displayName. | 
getMajorRevisionId()
public long getMajorRevisionId()Output only. Major revision of the framework 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 framework. Format: organizations/{organization}/locations/{location}/frameworks/{framework_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 name of the framework. Format: organizations/{organization}/locations/{location}/frameworks/{framework_id}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getSupportedCloudProviders(int index)
public CloudProvider getSupportedCloudProviders(int index)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| 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()Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of supportedCloudProviders. | 
getSupportedCloudProvidersList()
public List<CloudProvider> getSupportedCloudProvidersList()Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| List<CloudProvider> | A list containing the supportedCloudProviders. | 
getSupportedCloudProvidersValue(int index)
public int getSupportedCloudProvidersValue(int index)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.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 supportedCloudProviders at the given index. | 
getSupportedCloudProvidersValueList()
public List<Integer> getSupportedCloudProvidersValueList()Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| 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 of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| 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()Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of supportedTargetResourceTypes. | 
getSupportedTargetResourceTypesList()
public List<TargetResourceType> getSupportedTargetResourceTypesList()Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| List<TargetResourceType> | A list containing the supportedTargetResourceTypes. | 
getSupportedTargetResourceTypesValue(int index)
public int getSupportedTargetResourceTypesValue(int index)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.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 supportedTargetResourceTypes at the given index. | 
getSupportedTargetResourceTypesValueList()
public List<Integer> getSupportedTargetResourceTypesValueList()Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for supportedTargetResourceTypes. | 
getType()
public Framework.FrameworkType getType()Output only. The type of the framework. The default is TYPE_CUSTOM.
 
 .google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Framework.FrameworkType | The type. | 
getTypeValue()
public int getTypeValue()Output only. The type of the framework. The default is TYPE_CUSTOM.
 
 .google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for type. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(Framework other)
public Framework.Builder mergeFrom(Framework other)| Parameter | |
|---|---|
| Name | Description | 
| other | Framework | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Framework.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Framework.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Framework.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
removeCloudControlDetails(int index)
public Framework.Builder removeCloudControlDetails(int index)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
setCategory(int index, FrameworkCategory value)
public Framework.Builder setCategory(int index, FrameworkCategory value)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | FrameworkCategoryThe category to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setCategoryValue(int index, int value)
public Framework.Builder setCategoryValue(int index, int value)Optional. The category of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkCategory category = 9 [(.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 category to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setCloudControlDetails(int index, CloudControlDetails value)
public Framework.Builder setCloudControlDetails(int index, CloudControlDetails value)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | CloudControlDetails | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
setCloudControlDetails(int index, CloudControlDetails.Builder builderForValue)
public Framework.Builder setCloudControlDetails(int index, CloudControlDetails.Builder builderForValue)Optional. The details of the cloud controls directly added without any grouping in the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | CloudControlDetails.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
setDescription(String value)
public Framework.Builder setDescription(String value)Optional. The description of the framework. The maximum length is 2000 characters.
 string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public Framework.Builder setDescriptionBytes(ByteString value)Optional. The description of the framework. The maximum length is 2000 characters.
 string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setDisplayName(String value)
public Framework.Builder setDisplayName(String value)Optional. Display name of the framework. The maximum length is 200 characters.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setDisplayNameBytes(ByteString value)
public Framework.Builder setDisplayNameBytes(ByteString value)Optional. Display name of the framework. The maximum length is 200 characters.
 string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Framework.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
setMajorRevisionId(long value)
public Framework.Builder setMajorRevisionId(long value)Output only. Major revision of the framework 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 | 
| Framework.Builder | This builder for chaining. | 
setName(String value)
public Framework.Builder setName(String value)Required. Identifier. The name of the framework. Format: organizations/{organization}/locations/{location}/frameworks/{framework_id}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public Framework.Builder setNameBytes(ByteString value)Required. Identifier. The name of the framework. Format: organizations/{organization}/locations/{location}/frameworks/{framework_id}
 
 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 | 
| Framework.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Framework.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |
setSupportedCloudProviders(int index, CloudProvider value)
public Framework.Builder setSupportedCloudProviders(int index, CloudProvider value)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | CloudProviderThe supportedCloudProviders to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setSupportedCloudProvidersValue(int index, int value)
public Framework.Builder setSupportedCloudProvidersValue(int index, int value)Output only. cloud providers supported
 
 repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 10 [(.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 supportedCloudProviders to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setSupportedEnforcementModes(int index, EnforcementMode value)
public Framework.Builder setSupportedEnforcementModes(int index, EnforcementMode value)Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 | 
| Framework.Builder | This builder for chaining. | 
setSupportedEnforcementModesValue(int index, int value)
public Framework.Builder setSupportedEnforcementModesValue(int index, int value)Output only. The supported enforcement modes of the framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 13 [(.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 | 
| Framework.Builder | This builder for chaining. | 
setSupportedTargetResourceTypes(int index, TargetResourceType value)
public Framework.Builder setSupportedTargetResourceTypes(int index, TargetResourceType value)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | TargetResourceTypeThe supportedTargetResourceTypes to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setSupportedTargetResourceTypesValue(int index, int value)
public Framework.Builder setSupportedTargetResourceTypesValue(int index, int value)Output only. target resource types supported by the Framework.
 
 repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 11 [(.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 supportedTargetResourceTypes to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setType(Framework.FrameworkType value)
public Framework.Builder setType(Framework.FrameworkType value)Output only. The type of the framework. The default is TYPE_CUSTOM.
 
 .google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Framework.FrameworkTypeThe type to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setTypeValue(int value)
public Framework.Builder setTypeValue(int value)Output only. The type of the framework. The default is TYPE_CUSTOM.
 
 .google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for type to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Framework.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Framework.Builder | |