Interface CreateReservationRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateReservationRequest
,CreateReservationRequest.Builder
public interface CreateReservationRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Reservation
getReservation()
Required.String
getReservationId()
Required.com.google.protobuf.ByteString
getReservationIdBytes()
Required.ReservationOrBuilder
getReservationOrBuilder()
Required.boolean
hasReservation()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasReservation
boolean hasReservation()
Required. Configuration of the reservation to create. Its `name` field is ignored.
.google.cloud.pubsublite.v1.Reservation reservation = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the reservation field is set.
-
getReservation
Reservation getReservation()
Required. Configuration of the reservation to create. Its `name` field is ignored.
.google.cloud.pubsublite.v1.Reservation reservation = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The reservation.
-
getReservationOrBuilder
ReservationOrBuilder getReservationOrBuilder()
Required. Configuration of the reservation to create. Its `name` field is ignored.
.google.cloud.pubsublite.v1.Reservation reservation = 2 [(.google.api.field_behavior) = REQUIRED];
-
getReservationId
String getReservationId()
Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.
string reservation_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The reservationId.
-
getReservationIdBytes
com.google.protobuf.ByteString getReservationIdBytes()
Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.
string reservation_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for reservationId.
-
-