Class PollAirflowCommandResponse (1.11.0)

public final class PollAirflowCommandResponse extends GeneratedMessageV3 implements PollAirflowCommandResponseOrBuilder

Response to PollAirflowCommandRequest.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse

Static Fields

EXIT_INFO_FIELD_NUMBER

public static final int EXIT_INFO_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_END_FIELD_NUMBER

public static final int OUTPUT_END_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_FIELD_NUMBER

public static final int OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PollAirflowCommandResponse getDefaultInstance()
Returns
Type Description
PollAirflowCommandResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PollAirflowCommandResponse.Builder newBuilder()
Returns
Type Description
PollAirflowCommandResponse.Builder

newBuilder(PollAirflowCommandResponse prototype)

public static PollAirflowCommandResponse.Builder newBuilder(PollAirflowCommandResponse prototype)
Parameter
Name Description
prototype PollAirflowCommandResponse
Returns
Type Description
PollAirflowCommandResponse.Builder

parseDelimitedFrom(InputStream input)

public static PollAirflowCommandResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PollAirflowCommandResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PollAirflowCommandResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PollAirflowCommandResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PollAirflowCommandResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PollAirflowCommandResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PollAirflowCommandResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PollAirflowCommandResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PollAirflowCommandResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PollAirflowCommandResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PollAirflowCommandResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PollAirflowCommandResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PollAirflowCommandResponse> parser()
Returns
Type Description
Parser<PollAirflowCommandResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PollAirflowCommandResponse getDefaultInstanceForType()
Returns
Type Description
PollAirflowCommandResponse

getExitInfo()

public PollAirflowCommandResponse.ExitInfo getExitInfo()

The result exit status of the command.

.google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;

Returns
Type Description
PollAirflowCommandResponse.ExitInfo

The exitInfo.

getExitInfoOrBuilder()

public PollAirflowCommandResponse.ExitInfoOrBuilder getExitInfoOrBuilder()

The result exit status of the command.

.google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;

Returns
Type Description
PollAirflowCommandResponse.ExitInfoOrBuilder

getOutput(int index)

public PollAirflowCommandResponse.Line getOutput(int index)

Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.

repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
index int
Returns
Type Description
PollAirflowCommandResponse.Line

getOutputCount()

public int getOutputCount()

Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.

repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
Type Description
int

getOutputEnd()

public boolean getOutputEnd()

Whether the command execution has finished and there is no more output.

bool output_end = 2;

Returns
Type Description
boolean

The outputEnd.

getOutputList()

public List<PollAirflowCommandResponse.Line> getOutputList()

Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.

repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
Type Description
List<Line>

getOutputOrBuilder(int index)

public PollAirflowCommandResponse.LineOrBuilder getOutputOrBuilder(int index)

Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.

repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
index int
Returns
Type Description
PollAirflowCommandResponse.LineOrBuilder

getOutputOrBuilderList()

public List<? extends PollAirflowCommandResponse.LineOrBuilder> getOutputOrBuilderList()

Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.

repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
Type Description
List<? extends com.google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.LineOrBuilder>

getParserForType()

public Parser<PollAirflowCommandResponse> getParserForType()
Returns
Type Description
Parser<PollAirflowCommandResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasExitInfo()

public boolean hasExitInfo()

The result exit status of the command.

.google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;

Returns
Type Description
boolean

Whether the exitInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PollAirflowCommandResponse.Builder newBuilderForType()
Returns
Type Description
PollAirflowCommandResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PollAirflowCommandResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PollAirflowCommandResponse.Builder toBuilder()
Returns
Type Description
PollAirflowCommandResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException