# Interface CreateCloudControlRequestOrBuilder (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 CreateCloudControlRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCloudControl()

    public abstract CloudControl getCloudControl()

Required. The cloud control that's being created.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 3 [(.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.CloudControl` | The cloudControl. |

### getCloudControlId()

    public abstract String getCloudControlId()

Required. The identifier for the cloud control, which is the last segment
of the cloud control name. The format is
`^a-zA-Z{0,61}[a-zA-Z0-9]$`.

`string cloud_control_id = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getCloudControlIdBytes()

    public abstract ByteString getCloudControlIdBytes()

Required. The identifier for the cloud control, which is the last segment
of the cloud control name. The format is
`^a-zA-Z{0,61}[a-zA-Z0-9]$`.

`string cloud_control_id = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getCloudControlOrBuilder()

    public abstract CloudControlOrBuilder getCloudControlOrBuilder()

Required. The cloud control that's being created.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 3 [(.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.CloudControlOrBuilder` |   |

### getParent()

    public abstract String getParent()

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`.
- `projects/{project}/locations/{location}`.

  The only supported location is `global`.

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`.
- `projects/{project}/locations/{location}`.

  The only supported location is `global`.

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### hasCloudControl()

    public abstract boolean hasCloudControl()

Required. The cloud control that's being created.

`
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 3 [(.google.api.field_behavior) = REQUIRED];
`

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