class EnumValue extends Message

An enum value.

Generated from protobuf message google.api.expr.v1beta1.EnumValue

Methods

__construct(array $data = NULL)

Constructor.

string
getType()

The fully qualified name of the enum type.

$this
setType(string $var)

The fully qualified name of the enum type.

int
getValue()

The value of the enum.

$this
setValue(int $var)

The value of the enum.

Details

at line 43
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type string $type
      The fully qualified name of the enum type.
@type int $value
      The value of the enum.

}

at line 54
string getType()

The fully qualified name of the enum type.

Generated from protobuf field string type = 1;

Return Value

string

at line 66
$this setType(string $var)

The fully qualified name of the enum type.

Generated from protobuf field string type = 1;

Parameters

string $var

Return Value

$this

at line 80
int getValue()

The value of the enum.

Generated from protobuf field int32 value = 2;

Return Value

int

at line 92
$this setValue(int $var)

The value of the enum.

Generated from protobuf field int32 value = 2;

Parameters

int $var

Return Value

$this