public final class HiveJob extends GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
HiveJob.Builder
A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/)
queries on YARN.
|
static class |
HiveJob.QueriesCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CONTINUE_ON_FAILURE_FIELD_NUMBER |
static int |
JAR_FILE_URIS_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
QUERY_FILE_URI_FIELD_NUMBER |
static int |
QUERY_LIST_FIELD_NUMBER |
static int |
SCRIPT_VARIABLES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperties(java.lang.String key)
Optional.
|
boolean |
containsScriptVariables(java.lang.String key)
Optional.
|
boolean |
equals(java.lang.Object obj) |
boolean |
getContinueOnFailure()
Optional.
|
static HiveJob |
getDefaultInstance() |
HiveJob |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getJarFileUris(int index)
Optional.
|
ByteString |
getJarFileUrisBytes(int index)
Optional.
|
int |
getJarFileUrisCount()
Optional.
|
ProtocolStringList |
getJarFileUrisList()
Optional.
|
Parser<HiveJob> |
getParserForType() |
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.
|
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.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasQueryList()
A list of queries.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static HiveJob.Builder |
newBuilder() |
static HiveJob.Builder |
newBuilder(HiveJob prototype) |
HiveJob.Builder |
newBuilderForType() |
protected HiveJob.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static HiveJob |
parseDelimitedFrom(java.io.InputStream input) |
static HiveJob |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(byte[] data) |
static HiveJob |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(java.nio.ByteBuffer data) |
static HiveJob |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(ByteString data) |
static HiveJob |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(CodedInputStream input) |
static HiveJob |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(java.io.InputStream input) |
static HiveJob |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<HiveJob> |
parser() |
HiveJob.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int QUERY_FILE_URI_FIELD_NUMBER
public static final int QUERY_LIST_FIELD_NUMBER
public static final int CONTINUE_ON_FAILURE_FIELD_NUMBER
public static final int SCRIPT_VARIABLES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
public static final int JAR_FILE_URIS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public HiveJob.QueriesCase getQueriesCase()
getQueriesCase
in interface HiveJobOrBuilder
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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static HiveJob parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static HiveJob parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static HiveJob parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static HiveJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static HiveJob parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static HiveJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static HiveJob parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static HiveJob parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static HiveJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static HiveJob parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static HiveJob parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static HiveJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public HiveJob.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static HiveJob.Builder newBuilder()
public static HiveJob.Builder newBuilder(HiveJob prototype)
public HiveJob.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected HiveJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static HiveJob getDefaultInstance()
public Parser<HiveJob> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public HiveJob getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder