Interface Build.WarningOrBuilder (3.31.0)

public static interface Build.WarningOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPriority()

public abstract Build.Warning.Priority getPriority()

The priority for this warning.

.google.devtools.cloudbuild.v1.Build.Warning.Priority priority = 2;

Returns
TypeDescription
Build.Warning.Priority

The priority.

getPriorityValue()

public abstract int getPriorityValue()

The priority for this warning.

.google.devtools.cloudbuild.v1.Build.Warning.Priority priority = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for priority.

getText()

public abstract String getText()

Explanation of the warning generated.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Explanation of the warning generated.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.