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