Class PollAirflowCommandResponse.Builder (1.41.0)

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

Response to PollAirflowCommandRequest.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line>
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
NameDescription
valuePollAirflowCommandResponse.Line
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
NameDescription
builderForValuePollAirflowCommandResponse.Line.Builder
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameters
NameDescription
indexint
valuePollAirflowCommandResponse.Line
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameters
NameDescription
indexint
builderForValuePollAirflowCommandResponse.Line.Builder
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PollAirflowCommandResponse.Line.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides

build()

public PollAirflowCommandResponse build()
Returns
TypeDescription
PollAirflowCommandResponse

buildPartial()

public PollAirflowCommandResponse buildPartial()
Returns
TypeDescription
PollAirflowCommandResponse

clear()

public PollAirflowCommandResponse.Builder clear()
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides

clearExitInfo()

public PollAirflowCommandResponse.Builder clearExitInfo()

The result exit status of the command.

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

Returns
TypeDescription
PollAirflowCommandResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public PollAirflowCommandResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PollAirflowCommandResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
TypeDescription
PollAirflowCommandResponse.Builder

clearOutputEnd()

public PollAirflowCommandResponse.Builder clearOutputEnd()

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

bool output_end = 2;

Returns
TypeDescription
PollAirflowCommandResponse.Builder

This builder for chaining.

clone()

public PollAirflowCommandResponse.Builder clone()
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides

getDefaultInstanceForType()

public PollAirflowCommandResponse getDefaultInstanceForType()
Returns
TypeDescription
PollAirflowCommandResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExitInfo()

public PollAirflowCommandResponse.ExitInfo getExitInfo()

The result exit status of the command.

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

Returns
TypeDescription
PollAirflowCommandResponse.ExitInfo

The exitInfo.

getExitInfoBuilder()

public PollAirflowCommandResponse.ExitInfo.Builder getExitInfoBuilder()

The result exit status of the command.

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

Returns
TypeDescription
PollAirflowCommandResponse.ExitInfo.Builder

getExitInfoOrBuilder()

public PollAirflowCommandResponse.ExitInfoOrBuilder getExitInfoOrBuilder()

The result exit status of the command.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Returns
TypeDescription
int

getOutputEnd()

public boolean getOutputEnd()

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

bool output_end = 2;

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.LineOrBuilder>

hasExitInfo()

public boolean hasExitInfo()

The result exit status of the command.

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

Returns
TypeDescription
boolean

Whether the exitInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;

Parameter
NameDescription
valuePollAirflowCommandResponse.ExitInfo
Returns
TypeDescription
PollAirflowCommandResponse.Builder

mergeFrom(PollAirflowCommandResponse other)

public PollAirflowCommandResponse.Builder mergeFrom(PollAirflowCommandResponse other)
Parameter
NameDescription
otherPollAirflowCommandResponse
Returns
TypeDescription
PollAirflowCommandResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PollAirflowCommandResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PollAirflowCommandResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;

Parameter
NameDescription
valuePollAirflowCommandResponse.ExitInfo
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;

Parameter
NameDescription
builderForValuePollAirflowCommandResponse.ExitInfo.Builder
Returns
TypeDescription
PollAirflowCommandResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameters
NameDescription
indexint
valuePollAirflowCommandResponse.Line
Returns
TypeDescription
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.v1beta1.PollAirflowCommandResponse.Line output = 1;

Parameters
NameDescription
indexint
builderForValuePollAirflowCommandResponse.Line.Builder
Returns
TypeDescription
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
NameDescription
valueboolean

The outputEnd to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PollAirflowCommandResponse.Builder
Overrides