public final class FrameworkDeployment extends GeneratedMessageV3 implements FrameworkDeploymentOrBuilder
FrameworkDeployment represents deployment of a Framework on a target
resource. Supported target resources are organizations/{organization},
folders/{folder}, and projects/{project}.
Protobuf type google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment
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
CLOUD_CONTROL_DEPLOYMENT_REFERENCES_FIELD_NUMBER
public static final int CLOUD_CONTROL_DEPLOYMENT_REFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CLOUD_CONTROL_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMPUTED_TARGET_RESOURCE_FIELD_NUMBER
public static final int COMPUTED_TARGET_RESOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEPLOYMENT_STATE_FIELD_NUMBER
public static final int DEPLOYMENT_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FRAMEWORK_FIELD_NUMBER
public static final int FRAMEWORK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_RESOURCE_CONFIG_FIELD_NUMBER
public static final int TARGET_RESOURCE_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_RESOURCE_DISPLAY_NAME_FIELD_NUMBER
public static final int TARGET_RESOURCE_DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FrameworkDeployment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FrameworkDeployment.Builder newBuilder()
newBuilder(FrameworkDeployment prototype)
public static FrameworkDeployment.Builder newBuilder(FrameworkDeployment prototype)
public static FrameworkDeployment parseDelimitedFrom(InputStream input)
public static FrameworkDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FrameworkDeployment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FrameworkDeployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(CodedInputStream input)
public static FrameworkDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(InputStream input)
public static FrameworkDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FrameworkDeployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FrameworkDeployment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCloudControlDeploymentReferences(int index)
public CloudControlDeploymentReference getCloudControlDeploymentReferences(int index)
Output only. The references to the cloud control deployments. It has all
the CloudControlDeployments which are either directly added in the
framework or through a CloudControlGroup. Example: If a framework
deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2,
then the cloud_control_deployment_references will be:
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getCloudControlDeploymentReferencesCount()
public int getCloudControlDeploymentReferencesCount()
Output only. The references to the cloud control deployments. It has all
the CloudControlDeployments which are either directly added in the
framework or through a CloudControlGroup. Example: If a framework
deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2,
then the cloud_control_deployment_references will be:
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getCloudControlDeploymentReferencesList()
public List<CloudControlDeploymentReference> getCloudControlDeploymentReferencesList()
Output only. The references to the cloud control deployments. It has all
the CloudControlDeployments which are either directly added in the
framework or through a CloudControlGroup. Example: If a framework
deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2,
then the cloud_control_deployment_references will be:
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCloudControlDeploymentReferencesOrBuilder(int index)
public CloudControlDeploymentReferenceOrBuilder getCloudControlDeploymentReferencesOrBuilder(int index)
Output only. The references to the cloud control deployments. It has all
the CloudControlDeployments which are either directly added in the
framework or through a CloudControlGroup. Example: If a framework
deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2,
then the cloud_control_deployment_references will be:
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getCloudControlDeploymentReferencesOrBuilderList()
public List<? extends CloudControlDeploymentReferenceOrBuilder> getCloudControlDeploymentReferencesOrBuilderList()
Output only. The references to the cloud control deployments. It has all
the CloudControlDeployments which are either directly added in the
framework or through a CloudControlGroup. Example: If a framework
deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2,
then the cloud_control_deployment_references will be:
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReferenceOrBuilder> |
|
public CloudControlMetadata getCloudControlMetadata(int index)
Required. Deployment mode and parameters for each of the Cloud Controls in
the framework. Every Cloud Control in the framework must have a
CloudControlMetadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public int getCloudControlMetadataCount()
Required. Deployment mode and parameters for each of the Cloud Controls in
the framework. Every Cloud Control in the framework must have a
CloudControlMetadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public List<CloudControlMetadata> getCloudControlMetadataList()
Required. Deployment mode and parameters for each of the Cloud Controls in
the framework. Every Cloud Control in the framework must have a
CloudControlMetadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
public CloudControlMetadataOrBuilder getCloudControlMetadataOrBuilder(int index)
Required. Deployment mode and parameters for each of the Cloud Controls in
the framework. Every Cloud Control in the framework must have a
CloudControlMetadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<? extends CloudControlMetadataOrBuilder> getCloudControlMetadataOrBuilderList()
Required. Deployment mode and parameters for each of the Cloud Controls in
the framework. Every Cloud Control in the framework must have a
CloudControlMetadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadataOrBuilder> |
|
getComputedTargetResource()
public String getComputedTargetResource()
Output only. The resource on which the Framework is deployed based on the
provided TargetResourceConfig in the following format:
organizations/{organization}, folders/{folder} or projects/{project}
string computed_target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The computedTargetResource.
|
getComputedTargetResourceBytes()
public ByteString getComputedTargetResourceBytes()
Output only. The resource on which the Framework is deployed based on the
provided TargetResourceConfig in the following format:
organizations/{organization}, folders/{folder} or projects/{project}
string computed_target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for computedTargetResource.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which the resource was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the resource was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public FrameworkDeployment getDefaultInstanceForType()
getDeploymentState()
public DeploymentState getDeploymentState()
Output only. State of the Framework Deployment
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeploymentStateValue()
public int getDeploymentStateValue()
Output only. State of the Framework Deployment
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for deploymentState.
|
getDescription()
public String getDescription()
Optional. User provided description of the Framework deployment
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. User provided description of the Framework deployment
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getEtag()
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag
when you update a FrameworkDeployment. You can also
provide the etag
when you delete a FrameworkDeployment, to help
ensure that you're deleting the intended version of the
FrameworkDeployment.
string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag
when you update a FrameworkDeployment. You can also
provide the etag
when you delete a FrameworkDeployment, to help
ensure that you're deleting the intended version of the
FrameworkDeployment.
string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for etag.
|
getFramework()
public FrameworkReference getFramework()
Required. Reference to the framework to be deployed.
.google.cloud.cloudsecuritycompliance.v1.FrameworkReference framework = 4 [(.google.api.field_behavior) = REQUIRED];
getFrameworkOrBuilder()
public FrameworkReferenceOrBuilder getFrameworkOrBuilder()
Required. Reference to the framework to be deployed.
.google.cloud.cloudsecuritycompliance.v1.FrameworkReference framework = 4 [(.google.api.field_behavior) = REQUIRED];
getName()
Identifier. FrameworkDeployment name in the following format:
organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. FrameworkDeployment name in the following format:
organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<FrameworkDeployment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTargetResourceConfig()
public TargetResourceConfig getTargetResourceConfig()
Required. The details of the target resource on which the Framework is to
be deployed. It can either be an existing target resource or a new target
resource to be created.
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetResourceConfigOrBuilder()
public TargetResourceConfigOrBuilder getTargetResourceConfigOrBuilder()
Required. The details of the target resource on which the Framework is to
be deployed. It can either be an existing target resource or a new target
resource to be created.
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetResourceDisplayName()
public String getTargetResourceDisplayName()
Output only. The display name of the target resource.
string target_resource_display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The targetResourceDisplayName.
|
getTargetResourceDisplayNameBytes()
public ByteString getTargetResourceDisplayNameBytes()
Output only. The display name of the target resource.
string target_resource_display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for targetResourceDisplayName.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time at which the resource last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the resource last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. The time at which the resource was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasFramework()
public boolean hasFramework()
Required. Reference to the framework to be deployed.
.google.cloud.cloudsecuritycompliance.v1.FrameworkReference framework = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the framework field is set.
|
hasTargetResourceConfig()
public boolean hasTargetResourceConfig()
Required. The details of the target resource on which the Framework is to
be deployed. It can either be an existing target resource or a new target
resource to be created.
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the targetResourceConfig field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time at which the resource last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FrameworkDeployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FrameworkDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FrameworkDeployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides