Class DataItemName (0.151.0)

public class DataItemName implements ResourceName

Inheritance

Object > DataItemName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String dataset, String dataItem)

public static String format(String project, String dataset, String dataItem)
Parameters
NameDescription
projectString
datasetString
dataItemString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static DataItemName.Builder newBuilder()
Returns
TypeDescription
DataItemName.Builder

of(String project, String dataset, String dataItem)

public static DataItemName of(String project, String dataset, String dataItem)
Parameters
NameDescription
projectString
datasetString
dataItemString
Returns
TypeDescription
DataItemName

parse(String formattedString)

public static DataItemName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
DataItemName

parseList(List<String> formattedStrings)

public static List<DataItemName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<DataItemName>

toStringList(List<DataItemName> values)

public static List<String> toStringList(List<DataItemName> values)
Parameter
NameDescription
valuesList<DataItemName>
Returns
TypeDescription
List<String>

Constructors

DataItemName() (deprecated)

protected DataItemName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getDataItem()

public String getDataItem()
Returns
TypeDescription
String

getDataset()

public String getDataset()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public DataItemName.Builder toBuilder()
Returns
TypeDescription
DataItemName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides