Class PollAirflowCommandResponse.ExitInfo.Builder (1.85.0)

public static final class PollAirflowCommandResponse.ExitInfo.Builder extends GeneratedMessage.Builder<PollAirflowCommandResponse.ExitInfo.Builder> implements PollAirflowCommandResponse.ExitInfoOrBuilder

Information about how a command ended.

Protobuf type google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.ExitInfo

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 String

The 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 ByteString

The 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 int

The exitCode to set.

Returns
Type Description
PollAirflowCommandResponse.ExitInfo.Builder

This builder for chaining.