public final class CloudControl extends GeneratedMessageV3 implements CloudControlOrBuilder
A CloudControl is a GCP-provided parameterized concept which is used to satisfy a Security or Compliance intent.
Protobuf type google.cloud.cloudsecuritycompliance.v1.CloudControl
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CloudControlImplements
CloudControlOrBuilderStatic Fields
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_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 |
FINDING_CATEGORY_FIELD_NUMBER
public static final int FINDING_CATEGORY_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 |
PARAMETER_SPEC_FIELD_NUMBER
public static final int PARAMETER_SPEC_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RELATED_FRAMEWORKS_FIELD_NUMBER
public static final int RELATED_FRAMEWORKS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REMEDIATION_STEPS_FIELD_NUMBER
public static final int REMEDIATION_STEPS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_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_ENFORCEMENT_MODES_FIELD_NUMBER
public static final int SUPPORTED_ENFORCEMENT_MODES_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 |
Static Methods
getDefaultInstance()
public static CloudControl getDefaultInstance()
Returns | |
---|---|
Type | Description |
CloudControl |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CloudControl.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
newBuilder(CloudControl prototype)
public static CloudControl.Builder newBuilder(CloudControl prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CloudControl |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
parseDelimitedFrom(InputStream input)
public static CloudControl parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudControl parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CloudControl parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudControl parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CloudControl parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudControl parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CloudControl parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudControl parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CloudControl parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudControl parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CloudControl parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudControl parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudControl |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CloudControl> parser()
Returns | |
---|---|
Type | Description |
Parser<CloudControl> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getCategories(int index)
public CloudControlCategory getCategories(int index)
Optional. The categories of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
CloudControlCategory |
The categories at the given index. |
getCategoriesCount()
public int getCategoriesCount()
Optional. The categories of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of categories. |
getCategoriesList()
public List<CloudControlCategory> getCategoriesList()
Optional. The categories of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<CloudControlCategory> |
A list containing the categories. |
getCategoriesValue(int index)
public int getCategoriesValue(int index)
Optional. The categories of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of categories at the given index. |
getCategoriesValueList()
public List<Integer> getCategoriesValueList()
Optional. The categories of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlCategory categories = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for categories. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CloudControl getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudControl |
getDescription()
public String getDescription()
Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A description of the cloud control. The maximum length is 2000 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDisplayName()
public String getDisplayName()
Optional. The display name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. The display name of the cloud control. The maximum length is 200 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getFindingCategory()
public String getFindingCategory()
Optional. The finding_category of the cloud control. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The findingCategory. |
getFindingCategoryBytes()
public ByteString getFindingCategoryBytes()
Optional. The finding_category of the cloud control. The maximum length is 255 characters.
string finding_category = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for findingCategory. |
getMajorRevisionId()
public long getMajorRevisionId()
Output only. Major revision of the cloud control incremented in ascending order.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The majorRevisionId. |
getName()
public String getName()
Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParameterSpec(int index)
public ParameterSpec getParameterSpec(int index)
Optional. The parameter spec of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterSpec |
getParameterSpecCount()
public int getParameterSpecCount()
Optional. The parameter spec of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getParameterSpecList()
public List<ParameterSpec> getParameterSpecList()
Optional. The parameter spec of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<ParameterSpec> |
getParameterSpecOrBuilder(int index)
public ParameterSpecOrBuilder getParameterSpecOrBuilder(int index)
Optional. The parameter spec of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterSpecOrBuilder |
getParameterSpecOrBuilderList()
public List<? extends ParameterSpecOrBuilder> getParameterSpecOrBuilderList()
Optional. The parameter spec of the cloud control.
repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec parameter_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.ParameterSpecOrBuilder> |
getParserForType()
public Parser<CloudControl> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CloudControl> |
getRelatedFrameworks(int index)
public String getRelatedFrameworks(int index)
Output only. The Frameworks that include this CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The relatedFrameworks at the given index. |
getRelatedFrameworksBytes(int index)
public ByteString getRelatedFrameworksBytes(int index)
Output only. The Frameworks that include this CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the relatedFrameworks at the given index. |
getRelatedFrameworksCount()
public int getRelatedFrameworksCount()
Output only. The Frameworks that include this CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of relatedFrameworks. |
getRelatedFrameworksList()
public ProtocolStringList getRelatedFrameworksList()
Output only. The Frameworks that include this CloudControl
repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the relatedFrameworks. |
getRemediationSteps()
public String getRemediationSteps()
Optional. The remediation steps for the findings generated by the cloud control. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The remediationSteps. |
getRemediationStepsBytes()
public ByteString getRemediationStepsBytes()
Optional. The remediation steps for the findings generated by the cloud control. The maximum length is 400 characters.
string remediation_steps = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for remediationSteps. |
getRules(int index)
public Rule getRules(int index)
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Rule |
getRulesCount()
public int getRulesCount()
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getRulesList()
public List<Rule> getRulesList()
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Rule> |
getRulesOrBuilder(int index)
public RuleOrBuilder getRulesOrBuilder(int index)
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RuleOrBuilder |
getRulesOrBuilderList()
public List<? extends RuleOrBuilder> getRulesOrBuilderList()
Optional. The Policy to be enforced to prevent/detect resource non-compliance.
repeated .google.cloud.cloudsecuritycompliance.v1.Rule rules = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.RuleOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSeverity()
public Severity getSeverity()
Optional. The severity of findings generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()
Optional. The severity of findings generated by the cloud control.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for severity. |
getSupportedCloudProviders(int index)
public CloudProvider getSupportedCloudProviders(int index)
Optional. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
CloudProvider |
The supportedCloudProviders at the given index. |
getSupportedCloudProvidersCount()
public int getSupportedCloudProvidersCount()
Optional. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of supportedCloudProviders. |
getSupportedCloudProvidersList()
public List<CloudProvider> getSupportedCloudProvidersList()
Optional. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<CloudProvider> |
A list containing the supportedCloudProviders. |
getSupportedCloudProvidersValue(int index)
public int getSupportedCloudProvidersValue(int index)
Optional. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of supportedCloudProviders at the given index. |
getSupportedCloudProvidersValueList()
public List<Integer> getSupportedCloudProvidersValueList()
Optional. cloud providers supported
repeated .google.cloud.cloudsecuritycompliance.v1.CloudProvider supported_cloud_providers = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedCloudProviders. |
getSupportedEnforcementModes(int index)
public EnforcementMode getSupportedEnforcementModes(int index)
Output only. The supported enforcement mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
EnforcementMode |
The supportedEnforcementModes at the given index. |
getSupportedEnforcementModesCount()
public int getSupportedEnforcementModesCount()
Output only. The supported enforcement mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of supportedEnforcementModes. |
getSupportedEnforcementModesList()
public List<EnforcementMode> getSupportedEnforcementModesList()
Output only. The supported enforcement mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<EnforcementMode> |
A list containing the supportedEnforcementModes. |
getSupportedEnforcementModesValue(int index)
public int getSupportedEnforcementModesValue(int index)
Output only. The supported enforcement mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of supportedEnforcementModes at the given index. |
getSupportedEnforcementModesValueList()
public List<Integer> getSupportedEnforcementModesValueList()
Output only. The supported enforcement mode of the cloud control. Default is DETECTIVE.
repeated .google.cloud.cloudsecuritycompliance.v1.EnforcementMode supported_enforcement_modes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedEnforcementModes. |
getSupportedTargetResourceTypes(int index)
public TargetResourceType getSupportedTargetResourceTypes(int index)
Optional. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
TargetResourceType |
The supportedTargetResourceTypes at the given index. |
getSupportedTargetResourceTypesCount()
public int getSupportedTargetResourceTypesCount()
Optional. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of supportedTargetResourceTypes. |
getSupportedTargetResourceTypesList()
public List<TargetResourceType> getSupportedTargetResourceTypesList()
Optional. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<TargetResourceType> |
A list containing the supportedTargetResourceTypes. |
getSupportedTargetResourceTypesValue(int index)
public int getSupportedTargetResourceTypesValue(int index)
Optional. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of supportedTargetResourceTypes at the given index. |
getSupportedTargetResourceTypesValueList()
public List<Integer> getSupportedTargetResourceTypesValueList()
Optional. target resource types supported by the CloudControl.
repeated .google.cloud.cloudsecuritycompliance.v1.TargetResourceType supported_target_resource_types = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedTargetResourceTypes. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The last updated time of the cloud control. The create_time is used because a new CC is created whenever we update an existing CC.
.google.protobuf.Timestamp create_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CloudControl.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudControl.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CloudControl.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CloudControl.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |