Class ExecuteAirflowCommandRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExecuteAirflowCommandRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExecuteAirflowCommandRequest.Builder>
      • getDefaultInstanceForType

        public ExecuteAirflowCommandRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ExecuteAirflowCommandRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ExecuteAirflowCommandRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExecuteAirflowCommandRequest.Builder>
      • mergeFrom

        public ExecuteAirflowCommandRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExecuteAirflowCommandRequest.Builder>
        Throws:
        IOException
      • getEnvironment

        public String getEnvironment()
         The resource name of the environment in the form:
         "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
         
        string environment = 1;
        Specified by:
        getEnvironment in interface ExecuteAirflowCommandRequestOrBuilder
        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:
        getEnvironmentBytes in interface ExecuteAirflowCommandRequestOrBuilder
        Returns:
        The bytes for environment.
      • setEnvironment

        public ExecuteAirflowCommandRequest.Builder setEnvironment​(String value)
         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

        public ExecuteAirflowCommandRequest.Builder 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.
      • setCommandBytes

        public ExecuteAirflowCommandRequest.Builder setCommandBytes​(com.google.protobuf.ByteString value)
         Airflow command.
         
        string command = 2;
        Parameters:
        value - The bytes for command to set.
        Returns:
        This builder for chaining.
      • setSubcommand

        public ExecuteAirflowCommandRequest.Builder setSubcommand​(String value)
         Airflow subcommand.
         
        string subcommand = 3;
        Parameters:
        value - The subcommand to set.
        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:
        getParametersList in interface ExecuteAirflowCommandRequestOrBuilder
        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:
        getParametersCount in interface ExecuteAirflowCommandRequestOrBuilder
        Returns:
        The count of parameters.
      • getParameters

        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;
        Specified by:
        getParameters in interface ExecuteAirflowCommandRequestOrBuilder
        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:
        getParametersBytes in interface ExecuteAirflowCommandRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the parameters at the given index.
      • setParameters

        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:
        index - The index to set the value at.
        value - The parameters to set.
        Returns:
        This builder for chaining.
      • addParameters

        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;
        Parameters:
        value - The parameters to add.
        Returns:
        This builder for chaining.
      • addAllParameters

        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;
        Parameters:
        values - The parameters to add.
        Returns:
        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:
        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.