Class ExecuteAirflowCommandRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.ExecuteAirflowCommandRequest.Builder
- All Implemented Interfaces:
ExecuteAirflowCommandRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExecuteAirflowCommandRequest
public static final class ExecuteAirflowCommandRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder>
implements ExecuteAirflowCommandRequestOrBuilder
Execute Airflow Command request.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.ExecuteAirflowCommandRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameters(Iterable<String> values) Parameters for the Airflow command/subcommand as an array of arguments.addParameters(String value) Parameters for the Airflow command/subcommand as an array of arguments.addParametersBytes(com.google.protobuf.ByteString value) Parameters for the Airflow command/subcommand as an array of arguments.build()clear()Airflow command.The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".Parameters for the Airflow command/subcommand as an array of arguments.Airflow subcommand.Airflow command.com.google.protobuf.ByteStringAirflow command.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".com.google.protobuf.ByteStringThe resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".getParameters(int index) Parameters for the Airflow command/subcommand as an array of arguments.com.google.protobuf.ByteStringgetParametersBytes(int index) Parameters for the Airflow command/subcommand as an array of arguments.intParameters for the Airflow command/subcommand as an array of arguments.com.google.protobuf.ProtocolStringListParameters for the Airflow command/subcommand as an array of arguments.Airflow subcommand.com.google.protobuf.ByteStringAirflow subcommand.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCommand(String value) Airflow command.setCommandBytes(com.google.protobuf.ByteString value) Airflow command.setEnvironment(String value) The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".setEnvironmentBytes(com.google.protobuf.ByteString value) The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".setParameters(int index, String value) Parameters for the Airflow command/subcommand as an array of arguments.setSubcommand(String value) Airflow subcommand.setSubcommandBytes(com.google.protobuf.ByteString value) Airflow subcommand.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecuteAirflowCommandRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExecuteAirflowCommandRequest.Builder>
-
mergeFrom
public ExecuteAirflowCommandRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecuteAirflowCommandRequest.Builder>- Throws:
IOException
-
getEnvironment
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Specified by:
getEnvironmentin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The environment.
-
getEnvironmentBytes
public com.google.protobuf.ByteString getEnvironmentBytes()The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Specified by:
getEnvironmentBytesin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The bytes for environment.
-
setEnvironment
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Parameters:
value- The environment to set.- Returns:
- This builder for chaining.
-
clearEnvironment
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Returns:
- This builder for chaining.
-
setEnvironmentBytes
public ExecuteAirflowCommandRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value) The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Parameters:
value- The bytes for environment to set.- Returns:
- This builder for chaining.
-
getCommand
Airflow command.
string command = 2;- Specified by:
getCommandin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()Airflow command.
string command = 2;- Specified by:
getCommandBytesin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The bytes for command.
-
setCommand
Airflow command.
string command = 2;- Parameters:
value- The command to set.- Returns:
- This builder for chaining.
-
clearCommand
Airflow command.
string command = 2;- Returns:
- This builder for chaining.
-
setCommandBytes
Airflow command.
string command = 2;- Parameters:
value- The bytes for command to set.- Returns:
- This builder for chaining.
-
getSubcommand
Airflow subcommand.
string subcommand = 3;- Specified by:
getSubcommandin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The subcommand.
-
getSubcommandBytes
public com.google.protobuf.ByteString getSubcommandBytes()Airflow subcommand.
string subcommand = 3;- Specified by:
getSubcommandBytesin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The bytes for subcommand.
-
setSubcommand
Airflow subcommand.
string subcommand = 3;- Parameters:
value- The subcommand to set.- Returns:
- This builder for chaining.
-
clearSubcommand
Airflow subcommand.
string subcommand = 3;- Returns:
- This builder for chaining.
-
setSubcommandBytes
public ExecuteAirflowCommandRequest.Builder setSubcommandBytes(com.google.protobuf.ByteString value) Airflow subcommand.
string subcommand = 3;- Parameters:
value- The bytes for subcommand to set.- Returns:
- This builder for chaining.
-
getParametersList
public com.google.protobuf.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;- Specified by:
getParametersListin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- A list containing the parameters.
-
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;- Specified by:
getParametersCountin interfaceExecuteAirflowCommandRequestOrBuilder- Returns:
- The count of parameters.
-
getParameters
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;- Specified by:
getParametersin interfaceExecuteAirflowCommandRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parameters at the given index.
-
getParametersBytes
public com.google.protobuf.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;- Specified by:
getParametersBytesin interfaceExecuteAirflowCommandRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parameters at the given index.
-
setParameters
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:
index- The index to set the value at.value- The parameters to set.- Returns:
- This builder for chaining.
-
addParameters
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:
value- The parameters to add.- Returns:
- This builder for chaining.
-
addAllParameters
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:
values- The parameters to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addParametersBytes
public ExecuteAirflowCommandRequest.Builder addParametersBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the parameters to add.- Returns:
- This builder for chaining.
-