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 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.