Documentation

MapValue extends Message
in package

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.v1alpha1.MapValue

Table of Contents

Properties

$entries  : mixed
The set of map entries.

Methods

__construct()  : mixed
Constructor.
getEntries()  : RepeatedField
The set of map entries.
setEntries()  : $this
The set of map entries.

Properties

$entries

The set of map entries.

private mixed $entries

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

Generated from protobuf field repeated .google.api.expr.v1alpha1.MapValue.Entry entries = 1 [json_name = "entries"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type array<\Google\Api\Expr\V1alpha1\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.

}

getEntries()

The set of map entries.

public getEntries() : RepeatedField

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

Generated from protobuf field repeated .google.api.expr.v1alpha1.MapValue.Entry entries = 1 [json_name = "entries"];

Return values
RepeatedField

setEntries()

The set of map entries.

public setEntries(array<string|int, Entry>|RepeatedField $var) : $this

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

Generated from protobuf field repeated .google.api.expr.v1alpha1.MapValue.Entry entries = 1 [json_name = "entries"];

Parameters
$var : array<string|int, Entry>|RepeatedField
Return values
$this

        
On this page

Search results