Documentation

IdentDecl extends Message
in package

An identifier declaration.

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

Table of Contents

Properties

$type  : mixed
Optional type of the identifier.
$value  : mixed
Optional value of the identifier.

Methods

__construct()  : mixed
Constructor.
clearType()  : mixed
clearValue()  : mixed
getType()  : DeclType|null
Optional type of the identifier.
getValue()  : Expr|null
Optional value of the identifier.
hasType()  : mixed
hasValue()  : mixed
setType()  : $this
Optional type of the identifier.
setValue()  : $this
Optional value of the identifier.

Properties

$type

Optional type of the identifier.

protected mixed $type = null

Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];

$value

Optional value of the identifier.

protected mixed $value = null

Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4 [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\V1beta1\DeclType $type
      Optional type of the identifier.
@type \Google\Api\Expr\V1beta1\Expr $value
      Optional value of the identifier.

}

getType()

Optional type of the identifier.

public getType() : DeclType|null

Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];

Return values
DeclType|null

getValue()

Optional value of the identifier.

public getValue() : Expr|null

Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];

Return values
Expr|null

setType()

Optional type of the identifier.

public setType(DeclType $var) : $this

Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];

Parameters
$var : DeclType
Return values
$this

setValue()

Optional value of the identifier.

public setValue(Expr $var) : $this

Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];

Parameters
$var : Expr
Return values
$this

        
On this page

Search results