Class StopAirflowCommandResponse.Builder (1.45.0)

public static final class StopAirflowCommandResponse.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public StopAirflowCommandResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutput()

public StopAirflowCommandResponse.Builder clearOutput()

Output message from stopping execution request.

repeated string output = 2;

Returns
Type Description
StopAirflowCommandResponse.Builder

This builder for chaining.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StopAirflowCommandResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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