Class StopAirflowCommandRequest.Builder (1.34.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StopAirflowCommandRequest build()
Returns
Type Description
StopAirflowCommandRequest

buildPartial()

public StopAirflowCommandRequest buildPartial()
Returns
Type Description
StopAirflowCommandRequest

clear()

public StopAirflowCommandRequest.Builder clear()
Returns
Type Description
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
Type Description
StopAirflowCommandRequest.Builder

This builder for chaining.

clearExecutionId()

public StopAirflowCommandRequest.Builder clearExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
Type Description
StopAirflowCommandRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPod()

public StopAirflowCommandRequest.Builder clearPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
Type Description
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
Type Description
StopAirflowCommandRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StopAirflowCommandRequest getDefaultInstanceForType()
Returns
Type Description
StopAirflowCommandRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for environment.

getExecutionId()

public String getExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
Type Description
String

The executionId.

getExecutionIdBytes()

public ByteString getExecutionIdBytes()

The unique ID of the command execution.

string execution_id = 2;

Returns
Type Description
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
Type Description
boolean

The force.

getPod()

public String getPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
Type Description
String

The pod.

getPodBytes()

public ByteString getPodBytes()

The name of the pod where the command is executed.

string pod = 3;

Returns
Type Description
ByteString

The bytes for pod.

getPodNamespace()

public String getPodNamespace()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
Type Description
String

The podNamespace.

getPodNamespaceBytes()

public ByteString getPodNamespaceBytes()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
Type Description
ByteString

The bytes for podNamespace.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StopAirflowCommandRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StopAirflowCommandRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The environment to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for environment to set.

Returns
Type Description
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
Name Description
value String

The executionId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for executionId to set.

Returns
Type Description
StopAirflowCommandRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The force to set.

Returns
Type Description
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
Name Description
value String

The pod to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for pod to set.

Returns
Type Description
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
Name Description
value String

The podNamespace to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for podNamespace to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StopAirflowCommandRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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