Class VersionName
- java.lang.Object
-
- com.google.cloud.dialogflow.cx.v3.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 class
VersionName.Builder
Builder for projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
VersionName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String location, String agent, String flow, String version)
String
getAgent()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getFlow()
String
getLocation()
String
getProject()
String
getVersion()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static VersionName.Builder
newBuilder()
static VersionName
of(String project, String location, String agent, String flow, String version)
static VersionName
parse(String formattedString)
static List<VersionName>
parseList(List<String> formattedStrings)
VersionName.Builder
toBuilder()
String
toString()
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:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-