Google Cloud Design Center V1 Client - Class AlternateDefault (0.1.0)

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

Alternate default for a UI input.

Generated from protobuf message google.cloud.designcenter.v1.AlternateDefault

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Output only. Type of alternate default.

↳ value Google\Protobuf\Value

Output only. Value of the alternate default.

getType

Output only. Type of alternate default.

Returns
Type Description
int Enum of type DisplayVariableAlternateType.

setType

Output only. Type of alternate default.

Parameter
Name Description
var int

Enum of type DisplayVariableAlternateType.

Returns
Type Description
$this

getValue

Output only. Value of the alternate default.

Returns
Type Description
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Output only. Value of the alternate default.

Parameter
Name Description
var Google\Protobuf\Value
Returns
Type Description
$this