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