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 classApiVersionName.BuilderBuilder for projects/{project}/locations/{location}/apis/{api}/versions/{version}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedApiVersionName()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 api, String version)StringgetApi()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetProject()StringgetVersion()inthashCode()static booleanisParsableFrom(String formattedString)static ApiVersionName.BuildernewBuilder()static ApiVersionNameof(String project, String location, String api, String version)static ApiVersionNameparse(String formattedString)static List<ApiVersionName>parseList(List<String> formattedStrings)ApiVersionName.BuildertoBuilder()StringtoString()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:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-