class ParseRequest extends Message

Request message for the Parse method.

Generated from protobuf message google.api.expr.v1alpha1.ParseRequest

Methods

__construct(array $data = NULL)

Constructor.

string
getCelSource()

Required. Source text in CEL syntax.

$this
setCelSource(string $var)

Required. Source text in CEL syntax.

string
getSyntaxVersion()

Tag for version of CEL syntax, for future use.

$this
setSyntaxVersion(string $var)

Tag for version of CEL syntax, for future use.

string
getSourceLocation()

File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].

$this
setSourceLocation(string $var)

File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].

bool
getDisableMacros()

Prevent macro expansion. See "Macros" in Language Defiinition.

$this
setDisableMacros(bool $var)

Prevent macro expansion. See "Macros" in Language Defiinition.

Details

at line 59
__construct(array $data = NULL)

Constructor.

Parameters

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

@type string $cel_source
      Required. Source text in CEL syntax.
@type string $syntax_version
      Tag for version of CEL syntax, for future use.
@type string $source_location
      File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
@type bool $disable_macros
      Prevent macro expansion.  See "Macros" in Language Defiinition.

}

at line 70
string getCelSource()

Required. Source text in CEL syntax.

Generated from protobuf field string cel_source = 1 [(.google.api.field_behavior) = REQUIRED];

Return Value

string

at line 82
$this setCelSource(string $var)

Required. Source text in CEL syntax.

Generated from protobuf field string cel_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters

string $var

Return Value

$this

at line 96
string getSyntaxVersion()

Tag for version of CEL syntax, for future use.

Generated from protobuf field string syntax_version = 2;

Return Value

string

at line 108
$this setSyntaxVersion(string $var)

Tag for version of CEL syntax, for future use.

Generated from protobuf field string syntax_version = 2;

Parameters

string $var

Return Value

$this

at line 122
string getSourceLocation()

File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].

Generated from protobuf field string source_location = 3;

Return Value

string

at line 134
$this setSourceLocation(string $var)

File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].

Generated from protobuf field string source_location = 3;

Parameters

string $var

Return Value

$this

at line 148
bool getDisableMacros()

Prevent macro expansion. See "Macros" in Language Defiinition.

Generated from protobuf field bool disable_macros = 4;

Return Value

bool

at line 160
$this setDisableMacros(bool $var)

Prevent macro expansion. See "Macros" in Language Defiinition.

Generated from protobuf field bool disable_macros = 4;

Parameters

bool $var

Return Value

$this