Package com.google.cloud.dialogflow.v2
Class VersionName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.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}/agent/versions/{version}.static class
VersionName.ProjectLocationVersionBuilder
Builder for projects/{project}/locations/{location}/agent/versions/{version}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
VersionName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
VersionName
@Deprecated protected VersionName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getVersion
public String getVersion()
-
getLocation
public String getLocation()
-
newBuilder
public static VersionName.Builder newBuilder()
-
newProjectVersionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static VersionName.Builder newProjectVersionBuilder()
-
newProjectLocationVersionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static VersionName.ProjectLocationVersionBuilder newProjectLocationVersionBuilder()
-
toBuilder
public VersionName.Builder toBuilder()
-
of
public static VersionName of(String project, String version)
-
ofProjectVersionName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static VersionName ofProjectVersionName(String project, String version)
-
ofProjectLocationVersionName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static VersionName ofProjectLocationVersionName(String project, String location, String version)
-
formatProjectVersionName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectVersionName(String project, String version)
-
formatProjectLocationVersionName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationVersionName(String project, String location, 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
-
-