Interface SparkSqlJobOrBuilder

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

    public interface SparkSqlJobOrBuilder
    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;
      • getScriptVariablesCount

        int getScriptVariablesCount()
         Optional. Mapping of query variable names to values (equivalent to the
         Spark SQL command: SET `name="value";`).
         
        map<string, string> script_variables = 3 [(.google.api.field_behavior) = OPTIONAL];
      • containsScriptVariables

        boolean containsScriptVariables​(String key)
         Optional. Mapping of query variable names to values (equivalent to the
         Spark SQL command: SET `name="value";`).
         
        map<string, string> script_variables = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getScriptVariablesMap

        Map<String,​String> getScriptVariablesMap()
         Optional. Mapping of query variable names to values (equivalent to the
         Spark SQL command: SET `name="value";`).
         
        map<string, string> script_variables = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getScriptVariablesOrDefault

        String getScriptVariablesOrDefault​(String key,
                                           String defaultValue)
         Optional. Mapping of query variable names to values (equivalent to the
         Spark SQL command: SET `name="value";`).
         
        map<string, string> script_variables = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getScriptVariablesOrThrow

        String getScriptVariablesOrThrow​(String key)
         Optional. Mapping of query variable names to values (equivalent to the
         Spark SQL command: SET `name="value";`).
         
        map<string, string> script_variables = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesCount

        int getPropertiesCount()
         Optional. A mapping of property names to values, used to configure
         Spark SQL's SparkConf. Properties that conflict with values set by the
         Dataproc API may be overwritten.
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • containsProperties

        boolean containsProperties​(String key)
         Optional. A mapping of property names to values, used to configure
         Spark SQL's SparkConf. Properties that conflict with values set by the
         Dataproc API may be overwritten.
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesMap

        Map<String,​String> getPropertiesMap()
         Optional. A mapping of property names to values, used to configure
         Spark SQL's SparkConf. Properties that conflict with values set by the
         Dataproc API may be overwritten.
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesOrDefault

        String getPropertiesOrDefault​(String key,
                                      String defaultValue)
         Optional. A mapping of property names to values, used to configure
         Spark SQL's SparkConf. Properties that conflict with values set by the
         Dataproc API may be overwritten.
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getPropertiesOrThrow

        String getPropertiesOrThrow​(String key)
         Optional. A mapping of property names to values, used to configure
         Spark SQL's SparkConf. Properties that conflict with values set by the
         Dataproc API may be overwritten.
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getJarFileUrisList

        List<String> getJarFileUrisList()
         Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
         
        repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the jarFileUris.
      • getJarFileUrisCount

        int getJarFileUrisCount()
         Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
         
        repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of jarFileUris.
      • getJarFileUris

        String getJarFileUris​(int index)
         Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
         
        repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The jarFileUris at the given index.
      • getJarFileUrisBytes

        com.google.protobuf.ByteString getJarFileUrisBytes​(int index)
         Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
         
        repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the jarFileUris at the given index.
      • hasLoggingConfig

        boolean hasLoggingConfig()
         Optional. The runtime log config for job execution.
         
        .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.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 = 6 [(.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 = 6 [(.google.api.field_behavior) = OPTIONAL];