# Interface UnitConditionOrBuilder (0.23.0)

0.23.0 (latest) 0.21.0 0.18.0 0.17.0 0.15.0 0.13.0 0.12.0 0.10.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0

    public interface UnitConditionOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getLastTransitionTime()

    public abstract Timestamp getLastTransitionTime()

Required. Last time the condition transited from one status to another.

`
.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
`

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

### getLastTransitionTimeOrBuilder()

    public abstract TimestampOrBuilder getLastTransitionTimeOrBuilder()

Required. Last time the condition transited from one status to another.

`
.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
`

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

### getMessage()

    public abstract String getMessage()

Required. Human readable message indicating details about the last
transition.

`string message = 4 [(.google.api.field_behavior) = REQUIRED];`

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

### getMessageBytes()

    public abstract ByteString getMessageBytes()

Required. Human readable message indicating details about the last
transition.

`string message = 4 [(.google.api.field_behavior) = REQUIRED];`

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

### getReason()

    public abstract String getReason()

Required. Brief reason for the condition's last transition.

`string reason = 5 [(.google.api.field_behavior) = REQUIRED];`

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

### getReasonBytes()

    public abstract ByteString getReasonBytes()

Required. Brief reason for the condition's last transition.

`string reason = 5 [(.google.api.field_behavior) = REQUIRED];`

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

### getStatus()

    public abstract UnitCondition.Status getStatus()

Required. Status of the condition.

`
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-saasservicemgmt/latest/com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.Status` | The status. |

### getStatusValue()

    public abstract int getStatusValue()

Required. Status of the condition.

`
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getType()

    public abstract UnitCondition.Type getType()

Required. Type of the condition.

`
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-saasservicemgmt/latest/com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.Type` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Required. Type of the condition.

`
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasLastTransitionTime()

    public abstract boolean hasLastTransitionTime()

Required. Last time the condition transited from one status to another.

`
.google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
`

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