Google Cloud Build V1 Client - Class ConsoleOutput (0.3.8)

Reference documentation and code samples for the Google Cloud Build V1 Client class ConsoleOutput.

Textual output written to standard output or standard error.

Generated from protobuf message google.devtools.build.v1.BuildEvent.ConsoleOutput

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

The output stream type.

↳ text_output string

Regular UTF-8 output; normal text.

↳ binary_output string

Used if the output is not UTF-8 text (for example, a binary proto).

getType

The output stream type.

Returns
Type Description
int

setType

The output stream type.

Parameter
Name Description
var int
Returns
Type Description
$this

getTextOutput

Regular UTF-8 output; normal text.

Returns
Type Description
string

hasTextOutput

setTextOutput

Regular UTF-8 output; normal text.

Parameter
Name Description
var string
Returns
Type Description
$this

getBinaryOutput

Used if the output is not UTF-8 text (for example, a binary proto).

Returns
Type Description
string

hasBinaryOutput

setBinaryOutput

Used if the output is not UTF-8 text (for example, a binary proto).

Parameter
Name Description
var string
Returns
Type Description
$this

getOutput

Returns
Type Description
string