public static final class PollAirflowCommandResponse.ExitInfo.Builder extends GeneratedMessage.Builder<PollAirflowCommandResponse.ExitInfo.Builder> implements PollAirflowCommandResponse.ExitInfoOrBuilderInformation about how a command ended.
Protobuf type
google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.ExitInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PollAirflowCommandResponse.ExitInfo.BuilderImplements
PollAirflowCommandResponse.ExitInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PollAirflowCommandResponse.ExitInfo build()| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo |
|
buildPartial()
public PollAirflowCommandResponse.ExitInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo |
|
clear()
public PollAirflowCommandResponse.ExitInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
|
clearError()
public PollAirflowCommandResponse.ExitInfo.Builder clearError()Error message. Empty if there was no error.
string error = 2;
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
clearExitCode()
public PollAirflowCommandResponse.ExitInfo.Builder clearExitCode()The exit code from the command execution.
int32 exit_code = 1;
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PollAirflowCommandResponse.ExitInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getError()
public String getError()Error message. Empty if there was no error.
string error = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The error. |
getErrorBytes()
public ByteString getErrorBytes()Error message. Empty if there was no error.
string error = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for error. |
getExitCode()
public int getExitCode()The exit code from the command execution.
int32 exit_code = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The exitCode. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PollAirflowCommandResponse.ExitInfo other)
public PollAirflowCommandResponse.ExitInfo.Builder mergeFrom(PollAirflowCommandResponse.ExitInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
PollAirflowCommandResponse.ExitInfo |
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PollAirflowCommandResponse.ExitInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PollAirflowCommandResponse.ExitInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
|
setError(String value)
public PollAirflowCommandResponse.ExitInfo.Builder setError(String value)Error message. Empty if there was no error.
string error = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe error to set. |
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
setErrorBytes(ByteString value)
public PollAirflowCommandResponse.ExitInfo.Builder setErrorBytes(ByteString value)Error message. Empty if there was no error.
string error = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for error to set. |
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
setExitCode(int value)
public PollAirflowCommandResponse.ExitInfo.Builder setExitCode(int value)The exit code from the command execution.
int32 exit_code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe exitCode to set. |
| Returns | |
|---|---|
| Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |