public interface ReservationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getKindCase()
public abstract Reservation.KindCase getKindCase()
Returns | |
---|---|
Type | Description |
Reservation.KindCase |
getName()
public abstract String getName()
The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getStandard()
public abstract Reservation.Standard getStandard()
A standard reservation.
.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;
Returns | |
---|---|
Type | Description |
Reservation.Standard |
The standard. |
getStandardOrBuilder()
public abstract Reservation.StandardOrBuilder getStandardOrBuilder()
A standard reservation.
.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the standard field is set. |