Package com.google.cloud.pubsublite
Class ReservationPath
- java.lang.Object
-
- com.google.cloud.pubsublite.ReservationPath
-
- All Implemented Interfaces:
Serializable
public abstract class ReservationPath extends Object implements Serializable
A string wrapper representing a reservation. Should be structured like:projects/<project number>/locations/<cloud region>/reservations/<id>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReservationPath.Builder
-
Constructor Summary
Constructors Constructor Description ReservationPath()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CloudRegion
location()
LocationPath
locationPath()
abstract ReservationName
name()
static ReservationPath.Builder
newBuilder()
Create a new ReservationPath builder.static ReservationPath
parse(String path)
abstract ProjectIdOrNumber
project()
abstract ReservationPath.Builder
toBuilder()
String
toString()
-
-
-
Method Detail
-
project
public abstract ProjectIdOrNumber project()
-
location
public abstract CloudRegion location()
-
name
public abstract ReservationName name()
-
locationPath
public LocationPath locationPath()
-
newBuilder
public static ReservationPath.Builder newBuilder()
Create a new ReservationPath builder.
-
toBuilder
public abstract ReservationPath.Builder toBuilder()
-
parse
public static ReservationPath parse(String path) throws com.google.api.gax.rpc.ApiException
- Throws:
com.google.api.gax.rpc.ApiException
-
-