public static final class HiveJob.Builder extends GeneratedMessageV3.Builder<HiveJob.Builder> implements HiveJobOrBuilder
A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/) queries on YARN.Protobuf type
google.cloud.dataproc.v1.HiveJob
Modifier and Type | Method and Description |
---|---|
HiveJob.Builder |
addAllJarFileUris(java.lang.Iterable<java.lang.String> values)
Optional.
|
HiveJob.Builder |
addJarFileUris(java.lang.String value)
Optional.
|
HiveJob.Builder |
addJarFileUrisBytes(ByteString value)
Optional.
|
HiveJob.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
HiveJob |
build() |
HiveJob |
buildPartial() |
HiveJob.Builder |
clear() |
HiveJob.Builder |
clearContinueOnFailure()
Optional.
|
HiveJob.Builder |
clearField(Descriptors.FieldDescriptor field) |
HiveJob.Builder |
clearJarFileUris()
Optional.
|
HiveJob.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
HiveJob.Builder |
clearProperties() |
HiveJob.Builder |
clearQueries() |
HiveJob.Builder |
clearQueryFileUri()
The HCFS URI of the script that contains Hive queries.
|
HiveJob.Builder |
clearQueryList()
A list of queries.
|
HiveJob.Builder |
clearScriptVariables() |
HiveJob.Builder |
clone() |
boolean |
containsProperties(java.lang.String key)
Optional.
|
boolean |
containsScriptVariables(java.lang.String key)
Optional.
|
boolean |
getContinueOnFailure()
Optional.
|
HiveJob |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getJarFileUris(int index)
Optional.
|
ByteString |
getJarFileUrisBytes(int index)
Optional.
|
int |
getJarFileUrisCount()
Optional.
|
ProtocolStringList |
getJarFileUrisList()
Optional.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableProperties()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableScriptVariables()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
Optional.
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap()
Optional.
|
java.lang.String |
getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional.
|
java.lang.String |
getPropertiesOrThrow(java.lang.String key)
Optional.
|
HiveJob.QueriesCase |
getQueriesCase() |
java.lang.String |
getQueryFileUri()
The HCFS URI of the script that contains Hive queries.
|
ByteString |
getQueryFileUriBytes()
The HCFS URI of the script that contains Hive queries.
|
QueryList |
getQueryList()
A list of queries.
|
QueryList.Builder |
getQueryListBuilder()
A list of queries.
|
QueryListOrBuilder |
getQueryListOrBuilder()
A list of queries.
|
java.util.Map<java.lang.String,java.lang.String> |
getScriptVariables()
Deprecated.
|
int |
getScriptVariablesCount()
Optional.
|
java.util.Map<java.lang.String,java.lang.String> |
getScriptVariablesMap()
Optional.
|
java.lang.String |
getScriptVariablesOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional.
|
java.lang.String |
getScriptVariablesOrThrow(java.lang.String key)
Optional.
|
boolean |
hasQueryList()
A list of queries.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
HiveJob.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
HiveJob.Builder |
mergeFrom(HiveJob other) |
HiveJob.Builder |
mergeFrom(Message other) |
HiveJob.Builder |
mergeQueryList(QueryList value)
A list of queries.
|
HiveJob.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
HiveJob.Builder |
putAllProperties(java.util.Map<java.lang.String,java.lang.String> values)
Optional.
|
HiveJob.Builder |
putAllScriptVariables(java.util.Map<java.lang.String,java.lang.String> values)
Optional.
|
HiveJob.Builder |
putProperties(java.lang.String key,
java.lang.String value)
Optional.
|
HiveJob.Builder |
putScriptVariables(java.lang.String key,
java.lang.String value)
Optional.
|
HiveJob.Builder |
removeProperties(java.lang.String key)
Optional.
|
HiveJob.Builder |
removeScriptVariables(java.lang.String key)
Optional.
|
HiveJob.Builder |
setContinueOnFailure(boolean value)
Optional.
|
HiveJob.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
HiveJob.Builder |
setJarFileUris(int index,
java.lang.String value)
Optional.
|
HiveJob.Builder |
setQueryFileUri(java.lang.String value)
The HCFS URI of the script that contains Hive queries.
|
HiveJob.Builder |
setQueryFileUriBytes(ByteString value)
The HCFS URI of the script that contains Hive queries.
|
HiveJob.Builder |
setQueryList(QueryList.Builder builderForValue)
A list of queries.
|
HiveJob.Builder |
setQueryList(QueryList value)
A list of queries.
|
HiveJob.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
HiveJob.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
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<HiveJob.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<HiveJob.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public HiveJob build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public HiveJob buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public HiveJob.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<HiveJob.Builder>
public HiveJob.Builder mergeFrom(HiveJob other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public HiveJob.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<HiveJob.Builder>
java.io.IOException
public HiveJob.QueriesCase getQueriesCase()
getQueriesCase
in interface HiveJobOrBuilder
public HiveJob.Builder clearQueries()
public java.lang.String getQueryFileUri()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
getQueryFileUri
in interface HiveJobOrBuilder
public ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
getQueryFileUriBytes
in interface HiveJobOrBuilder
public HiveJob.Builder setQueryFileUri(java.lang.String value)
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
public HiveJob.Builder clearQueryFileUri()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
public HiveJob.Builder setQueryFileUriBytes(ByteString value)
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
public boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
hasQueryList
in interface HiveJobOrBuilder
public QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
getQueryList
in interface HiveJobOrBuilder
public HiveJob.Builder setQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public HiveJob.Builder setQueryList(QueryList.Builder builderForValue)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public HiveJob.Builder mergeQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
public HiveJob.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 HiveJobOrBuilder
public boolean getContinueOnFailure()
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3;
getContinueOnFailure
in interface HiveJobOrBuilder
public HiveJob.Builder setContinueOnFailure(boolean value)
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3;
public HiveJob.Builder clearContinueOnFailure()
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3;
public int getScriptVariablesCount()
HiveJobOrBuilder
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
getScriptVariablesCount
in interface HiveJobOrBuilder
public boolean containsScriptVariables(java.lang.String key)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
containsScriptVariables
in interface HiveJobOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getScriptVariables()
getScriptVariablesMap()
instead.getScriptVariables
in interface HiveJobOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getScriptVariablesMap()
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
getScriptVariablesMap
in interface HiveJobOrBuilder
public java.lang.String getScriptVariablesOrDefault(java.lang.String key, java.lang.String defaultValue)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
getScriptVariablesOrDefault
in interface HiveJobOrBuilder
public java.lang.String getScriptVariablesOrThrow(java.lang.String key)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
getScriptVariablesOrThrow
in interface HiveJobOrBuilder
public HiveJob.Builder clearScriptVariables()
public HiveJob.Builder removeScriptVariables(java.lang.String key)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableScriptVariables()
public HiveJob.Builder putScriptVariables(java.lang.String key, java.lang.String value)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
public HiveJob.Builder putAllScriptVariables(java.util.Map<java.lang.String,java.lang.String> values)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;
public int getPropertiesCount()
HiveJobOrBuilder
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
getPropertiesCount
in interface HiveJobOrBuilder
public boolean containsProperties(java.lang.String key)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
containsProperties
in interface HiveJobOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
getPropertiesMap()
instead.getProperties
in interface HiveJobOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
getPropertiesMap
in interface HiveJobOrBuilder
public java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
getPropertiesOrDefault
in interface HiveJobOrBuilder
public java.lang.String getPropertiesOrThrow(java.lang.String key)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
getPropertiesOrThrow
in interface HiveJobOrBuilder
public HiveJob.Builder clearProperties()
public HiveJob.Builder removeProperties(java.lang.String key)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableProperties()
public HiveJob.Builder putProperties(java.lang.String key, java.lang.String value)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
public HiveJob.Builder putAllProperties(java.util.Map<java.lang.String,java.lang.String> values)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5;
public ProtocolStringList getJarFileUrisList()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
getJarFileUrisList
in interface HiveJobOrBuilder
public int getJarFileUrisCount()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
getJarFileUrisCount
in interface HiveJobOrBuilder
public java.lang.String getJarFileUris(int index)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
getJarFileUris
in interface HiveJobOrBuilder
public ByteString getJarFileUrisBytes(int index)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
getJarFileUrisBytes
in interface HiveJobOrBuilder
public HiveJob.Builder setJarFileUris(int index, java.lang.String value)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
public HiveJob.Builder addJarFileUris(java.lang.String value)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
public HiveJob.Builder addAllJarFileUris(java.lang.Iterable<java.lang.String> values)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
public HiveJob.Builder clearJarFileUris()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
public HiveJob.Builder addJarFileUrisBytes(ByteString value)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6;
public final HiveJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<HiveJob.Builder>
public final HiveJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<HiveJob.Builder>