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