public final class JobId extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getJob()
Returns the job's user-defined id.
|
String |
getProject()
Returns project's user-defined id.
|
int |
hashCode() |
static JobId |
of()
Creates a job identity with autogenerated id and no project specified.
|
static JobId |
of(String job)
Creates a job identity given only its user-defined id.
|
static JobId |
of(String project,
String job)
Creates a job identity given project's and job's user-defined id.
|
String |
toString() |
public String getProject()
public String getJob()
public static JobId of(String project, String job)
public static JobId of()
Copyright © 2018 Google. All rights reserved.