public final class PigJob extends 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 |
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 |
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 |
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 PigJob |
getDefaultInstance() |
PigJob |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getJarFileUris(int index)
Optional.
|
ByteString |
getJarFileUrisBytes(int index)
Optional.
|
int |
getJarFileUrisCount()
Optional.
|
ProtocolStringList |
getJarFileUrisList()
Optional.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
LoggingConfigOrBuilder |
getLoggingConfigOrBuilder()
Optional.
|
Parser<PigJob> |
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.
|
PigJob.QueriesCase |
getQueriesCase() |
java.lang.String |
getQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
|
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.
|
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 |
hasLoggingConfig()
Optional.
|
boolean |
hasQueryList()
A list of queries.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static PigJob.Builder |
newBuilder() |
static PigJob.Builder |
newBuilder(PigJob prototype) |
PigJob.Builder |
newBuilderForType() |
protected PigJob.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static PigJob |
parseDelimitedFrom(java.io.InputStream input) |
static PigJob |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(byte[] data) |
static PigJob |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(java.nio.ByteBuffer data) |
static PigJob |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(ByteString data) |
static PigJob |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(CodedInputStream input) |
static PigJob |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static PigJob |
parseFrom(java.io.InputStream input) |
static PigJob |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<PigJob> |
parser() |
PigJob.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 static final int LOGGING_CONFIG_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 PigJob.QueriesCase getQueriesCase()
getQueriesCase
in interface PigJobOrBuilder
public java.lang.String getQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;
getQueryFileUri
in interface PigJobOrBuilder
public ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;
getQueryFileUriBytes
in interface PigJobOrBuilder
public boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
hasQueryList
in interface PigJobOrBuilder
public QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
getQueryList
in interface PigJobOrBuilder
public QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
getQueryListOrBuilder
in interface PigJobOrBuilder
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 PigJobOrBuilder
public int getScriptVariablesCount()
PigJobOrBuilder
Optional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).
map<string, string> script_variables = 4;
getScriptVariablesCount
in interface PigJobOrBuilder
public boolean containsScriptVariables(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getScriptVariables()
getScriptVariablesMap()
instead.getScriptVariables
in interface PigJobOrBuilder
public java.util.Map<java.lang.String,java.lang.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 PigJobOrBuilder
public java.lang.String getScriptVariablesOrDefault(java.lang.String key, java.lang.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 PigJobOrBuilder
public java.lang.String getScriptVariablesOrThrow(java.lang.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 PigJobOrBuilder
public int getPropertiesCount()
PigJobOrBuilder
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;
getPropertiesCount
in interface PigJobOrBuilder
public boolean containsProperties(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getProperties()
getPropertiesMap()
instead.getProperties
in interface PigJobOrBuilder
public java.util.Map<java.lang.String,java.lang.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 PigJobOrBuilder
public java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.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 PigJobOrBuilder
public java.lang.String getPropertiesOrThrow(java.lang.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 PigJobOrBuilder
public 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 PigJobOrBuilder
public 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 PigJobOrBuilder
public java.lang.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 PigJobOrBuilder
public 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 PigJobOrBuilder
public boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7;
hasLoggingConfig
in interface PigJobOrBuilder
public LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7;
getLoggingConfig
in interface PigJobOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7;
getLoggingConfigOrBuilder
in interface PigJobOrBuilder
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 PigJob parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static PigJob parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PigJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static PigJob parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PigJob parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static PigJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public PigJob.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static PigJob.Builder newBuilder()
public static PigJob.Builder newBuilder(PigJob prototype)
public PigJob.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected PigJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static PigJob getDefaultInstance()
public Parser<PigJob> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public PigJob getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder