Class PhraseSetName
- java.lang.Object
-
- com.google.cloud.speech.v1p1beta1.PhraseSetName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class PhraseSetName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhraseSetName.BuilderBuilder for projects/{project}/locations/{location}/phraseSets/{phrase_set}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPhraseSetName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String location, String phraseSet)StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetPhraseSet()StringgetProject()inthashCode()static booleanisParsableFrom(String formattedString)static PhraseSetName.BuildernewBuilder()static PhraseSetNameof(String project, String location, String phraseSet)static PhraseSetNameparse(String formattedString)static List<PhraseSetName>parseList(List<String> formattedStrings)PhraseSetName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<PhraseSetName> values)
-
-
-
Constructor Detail
-
PhraseSetName
@Deprecated protected PhraseSetName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getPhraseSet
public String getPhraseSet()
-
newBuilder
public static PhraseSetName.Builder newBuilder()
-
toBuilder
public PhraseSetName.Builder toBuilder()
-
of
public static PhraseSetName of(String project, String location, String phraseSet)
-
parse
public static PhraseSetName parse(String formattedString)
-
parseList
public static List<PhraseSetName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<PhraseSetName> 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
-
-