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

    public interface AutomationRolloutMetadataOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAdvanceAutomationRuns(int index)

    public abstract String getAdvanceAutomationRuns(int index)

Output only. The IDs of the AutomationRuns initiated by an advance rollout
rule.

`repeated string advance_automation_runs = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The advanceAutomationRuns at the given index. |

### getAdvanceAutomationRunsBytes(int index)

    public abstract ByteString getAdvanceAutomationRunsBytes(int index)

Output only. The IDs of the AutomationRuns initiated by an advance rollout
rule.

`repeated string advance_automation_runs = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the advanceAutomationRuns at the given index. |

### getAdvanceAutomationRunsCount()

    public abstract int getAdvanceAutomationRunsCount()

Output only. The IDs of the AutomationRuns initiated by an advance rollout
rule.

`repeated string advance_automation_runs = 2;`

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

### getAdvanceAutomationRunsList()

    public abstract List<String> getAdvanceAutomationRunsList()

Output only. The IDs of the AutomationRuns initiated by an advance rollout
rule.

`repeated string advance_automation_runs = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the advanceAutomationRuns. |

### getCurrentRepairAutomationRun()

    public abstract String getCurrentRepairAutomationRun()

Output only. The current AutomationRun repairing the rollout.

`string current_repair_automation_run = 4;`

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

### getCurrentRepairAutomationRunBytes()

    public abstract ByteString getCurrentRepairAutomationRunBytes()

Output only. The current AutomationRun repairing the rollout.

`string current_repair_automation_run = 4;`

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

### getPromoteAutomationRun()

    public abstract String getPromoteAutomationRun()

Output only. The ID of the AutomationRun initiated by a promote release
rule.

`string promote_automation_run = 1;`

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

### getPromoteAutomationRunBytes()

    public abstract ByteString getPromoteAutomationRunBytes()

Output only. The ID of the AutomationRun initiated by a promote release
rule.

`string promote_automation_run = 1;`

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

### getRepairAutomationRuns(int index)

    public abstract String getRepairAutomationRuns(int index)

Output only. The IDs of the AutomationRuns initiated by a repair rollout
rule.

`repeated string repair_automation_runs = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The repairAutomationRuns at the given index. |

### getRepairAutomationRunsBytes(int index)

    public abstract ByteString getRepairAutomationRunsBytes(int index)

Output only. The IDs of the AutomationRuns initiated by a repair rollout
rule.

`repeated string repair_automation_runs = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the repairAutomationRuns at the given index. |

### getRepairAutomationRunsCount()

    public abstract int getRepairAutomationRunsCount()

Output only. The IDs of the AutomationRuns initiated by a repair rollout
rule.

`repeated string repair_automation_runs = 3;`

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

### getRepairAutomationRunsList()

    public abstract List<String> getRepairAutomationRunsList()

Output only. The IDs of the AutomationRuns initiated by a repair rollout
rule.

`repeated string repair_automation_runs = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the repairAutomationRuns. |