Package com.google.cloud.bigquery
Class ModelId
- java.lang.Object
-
- com.google.cloud.bigquery.ModelId
-
- All Implemented Interfaces:
Serializable
public final class ModelId extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDataset()
Return corresponding dataset ID for this model.String
getModel()
Return corresponding model ID for this model.String
getProject()
Return corresponding project ID for this model.int
hashCode()
static ModelId
of(String dataset, String model)
Creates a model identity given dataset and model identifiers.static ModelId
of(String project, String dataset, String model)
Creates a model identity given project, dataset, and model identifiers.String
toString()
-
-
-
Method Detail
-
getProject
public String getProject()
Return corresponding project ID for this model. *
-
getDataset
public String getDataset()
Return corresponding dataset ID for this model. *
-
getModel
public String getModel()
Return corresponding model ID for this model. *
-
of
public static ModelId of(String project, String dataset, String model)
Creates a model identity given project, dataset, and model identifiers. *
-
of
public static ModelId of(String dataset, String model)
Creates a model identity given dataset and model identifiers. *
-
-