Class ExampleName
- java.lang.Object
-
- com.google.cloud.datalabeling.v1beta1.ExampleName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ExampleName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExampleName.BuilderBuilder for projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}/examples/{example}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedExampleName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String dataset, String annotatedDataset, String example)StringgetAnnotatedDataset()StringgetDataset()StringgetExample()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetProject()inthashCode()static booleanisParsableFrom(String formattedString)static ExampleName.BuildernewBuilder()static ExampleNameof(String project, String dataset, String annotatedDataset, String example)static ExampleNameparse(String formattedString)static List<ExampleName>parseList(List<String> formattedStrings)ExampleName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<ExampleName> values)
-
-
-
Constructor Detail
-
ExampleName
@Deprecated protected ExampleName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getDataset
public String getDataset()
-
getAnnotatedDataset
public String getAnnotatedDataset()
-
getExample
public String getExample()
-
newBuilder
public static ExampleName.Builder newBuilder()
-
toBuilder
public ExampleName.Builder toBuilder()
-
of
public static ExampleName of(String project, String dataset, String annotatedDataset, String example)
-
format
public static String format(String project, String dataset, String annotatedDataset, String example)
-
parse
public static ExampleName parse(String formattedString)
-
parseList
public static List<ExampleName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ExampleName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-