Class Framework.Builder (0.1.0)

public static final class Framework.Builder extends GeneratedMessageV3.Builder<Framework.Builder> implements FrameworkOrBuilder

Framework is a collection of CloudControls which represents industry/GCP/Customer defined

Protobuf type google.cloud.cloudsecuritycompliance.v1.Framework

Implements

FrameworkOrBuilder

Static 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

addAllCloudControlGroupDetails(Iterable<? extends Framework.CloudControlGroupDetails> values)

public Framework.Builder addAllCloudControlGroupDetails(Iterable<? extends Framework.CloudControlGroupDetails> values)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails>
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.

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 FrameworkCategory

The 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 int

The 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

addCloudControlGroupDetails(Framework.CloudControlGroupDetails value)

public Framework.Builder addCloudControlGroupDetails(Framework.CloudControlGroupDetails value)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Framework.CloudControlGroupDetails
Returns
Type Description
Framework.Builder

addCloudControlGroupDetails(Framework.CloudControlGroupDetails.Builder builderForValue)

public Framework.Builder addCloudControlGroupDetails(Framework.CloudControlGroupDetails.Builder builderForValue)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Framework.CloudControlGroupDetails.Builder
Returns
Type Description
Framework.Builder

addCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails value)

public Framework.Builder addCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails value)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Framework.CloudControlGroupDetails
Returns
Type Description
Framework.Builder

addCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails.Builder builderForValue)

public Framework.Builder addCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails.Builder builderForValue)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Framework.CloudControlGroupDetails.Builder
Returns
Type Description
Framework.Builder

addCloudControlGroupDetailsBuilder()

public Framework.CloudControlGroupDetails.Builder addCloudControlGroupDetailsBuilder()

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.CloudControlGroupDetails.Builder

addCloudControlGroupDetailsBuilder(int index)

public Framework.CloudControlGroupDetails.Builder addCloudControlGroupDetailsBuilder(int index)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.CloudControlGroupDetails.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
Overrides

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 CloudProvider

The 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 int

The enum numeric value on the wire for supportedCloudProviders 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 TargetResourceType

The 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 int

The 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
Overrides

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

clearCloudControlGroupDetails()

public Framework.Builder clearCloudControlGroupDetails()

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.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
Overrides

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
Overrides

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.

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
Overrides

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 int

The 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 int

The 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>

getCloudControlGroupDetails(int index)

public Framework.CloudControlGroupDetails getCloudControlGroupDetails(int index)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.CloudControlGroupDetails

getCloudControlGroupDetailsBuilder(int index)

public Framework.CloudControlGroupDetails.Builder getCloudControlGroupDetailsBuilder(int index)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.CloudControlGroupDetails.Builder

getCloudControlGroupDetailsBuilderList()

public List<Framework.CloudControlGroupDetails.Builder> getCloudControlGroupDetailsBuilderList()

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getCloudControlGroupDetailsCount()

public int getCloudControlGroupDetailsCount()

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCloudControlGroupDetailsList()

public List<Framework.CloudControlGroupDetails> getCloudControlGroupDetailsList()

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CloudControlGroupDetails>

getCloudControlGroupDetailsOrBuilder(int index)

public Framework.CloudControlGroupDetailsOrBuilder getCloudControlGroupDetailsOrBuilder(int index)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.CloudControlGroupDetailsOrBuilder

getCloudControlGroupDetailsOrBuilderList()

public List<? extends Framework.CloudControlGroupDetailsOrBuilder> getCloudControlGroupDetailsOrBuilderList()

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetailsOrBuilder>

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
Overrides

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 int

The 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 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()

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.

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 int

The 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 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()

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Framework.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Framework.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Framework.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Framework.Builder
Overrides

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

removeCloudControlGroupDetails(int index)

public Framework.Builder removeCloudControlGroupDetails(int index)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.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 int

The index to set the value at.

value FrameworkCategory

The 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 int

The index to set the value at.

value int

The 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

setCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails value)

public Framework.Builder setCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails value)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Framework.CloudControlGroupDetails
Returns
Type Description
Framework.Builder

setCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails.Builder builderForValue)

public Framework.Builder setCloudControlGroupDetails(int index, Framework.CloudControlGroupDetails.Builder builderForValue)

Optional. The details of the cloud control groups included in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.Framework.CloudControlGroupDetails cloud_control_group_details = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Framework.CloudControlGroupDetails.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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

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 long

The 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 String

The 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 ByteString

The 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
Overrides

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 int

The index to set the value at.

value CloudProvider

The 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 int

The index to set the value at.

value int

The enum numeric value on the wire for supportedCloudProviders 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 int

The index to set the value at.

value TargetResourceType

The 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 int

The index to set the value at.

value int

The 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.FrameworkType

The 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 int

The 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
Overrides