StringValue
extends Message
in package
Wrapper message for `string`.
The JSON representation for StringValue is JSON string.
Generated from protobuf message google.protobuf.StringValue
Table of Contents
Properties
- $value : mixed
- The string value.
Methods
- __construct() : mixed
- Constructor.
- getValue() : string
- The string value.
- setValue() : $this
- The string value.
Properties
$value
The string value.
protected
mixed
$value
= ''
Generated from protobuf field string value = 1;
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 string $value The string value.}
getValue()
The string value.
public
getValue() : string
Generated from protobuf field string value = 1;
Return values
stringsetValue()
The string value.
public
setValue(string $var) : $this
Generated from protobuf field string value = 1;
Parameters
- $var : string