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