- 4.44.0 (latest)
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class SparkSqlJob.Builder extends GeneratedMessageV3.Builder<SparkSqlJob.Builder> implements SparkSqlJobOrBuilder
A Dataproc job for running Apache Spark SQL queries.
Protobuf type google.cloud.dataproc.v1.SparkSqlJob
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SparkSqlJob.BuilderImplements
SparkSqlJobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllJarFileUris(Iterable<String> values)
public SparkSqlJob.Builder addAllJarFileUris(Iterable<String> values)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<String> The jarFileUris to add. |
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
addJarFileUris(String value)
public SparkSqlJob.Builder addJarFileUris(String value)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The jarFileUris to add. |
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
addJarFileUrisBytes(ByteString value)
public SparkSqlJob.Builder addJarFileUrisBytes(ByteString value)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes of the jarFileUris to add. |
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SparkSqlJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SparkSqlJob.Builder |
build()
public SparkSqlJob build()
Type | Description |
SparkSqlJob |
buildPartial()
public SparkSqlJob buildPartial()
Type | Description |
SparkSqlJob |
clear()
public SparkSqlJob.Builder clear()
Type | Description |
SparkSqlJob.Builder |
clearField(Descriptors.FieldDescriptor field)
public SparkSqlJob.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SparkSqlJob.Builder |
clearJarFileUris()
public SparkSqlJob.Builder clearJarFileUris()
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
clearLoggingConfig()
public SparkSqlJob.Builder clearLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SparkSqlJob.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SparkSqlJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SparkSqlJob.Builder |
clearProperties()
public SparkSqlJob.Builder clearProperties()
Type | Description |
SparkSqlJob.Builder |
clearQueries()
public SparkSqlJob.Builder clearQueries()
Type | Description |
SparkSqlJob.Builder |
clearQueryFileUri()
public SparkSqlJob.Builder clearQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
clearQueryList()
public SparkSqlJob.Builder clearQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Type | Description |
SparkSqlJob.Builder |
clearScriptVariables()
public SparkSqlJob.Builder clearScriptVariables()
Type | Description |
SparkSqlJob.Builder |
clone()
public SparkSqlJob.Builder clone()
Type | Description |
SparkSqlJob.Builder |
containsProperties(String key)
public 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];
Name | Description |
key | String |
Type | Description |
boolean |
containsScriptVariables(String key)
public 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];
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public SparkSqlJob getDefaultInstanceForType()
Type | Description |
SparkSqlJob |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getJarFileUris(int index)
public 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];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The jarFileUris at the given index. |
getJarFileUrisBytes(int index)
public 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];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the jarFileUris at the given index. |
getJarFileUrisCount()
public 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];
Type | Description |
int | The count of jarFileUris. |
getJarFileUrisList()
public ProtocolStringList 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];
Type | Description |
ProtocolStringList | A list containing the jarFileUris. |
getLoggingConfig()
public LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
LoggingConfig | The loggingConfig. |
getLoggingConfigBuilder()
public LoggingConfig.Builder getLoggingConfigBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
LoggingConfig.Builder |
getLoggingConfigOrBuilder()
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
LoggingConfigOrBuilder |
getMutableProperties()
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableScriptVariables()
public Map<String,String> getMutableScriptVariables()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getProperties()
public Map<String,String> getProperties()
Use #getPropertiesMap() instead.
Type | Description |
Map<String,String> |
getPropertiesCount()
public 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];
Type | Description |
int |
getPropertiesMap()
public 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];
Type | Description |
Map<String,String> |
getPropertiesOrDefault(String key, String defaultValue)
public 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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getPropertiesOrThrow(String key)
public 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];
Name | Description |
key | String |
Type | Description |
String |
getQueriesCase()
public SparkSqlJob.QueriesCase getQueriesCase()
Type | Description |
SparkSqlJob.QueriesCase |
getQueryFileUri()
public String getQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
Type | Description |
String | The queryFileUri. |
getQueryFileUriBytes()
public ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
Type | Description |
ByteString | The bytes for queryFileUri. |
getQueryList()
public QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Type | Description |
QueryList | The queryList. |
getQueryListBuilder()
public QueryList.Builder getQueryListBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Type | Description |
QueryList.Builder |
getQueryListOrBuilder()
public QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Type | Description |
QueryListOrBuilder |
getScriptVariables()
public Map<String,String> getScriptVariables()
Use #getScriptVariablesMap() instead.
Type | Description |
Map<String,String> |
getScriptVariablesCount()
public 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];
Type | Description |
int |
getScriptVariablesMap()
public 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];
Type | Description |
Map<String,String> |
getScriptVariablesOrDefault(String key, String defaultValue)
public 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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getScriptVariablesOrThrow(String key)
public 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];
Name | Description |
key | String |
Type | Description |
String |
hasLoggingConfig()
public boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the loggingConfig field is set. |
hasQueryFileUri()
public boolean hasQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
Type | Description |
boolean | Whether the queryFileUri field is set. |
hasQueryList()
public boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Type | Description |
boolean | Whether the queryList field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SparkSqlJob other)
public SparkSqlJob.Builder mergeFrom(SparkSqlJob other)
Name | Description |
other | SparkSqlJob |
Type | Description |
SparkSqlJob.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SparkSqlJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SparkSqlJob.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SparkSqlJob.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SparkSqlJob.Builder |
mergeLoggingConfig(LoggingConfig value)
public SparkSqlJob.Builder mergeLoggingConfig(LoggingConfig value)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | LoggingConfig |
Type | Description |
SparkSqlJob.Builder |
mergeQueryList(QueryList value)
public SparkSqlJob.Builder mergeQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Name | Description |
value | QueryList |
Type | Description |
SparkSqlJob.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SparkSqlJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SparkSqlJob.Builder |
putAllProperties(Map<String,String> values)
public SparkSqlJob.Builder putAllProperties(Map<String,String> values)
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];
Name | Description |
values | Map<String,String> |
Type | Description |
SparkSqlJob.Builder |
putAllScriptVariables(Map<String,String> values)
public SparkSqlJob.Builder putAllScriptVariables(Map<String,String> values)
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];
Name | Description |
values | Map<String,String> |
Type | Description |
SparkSqlJob.Builder |
putProperties(String key, String value)
public SparkSqlJob.Builder putProperties(String key, String value)
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];
Name | Description |
key | String |
value | String |
Type | Description |
SparkSqlJob.Builder |
putScriptVariables(String key, String value)
public SparkSqlJob.Builder putScriptVariables(String key, String value)
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];
Name | Description |
key | String |
value | String |
Type | Description |
SparkSqlJob.Builder |
removeProperties(String key)
public SparkSqlJob.Builder removeProperties(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];
Name | Description |
key | String |
Type | Description |
SparkSqlJob.Builder |
removeScriptVariables(String key)
public SparkSqlJob.Builder removeScriptVariables(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];
Name | Description |
key | String |
Type | Description |
SparkSqlJob.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SparkSqlJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SparkSqlJob.Builder |
setJarFileUris(int index, String value)
public SparkSqlJob.Builder setJarFileUris(int index, String value)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index to set the value at. |
value | String The jarFileUris to set. |
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
setLoggingConfig(LoggingConfig value)
public SparkSqlJob.Builder setLoggingConfig(LoggingConfig value)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | LoggingConfig |
Type | Description |
SparkSqlJob.Builder |
setLoggingConfig(LoggingConfig.Builder builderForValue)
public SparkSqlJob.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | LoggingConfig.Builder |
Type | Description |
SparkSqlJob.Builder |
setQueryFileUri(String value)
public SparkSqlJob.Builder setQueryFileUri(String value)
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
Name | Description |
value | String The queryFileUri to set. |
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
setQueryFileUriBytes(ByteString value)
public SparkSqlJob.Builder setQueryFileUriBytes(ByteString value)
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
Name | Description |
value | ByteString The bytes for queryFileUri to set. |
Type | Description |
SparkSqlJob.Builder | This builder for chaining. |
setQueryList(QueryList value)
public SparkSqlJob.Builder setQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Name | Description |
value | QueryList |
Type | Description |
SparkSqlJob.Builder |
setQueryList(QueryList.Builder builderForValue)
public SparkSqlJob.Builder setQueryList(QueryList.Builder builderForValue)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
Name | Description |
builderForValue | QueryList.Builder |
Type | Description |
SparkSqlJob.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SparkSqlJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SparkSqlJob.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SparkSqlJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SparkSqlJob.Builder |