Class Build.Warning.Builder (3.57.0)

public static final class Build.Warning.Builder extends GeneratedMessageV3.Builder<Build.Warning.Builder> implements Build.WarningOrBuilder

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Build.Warning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Build.Warning.Builder
Overrides

build()

public Build.Warning build()
Returns
Type Description
Build.Warning

buildPartial()

public Build.Warning buildPartial()
Returns
Type Description
Build.Warning

clear()

public Build.Warning.Builder clear()
Returns
Type Description
Build.Warning.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Build.Warning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Build.Warning.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Build.Warning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Build.Warning.Builder
Overrides

clearPriority()

public Build.Warning.Builder clearPriority()

The priority for this warning.

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

Returns
Type Description
Build.Warning.Builder

This builder for chaining.

clearText()

public Build.Warning.Builder clearText()

Explanation of the warning generated.

string text = 1;

Returns
Type Description
Build.Warning.Builder

This builder for chaining.

clone()

public Build.Warning.Builder clone()
Returns
Type Description
Build.Warning.Builder
Overrides

getDefaultInstanceForType()

public Build.Warning getDefaultInstanceForType()
Returns
Type Description
Build.Warning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPriority()

public Build.Warning.Priority getPriority()

The priority for this warning.

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

Returns
Type Description
Build.Warning.Priority

The priority.

getPriorityValue()

public int getPriorityValue()

The priority for this warning.

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

Returns
Type Description
int

The enum numeric value on the wire for priority.

getText()

public String getText()

Explanation of the warning generated.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Explanation of the warning generated.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Build.Warning other)

public Build.Warning.Builder mergeFrom(Build.Warning other)
Parameter
Name Description
other Build.Warning
Returns
Type Description
Build.Warning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Build.Warning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build.Warning.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Build.Warning.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Build.Warning.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Build.Warning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Build.Warning.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Build.Warning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Build.Warning.Builder
Overrides

setPriority(Build.Warning.Priority value)

public Build.Warning.Builder setPriority(Build.Warning.Priority value)

The priority for this warning.

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

Parameter
Name Description
value Build.Warning.Priority

The priority to set.

Returns
Type Description
Build.Warning.Builder

This builder for chaining.

setPriorityValue(int value)

public Build.Warning.Builder setPriorityValue(int value)

The priority for this warning.

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

Parameter
Name Description
value int

The enum numeric value on the wire for priority to set.

Returns
Type Description
Build.Warning.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Build.Warning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Build.Warning.Builder
Overrides

setText(String value)

public Build.Warning.Builder setText(String value)

Explanation of the warning generated.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
Build.Warning.Builder

This builder for chaining.

setTextBytes(ByteString value)

public Build.Warning.Builder setTextBytes(ByteString value)

Explanation of the warning generated.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
Build.Warning.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Build.Warning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Build.Warning.Builder
Overrides