Interface PrestoJobOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PrestoJob, PrestoJob.Builder

    public interface PrestoJobOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasQueryFileUri

        boolean hasQueryFileUri()
         The HCFS URI of the script that contains SQL queries.
         
        string query_file_uri = 1;
        Returns:
        Whether the queryFileUri field is set.
      • getQueryFileUri

        String getQueryFileUri()
         The HCFS URI of the script that contains SQL queries.
         
        string query_file_uri = 1;
        Returns:
        The queryFileUri.
      • getQueryFileUriBytes

        com.google.protobuf.ByteString getQueryFileUriBytes()
         The HCFS URI of the script that contains SQL queries.
         
        string query_file_uri = 1;
        Returns:
        The bytes for queryFileUri.
      • hasQueryList

        boolean hasQueryList()
         A list of queries.
         
        .google.cloud.dataproc.v1.QueryList query_list = 2;
        Returns:
        Whether the queryList field is set.
      • getQueryList

        QueryList getQueryList()
         A list of queries.
         
        .google.cloud.dataproc.v1.QueryList query_list = 2;
        Returns:
        The queryList.
      • getQueryListOrBuilder

        QueryListOrBuilder getQueryListOrBuilder()
         A list of queries.
         
        .google.cloud.dataproc.v1.QueryList query_list = 2;
      • getContinueOnFailure

        boolean getContinueOnFailure()
         Optional. Whether to continue executing queries if a query fails.
         The default value is `false`. Setting to `true` can be useful when
         executing independent parallel queries.
         
        bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The continueOnFailure.
      • getOutputFormat

        String getOutputFormat()
         Optional. The format in which query output will be displayed. See the
         Presto documentation for supported output formats
         
        string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The outputFormat.
      • getOutputFormatBytes

        com.google.protobuf.ByteString getOutputFormatBytes()
         Optional. The format in which query output will be displayed. See the
         Presto documentation for supported output formats
         
        string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for outputFormat.
      • getClientTagsList

        List<String> getClientTagsList()
         Optional. Presto client tags to attach to this query
         
        repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the clientTags.
      • getClientTagsCount

        int getClientTagsCount()
         Optional. Presto client tags to attach to this query
         
        repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of clientTags.
      • getClientTags

        String getClientTags​(int index)
         Optional. Presto client tags to attach to this query
         
        repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The clientTags at the given index.
      • getClientTagsBytes

        com.google.protobuf.ByteString getClientTagsBytes​(int index)
         Optional. Presto client tags to attach to this query
         
        repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the clientTags at the given index.
      • getPropertiesCount

        int getPropertiesCount()
         Optional. A mapping of property names to values. Used to set Presto
         [session properties](https://prestodb.io/docs/current/sql/set-session.html)
         Equivalent to using the --session flag in the Presto CLI
         
        map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
      • containsProperties

        boolean containsProperties​(String key)
         Optional. A mapping of property names to values. Used to set Presto
         [session properties](https://prestodb.io/docs/current/sql/set-session.html)
         Equivalent to using the --session flag in the Presto CLI
         
        map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesMap

        Map<String,​String> getPropertiesMap()
         Optional. A mapping of property names to values. Used to set Presto
         [session properties](https://prestodb.io/docs/current/sql/set-session.html)
         Equivalent to using the --session flag in the Presto CLI
         
        map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesOrDefault

        String getPropertiesOrDefault​(String key,
                                      String defaultValue)
         Optional. A mapping of property names to values. Used to set Presto
         [session properties](https://prestodb.io/docs/current/sql/set-session.html)
         Equivalent to using the --session flag in the Presto CLI
         
        map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesOrThrow

        String getPropertiesOrThrow​(String key)
         Optional. A mapping of property names to values. Used to set Presto
         [session properties](https://prestodb.io/docs/current/sql/set-session.html)
         Equivalent to using the --session flag in the Presto CLI
         
        map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
      • hasLoggingConfig

        boolean hasLoggingConfig()
         Optional. The runtime log config for job execution.
         
        .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the loggingConfig field is set.
      • getLoggingConfig

        LoggingConfig getLoggingConfig()
         Optional. The runtime log config for job execution.
         
        .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The loggingConfig.
      • getLoggingConfigOrBuilder

        LoggingConfigOrBuilder getLoggingConfigOrBuilder()
         Optional. The runtime log config for job execution.
         
        .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];