Package com.google.cloud.tpu.v2alpha1
Interface ReservationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Reservation,Reservation.Builder
@Generated
public interface ReservationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}com.google.protobuf.ByteStringThe reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}A standard reservation.A standard reservation.getState()Output only.intOutput only.booleanA standard reservation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID}string name = 1;- Returns:
- The bytes for name.
-
hasStandard
boolean hasStandard()A standard reservation.
.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;- Returns:
- Whether the standard field is set.
-
getStandard
Reservation.Standard getStandard()A standard reservation.
.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2;- Returns:
- The standard.
-
getStandardOrBuilder
Reservation.StandardOrBuilder getStandardOrBuilder()A standard reservation.
.google.cloud.tpu.v2alpha1.Reservation.Standard standard = 2; -
getStateValue
int getStateValue()Output only. The state of the Reservation.
.google.cloud.tpu.v2alpha1.Reservation.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getKindCase
Reservation.KindCase getKindCase()
-