Class ModelId (2.18.0)

public final class ModelId implements Serializable

Inheritance

Object > ModelId

Implements

Serializable

Static Methods

of(String dataset, String model)

public static ModelId of(String dataset, String model)

Creates a model identity given dataset and model identifiers. *

Parameters
NameDescription
datasetString
modelString
Returns
TypeDescription
ModelId

of(String project, String dataset, String model)

public static ModelId of(String project, String dataset, String model)

Creates a model identity given project, dataset, and model identifiers. *

Parameters
NameDescription
projectString
datasetString
modelString
Returns
TypeDescription
ModelId

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataset()

public String getDataset()

Return corresponding dataset ID for this model. *

Returns
TypeDescription
String

getModel()

public String getModel()

Return corresponding model ID for this model. *

Returns
TypeDescription
String

getProject()

public String getProject()

Return corresponding project ID for this model. *

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides