public static final class Build.Warning.Builder extends GeneratedMessage.Builder<Build.Warning.Builder> implements Build.WarningOrBuilderA non-fatal problem encountered during the execution of the build.
Protobuf type google.devtools.cloudbuild.v1.Build.Warning
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Build.Warning.BuilderImplements
Build.WarningOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public Build.Warning getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Build.Warning |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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.PriorityThe 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 |
intThe enum numeric value on the wire for priority to set. |
| Returns | |
|---|---|
| Type | Description |
Build.Warning.Builder |
This builder for chaining. |
setText(String value)
public Build.Warning.Builder setText(String value)Explanation of the warning generated.
string text = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
Build.Warning.Builder |
This builder for chaining. |