# Interface ReplicationCycleOrBuilder (1.93.0)

1.93.0 (latest) 1.91.0 1.88.0 1.87.0 1.85.0 1.83.0 1.82.0 1.80.0 1.78.0 1.76.0 1.75.0 1.74.0 1.73.0 1.72.0 1.70.0 1.68.0 1.67.0 1.64.0 1.63.0 1.62.0 1.60.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.5 1.2.0 1.1.1 1.0.5

    public interface ReplicationCycleOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCycleNumber()

    public abstract int getCycleNumber()

The cycle's ordinal number.

`int32 cycle_number = 10;`

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

### getEndTime()

    public abstract Timestamp getEndTime()

The time the replication cycle has ended.

`.google.protobuf.Timestamp end_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The endTime. |

### getEndTimeOrBuilder()

    public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time the replication cycle has ended.

`.google.protobuf.Timestamp end_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getError()

    public abstract Status getError()

Output only. Provides details on the state of the cycle in case of an
error.

`.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.rpc.Status` | The error. |

### getErrorOrBuilder()

    public abstract StatusOrBuilder getErrorOrBuilder()

Output only. Provides details on the state of the cycle in case of an
error.

`.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.rpc.StatusOrBuilder` |   |

### getName()

    public abstract String getName()

The identifier of the ReplicationCycle.

`string name = 13;`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

The identifier of the ReplicationCycle.

`string name = 13;`

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

### getProgressPercent() (deprecated)

    public abstract int getProgressPercent()

**Deprecated.** *google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated. See
google/cloud/vmmigration/v1/vmmigration.proto;l=977*

The current progress in percentage of this cycle.
Was replaced by 'steps' field, which breaks down the cycle progression more
accurately.

`int32 progress_percent = 5 [deprecated = true];`

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

### getStartTime()

    public abstract Timestamp getStartTime()

The time the replication cycle has started.

`.google.protobuf.Timestamp start_time = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The startTime. |

### getStartTimeOrBuilder()

    public abstract TimestampOrBuilder getStartTimeOrBuilder()

The time the replication cycle has started.

`.google.protobuf.Timestamp start_time = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getState()

    public abstract ReplicationCycle.State getState()

State of the ReplicationCycle.

`.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-vmmigration/latest/com.google.cloud.vmmigration.v1.ReplicationCycle.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

State of the ReplicationCycle.

`.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;`

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

### getSteps(int index)

    public abstract CycleStep getSteps(int index)

The cycle's steps list representing its progress.

`repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getStepsCount()

    public abstract int getStepsCount()

The cycle's steps list representing its progress.

`repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;`

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

### getStepsList()

    public abstract List<CycleStep> getStepsList()

The cycle's steps list representing its progress.

`repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-vmmigration/latest/com.google.cloud.vmmigration.v1.CycleStep>` |   |

### getStepsOrBuilder(int index)

    public abstract CycleStepOrBuilder getStepsOrBuilder(int index)

The cycle's steps list representing its progress.

`repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getStepsOrBuilderList()

    public abstract List<? extends CycleStepOrBuilder> getStepsOrBuilderList()

The cycle's steps list representing its progress.

`repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.vmmigration.v1.CycleStepOrBuilder>` |   |

### getTotalPauseDuration()

    public abstract Duration getTotalPauseDuration()

The accumulated duration the replication cycle was paused.

`.google.protobuf.Duration total_pause_duration = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The totalPauseDuration. |

### getTotalPauseDurationOrBuilder()

    public abstract DurationOrBuilder getTotalPauseDurationOrBuilder()

The accumulated duration the replication cycle was paused.

`.google.protobuf.Duration total_pause_duration = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### getWarnings(int index)

    public abstract MigrationWarning getWarnings(int index)

Output only. Warnings that occurred during the cycle.

`
repeated .google.cloud.vmmigration.v1.MigrationWarning warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getWarningsCount()

    public abstract int getWarningsCount()

Output only. Warnings that occurred during the cycle.

`
repeated .google.cloud.vmmigration.v1.MigrationWarning warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getWarningsList()

    public abstract List<MigrationWarning> getWarningsList()

Output only. Warnings that occurred during the cycle.

`
repeated .google.cloud.vmmigration.v1.MigrationWarning warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-vmmigration/latest/com.google.cloud.vmmigration.v1.MigrationWarning>` |   |

### getWarningsOrBuilder(int index)

    public abstract MigrationWarningOrBuilder getWarningsOrBuilder(int index)

Output only. Warnings that occurred during the cycle.

`
repeated .google.cloud.vmmigration.v1.MigrationWarning warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getWarningsOrBuilderList()

    public abstract List<? extends MigrationWarningOrBuilder> getWarningsOrBuilderList()

Output only. Warnings that occurred during the cycle.

`
repeated .google.cloud.vmmigration.v1.MigrationWarning warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.vmmigration.v1.MigrationWarningOrBuilder>` |   |

### hasEndTime()

    public abstract boolean hasEndTime()

The time the replication cycle has ended.

`.google.protobuf.Timestamp end_time = 6;`

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

### hasError()

    public abstract boolean hasError()

Output only. Provides details on the state of the cycle in case of an
error.

`.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### hasStartTime()

    public abstract boolean hasStartTime()

The time the replication cycle has started.

`.google.protobuf.Timestamp start_time = 1;`

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

### hasTotalPauseDuration()

    public abstract boolean hasTotalPauseDuration()

The accumulated duration the replication cycle was paused.

`.google.protobuf.Duration total_pause_duration = 7;`

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