Package com.google.cloud.dataproc.v1
Interface PigJobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PigJob
,PigJob.Builder
public interface PigJobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsProperties(String key)
Optional.boolean
containsScriptVariables(String key)
Optional.boolean
getContinueOnFailure()
Optional.String
getJarFileUris(int index)
Optional.com.google.protobuf.ByteString
getJarFileUrisBytes(int index)
Optional.int
getJarFileUrisCount()
Optional.List<String>
getJarFileUrisList()
Optional.LoggingConfig
getLoggingConfig()
Optional.LoggingConfigOrBuilder
getLoggingConfigOrBuilder()
Optional.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.boolean
hasLoggingConfig()
Optional.boolean
hasQueryFileUri()
The HCFS URI of the script that contains the Pig queries.boolean
hasQueryList()
A list of queries.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasQueryFileUri
boolean hasQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;
- Returns:
- Whether the queryFileUri field is set.
-
getQueryFileUri
String getQueryFileUri()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;
- Returns:
- The queryFileUri.
-
getQueryFileUriBytes
com.google.protobuf.ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains the Pig queries.
string query_file_uri = 1;
- Returns:
- The bytes for queryFileUri.
-
hasQueryList
boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
- Returns:
- Whether the queryList field is set.
-
getQueryList
QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
- Returns:
- The queryList.
-
getQueryListOrBuilder
QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
getContinueOnFailure
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];
- Returns:
- The continueOnFailure.
-
getScriptVariablesCount
int getScriptVariablesCount()
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
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];
-
getScriptVariables
@Deprecated Map<String,String> getScriptVariables()
Deprecated.UsegetScriptVariablesMap()
instead.
-
getScriptVariablesMap
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];
-
getScriptVariablesOrDefault
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];
-
getScriptVariablesOrThrow
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];
-
getPropertiesCount
int getPropertiesCount()
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
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];
-
getProperties
@Deprecated Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()
instead.
-
getPropertiesMap
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];
-
getPropertiesOrDefault
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];
-
getPropertiesOrThrow
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];
-
getJarFileUrisList
List<String> 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];
- Returns:
- A list containing the jarFileUris.
-
getJarFileUrisCount
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];
- Returns:
- The count of jarFileUris.
-
getJarFileUris
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];
- Parameters:
index
- The index of the element to return.- Returns:
- The jarFileUris at the given index.
-
getJarFileUrisBytes
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 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the jarFileUris at the given index.
-
hasLoggingConfig
boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getQueriesCase
PigJob.QueriesCase getQueriesCase()
-
-