@Generated(value="by gapic-generator-java") public class VersionName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and 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}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
VersionName()
Deprecated.
|
@Deprecated protected VersionName()
public String getProject()
public String getVersion()
public String getLocation()
public static VersionName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static VersionName.Builder newProjectVersionBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static VersionName.ProjectLocationVersionBuilder newProjectLocationVersionBuilder()
public VersionName.Builder toBuilder()
public static VersionName of(String project, String version)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static VersionName ofProjectVersionName(String project, String version)
@BetaApi(value="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)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectVersionName(String project, String version)
@BetaApi(value="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)
public static VersionName parse(String formattedString)
public static List<VersionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<VersionName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2023 Google LLC. All rights reserved.