class MapValue extends Message

A map.

Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.

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

Methods

__construct(array $data = NULL)

Constructor.

RepeatedField
getEntries()

The set of map entries.

$this
setEntries(Entry[]|RepeatedField $var)

The set of map entries.

Details

at line 41
__construct(array $data = NULL)

Constructor.

Parameters

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

@type \Google\Api\Expr\V1beta1\MapValue\Entry[]|\Google\Protobuf\Internal\RepeatedField $entries
      The set of map entries.
      CEL has fewer restrictions on keys, so a protobuf map represenation
      cannot be used.

}

at line 54
RepeatedField getEntries()

The set of map entries.

CEL has fewer restrictions on keys, so a protobuf map represenation cannot be used.

Generated from protobuf field repeated .google.api.expr.v1beta1.MapValue.Entry entries = 1;

Return Value

RepeatedField

at line 68
$this setEntries(Entry[]|RepeatedField $var)

The set of map entries.

CEL has fewer restrictions on keys, so a protobuf map represenation cannot be used.

Generated from protobuf field repeated .google.api.expr.v1beta1.MapValue.Entry entries = 1;

Parameters

Entry[]|RepeatedField $var

Return Value

$this