Class ExecuteAirflowCommandRequest (1.36.0)

public final class ExecuteAirflowCommandRequest extends GeneratedMessageV3 implements ExecuteAirflowCommandRequestOrBuilder

Execute Airflow Command request.

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

Static Fields

COMMAND_FIELD_NUMBER

public static final int COMMAND_FIELD_NUMBER
Field Value
Type Description
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

SUBCOMMAND_FIELD_NUMBER

public static final int SUBCOMMAND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecuteAirflowCommandRequest getDefaultInstance()
Returns
Type Description
ExecuteAirflowCommandRequest

getDescriptor()

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

newBuilder()

public static ExecuteAirflowCommandRequest.Builder newBuilder()
Returns
Type Description
ExecuteAirflowCommandRequest.Builder

newBuilder(ExecuteAirflowCommandRequest prototype)

public static ExecuteAirflowCommandRequest.Builder newBuilder(ExecuteAirflowCommandRequest prototype)
Parameter
Name Description
prototype ExecuteAirflowCommandRequest
Returns
Type Description
ExecuteAirflowCommandRequest.Builder

parseDelimitedFrom(InputStream input)

public static ExecuteAirflowCommandRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteAirflowCommandRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExecuteAirflowCommandRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecuteAirflowCommandRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecuteAirflowCommandRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecuteAirflowCommandRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecuteAirflowCommandRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteAirflowCommandRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExecuteAirflowCommandRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteAirflowCommandRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExecuteAirflowCommandRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecuteAirflowCommandRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteAirflowCommandRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExecuteAirflowCommandRequest> parser()
Returns
Type Description
Parser<ExecuteAirflowCommandRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<ExecuteAirflowCommandRequest> getParserForType()
Returns
Type Description
Parser<ExecuteAirflowCommandRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExecuteAirflowCommandRequest.Builder newBuilderForType()
Returns
Type Description
ExecuteAirflowCommandRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExecuteAirflowCommandRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecuteAirflowCommandRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExecuteAirflowCommandRequest.Builder toBuilder()
Returns
Type Description
ExecuteAirflowCommandRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException