All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dataproc.v1.SparkSqlJobOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.53.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dataproc/v1/jobs.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;

public interface SparkSqlJobOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.SparkSqlJob)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The HCFS URI of the script that contains SQL queries.
   * 
* * string query_file_uri = 1; * * @return Whether the queryFileUri field is set. */ boolean hasQueryFileUri(); /** * * *
   * The HCFS URI of the script that contains SQL queries.
   * 
* * string query_file_uri = 1; * * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** * * *
   * The HCFS URI of the script that contains SQL queries.
   * 
* * string query_file_uri = 1; * * @return The bytes for queryFileUri. */ com.google.protobuf.ByteString getQueryFileUriBytes(); /** * * *
   * A list of queries.
   * 
* * .google.cloud.dataproc.v1.QueryList query_list = 2; * * @return Whether the queryList field is set. */ boolean hasQueryList(); /** * * *
   * A list of queries.
   * 
* * .google.cloud.dataproc.v1.QueryList query_list = 2; * * @return The queryList. */ com.google.cloud.dataproc.v1.QueryList getQueryList(); /** * * *
   * A list of queries.
   * 
* * .google.cloud.dataproc.v1.QueryList query_list = 2; */ com.google.cloud.dataproc.v1.QueryListOrBuilder getQueryListOrBuilder(); /** * * *
   * 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]; * */ 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]; * */ boolean containsScriptVariables(java.lang.String key); /** Use {@link #getScriptVariablesMap()} instead. */ @java.lang.Deprecated java.util.Map getScriptVariables(); /** * * *
   * 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]; * */ java.util.Map 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]; * */ /* nullable */ java.lang.String getScriptVariablesOrDefault( java.lang.String key, /* nullable */ java.lang.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]; * */ java.lang.String getScriptVariablesOrThrow(java.lang.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 might be overwritten.
   * 
* * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ 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 might be overwritten.
   * 
* * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ boolean containsProperties(java.lang.String key); /** Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated java.util.Map getProperties(); /** * * *
   * 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 might be overwritten.
   * 
* * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.Map 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 might be overwritten.
   * 
* * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ /* nullable */ java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ java.lang.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 might be overwritten.
   * 
* * map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.lang.String getPropertiesOrThrow(java.lang.String key); /** * * *
   * Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
   * 
* * repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the jarFileUris. */ java.util.List 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]; * * @return The count of jarFileUris. */ 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]; * * @param index The index of the element to return. * @return The jarFileUris at the given index. */ java.lang.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]; * * @param index The index of the value to return. * @return The bytes of the jarFileUris at the given index. */ com.google.protobuf.ByteString getJarFileUrisBytes(int index); /** * * *
   * Optional. The runtime log config for job execution.
   * 
* * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** * * *
   * Optional. The runtime log config for job execution.
   * 
* * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The loggingConfig. */ com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig(); /** * * *
   * Optional. The runtime log config for job execution.
   * 
* * * .google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dataproc.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); com.google.cloud.dataproc.v1.SparkSqlJob.QueriesCase getQueriesCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy