class LabelDescriptor extends Message

A description of a label.

Generated from protobuf message google.api.LabelDescriptor

Methods

__construct()

No description

string
getKey()

The label key.

$this
setKey(string $var)

The label key.

int
getValueType()

The type of data that can be assigned to the label.

$this
setValueType(int $var)

The type of data that can be assigned to the label.

string
getDescription()

A human-readable description for the label.

$this
setDescription(string $var)

A human-readable description for the label.

Details

at line 37
__construct()

at line 48
string getKey()

The label key.

Generated from protobuf field string key = 1;

Return Value

string

at line 60
$this setKey(string $var)

The label key.

Generated from protobuf field string key = 1;

Parameters

string $var

Return Value

$this

at line 74
int getValueType()

The type of data that can be assigned to the label.

Generated from protobuf field .google.api.LabelDescriptor.ValueType value_type = 2;

Return Value

int

at line 86
$this setValueType(int $var)

The type of data that can be assigned to the label.

Generated from protobuf field .google.api.LabelDescriptor.ValueType value_type = 2;

Parameters

int $var

Return Value

$this

at line 100
string getDescription()

A human-readable description for the label.

Generated from protobuf field string description = 3;

Return Value

string

at line 112
$this setDescription(string $var)

A human-readable description for the label.

Generated from protobuf field string description = 3;

Parameters

string $var

Return Value

$this