class MapType extends Message

Map type with parameterized key and value types, e.g. map<string, int>.

Generated from protobuf message google.api.expr.v1alpha1.Type.MapType

Methods

__construct(array $data = NULL)

Constructor.

getKeyType()

The type of the key.

$this
setKeyType(Type $var)

The type of the key.

getValueType()

The type of the value.

$this
setValueType(Type $var)

The type of the value.

Details

at line 43
__construct(array $data = NULL)

Constructor.

Parameters

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

@type \Google\Api\Expr\V1alpha1\Type $key_type
      The type of the key.
@type \Google\Api\Expr\V1alpha1\Type $value_type
      The type of the value.

}

at line 54
Type getKeyType()

The type of the key.

Generated from protobuf field .google.api.expr.v1alpha1.Type key_type = 1;

Return Value

Type

at line 66
$this setKeyType(Type $var)

The type of the key.

Generated from protobuf field .google.api.expr.v1alpha1.Type key_type = 1;

Parameters

Type $var

Return Value

$this

at line 80
Type getValueType()

The type of the value.

Generated from protobuf field .google.api.expr.v1alpha1.Type value_type = 2;

Return Value

Type

at line 92
$this setValueType(Type $var)

The type of the value.

Generated from protobuf field .google.api.expr.v1alpha1.Type value_type = 2;

Parameters

Type $var

Return Value

$this