public interface ReservationAffinityOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Optional.
|
com.google.protobuf.ByteString |
getKeyBytes()
Optional.
|
ReservationAffinity.Type |
getReservationAffinityType()
Required.
|
int |
getReservationAffinityTypeValue()
Required.
|
String |
getValues(int index)
Optional.
|
com.google.protobuf.ByteString |
getValuesBytes(int index)
Optional.
|
int |
getValuesCount()
Optional.
|
List<String> |
getValuesList()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getReservationAffinityTypeValue()
Required. Specifies the reservation affinity type.
.google.cloud.aiplatform.v1beta1.ReservationAffinity.Type reservation_affinity_type = 1 [(.google.api.field_behavior) = REQUIRED];
ReservationAffinity.Type getReservationAffinityType()
Required. Specifies the reservation affinity type.
.google.cloud.aiplatform.v1beta1.ReservationAffinity.Type reservation_affinity_type = 1 [(.google.api.field_behavior) = REQUIRED];
String getKey()
Optional. Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getKeyBytes()
Optional. Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];List<String> getValuesList()
Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
int getValuesCount()
Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
String getValues(int index)
Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
index - The index of the element to return.com.google.protobuf.ByteString getValuesBytes(int index)
Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
index - The index of the value to return.Copyright © 2025 Google LLC. All rights reserved.