public interface ReservationAffinityOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConsumeReservationType()
public abstract ReservationAffinity.Type getConsumeReservationType()
Optional. Type of reservation to consume
.google.events.cloud.notebooks.v1.ReservationAffinity.Type consume_reservation_type = 1;
Returns | |
---|---|
Type | Description |
ReservationAffinity.Type | The consumeReservationType. |
getConsumeReservationTypeValue()
public abstract int getConsumeReservationTypeValue()
Optional. Type of reservation to consume
.google.events.cloud.notebooks.v1.ReservationAffinity.Type consume_reservation_type = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()
Optional. Corresponds to the label key of reservation resource.
string key = 2;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the values. |