public final class Framework extends GeneratedMessageV3 implements FrameworkOrBuilder
Framework is a collection of CloudControls which represents
industry/GCP/Customer defined
Protobuf type google.cloud.cloudsecuritycompliance.v1.Framework
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLOUD_CONTROL_DETAILS_FIELD_NUMBER
public static final int CLOUD_CONTROL_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLOUD_CONTROL_GROUP_DETAILS_FIELD_NUMBER
public static final int CLOUD_CONTROL_GROUP_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAJOR_REVISION_ID_FIELD_NUMBER
public static final int MAJOR_REVISION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUPPORTED_CLOUD_PROVIDERS_FIELD_NUMBER
public static final int SUPPORTED_CLOUD_PROVIDERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUPPORTED_TARGET_RESOURCE_TYPES_FIELD_NUMBER
public static final int SUPPORTED_TARGET_RESOURCE_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Framework getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Framework.Builder newBuilder()
newBuilder(Framework prototype)
public static Framework.Builder newBuilder(Framework prototype)
Parameter |
Name |
Description |
prototype |
Framework
|
public static Framework parseDelimitedFrom(InputStream input)
public static Framework parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Framework parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Framework parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Framework parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Framework parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Framework parseFrom(CodedInputStream input)
public static Framework parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Framework parseFrom(InputStream input)
public static Framework parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Framework parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Framework parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Framework> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.
|
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];
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
|
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];
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
|
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
|
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];
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
|
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()
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.
|
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()
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.
|
getParserForType()
public Parser<Framework> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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];
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];
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Framework.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Framework.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Framework.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides