public final class PigJob extends GeneratedMessageV3 implements PigJobOrBuilder
A 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 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, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
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 boolean hasQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;
hasQueryFileUri
in interface PigJobOrBuilder
public 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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
getScriptVariablesCount
in interface PigJobOrBuilder
public 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 [(.google.api.field_behavior) = OPTIONAL];
containsScriptVariables
in interface PigJobOrBuilder
@Deprecated public Map<String,String> getScriptVariables()
getScriptVariablesMap()
instead.getScriptVariables
in interface PigJobOrBuilder
public 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 [(.google.api.field_behavior) = OPTIONAL];
getScriptVariablesMap
in interface PigJobOrBuilder
public 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 [(.google.api.field_behavior) = OPTIONAL];
getScriptVariablesOrDefault
in interface PigJobOrBuilder
public 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 [(.google.api.field_behavior) = OPTIONAL];
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 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 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesCount
in interface PigJobOrBuilder
public boolean containsProperties(String key)
Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the 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 [(.google.api.field_behavior) = OPTIONAL];
containsProperties
in interface PigJobOrBuilder
@Deprecated public Map<String,String> getProperties()
getPropertiesMap()
instead.getProperties
in interface PigJobOrBuilder
public Map<String,String> getPropertiesMap()
Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the 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 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesMap
in interface PigJobOrBuilder
public 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 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 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrDefault
in interface PigJobOrBuilder
public String getPropertiesOrThrow(String key)
Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the 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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
getJarFileUrisCount
in interface PigJobOrBuilder
public 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 [(.google.api.field_behavior) = OPTIONAL];
getJarFileUris
in interface PigJobOrBuilder
index
- The index of the element to return.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 [(.google.api.field_behavior) = OPTIONAL];
getJarFileUrisBytes
in interface PigJobOrBuilder
index
- The index of the value to return.public boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
hasLoggingConfig
in interface PigJobOrBuilder
public LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getLoggingConfig
in interface PigJobOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getLoggingConfigOrBuilder
in interface PigJobOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(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(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PigJob parseFrom(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(InputStream input) throws IOException
IOException
public static PigJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PigJob parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PigJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PigJob parseFrom(CodedInputStream input) throws IOException
IOException
public static PigJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
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
Copyright © 2022 Google LLC. All rights reserved.