Class Build.Warning (3.4.0)

public static final class Build.Warning extends GeneratedMessageV3 implements Build.WarningOrBuilder

A non-fatal problem encountered during the execution of the build.

Protobuf type google.devtools.cloudbuild.v1.Build.Warning

Static Fields

PRIORITY_FIELD_NUMBER

public static final int PRIORITY_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Build.Warning getDefaultInstance()
Returns
TypeDescription
Build.Warning

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Build.Warning.Builder newBuilder()
Returns
TypeDescription
Build.Warning.Builder

newBuilder(Build.Warning prototype)

public static Build.Warning.Builder newBuilder(Build.Warning prototype)
Parameter
NameDescription
prototypeBuild.Warning
Returns
TypeDescription
Build.Warning.Builder

parseDelimitedFrom(InputStream input)

public static Build.Warning parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Build.Warning parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Build.Warning parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Build.Warning parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Build.Warning parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Build.Warning parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Build.Warning parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Build.Warning parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Build.Warning parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Build.Warning parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Build.Warning parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Build.Warning parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Build.Warning> parser()
Returns
TypeDescription
Parser<Warning>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Build.Warning getDefaultInstanceForType()
Returns
TypeDescription
Build.Warning

getParserForType()

public Parser<Build.Warning> getParserForType()
Returns
TypeDescription
Parser<Warning>
Overrides

getPriority()

public 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getText()

public String getText()

Explanation of the warning generated.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

Explanation of the warning generated.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Build.Warning.Builder newBuilderForType()
Returns
TypeDescription
Build.Warning.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Build.Warning.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Build.Warning.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Build.Warning.Builder toBuilder()
Returns
TypeDescription
Build.Warning.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException