# Interface DeploymentJobsOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.DeploymentJobsOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.DeploymentJobsOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.DeploymentJobsOrBuilder)

    public interface DeploymentJobsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDeployJob()

    public abstract Job getDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

`.google.events.cloud.deploy.v1.Job deploy_job = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.Job` | The deployJob. |

### getDeployJobOrBuilder()

    public abstract JobOrBuilder getDeployJobOrBuilder()

Output only. The deploy Job. This is the deploy job in the phase.

`.google.events.cloud.deploy.v1.Job deploy_job = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.JobOrBuilder` |   |

### getPostdeployJob()

    public abstract Job getPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

`.google.events.cloud.deploy.v1.Job postdeploy_job = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.Job` | The postdeployJob. |

### getPostdeployJobOrBuilder()

    public abstract JobOrBuilder getPostdeployJobOrBuilder()

Output only. The postdeploy Job, which is the last job on the phase.

`.google.events.cloud.deploy.v1.Job postdeploy_job = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.JobOrBuilder` |   |

### getPredeployJob()

    public abstract Job getPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

`.google.events.cloud.deploy.v1.Job predeploy_job = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.Job` | The predeployJob. |

### getPredeployJobOrBuilder()

    public abstract JobOrBuilder getPredeployJobOrBuilder()

Output only. The predeploy Job, which is the first job on the phase.

`.google.events.cloud.deploy.v1.Job predeploy_job = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.JobOrBuilder` |   |

### getVerifyJob()

    public abstract Job getVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

`.google.events.cloud.deploy.v1.Job verify_job = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.Job` | The verifyJob. |

### getVerifyJobOrBuilder()

    public abstract JobOrBuilder getVerifyJobOrBuilder()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

`.google.events.cloud.deploy.v1.Job verify_job = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.JobOrBuilder` |   |

### hasDeployJob()

    public abstract boolean hasDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

`.google.events.cloud.deploy.v1.Job deploy_job = 1;`

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

### hasPostdeployJob()

    public abstract boolean hasPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

`.google.events.cloud.deploy.v1.Job postdeploy_job = 4;`

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

### hasPredeployJob()

    public abstract boolean hasPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

`.google.events.cloud.deploy.v1.Job predeploy_job = 3;`

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

### hasVerifyJob()

    public abstract boolean hasVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

`.google.events.cloud.deploy.v1.Job verify_job = 2;`

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