@Generated(value="by gapic-generator-java") public class ApiName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiName.Builder
Builder for projects/{project}/locations/global/apis/{api}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ApiName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String api) |
String |
getApi() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static ApiName.Builder |
newBuilder() |
static ApiName |
of(String project,
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) |
@Deprecated protected ApiName()
public String getProject()
public String getApi()
public static ApiName.Builder newBuilder()
public ApiName.Builder toBuilder()
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 © 2022 Google LLC. All rights reserved.