# Interface PhaseOrBuilder (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.PhaseOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.PhaseOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.PhaseOrBuilder)

    public interface PhaseOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getChildRolloutJobs()

    public abstract ChildRolloutJobs getChildRolloutJobs()

Output only. ChildRollout job composition.

`.google.events.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5;`

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

### getChildRolloutJobsOrBuilder()

    public abstract ChildRolloutJobsOrBuilder getChildRolloutJobsOrBuilder()

Output only. ChildRollout job composition.

`.google.events.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5;`

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

### getDeploymentJobs()

    public abstract DeploymentJobs getDeploymentJobs()

Output only. Deployment job composition.

`.google.events.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4;`

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

### getDeploymentJobsOrBuilder()

    public abstract DeploymentJobsOrBuilder getDeploymentJobsOrBuilder()

Output only. Deployment job composition.

`.google.events.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4;`

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

### getId()

    public abstract String getId()

Output only. The ID of the Phase.

`string id = 1;`

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

### getIdBytes()

    public abstract ByteString getIdBytes()

Output only. The ID of the Phase.

`string id = 1;`

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

### getJobsCase()

    public abstract Phase.JobsCase getJobsCase()

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

### getSkipMessage()

    public abstract String getSkipMessage()

Output only. Additional information on why the Phase was skipped, if
available.

`string skip_message = 6;`

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

### getSkipMessageBytes()

    public abstract ByteString getSkipMessageBytes()

Output only. Additional information on why the Phase was skipped, if
available.

`string skip_message = 6;`

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

### getState()

    public abstract Phase.State getState()

Output only. Current state of the Phase.

`.google.events.cloud.deploy.v1.Phase.State state = 3;`

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

### getStateValue()

    public abstract int getStateValue()

Output only. Current state of the Phase.

`.google.events.cloud.deploy.v1.Phase.State state = 3;`

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

### hasChildRolloutJobs()

    public abstract boolean hasChildRolloutJobs()

Output only. ChildRollout job composition.

`.google.events.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5;`

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

### hasDeploymentJobs()

    public abstract boolean hasDeploymentJobs()

Output only. Deployment job composition.

`.google.events.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4;`

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