Package com.google.cloud.dataproc.v1
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsProperties(String key)Optional.booleancontainsScriptVariables(String key)Optional.StringgetJarFileUris(int index)Optional.com.google.protobuf.ByteStringgetJarFileUrisBytes(int index)Optional.intgetJarFileUrisCount()Optional.List<String>getJarFileUrisList()Optional.LoggingConfiggetLoggingConfig()Optional.LoggingConfigOrBuildergetLoggingConfigOrBuilder()Optional.Map<String,String>getProperties()Deprecated.intgetPropertiesCount()Optional.Map<String,String>getPropertiesMap()Optional.StringgetPropertiesOrDefault(String key, String defaultValue)Optional.StringgetPropertiesOrThrow(String key)Optional.SparkSqlJob.QueriesCasegetQueriesCase()StringgetQueryFileUri()The HCFS URI of the script that contains SQL queries.com.google.protobuf.ByteStringgetQueryFileUriBytes()The HCFS URI of the script that contains SQL queries.QueryListgetQueryList()A list of queries.QueryListOrBuildergetQueryListOrBuilder()A list of queries.Map<String,String>getScriptVariables()Deprecated.intgetScriptVariablesCount()Optional.Map<String,String>getScriptVariablesMap()Optional.StringgetScriptVariablesOrDefault(String key, String defaultValue)Optional.StringgetScriptVariablesOrThrow(String key)Optional.booleanhasLoggingConfig()Optional.booleanhasQueryFileUri()The HCFS URI of the script that contains SQL queries.booleanhasQueryList()A list of queries.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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];
-
getScriptVariables
@Deprecated Map<String,String> getScriptVariables()
Deprecated.UsegetScriptVariablesMap()instead.
-
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];
-
getProperties
@Deprecated Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()instead.
-
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];
-
getQueriesCase
SparkSqlJob.QueriesCase getQueriesCase()
-
-