Class ExecuteAirflowCommandRequest.Builder (1.45.0)

public static final class ExecuteAirflowCommandRequest.Builder extends GeneratedMessageV3.Builder<ExecuteAirflowCommandRequest.Builder> implements ExecuteAirflowCommandRequestOrBuilder

Execute Airflow Command request.

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

Static Methods

getDescriptor()

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

Methods

addAllParameters(Iterable<String> values)

public ExecuteAirflowCommandRequest.Builder addAllParameters(Iterable<String> values)

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Parameter
Name Description
values Iterable<String>

The parameters to add.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

addParameters(String value)

public ExecuteAirflowCommandRequest.Builder addParameters(String value)

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Parameter
Name Description
value String

The parameters to add.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

addParametersBytes(ByteString value)

public ExecuteAirflowCommandRequest.Builder addParametersBytes(ByteString value)

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Parameter
Name Description
value ByteString

The bytes of the parameters to add.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExecuteAirflowCommandRequest build()
Returns
Type Description
ExecuteAirflowCommandRequest

buildPartial()

public ExecuteAirflowCommandRequest buildPartial()
Returns
Type Description
ExecuteAirflowCommandRequest

clear()

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

clearCommand()

public ExecuteAirflowCommandRequest.Builder clearCommand()

Airflow command.

string command = 2;

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clearEnvironment()

public ExecuteAirflowCommandRequest.Builder clearEnvironment()

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

string environment = 1;

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExecuteAirflowCommandRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExecuteAirflowCommandRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public ExecuteAirflowCommandRequest.Builder clearParameters()

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clearSubcommand()

public ExecuteAirflowCommandRequest.Builder clearSubcommand()

Airflow subcommand.

string subcommand = 3;

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clone()

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

getCommand()

public String getCommand()

Airflow command.

string command = 2;

Returns
Type Description
String

The command.

getCommandBytes()

public ByteString getCommandBytes()

Airflow command.

string command = 2;

Returns
Type Description
ByteString

The bytes for command.

getDefaultInstanceForType()

public ExecuteAirflowCommandRequest getDefaultInstanceForType()
Returns
Type Description
ExecuteAirflowCommandRequest

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.

getParameters(int index)

public String getParameters(int index)

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The parameters at the given index.

getParametersBytes(int index)

public ByteString getParametersBytes(int index)

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the parameters at the given index.

getParametersCount()

public int getParametersCount()

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Returns
Type Description
int

The count of parameters.

getParametersList()

public ProtocolStringList getParametersList()

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Returns
Type Description
ProtocolStringList

A list containing the parameters.

getSubcommand()

public String getSubcommand()

Airflow subcommand.

string subcommand = 3;

Returns
Type Description
String

The subcommand.

getSubcommandBytes()

public ByteString getSubcommandBytes()

Airflow subcommand.

string subcommand = 3;

Returns
Type Description
ByteString

The bytes for subcommand.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecuteAirflowCommandRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommand(String value)

public ExecuteAirflowCommandRequest.Builder setCommand(String value)

Airflow command.

string command = 2;

Parameter
Name Description
value String

The command to set.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setCommandBytes(ByteString value)

public ExecuteAirflowCommandRequest.Builder setCommandBytes(ByteString value)

Airflow command.

string command = 2;

Parameter
Name Description
value ByteString

The bytes for command to set.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setEnvironment(String value)

public ExecuteAirflowCommandRequest.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
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public ExecuteAirflowCommandRequest.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
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameters(int index, String value)

public ExecuteAirflowCommandRequest.Builder setParameters(int index, String value)

Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like ["my-dag-id"], key-value parameters like ["--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].

repeated string parameters = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The parameters to set.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

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

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

setSubcommand(String value)

public ExecuteAirflowCommandRequest.Builder setSubcommand(String value)

Airflow subcommand.

string subcommand = 3;

Parameter
Name Description
value String

The subcommand to set.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setSubcommandBytes(ByteString value)

public ExecuteAirflowCommandRequest.Builder setSubcommandBytes(ByteString value)

Airflow subcommand.

string subcommand = 3;

Parameter
Name Description
value ByteString

The bytes for subcommand to set.

Returns
Type Description
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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