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