Class ApiVersionName
- java.lang.Object
-
- com.google.cloud.apigeeregistry.v1.ApiVersionName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ApiVersionName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApiVersionName.Builder
Builder for projects/{project}/locations/{location}/apis/{api}/versions/{version}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ApiVersionName()
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 api, String version)
String
getApi()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getProject()
String
getVersion()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static ApiVersionName.Builder
newBuilder()
static ApiVersionName
of(String project, String location, String api, String version)
static ApiVersionName
parse(String formattedString)
static List<ApiVersionName>
parseList(List<String> formattedStrings)
ApiVersionName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<ApiVersionName> values)
-
-
-
Constructor Detail
-
ApiVersionName
@Deprecated protected ApiVersionName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getApi
public String getApi()
-
getVersion
public String getVersion()
-
newBuilder
public static ApiVersionName.Builder newBuilder()
-
toBuilder
public ApiVersionName.Builder toBuilder()
-
of
public static ApiVersionName of(String project, String location, String api, String version)
-
parse
public static ApiVersionName parse(String formattedString)
-
parseList
public static List<ApiVersionName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ApiVersionName> 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
-
-