Documentation

Entry extends Message
in package

An entry in the map.

Generated from protobuf message google.api.expr.v1alpha1.MapValue.Entry

Table of Contents

Properties

$key  : mixed
The key.
$value  : mixed
The value.

Methods

__construct()  : mixed
Constructor.
clearKey()  : mixed
clearValue()  : mixed
getKey()  : Value|null
The key.
getValue()  : Value|null
The value.
hasKey()  : mixed
hasValue()  : mixed
setKey()  : $this
The key.
setValue()  : $this
The value.

Properties

$key

The key.

protected mixed $key = null

Must be unique with in the map. Currently only boolean, int, uint, and string values can be keys.

Generated from protobuf field .google.api.expr.v1alpha1.Value key = 1 [json_name = "key"];

$value

The value.

protected mixed $value = null

Generated from protobuf field .google.api.expr.v1alpha1.Value value = 2 [json_name = "value"];

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 \Google\Api\Expr\V1alpha1\Value $key
      The key.
      Must be unique with in the map.
      Currently only boolean, int, uint, and string values can be keys.
@type \Google\Api\Expr\V1alpha1\Value $value
      The value.

}

clearKey()

public clearKey() : mixed

clearValue()

public clearValue() : mixed

getKey()

The key.

public getKey() : Value|null

Must be unique with in the map. Currently only boolean, int, uint, and string values can be keys.

Generated from protobuf field .google.api.expr.v1alpha1.Value key = 1 [json_name = "key"];

Return values
Value|null

getValue()

The value.

public getValue() : Value|null

Generated from protobuf field .google.api.expr.v1alpha1.Value value = 2 [json_name = "value"];

Return values
Value|null

hasKey()

public hasKey() : mixed

hasValue()

public hasValue() : mixed

setKey()

The key.

public setKey(Value $var) : $this

Must be unique with in the map. Currently only boolean, int, uint, and string values can be keys.

Generated from protobuf field .google.api.expr.v1alpha1.Value key = 1 [json_name = "key"];

Parameters
$var : Value
Return values
$this

setValue()

The value.

public setValue(Value $var) : $this

Generated from protobuf field .google.api.expr.v1alpha1.Value value = 2 [json_name = "value"];

Parameters
$var : Value
Return values
$this

        
On this page

Search results