public static final class ExecuteAirflowCommandRequest.Builder extends GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder> implements ExecuteAirflowCommandRequestOrBuilderExecute Airflow Command request.
Protobuf type
google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExecuteAirflowCommandRequest.BuilderImplements
ExecuteAirflowCommandRequestOrBuilderStatic 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 |
StringThe 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 |
ByteStringThe bytes of the parameters to add. |
| Returns | |
|---|---|
| Type | Description |
ExecuteAirflowCommandRequest.Builder |
This builder for chaining. |
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 |
|
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. |
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. |
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 |
|
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExecuteAirflowCommandRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExecuteAirflowCommandRequest.Builder |
|
setCommand(String value)
public ExecuteAirflowCommandRequest.Builder setCommand(String value)Airflow command.
string command = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for environment to set. |
| Returns | |
|---|---|
| Type | Description |
ExecuteAirflowCommandRequest.Builder |
This builder for chaining. |
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 |
intThe index to set the value at. |
value |
StringThe parameters to set. |
| Returns | |
|---|---|
| Type | Description |
ExecuteAirflowCommandRequest.Builder |
This builder for chaining. |
setSubcommand(String value)
public ExecuteAirflowCommandRequest.Builder setSubcommand(String value)Airflow subcommand.
string subcommand = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for subcommand to set. |
| Returns | |
|---|---|
| Type | Description |
ExecuteAirflowCommandRequest.Builder |
This builder for chaining. |