Class StopAirflowCommandRequest.Builder (1.41.0)

public static final class StopAirflowCommandRequest.Builder extends GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder> implements StopAirflowCommandRequestOrBuilder

Stop Airflow Command request.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StopAirflowCommandRequest build()
Returns
TypeDescription
StopAirflowCommandRequest

buildPartial()

public StopAirflowCommandRequest buildPartial()
Returns
TypeDescription
StopAirflowCommandRequest

clear()

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

clearEnvironment()

public StopAirflowCommandRequest.Builder clearEnvironment()

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".

string environment = 1;

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

clearExecutionId()

public StopAirflowCommandRequest.Builder clearExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearForce()

public StopAirflowCommandRequest.Builder clearForce()

If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.

bool force = 5;

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPod()

public StopAirflowCommandRequest.Builder clearPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

clearPodNamespace()

public StopAirflowCommandRequest.Builder clearPodNamespace()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StopAirflowCommandRequest getDefaultInstanceForType()
Returns
TypeDescription
StopAirflowCommandRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public String getEnvironment()

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".

string environment = 1;

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".

string environment = 1;

Returns
TypeDescription
ByteString

The bytes for environment.

getExecutionId()

public String getExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
TypeDescription
String

The executionId.

getExecutionIdBytes()

public ByteString getExecutionIdBytes()

The unique ID of the command execution.

string execution_id = 2;

Returns
TypeDescription
ByteString

The bytes for executionId.

getForce()

public boolean getForce()

If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.

bool force = 5;

Returns
TypeDescription
boolean

The force.

getPod()

public String getPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
TypeDescription
String

The pod.

getPodBytes()

public ByteString getPodBytes()

The name of the pod where the command is executed.

string pod = 3;

Returns
TypeDescription
ByteString

The bytes for pod.

getPodNamespace()

public String getPodNamespace()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
TypeDescription
String

The podNamespace.

getPodNamespaceBytes()

public ByteString getPodNamespaceBytes()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
TypeDescription
ByteString

The bytes for podNamespace.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StopAirflowCommandRequest other)

public StopAirflowCommandRequest.Builder mergeFrom(StopAirflowCommandRequest other)
Parameter
NameDescription
otherStopAirflowCommandRequest
Returns
TypeDescription
StopAirflowCommandRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnvironment(String value)

public StopAirflowCommandRequest.Builder setEnvironment(String value)

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".

string environment = 1;

Parameter
NameDescription
valueString

The environment to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public StopAirflowCommandRequest.Builder setEnvironmentBytes(ByteString value)

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".

string environment = 1;

Parameter
NameDescription
valueByteString

The bytes for environment to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setExecutionId(String value)

public StopAirflowCommandRequest.Builder setExecutionId(String value)

The unique ID of the command execution.

string execution_id = 2;

Parameter
NameDescription
valueString

The executionId to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setExecutionIdBytes(ByteString value)

public StopAirflowCommandRequest.Builder setExecutionIdBytes(ByteString value)

The unique ID of the command execution.

string execution_id = 2;

Parameter
NameDescription
valueByteString

The bytes for executionId to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public StopAirflowCommandRequest.Builder setForce(boolean value)

If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.

bool force = 5;

Parameter
NameDescription
valueboolean

The force to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setPod(String value)

public StopAirflowCommandRequest.Builder setPod(String value)

The name of the pod where the command is executed.

string pod = 3;

Parameter
NameDescription
valueString

The pod to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setPodBytes(ByteString value)

public StopAirflowCommandRequest.Builder setPodBytes(ByteString value)

The name of the pod where the command is executed.

string pod = 3;

Parameter
NameDescription
valueByteString

The bytes for pod to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setPodNamespace(String value)

public StopAirflowCommandRequest.Builder setPodNamespace(String value)

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Parameter
NameDescription
valueString

The podNamespace to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

setPodNamespaceBytes(ByteString value)

public StopAirflowCommandRequest.Builder setPodNamespaceBytes(ByteString value)

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Parameter
NameDescription
valueByteString

The bytes for podNamespace to set.

Returns
TypeDescription
StopAirflowCommandRequest.Builder

This builder for chaining.

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

public StopAirflowCommandRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StopAirflowCommandRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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