Class StopAirflowCommandResponse.Builder (1.85.0)

public static final class StopAirflowCommandResponse.Builder extends GeneratedMessage.Builder<StopAirflowCommandResponse.Builder> implements StopAirflowCommandResponseOrBuilder

Response to StopAirflowCommandRequest.

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

Static Methods

getDescriptor()

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

Methods

addAllOutput(Iterable<String> values)

public StopAirflowCommandResponse.Builder addAllOutput(Iterable<String> values)

Output message from stopping execution request.

repeated string output = 2;

Parameter
Name Description
values Iterable<String>

The output to add.

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

addOutput(String value)

public StopAirflowCommandResponse.Builder addOutput(String value)

Output message from stopping execution request.

repeated string output = 2;

Parameter
Name Description
value String

The output to add.

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

addOutputBytes(ByteString value)

public StopAirflowCommandResponse.Builder addOutputBytes(ByteString value)

Output message from stopping execution request.

repeated string output = 2;

Parameter
Name Description
value ByteString

The bytes of the output to add.

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

build()

public StopAirflowCommandResponse build()
Returns
Type Description
StopAirflowCommandResponse

buildPartial()

public StopAirflowCommandResponse buildPartial()
Returns
Type Description
StopAirflowCommandResponse

clear()

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

clearIsDone()

public StopAirflowCommandResponse.Builder clearIsDone()

Whether the execution is still running.

bool is_done = 1;

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

clearOutput()

public StopAirflowCommandResponse.Builder clearOutput()

Output message from stopping execution request.

repeated string output = 2;

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public StopAirflowCommandResponse getDefaultInstanceForType()
Returns
Type Description
StopAirflowCommandResponse

getDescriptorForType()

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

getIsDone()

public boolean getIsDone()

Whether the execution is still running.

bool is_done = 1;

Returns
Type Description
boolean

The isDone.

getOutput(int index)

public String getOutput(int index)

Output message from stopping execution request.

repeated string output = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The output at the given index.

getOutputBytes(int index)

public ByteString getOutputBytes(int index)

Output message from stopping execution request.

repeated string output = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the output at the given index.

getOutputCount()

public int getOutputCount()

Output message from stopping execution request.

repeated string output = 2;

Returns
Type Description
int

The count of output.

getOutputList()

public ProtocolStringList getOutputList()

Output message from stopping execution request.

repeated string output = 2;

Returns
Type Description
ProtocolStringList

A list containing the output.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StopAirflowCommandResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIsDone(boolean value)

public StopAirflowCommandResponse.Builder setIsDone(boolean value)

Whether the execution is still running.

bool is_done = 1;

Parameter
Name Description
value boolean

The isDone to set.

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

setOutput(int index, String value)

public StopAirflowCommandResponse.Builder setOutput(int index, String value)

Output message from stopping execution request.

repeated string output = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The output to set.

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.