@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}/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 product) |
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 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 getProduct()
public static ProductName.Builder newBuilder()
public ProductName.Builder toBuilder()
public static ProductName of(String project, String location, 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.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.