proto library Client - Class StringValue (v5.36.2)

Reference documentation and code samples for the proto library Client class StringValue.

Wrapper message for string.

The JSON representation for StringValue is JSON string. Not recommended for use in new APIs, but still useful for legacy APIs and has no plan to be removed.

Generated from protobuf message google.protobuf.StringValue

Namespace

Google \ Protobuf

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

The string value.

getValue

The string value.

Returns
Type Description
string

setValue

The string value.

Parameter
Name Description
var string
Returns
Type Description
$this