Interface ReservationOrBuilder (2.58.0)

public interface ReservationOrBuilder extends MessageOrBuilder

Methods

getKindCase()

public abstract Reservation.KindCase getKindCase()
Returns
TypeDescription
Reservation.KindCase

getName()

public abstract String getName()

The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getStandard()

public abstract Reservation.Standard getStandard()

A standard reservation.

.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;

Returns
TypeDescription
Reservation.Standard

The standard.

getStandardOrBuilder()

public abstract Reservation.StandardOrBuilder getStandardOrBuilder()

A standard reservation.

.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;

Returns
TypeDescription
Reservation.StandardOrBuilder

getState()

public abstract Reservation.State getState()

Output only. The state of the Reservation.

.google.cloud.tpu.v2alpha1.Reservation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Reservation.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of the Reservation.

.google.cloud.tpu.v2alpha1.Reservation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasStandard()

public abstract boolean hasStandard()

A standard reservation.

.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;

Returns
TypeDescription
boolean

Whether the standard field is set.