Class StopAirflowCommandResponse.Builder (1.41.0)

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

Response to StopAirflowCommandRequest.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOutput(Iterable<String> values)

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

Output message from stopping execution request.

repeated string output = 2;

Parameter
NameDescription
valuesIterable<String>

The output to add.

Returns
TypeDescription
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
NameDescription
valueString

The output to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the output to add.

Returns
TypeDescription
StopAirflowCommandResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StopAirflowCommandResponse build()
Returns
TypeDescription
StopAirflowCommandResponse

buildPartial()

public StopAirflowCommandResponse buildPartial()
Returns
TypeDescription
StopAirflowCommandResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIsDone()

public StopAirflowCommandResponse.Builder clearIsDone()

Whether the execution is still running.

bool is_done = 1;

Returns
TypeDescription
StopAirflowCommandResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StopAirflowCommandResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StopAirflowCommandResponse.Builder
Overrides

clearOutput()

public StopAirflowCommandResponse.Builder clearOutput()

Output message from stopping execution request.

repeated string output = 2;

Returns
TypeDescription
StopAirflowCommandResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StopAirflowCommandResponse getDefaultInstanceForType()
Returns
TypeDescription
StopAirflowCommandResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIsDone()

public boolean getIsDone()

Whether the execution is still running.

bool is_done = 1;

Returns
TypeDescription
boolean

The isDone.

getOutput(int index)

public String getOutput(int index)

Output message from stopping execution request.

repeated string output = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of output.

getOutputList()

public ProtocolStringList getOutputList()

Output message from stopping execution request.

repeated string output = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the output.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StopAirflowCommandResponse other)

public StopAirflowCommandResponse.Builder mergeFrom(StopAirflowCommandResponse other)
Parameter
NameDescription
otherStopAirflowCommandResponse
Returns
TypeDescription
StopAirflowCommandResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StopAirflowCommandResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StopAirflowCommandResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsDone(boolean value)

public StopAirflowCommandResponse.Builder setIsDone(boolean value)

Whether the execution is still running.

bool is_done = 1;

Parameter
NameDescription
valueboolean

The isDone to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The output to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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