public static final class SparkSqlJob.Builder extends GeneratedMessageV3.Builder<SparkSqlJob.Builder> implements SparkSqlJobOrBuilder
A Cloud Dataproc job for running [Apache Spark SQL](http://spark.apache.org/sql/) queries.Protobuf type
google.cloud.dataproc.v1.SparkSqlJob
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SparkSqlJob build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SparkSqlJob buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SparkSqlJob.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder mergeFrom(SparkSqlJob other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public SparkSqlJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SparkSqlJob.Builder>
java.io.IOException
public SparkSqlJob.QueriesCase getQueriesCase()
getQueriesCase
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder clearQueries()
public java.lang.String getQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
getQueryFileUri
in interface SparkSqlJobOrBuilder
public ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
getQueryFileUriBytes
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder setQueryFileUri(java.lang.String value)
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
public SparkSqlJob.Builder clearQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
public SparkSqlJob.Builder setQueryFileUriBytes(ByteString value)
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;
public boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
hasQueryList
in interface SparkSqlJobOrBuilder
public QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
getQueryList
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder setQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public SparkSqlJob.Builder setQueryList(QueryList.Builder builderForValue)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public SparkSqlJob.Builder mergeQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public SparkSqlJob.Builder clearQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public QueryList.Builder getQueryListBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
getQueryListOrBuilder
in interface SparkSqlJobOrBuilder
public int getScriptVariablesCount()
SparkSqlJobOrBuilder
Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET `name="value";`).
map<string, string> script_variables = 3;
getScriptVariablesCount
in interface SparkSqlJobOrBuilder
public boolean containsScriptVariables(java.lang.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;
containsScriptVariables
in interface SparkSqlJobOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getScriptVariables()
getScriptVariablesMap()
instead.getScriptVariables
in interface SparkSqlJobOrBuilder
public java.util.Map<java.lang.String,java.lang.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;
getScriptVariablesMap
in interface SparkSqlJobOrBuilder
public java.lang.String getScriptVariablesOrDefault(java.lang.String key, 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;
getScriptVariablesOrDefault
in interface SparkSqlJobOrBuilder
public java.lang.String getScriptVariablesOrThrow(java.lang.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;
getScriptVariablesOrThrow
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder clearScriptVariables()
public SparkSqlJob.Builder removeScriptVariables(java.lang.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;
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableScriptVariables()
public SparkSqlJob.Builder putScriptVariables(java.lang.String key, java.lang.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;
public SparkSqlJob.Builder putAllScriptVariables(java.util.Map<java.lang.String,java.lang.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;
public int getPropertiesCount()
SparkSqlJobOrBuilder
Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
getPropertiesCount
in interface SparkSqlJobOrBuilder
public boolean containsProperties(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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
containsProperties
in interface SparkSqlJobOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
getPropertiesMap()
instead.getProperties
in interface SparkSqlJobOrBuilder
public java.util.Map<java.lang.String,java.lang.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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
getPropertiesMap
in interface SparkSqlJobOrBuilder
public java.lang.String getPropertiesOrDefault(java.lang.String key, 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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
getPropertiesOrDefault
in interface SparkSqlJobOrBuilder
public java.lang.String getPropertiesOrThrow(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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
getPropertiesOrThrow
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder clearProperties()
public SparkSqlJob.Builder removeProperties(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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableProperties()
public SparkSqlJob.Builder putProperties(java.lang.String key, java.lang.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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
public SparkSqlJob.Builder putAllProperties(java.util.Map<java.lang.String,java.lang.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 Cloud Dataproc API may be overwritten.
map<string, string> properties = 4;
public ProtocolStringList getJarFileUrisList()
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
getJarFileUrisList
in interface SparkSqlJobOrBuilder
public int getJarFileUrisCount()
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
getJarFileUrisCount
in interface SparkSqlJobOrBuilder
public 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;
getJarFileUris
in interface SparkSqlJobOrBuilder
public ByteString getJarFileUrisBytes(int index)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
getJarFileUrisBytes
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder setJarFileUris(int index, java.lang.String value)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
public SparkSqlJob.Builder addJarFileUris(java.lang.String value)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
public SparkSqlJob.Builder addAllJarFileUris(java.lang.Iterable<java.lang.String> values)
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
public SparkSqlJob.Builder clearJarFileUris()
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 56;
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;
public boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
hasLoggingConfig
in interface SparkSqlJobOrBuilder
public LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
getLoggingConfig
in interface SparkSqlJobOrBuilder
public SparkSqlJob.Builder setLoggingConfig(LoggingConfig value)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
public SparkSqlJob.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
public SparkSqlJob.Builder mergeLoggingConfig(LoggingConfig value)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
public SparkSqlJob.Builder clearLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
public LoggingConfig.Builder getLoggingConfigBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 6;
getLoggingConfigOrBuilder
in interface SparkSqlJobOrBuilder
public final SparkSqlJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>
public final SparkSqlJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SparkSqlJob.Builder>