Class ExampleName (0.157.0)

public class ExampleName implements ResourceName

Inheritance

Object > ExampleName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String dataset, String annotatedDataset, String example)

public static String format(String project, String dataset, String annotatedDataset, String example)
Parameters
NameDescription
projectString
datasetString
annotatedDatasetString
exampleString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String dataset, String annotatedDataset, String example)

public static ExampleName of(String project, String dataset, String annotatedDataset, String example)
Parameters
NameDescription
projectString
datasetString
annotatedDatasetString
exampleString
Returns
TypeDescription
ExampleName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ExampleName> values)

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

Constructors

ExampleName() (deprecated)

protected ExampleName()

Methods

equals(Object o)

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

getAnnotatedDataset()

public String getAnnotatedDataset()
Returns
TypeDescription
String

getDataset()

public String getDataset()
Returns
TypeDescription
String

getExample()

public String getExample()
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 ExampleName.Builder toBuilder()
Returns
TypeDescription
ExampleName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides