Class PollAirflowCommandResponse.Builder (1.30.0)

public static final class PollAirflowCommandResponse.Builder extends GeneratedMessageV3.Builder<PollAirflowCommandResponse.Builder> implements PollAirflowCommandResponseOrBuilder

Response to PollAirflowCommandRequest.

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

Static Methods

getDescriptor()

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

Methods

addAllOutput(Iterable<? extends PollAirflowCommandResponse.Line> values)

public PollAirflowCommandResponse.Builder addAllOutput(Iterable<? extends PollAirflowCommandResponse.Line> values)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.Line>
Returns
Type Description
PollAirflowCommandResponse.Builder

addOutput(PollAirflowCommandResponse.Line value)

public PollAirflowCommandResponse.Builder addOutput(PollAirflowCommandResponse.Line value)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
value PollAirflowCommandResponse.Line
Returns
Type Description
PollAirflowCommandResponse.Builder

addOutput(PollAirflowCommandResponse.Line.Builder builderForValue)

public PollAirflowCommandResponse.Builder addOutput(PollAirflowCommandResponse.Line.Builder builderForValue)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
builderForValue PollAirflowCommandResponse.Line.Builder
Returns
Type Description
PollAirflowCommandResponse.Builder

addOutput(int index, PollAirflowCommandResponse.Line value)

public PollAirflowCommandResponse.Builder addOutput(int index, PollAirflowCommandResponse.Line value)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameters
Name Description
index int
value PollAirflowCommandResponse.Line
Returns
Type Description
PollAirflowCommandResponse.Builder

addOutput(int index, PollAirflowCommandResponse.Line.Builder builderForValue)

public PollAirflowCommandResponse.Builder addOutput(int index, PollAirflowCommandResponse.Line.Builder builderForValue)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameters
Name Description
index int
builderForValue PollAirflowCommandResponse.Line.Builder
Returns
Type Description
PollAirflowCommandResponse.Builder

addOutputBuilder()

public PollAirflowCommandResponse.Line.Builder addOutputBuilder()

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.v1.PollAirflowCommandResponse.Line output = 1;

Returns
Type Description
PollAirflowCommandResponse.Line.Builder

addOutputBuilder(int index)

public PollAirflowCommandResponse.Line.Builder addOutputBuilder(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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
index int
Returns
Type Description
PollAirflowCommandResponse.Line.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

build()

public PollAirflowCommandResponse build()
Returns
Type Description
PollAirflowCommandResponse

buildPartial()

public PollAirflowCommandResponse buildPartial()
Returns
Type Description
PollAirflowCommandResponse

clear()

public PollAirflowCommandResponse.Builder clear()
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

clearExitInfo()

public PollAirflowCommandResponse.Builder clearExitInfo()

The result exit status of the command.

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

Returns
Type Description
PollAirflowCommandResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public PollAirflowCommandResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PollAirflowCommandResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

clearOutput()

public PollAirflowCommandResponse.Builder clearOutput()

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.v1.PollAirflowCommandResponse.Line output = 1;

Returns
Type Description
PollAirflowCommandResponse.Builder

clearOutputEnd()

public PollAirflowCommandResponse.Builder clearOutputEnd()

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

bool output_end = 2;

Returns
Type Description
PollAirflowCommandResponse.Builder

This builder for chaining.

clone()

public PollAirflowCommandResponse.Builder clone()
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

getDefaultInstanceForType()

public PollAirflowCommandResponse getDefaultInstanceForType()
Returns
Type Description
PollAirflowCommandResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExitInfo()

public PollAirflowCommandResponse.ExitInfo getExitInfo()

The result exit status of the command.

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

Returns
Type Description
PollAirflowCommandResponse.ExitInfo

The exitInfo.

getExitInfoBuilder()

public PollAirflowCommandResponse.ExitInfo.Builder getExitInfoBuilder()

The result exit status of the command.

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

Returns
Type Description
PollAirflowCommandResponse.ExitInfo.Builder

getExitInfoOrBuilder()

public PollAirflowCommandResponse.ExitInfoOrBuilder getExitInfoOrBuilder()

The result exit status of the command.

.google.cloud.orchestration.airflow.service.v1.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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
index int
Returns
Type Description
PollAirflowCommandResponse.Line

getOutputBuilder(int index)

public PollAirflowCommandResponse.Line.Builder getOutputBuilder(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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
index int
Returns
Type Description
PollAirflowCommandResponse.Line.Builder

getOutputBuilderList()

public List<PollAirflowCommandResponse.Line.Builder> getOutputBuilderList()

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.v1.PollAirflowCommandResponse.Line output = 1;

Returns
Type Description
List<Builder>

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.v1.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.v1.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.v1.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.v1.PollAirflowCommandResponse.Line output = 1;

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

hasExitInfo()

public boolean hasExitInfo()

The result exit status of the command.

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

Returns
Type Description
boolean

Whether the exitInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExitInfo(PollAirflowCommandResponse.ExitInfo value)

public PollAirflowCommandResponse.Builder mergeExitInfo(PollAirflowCommandResponse.ExitInfo value)

The result exit status of the command.

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

Parameter
Name Description
value PollAirflowCommandResponse.ExitInfo
Returns
Type Description
PollAirflowCommandResponse.Builder

mergeFrom(PollAirflowCommandResponse other)

public PollAirflowCommandResponse.Builder mergeFrom(PollAirflowCommandResponse other)
Parameter
Name Description
other PollAirflowCommandResponse
Returns
Type Description
PollAirflowCommandResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PollAirflowCommandResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PollAirflowCommandResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

removeOutput(int index)

public PollAirflowCommandResponse.Builder removeOutput(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.v1.PollAirflowCommandResponse.Line output = 1;

Parameter
Name Description
index int
Returns
Type Description
PollAirflowCommandResponse.Builder

setExitInfo(PollAirflowCommandResponse.ExitInfo value)

public PollAirflowCommandResponse.Builder setExitInfo(PollAirflowCommandResponse.ExitInfo value)

The result exit status of the command.

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

Parameter
Name Description
value PollAirflowCommandResponse.ExitInfo
Returns
Type Description
PollAirflowCommandResponse.Builder

setExitInfo(PollAirflowCommandResponse.ExitInfo.Builder builderForValue)

public PollAirflowCommandResponse.Builder setExitInfo(PollAirflowCommandResponse.ExitInfo.Builder builderForValue)

The result exit status of the command.

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

Parameter
Name Description
builderForValue PollAirflowCommandResponse.ExitInfo.Builder
Returns
Type Description
PollAirflowCommandResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

setOutput(int index, PollAirflowCommandResponse.Line value)

public PollAirflowCommandResponse.Builder setOutput(int index, PollAirflowCommandResponse.Line value)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameters
Name Description
index int
value PollAirflowCommandResponse.Line
Returns
Type Description
PollAirflowCommandResponse.Builder

setOutput(int index, PollAirflowCommandResponse.Line.Builder builderForValue)

public PollAirflowCommandResponse.Builder setOutput(int index, PollAirflowCommandResponse.Line.Builder builderForValue)

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.v1.PollAirflowCommandResponse.Line output = 1;

Parameters
Name Description
index int
builderForValue PollAirflowCommandResponse.Line.Builder
Returns
Type Description
PollAirflowCommandResponse.Builder

setOutputEnd(boolean value)

public PollAirflowCommandResponse.Builder setOutputEnd(boolean value)

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

bool output_end = 2;

Parameter
Name Description
value boolean

The outputEnd to set.

Returns
Type Description
PollAirflowCommandResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PollAirflowCommandResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PollAirflowCommandResponse.Builder
Overrides