# Interface CreateDeploymentRequestOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface CreateDeploymentRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDeployment()

    public abstract Deployment getDeployment()

Required. The deployment to create.

`.google.cloud.ces.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Deployment` | The deployment. |

### getDeploymentId()

    public abstract String getDeploymentId()

Optional. The ID to use for the deployment, which will become the final
component of the deployment's resource name. If not provided, a unique ID
will be automatically assigned for the deployment.

`string deployment_id = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getDeploymentIdBytes()

    public abstract ByteString getDeploymentIdBytes()

Optional. The ID to use for the deployment, which will become the final
component of the deployment's resource name. If not provided, a unique ID
will be automatically assigned for the deployment.

`string deployment_id = 3 [(.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 deploymentId. |

### getDeploymentOrBuilder()

    public abstract DeploymentOrBuilder getDeploymentOrBuilder()

Required. The deployment to create.

`.google.cloud.ces.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getParent()

    public abstract String getParent()

Required. The parent app.
Format:
`projects/{project}/locations/{location}/apps/{app}`

`
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 app.
Format:
`projects/{project}/locations/{location}/apps/{app}`

`
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. |

### hasDeployment()

    public abstract boolean hasDeployment()

Required. The deployment to create.

`.google.cloud.ces.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];
`

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