public final class ExecuteAirflowCommandRequest extends GeneratedMessageV3 implements ExecuteAirflowCommandRequestOrBuilder
Execute Airflow Command request.
Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.ExecuteAirflowCommandRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExecuteAirflowCommandRequest.Builder newBuilder()
newBuilder(ExecuteAirflowCommandRequest prototype)
public static ExecuteAirflowCommandRequest.Builder newBuilder(ExecuteAirflowCommandRequest prototype)
public static ExecuteAirflowCommandRequest parseDelimitedFrom(InputStream input)
public static ExecuteAirflowCommandRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExecuteAirflowCommandRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecuteAirflowCommandRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExecuteAirflowCommandRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecuteAirflowCommandRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecuteAirflowCommandRequest parseFrom(CodedInputStream input)
public static ExecuteAirflowCommandRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecuteAirflowCommandRequest parseFrom(InputStream input)
public static ExecuteAirflowCommandRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExecuteAirflowCommandRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecuteAirflowCommandRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExecuteAirflowCommandRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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;
getParserForType()
public Parser<ExecuteAirflowCommandRequest> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExecuteAirflowCommandRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExecuteAirflowCommandRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExecuteAirflowCommandRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides