Class Build.Warning.Builder (3.5.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Build.Warning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Build.Warning.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Build.Warning.Builder clear()
Returns
TypeDescription
Build.Warning.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Build.Warning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Build.Warning.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Build.Warning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Build.Warning.Builder

This builder for chaining.

clearText()

public Build.Warning.Builder clearText()

Explanation of the warning generated.

string text = 1;

Returns
TypeDescription
Build.Warning.Builder

This builder for chaining.

clone()

public Build.Warning.Builder clone()
Returns
TypeDescription
Build.Warning.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Build.Warning other)

public Build.Warning.Builder mergeFrom(Build.Warning other)
Parameter
NameDescription
otherBuild.Warning
Returns
TypeDescription
Build.Warning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Build.Warning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Warning.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Build.Warning.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Build.Warning.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Build.Warning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Build.Warning.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Build.Warning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueBuild.Warning.Priority

The priority to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Build.Warning.Builder
Overrides

setText(String value)

public Build.Warning.Builder setText(String value)

Explanation of the warning generated.

string text = 1;

Parameter
NameDescription
valueString

The text to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for text to set.

Returns
TypeDescription
Build.Warning.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Build.Warning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Build.Warning.Builder
Overrides