class LabelDescriptor extends Message

A description of a label.

Generated from protobuf message google.api.LabelDescriptor

Methods

__construct(array $data = NULL)

Constructor.

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 51
__construct(array $data = NULL)

Constructor.

Parameters

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

@type string $key
      The label key.
@type int $value_type
      The type of data that can be assigned to the label.
@type string $description
      A human-readable description for the label.

}

at line 62
string getKey()

The label key.

Generated from protobuf field string key = 1;

Return Value

string

at line 74
$this setKey(string $var)

The label key.

Generated from protobuf field string key = 1;

Parameters

string $var

Return Value

$this

at line 88
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 100
$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 114
string getDescription()

A human-readable description for the label.

Generated from protobuf field string description = 3;

Return Value

string

at line 126
$this setDescription(string $var)

A human-readable description for the label.

Generated from protobuf field string description = 3;

Parameters

string $var

Return Value

$this