Class AnnotatedDatasetName (0.215.0)

public class AnnotatedDatasetName implements ResourceName

Inheritance

java.lang.Object > AnnotatedDatasetName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String dataset, String annotatedDataset)

public static String format(String project, String dataset, String annotatedDataset)
Parameters
Name Description
project String
dataset String
annotatedDataset String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static AnnotatedDatasetName.Builder newBuilder()
Returns
Type Description
AnnotatedDatasetName.Builder

of(String project, String dataset, String annotatedDataset)

public static AnnotatedDatasetName of(String project, String dataset, String annotatedDataset)
Parameters
Name Description
project String
dataset String
annotatedDataset String
Returns
Type Description
AnnotatedDatasetName

parse(String formattedString)

public static @Nullable AnnotatedDatasetName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.datalabeling.v1beta1.AnnotatedDatasetName

parseList(List<String> formattedStrings)

public static List<AnnotatedDatasetName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<AnnotatedDatasetName>

toStringList(List<@Nullable AnnotatedDatasetName> values)

public static List<String> toStringList(List<@Nullable AnnotatedDatasetName> values)
Parameter
Name Description
values List<@org.jspecify.annotations.Nullable com.google.cloud.datalabeling.v1beta1.AnnotatedDatasetName>
Returns
Type Description
List<String>

Constructors

AnnotatedDatasetName() (deprecated)

protected AnnotatedDatasetName()

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.jspecify.annotations.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getAnnotatedDataset()

public String getAnnotatedDataset()
Returns
Type Description
String

getDataset()

public String getDataset()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public AnnotatedDatasetName.Builder toBuilder()
Returns
Type Description
AnnotatedDatasetName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides