@Generated(value="by GAPIC") @BetaApi public final class ReservationAffinity extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
ReservationAffinity.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getConsumeReservationType()
Specifies the type of reservation from which this instance can consume resources:
ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION.
|
static ReservationAffinity |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getKey()
Corresponds to the label key of a reservation resource.
|
List<String> |
getValuesList()
Corresponds to the label values of a reservation resource.
|
int |
hashCode() |
static ReservationAffinity.Builder |
newBuilder() |
static ReservationAffinity.Builder |
newBuilder(ReservationAffinity prototype) |
ReservationAffinity.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getConsumeReservationType()
public String getKey()
public List<String> getValuesList()
public static ReservationAffinity.Builder newBuilder()
public static ReservationAffinity.Builder newBuilder(ReservationAffinity prototype)
public ReservationAffinity.Builder toBuilder()
public static ReservationAffinity getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.