public interface ReservationAffinityOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConsumeReservationType()
public abstract ReservationAffinity.Type getConsumeReservationType()Optional. Type of reservation to consume
.google.cloud.dataproc.v1.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ReservationAffinity.Type | The consumeReservationType. |
getConsumeReservationTypeValue()
public abstract int getConsumeReservationTypeValue()Optional. Type of reservation to consume
.google.cloud.dataproc.v1.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| int | The enum numeric value on the wire for consumeReservationType. |
getKey()
public abstract String getKey()Optional. Corresponds to the label key of reservation resource.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| String | The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()Optional. Corresponds to the label key of reservation resource.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for key. |
getValues(int index)
public abstract String getValues(int index)Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The values at the given index. |
getValuesBytes(int index)
public abstract ByteString getValuesBytes(int index)Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the values at the given index. |
getValuesCount()
public abstract int getValuesCount()Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| int | The count of values. |
getValuesList()
public abstract List<String> getValuesList()Optional. Corresponds to the label values of reservation resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| List<String> | A list containing the values. |