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
NameDescription
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
TypeDescription
int

setType

The output stream type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTextOutput

Regular UTF-8 output; normal text.

Returns
TypeDescription
string

hasTextOutput

setTextOutput

Regular UTF-8 output; normal text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBinaryOutput

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

Returns
TypeDescription
string

hasBinaryOutput

setBinaryOutput

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOutput

Returns
TypeDescription
string