Interface ExecuteAirflowCommandRequestOrBuilder (1.21.0)

public interface ExecuteAirflowCommandRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommand()

public abstract String getCommand()

Airflow command.

string command = 2;

Returns
Type Description
String

The command.

getCommandBytes()

public abstract ByteString getCommandBytes()

Airflow command.

string command = 2;

Returns
Type Description
ByteString

The bytes for command.

getEnvironment()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the parameters.

getSubcommand()

public abstract String getSubcommand()

Airflow subcommand.

string subcommand = 3;

Returns
Type Description
String

The subcommand.

getSubcommandBytes()

public abstract ByteString getSubcommandBytes()

Airflow subcommand.

string subcommand = 3;

Returns
Type Description
ByteString

The bytes for subcommand.