Package com.google.cloud.notebooks.v1
Interface ReservationAffinityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReservationAffinity,ReservationAffinity.Builder
public interface ReservationAffinityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReservationAffinity.TypegetConsumeReservationType()Optional.intgetConsumeReservationTypeValue()Optional.StringgetKey()Optional.com.google.protobuf.ByteStringgetKeyBytes()Optional.StringgetValues(int index)Optional.com.google.protobuf.ByteStringgetValuesBytes(int index)Optional.intgetValuesCount()Optional.List<String>getValuesList()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConsumeReservationTypeValue
int getConsumeReservationTypeValue()
Optional. Type of reservation to consume
.google.cloud.notebooks.v1.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for consumeReservationType.
-
getConsumeReservationType
ReservationAffinity.Type getConsumeReservationType()
Optional. Type of reservation to consume
.google.cloud.notebooks.v1.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The consumeReservationType.
-
getKey
String getKey()
Optional. Corresponds to the label key of reservation resource.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
Optional. Corresponds to the label key of reservation resource.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for key.
-
getValuesList
List<String> getValuesList()
Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of values.
-
getValues
String getValues(int index)
Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
com.google.protobuf.ByteString getValuesBytes(int index)
Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
-