@Generated(value="by gapic-generator-java") public class CollectionName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionName.Builder
Builder for projects/{project}/locations/{location}/collections/{collection}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String collection) |
String |
getCollection() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static CollectionName.Builder |
newBuilder() |
static CollectionName |
of(String project,
String location,
String collection) |
static CollectionName |
parse(String formattedString) |
static List<CollectionName> |
parseList(List<String> formattedStrings) |
CollectionName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<CollectionName> values) |
@Deprecated protected CollectionName()
public String getProject()
public String getLocation()
public String getCollection()
public static CollectionName.Builder newBuilder()
public CollectionName.Builder toBuilder()
public static CollectionName of(String project, String location, String collection)
public static CollectionName parse(String formattedString)
public static List<CollectionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<CollectionName> 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 © 2024 Google LLC. All rights reserved.