public final class HiveJob extends com.google.protobuf.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 |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperties(String key)
Optional.
|
boolean |
containsScriptVariables(String key)
Optional.
|
boolean |
equals(Object obj) |
boolean |
getContinueOnFailure()
Optional.
|
static HiveJob |
getDefaultInstance() |
HiveJob |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getJarFileUris(int index)
Optional.
|
com.google.protobuf.ByteString |
getJarFileUrisBytes(int index)
Optional.
|
int |
getJarFileUrisCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getJarFileUrisList()
Optional.
|
com.google.protobuf.Parser<HiveJob> |
getParserForType() |
Map<String,String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
Optional.
|
Map<String,String> |
getPropertiesMap()
Optional.
|
String |
getPropertiesOrDefault(String key,
String defaultValue)
Optional.
|
String |
getPropertiesOrThrow(String key)
Optional.
|
HiveJob.QueriesCase |
getQueriesCase() |
String |
getQueryFileUri()
The HCFS URI of the script that contains Hive queries.
|
com.google.protobuf.ByteString |
getQueryFileUriBytes()
The HCFS URI of the script that contains Hive queries.
|
QueryList |
getQueryList()
A list of queries.
|
QueryListOrBuilder |
getQueryListOrBuilder()
A list of queries.
|
Map<String,String> |
getScriptVariables()
Deprecated.
|
int |
getScriptVariablesCount()
Optional.
|
Map<String,String> |
getScriptVariablesMap()
Optional.
|
String |
getScriptVariablesOrDefault(String key,
String defaultValue)
Optional.
|
String |
getScriptVariablesOrThrow(String key)
Optional.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasQueryList()
A list of queries.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static HiveJob.Builder |
newBuilder() |
static HiveJob.Builder |
newBuilder(HiveJob prototype) |
HiveJob.Builder |
newBuilderForType() |
protected HiveJob.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static HiveJob |
parseDelimitedFrom(InputStream input) |
static HiveJob |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(byte[] data) |
static HiveJob |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(ByteBuffer data) |
static HiveJob |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(com.google.protobuf.ByteString data) |
static HiveJob |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HiveJob |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveJob |
parseFrom(InputStream input) |
static HiveJob |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HiveJob> |
parser() |
HiveJob.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public HiveJob.QueriesCase getQueriesCase()
getQueriesCase in interface HiveJobOrBuilderpublic String getQueryFileUri()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;getQueryFileUri in interface HiveJobOrBuilderpublic com.google.protobuf.ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;getQueryFileUriBytes in interface HiveJobOrBuilderpublic boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;hasQueryList in interface HiveJobOrBuilderpublic QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;getQueryList in interface HiveJobOrBuilderpublic QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;getQueryListOrBuilder in interface HiveJobOrBuilderpublic 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 HiveJobOrBuilderpublic int getScriptVariablesCount()
HiveJobOrBuilderOptional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4;getScriptVariablesCount in interface HiveJobOrBuilderpublic boolean containsScriptVariables(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 Map<String,String> getScriptVariables()
getScriptVariablesMap() instead.getScriptVariables in interface HiveJobOrBuilderpublic Map<String,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 HiveJobOrBuilderpublic String getScriptVariablesOrDefault(String key, 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 HiveJobOrBuilderpublic String getScriptVariablesOrThrow(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 HiveJobOrBuilderpublic int getPropertiesCount()
HiveJobOrBuilderOptional. 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 HiveJobOrBuilderpublic boolean containsProperties(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 Map<String,String> getProperties()
getPropertiesMap() instead.getProperties in interface HiveJobOrBuilderpublic Map<String,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 HiveJobOrBuilderpublic String getPropertiesOrDefault(String key, 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 HiveJobOrBuilderpublic String getPropertiesOrThrow(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 HiveJobOrBuilderpublic com.google.protobuf.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 HiveJobOrBuilderpublic 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 HiveJobOrBuilderpublic 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 HiveJobOrBuilderpublic com.google.protobuf.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 HiveJobOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HiveJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveJob parseFrom(InputStream input) throws IOException
IOExceptionpublic static HiveJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HiveJob parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HiveJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HiveJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HiveJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HiveJob.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HiveJob.Builder newBuilder()
public static HiveJob.Builder newBuilder(HiveJob prototype)
public HiveJob.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HiveJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HiveJob getDefaultInstance()
public static com.google.protobuf.Parser<HiveJob> parser()
public com.google.protobuf.Parser<HiveJob> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HiveJob getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.