Class VersionName
- java.lang.Object
-
- com.google.cloud.dialogflow.cx.v3beta1.VersionName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class VersionName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVersionName.BuilderBuilder for projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedVersionName()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 agent, String flow, String version)StringgetAgent()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetFlow()StringgetLocation()StringgetProject()StringgetVersion()inthashCode()static booleanisParsableFrom(String formattedString)static VersionName.BuildernewBuilder()static VersionNameof(String project, String location, String agent, String flow, String version)static VersionNameparse(String formattedString)static List<VersionName>parseList(List<String> formattedStrings)VersionName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<VersionName> values)
-
-
-
Constructor Detail
-
VersionName
@Deprecated protected VersionName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getAgent
public String getAgent()
-
getFlow
public String getFlow()
-
getVersion
public String getVersion()
-
newBuilder
public static VersionName.Builder newBuilder()
-
toBuilder
public VersionName.Builder toBuilder()
-
of
public static VersionName of(String project, String location, String agent, String flow, String version)
-
format
public static String format(String project, String location, String agent, String flow, String version)
-
parse
public static VersionName parse(String formattedString)
-
parseList
public static List<VersionName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<VersionName> 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
-
-