public final class PigJob extends com.google.protobuf.GeneratedMessageV3 implements PigJobOrBuilder
A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/) queries on YARN.Protobuf type
google.cloud.dataproc.v1.PigJob| Modifier and Type | Class and Description |
|---|---|
static class |
PigJob.Builder
A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/)
queries on YARN.
|
static class |
PigJob.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 |
LOGGING_CONFIG_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 PigJob |
getDefaultInstance() |
PigJob |
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.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
LoggingConfigOrBuilder |
getLoggingConfigOrBuilder()
Optional.
|
com.google.protobuf.Parser<PigJob> |
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.
|
PigJob.QueriesCase |
getQueriesCase() |
String |
getQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
|
com.google.protobuf.ByteString |
getQueryFileUriBytes()
The HCFS URI of the script that contains the Pig 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 |
hasLoggingConfig()
Optional.
|
boolean |
hasQueryList()
A list of queries.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static PigJob.Builder |
newBuilder() |
static PigJob.Builder |
newBuilder(PigJob prototype) |
PigJob.Builder |
newBuilderForType() |
protected PigJob.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PigJob |
parseDelimitedFrom(InputStream input) |
static PigJob |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(byte[] data) |
static PigJob |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(ByteBuffer data) |
static PigJob |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(com.google.protobuf.ByteString data) |
static PigJob |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PigJob |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(InputStream input) |
static PigJob |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PigJob> |
parser() |
PigJob.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 static final int LOGGING_CONFIG_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 PigJob.QueriesCase getQueriesCase()
getQueriesCase in interface PigJobOrBuilderpublic String getQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;getQueryFileUri in interface PigJobOrBuilderpublic com.google.protobuf.ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;getQueryFileUriBytes in interface PigJobOrBuilderpublic boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;hasQueryList in interface PigJobOrBuilderpublic QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;getQueryList in interface PigJobOrBuilderpublic QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;getQueryListOrBuilder in interface PigJobOrBuilderpublic 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 PigJobOrBuilderpublic int getScriptVariablesCount()
PigJobOrBuilderOptional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).
map<string, string> script_variables = 4;getScriptVariablesCount in interface PigJobOrBuilderpublic boolean containsScriptVariables(String key)
Optional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).
map<string, string> script_variables = 4;containsScriptVariables in interface PigJobOrBuilder@Deprecated public Map<String,String> getScriptVariables()
getScriptVariablesMap() instead.getScriptVariables in interface PigJobOrBuilderpublic Map<String,String> getScriptVariablesMap()
Optional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).
map<string, string> script_variables = 4;getScriptVariablesMap in interface PigJobOrBuilderpublic String getScriptVariablesOrDefault(String key, String defaultValue)
Optional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).
map<string, string> script_variables = 4;getScriptVariablesOrDefault in interface PigJobOrBuilderpublic String getScriptVariablesOrThrow(String key)
Optional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).
map<string, string> script_variables = 4;getScriptVariablesOrThrow in interface PigJobOrBuilderpublic int getPropertiesCount()
PigJobOrBuilderOptional. A mapping of property names to values, used to configure Pig. 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/pig/conf/pig.properties, and classes in user code.
map<string, string> properties = 5;getPropertiesCount in interface PigJobOrBuilderpublic boolean containsProperties(String key)
Optional. A mapping of property names to values, used to configure Pig. 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/pig/conf/pig.properties, and classes in user code.
map<string, string> properties = 5;containsProperties in interface PigJobOrBuilder@Deprecated public Map<String,String> getProperties()
getPropertiesMap() instead.getProperties in interface PigJobOrBuilderpublic Map<String,String> getPropertiesMap()
Optional. A mapping of property names to values, used to configure Pig. 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/pig/conf/pig.properties, and classes in user code.
map<string, string> properties = 5;getPropertiesMap in interface PigJobOrBuilderpublic String getPropertiesOrDefault(String key, String defaultValue)
Optional. A mapping of property names to values, used to configure Pig. 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/pig/conf/pig.properties, and classes in user code.
map<string, string> properties = 5;getPropertiesOrDefault in interface PigJobOrBuilderpublic String getPropertiesOrThrow(String key)
Optional. A mapping of property names to values, used to configure Pig. 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/pig/conf/pig.properties, and classes in user code.
map<string, string> properties = 5;getPropertiesOrThrow in interface PigJobOrBuilderpublic com.google.protobuf.ProtocolStringList getJarFileUrisList()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
repeated string jar_file_uris = 6;getJarFileUrisList in interface PigJobOrBuilderpublic int getJarFileUrisCount()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
repeated string jar_file_uris = 6;getJarFileUrisCount in interface PigJobOrBuilderpublic String getJarFileUris(int index)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
repeated string jar_file_uris = 6;getJarFileUris in interface PigJobOrBuilderpublic com.google.protobuf.ByteString getJarFileUrisBytes(int index)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
repeated string jar_file_uris = 6;getJarFileUrisBytes in interface PigJobOrBuilderpublic boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7;hasLoggingConfig in interface PigJobOrBuilderpublic LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7;getLoggingConfig in interface PigJobOrBuilderpublic LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7;getLoggingConfigOrBuilder in interface PigJobOrBuilderpublic 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 PigJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PigJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PigJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PigJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PigJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PigJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PigJob parseFrom(InputStream input) throws IOException
IOExceptionpublic static PigJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PigJob parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PigJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PigJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PigJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PigJob.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PigJob.Builder newBuilder()
public static PigJob.Builder newBuilder(PigJob prototype)
public PigJob.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PigJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PigJob getDefaultInstance()
public static com.google.protobuf.Parser<PigJob> parser()
public com.google.protobuf.Parser<PigJob> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PigJob getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.