public final class ModelId extends Object implements Serializable
Modifier and Type | Method and 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() |
public String getProject()
public String getDataset()
public String getModel()
public static ModelId of(String project, String dataset, String model)
public static ModelId of(String dataset, String model)
Copyright © 2019 Google LLC. All rights reserved.