Reference documentation and code samples for the Google Cloud Design Center V1 Client class AlternateDefaultInput.

Alternate default input for a UI.

Generated from protobuf message `google.cloud.designcenter.v1.AlternateDefaultInput`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` Optional. Type of alternate default. |
| `↳ value` | `Google\Protobuf\Value` Optional. Value of the alternate default. |

### getType

Optional. Type of alternate default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DisplayVariableAlternateType](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.DisplayVariableAlternateType). |

### setType

Optional. Type of alternate default.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DisplayVariableAlternateType](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.DisplayVariableAlternateType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getValue

Optional. Value of the alternate default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Value|null` |   |

### hasValue

### clearValue

### setValue

Optional. Value of the alternate default.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |