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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Build.Warning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Build.Warning build()
Returns
buildPartial()
public Build.Warning buildPartial()
Returns
clear()
public Build.Warning.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Build.Warning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Build.Warning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPriority()
public Build.Warning.Builder clearPriority()
The priority for this warning.
.google.devtools.cloudbuild.v1.Build.Warning.Priority priority = 2;
Returns
clearText()
public Build.Warning.Builder clearText()
Explanation of the warning generated.
string text = 1;
Returns
clone()
public Build.Warning.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Build.Warning getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPriority()
public Build.Warning.Priority getPriority()
The priority for this warning.
.google.devtools.cloudbuild.v1.Build.Warning.Priority priority = 2;
Returns
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()
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Build.Warning other)
public Build.Warning.Builder mergeFrom(Build.Warning other)
Parameter
Returns
public Build.Warning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Build.Warning.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Build.Warning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Build.Warning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Build.Warning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Build.Warning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides