target.apidocs.com.google.api.services.bigquery.model.Job.html Maven / Gradle / Ivy
Job (BigQuery API v2-rev20240905-2.0.0)
com.google.api.services.bigquery.model
Class Job
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.Job
-
public final class Job
extends com.google.api.client.json.GenericJson
Model definition for Job.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Job()
-
Method Summary
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getConfiguration
public JobConfiguration getConfiguration()
Required. Describes the job configuration.
- Returns:
- value or
null
for none
-
setConfiguration
public Job setConfiguration(JobConfiguration configuration)
Required. Describes the job configuration.
- Parameters:
configuration
- configuration or null
for none
-
getEtag
public String getEtag()
Output only. A hash of this resource.
- Returns:
- value or
null
for none
-
setEtag
public Job setEtag(String etag)
Output only. A hash of this resource.
- Parameters:
etag
- etag or null
for none
-
getId
public String getId()
Output only. Opaque ID field of the job.
- Returns:
- value or
null
for none
-
setId
public Job setId(String id)
Output only. Opaque ID field of the job.
- Parameters:
id
- id or null
for none
-
getJobCreationReason
public JobCreationReason getJobCreationReason()
Output only. The reason why a Job was created.
[Preview](https://cloud.google.com/products/#product-launch-stages)
- Returns:
- value or
null
for none
-
setJobCreationReason
public Job setJobCreationReason(JobCreationReason jobCreationReason)
Output only. The reason why a Job was created.
[Preview](https://cloud.google.com/products/#product-launch-stages)
- Parameters:
jobCreationReason
- jobCreationReason or null
for none
-
getJobReference
public JobReference getJobReference()
Optional. Reference describing the unique-per-user name of the job.
- Returns:
- value or
null
for none
-
setJobReference
public Job setJobReference(JobReference jobReference)
Optional. Reference describing the unique-per-user name of the job.
- Parameters:
jobReference
- jobReference or null
for none
-
getKind
public String getKind()
Output only. The type of the resource.
- Returns:
- value or
null
for none
-
setKind
public Job setKind(String kind)
Output only. The type of the resource.
- Parameters:
kind
- kind or null
for none
-
getPrincipalSubject
public String getPrincipalSubject()
Output only. [Full-projection-only] String representation of identity of requesting party.
Populated for both first- and third-party identities. Only present for APIs that support third-
party identities.
- Returns:
- value or
null
for none
-
setPrincipalSubject
public Job setPrincipalSubject(String principalSubject)
Output only. [Full-projection-only] String representation of identity of requesting party.
Populated for both first- and third-party identities. Only present for APIs that support third-
party identities.
- Parameters:
principalSubject
- principalSubject or null
for none
-
getSelfLink
public String getSelfLink()
Output only. A URL that can be used to access the resource again.
- Returns:
- value or
null
for none
-
setSelfLink
public Job setSelfLink(String selfLink)
Output only. A URL that can be used to access the resource again.
- Parameters:
selfLink
- selfLink or null
for none
-
getStatistics
public JobStatistics getStatistics()
Output only. Information about the job, including starting time and ending time of the job.
- Returns:
- value or
null
for none
-
setStatistics
public Job setStatistics(JobStatistics statistics)
Output only. Information about the job, including starting time and ending time of the job.
- Parameters:
statistics
- statistics or null
for none
-
getStatus
public JobStatus getStatus()
Output only. The status of this job. Examine this value when polling an asynchronous job to see
if the job is complete.
- Returns:
- value or
null
for none
-
setStatus
public Job setStatus(JobStatus status)
Output only. The status of this job. Examine this value when polling an asynchronous job to see
if the job is complete.
- Parameters:
status
- status or null
for none
-
getUserEmail
public String getUserEmail()
Output only. Email address of the user who ran the job.
- Returns:
- value or
null
for none
-
setUserEmail
public Job setUserEmail(String userEmail)
Output only. Email address of the user who ran the job.
- Parameters:
userEmail
- userEmail or null
for none
-
set
public Job set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Job clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.