# Interface BackupRunInfoOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface BackupRunInfoOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEndTime()

    public abstract Timestamp getEndTime()

The time the backup operation completed.

`.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 backup operation completed.

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

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

### getErrorMessage()

    public abstract String getErrorMessage()

Additional information about the error encountered.

`string error_message = 3;`

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

### getErrorMessageBytes()

    public abstract ByteString getErrorMessageBytes()

Additional information about the error encountered.

`string error_message = 3;`

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

### getOperationErrorType()

    public abstract OperationErrorType getOperationErrorType()

Optional. OperationErrorType to expose specific error when backup operation
of database resource failed, that is state is FAILED.

`
.google.cloud.databasecenter.v1beta.OperationErrorType operation_error_type = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.OperationErrorType` | The operationErrorType. |

### getOperationErrorTypeValue()

    public abstract int getOperationErrorTypeValue()

Optional. OperationErrorType to expose specific error when backup operation
of database resource failed, that is state is FAILED.

`
.google.cloud.databasecenter.v1beta.OperationErrorType operation_error_type = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getStartTime()

    public abstract Timestamp getStartTime()

The time the backup operation 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 backup operation 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 BackupRunInfo.State getState()

Output only. The state of this run.

`
.google.cloud.databasecenter.v1beta.BackupRunInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.BackupRunInfo.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The state of this run.

`
.google.cloud.databasecenter.v1beta.BackupRunInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSubResource()

    public abstract SubResource getSubResource()

Optional. Sub resource details associated with the backup run.

`
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.SubResource` | The subResource. |

### getSubResourceOrBuilder()

    public abstract SubResourceOrBuilder getSubResourceOrBuilder()

Optional. Sub resource details associated with the backup run.

`
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.SubResourceOrBuilder` |   |

### hasEndTime()

    public abstract boolean hasEndTime()

The time the backup operation completed.

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

### hasStartTime()

    public abstract boolean hasStartTime()

The time the backup operation 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. |

### hasSubResource()

    public abstract boolean hasSubResource()

Optional. Sub resource details associated with the backup run.

`
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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