# Interface CloudControlDeploymentOrBuilder (0.20.0)

0.20.0 (latest) 0.18.0 0.15.0 0.14.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface CloudControlDeploymentOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getCloudControlMetadata()

    public abstract CloudControlMetadata getCloudControlMetadata()

Required. The deployment mode and parameters for the cloud control.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata` | The cloudControlMetadata. |

### getCloudControlMetadataOrBuilder()

    public abstract CloudControlMetadataOrBuilder getCloudControlMetadataOrBuilder()

Required. The deployment mode and parameters for the cloud control.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadataOrBuilder` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

Output only. The time when the resource was created.

`.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the resource was created.

`.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDeploymentState()

    public abstract DeploymentState getDeploymentState()

Output only. The state of the cloud control deployment.

`
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.DeploymentState` | The deploymentState. |

### getDeploymentStateValue()

    public abstract int getDeploymentStateValue()

Output only. The state of the cloud control deployment.

`
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for deploymentState. |

### getDescription()

    public abstract String getDescription()

Optional. A friendly description for the cloud control deployment.

`string description = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Optional. A friendly description for the cloud control deployment.

`string description = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getEtag()

    public abstract String getEtag()

Optional. To prevent concurrent updates from overwriting each other,
provide the `etag` when you update a cloud control deployment. You can also
provide the `etag` when you delete a cloud control deployment to help
ensure that you're deleting the intended version of the
deployment.

`string etag = 9 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The etag. |

### getEtagBytes()

    public abstract ByteString getEtagBytes()

Optional. To prevent concurrent updates from overwriting each other,
provide the `etag` when you update a cloud control deployment. You can also
provide the `etag` when you delete a cloud control deployment to help
ensure that you're deleting the intended version of the
deployment.

`string etag = 9 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for etag. |

### getFrameworkDeploymentReferences(int index)

    public abstract FrameworkDeploymentReference getFrameworkDeploymentReferences(int index)

Output only. The references to the framework deployments that this cloud
control deployment is part of. A cloud control deployment can be part of
multiple framework deployments.

`
repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference` |   |

### getFrameworkDeploymentReferencesCount()

    public abstract int getFrameworkDeploymentReferencesCount()

Output only. The references to the framework deployments that this cloud
control deployment is part of. A cloud control deployment can be part of
multiple framework deployments.

`
repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFrameworkDeploymentReferencesList()

    public abstract List<FrameworkDeploymentReference> getFrameworkDeploymentReferencesList()

Output only. The references to the framework deployments that this cloud
control deployment is part of. A cloud control deployment can be part of
multiple framework deployments.

`
repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference>` |   |

### getFrameworkDeploymentReferencesOrBuilder(int index)

    public abstract FrameworkDeploymentReferenceOrBuilder getFrameworkDeploymentReferencesOrBuilder(int index)

Output only. The references to the framework deployments that this cloud
control deployment is part of. A cloud control deployment can be part of
multiple framework deployments.

`
repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReferenceOrBuilder` |   |

### getFrameworkDeploymentReferencesOrBuilderList()

    public abstract List<? extends FrameworkDeploymentReferenceOrBuilder> getFrameworkDeploymentReferencesOrBuilderList()

Output only. The references to the framework deployments that this cloud
control deployment is part of. A cloud control deployment can be part of
multiple framework deployments.

`
repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReferenceOrBuilder>` |   |

### getName()

    public abstract String getName()

Identifier. The name for the cloud control deployment, in the format
`organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
or
`projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
The only supported location is `global`.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The name for the cloud control deployment, in the format
`organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
or
`projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
The only supported location is `global`.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getParameterSubstitutedCloudControl()

    public abstract CloudControl getParameterSubstitutedCloudControl()

Output only. The cloud control after the given parameters are substituted.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.CloudControl` | The parameterSubstitutedCloudControl. |

### getParameterSubstitutedCloudControlOrBuilder()

    public abstract CloudControlOrBuilder getParameterSubstitutedCloudControlOrBuilder()

Output only. The cloud control after the given parameters are substituted.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.CloudControlOrBuilder` |   |

### getTargetResource()

    public abstract String getTargetResource()

Output only. The resource that the cloud control is deployed on, in one of
the following formats:

- `organizations/{organizationID}`
- `folders/{folderID}`
- `projects/{projectID}`

`string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The targetResource. |

### getTargetResourceBytes()

    public abstract ByteString getTargetResourceBytes()

Output only. The resource that the cloud control is deployed on, in one of
the following formats:

- `organizations/{organizationID}`
- `folders/{folderID}`
- `projects/{projectID}`

`string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for targetResource. |

### getTargetResourceConfig()

    public abstract TargetResourceConfig getTargetResourceConfig()

Required. The details of the target resource that the cloud control is
deployed You can use an existing target resource or create a new target.

`
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig` | The targetResourceConfig. |

### getTargetResourceConfigOrBuilder()

    public abstract TargetResourceConfigOrBuilder getTargetResourceConfigOrBuilder()

Required. The details of the target resource that the cloud control is
deployed You can use an existing target resource or create a new target.

`
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfigOrBuilder` |   |

### getTargetResourceDisplayName()

    public abstract String getTargetResourceDisplayName()

Output only. The display name of the target resource.

`string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The targetResourceDisplayName. |

### getTargetResourceDisplayNameBytes()

    public abstract ByteString getTargetResourceDisplayNameBytes()

Output only. The display name of the target resource.

`string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for targetResourceDisplayName. |

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. The time when the resource was last updated.

`.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The updateTime. |

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the resource was last updated.

`.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### hasCloudControlMetadata()

    public abstract boolean hasCloudControlMetadata()

Required. The deployment mode and parameters for the cloud control.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the cloudControlMetadata field is set. |

### hasCreateTime()

    public abstract boolean hasCreateTime()

Output only. The time when the resource was created.

`.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the createTime field is set. |

### hasParameterSubstitutedCloudControl()

    public abstract boolean hasParameterSubstitutedCloudControl()

Output only. The cloud control after the given parameters are substituted.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the parameterSubstitutedCloudControl field is set. |

### hasTargetResourceConfig()

    public abstract boolean hasTargetResourceConfig()

Required. The details of the target resource that the cloud control is
deployed You can use an existing target resource or create a new target.

`
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the targetResourceConfig field is set. |

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. The time when the resource was last updated.

`.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the updateTime field is set. |