Class ExecuteAirflowCommandRequest.Builder (1.41.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
TypeDescription
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
NameDescription
valuesIterable<String>

The parameters to add.

Returns
TypeDescription
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
NameDescription
valueString

The parameters to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the parameters to add.

Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecuteAirflowCommandRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

build()

public ExecuteAirflowCommandRequest build()
Returns
TypeDescription
ExecuteAirflowCommandRequest

buildPartial()

public ExecuteAirflowCommandRequest buildPartial()
Returns
TypeDescription
ExecuteAirflowCommandRequest

clear()

public ExecuteAirflowCommandRequest.Builder clear()
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

clearCommand()

public ExecuteAirflowCommandRequest.Builder clearCommand()

Airflow command.

string command = 2;

Returns
TypeDescription
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
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExecuteAirflowCommandRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecuteAirflowCommandRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clearSubcommand()

public ExecuteAirflowCommandRequest.Builder clearSubcommand()

Airflow subcommand.

string subcommand = 3;

Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

clone()

public ExecuteAirflowCommandRequest.Builder clone()
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

getCommand()

public String getCommand()

Airflow command.

string command = 2;

Returns
TypeDescription
String

The command.

getCommandBytes()

public ByteString getCommandBytes()

Airflow command.

string command = 2;

Returns
TypeDescription
ByteString

The bytes for command.

getDefaultInstanceForType()

public ExecuteAirflowCommandRequest getDefaultInstanceForType()
Returns
TypeDescription
ExecuteAirflowCommandRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the parameters.

getSubcommand()

public String getSubcommand()

Airflow subcommand.

string subcommand = 3;

Returns
TypeDescription
String

The subcommand.

getSubcommandBytes()

public ByteString getSubcommandBytes()

Airflow subcommand.

string subcommand = 3;

Returns
TypeDescription
ByteString

The bytes for subcommand.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExecuteAirflowCommandRequest other)

public ExecuteAirflowCommandRequest.Builder mergeFrom(ExecuteAirflowCommandRequest other)
Parameter
NameDescription
otherExecuteAirflowCommandRequest
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecuteAirflowCommandRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExecuteAirflowCommandRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecuteAirflowCommandRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

setCommand(String value)

public ExecuteAirflowCommandRequest.Builder setCommand(String value)

Airflow command.

string command = 2;

Parameter
NameDescription
valueString

The command to set.

Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setCommandBytes(ByteString value)

public ExecuteAirflowCommandRequest.Builder setCommandBytes(ByteString value)

Airflow command.

string command = 2;

Parameter
NameDescription
valueByteString

The bytes for command to set.

Returns
TypeDescription
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
NameDescription
valueString

The environment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for environment to set.

Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExecuteAirflowCommandRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The parameters to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides

setSubcommand(String value)

public ExecuteAirflowCommandRequest.Builder setSubcommand(String value)

Airflow subcommand.

string subcommand = 3;

Parameter
NameDescription
valueString

The subcommand to set.

Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setSubcommandBytes(ByteString value)

public ExecuteAirflowCommandRequest.Builder setSubcommandBytes(ByteString value)

Airflow subcommand.

string subcommand = 3;

Parameter
NameDescription
valueByteString

The bytes for subcommand to set.

Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecuteAirflowCommandRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecuteAirflowCommandRequest.Builder
Overrides