Class ListReservationsResponse.Builder

  • All Implemented Interfaces:
    ListReservationsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ListReservationsResponse

    public static final class ListReservationsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
    implements ListReservationsResponseOrBuilder
     The response for
     [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations].
     
    Protobuf type google.cloud.bigquery.reservation.v1.ListReservationsResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
      • getDefaultInstanceForType

        public ListReservationsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListReservationsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListReservationsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public ListReservationsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
      • addRepeatedField

        public ListReservationsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
      • mergeFrom

        public ListReservationsResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListReservationsResponse.Builder>
        Throws:
        IOException
      • setReservations

        public ListReservationsResponse.Builder setReservations​(int index,
                                                                Reservation value)
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • addReservations

        public ListReservationsResponse.Builder addReservations​(Reservation value)
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • addReservations

        public ListReservationsResponse.Builder addReservations​(int index,
                                                                Reservation value)
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • clearReservations

        public ListReservationsResponse.Builder clearReservations()
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • removeReservations

        public ListReservationsResponse.Builder removeReservations​(int index)
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • getReservationsBuilder

        public Reservation.Builder getReservationsBuilder​(int index)
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • addReservationsBuilder

        public Reservation.Builder addReservationsBuilder()
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • addReservationsBuilder

        public Reservation.Builder addReservationsBuilder​(int index)
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • getReservationsBuilderList

        public List<Reservation.Builder> getReservationsBuilderList()
         List of reservations visible to the user.
         
        repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
      • getNextPageToken

        public String getNextPageToken()
         Token to retrieve the next page of results, or empty if there are no
         more results in the list.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListReservationsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Token to retrieve the next page of results, or empty if there are no
         more results in the list.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListReservationsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListReservationsResponse.Builder setNextPageToken​(String value)
         Token to retrieve the next page of results, or empty if there are no
         more results in the list.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListReservationsResponse.Builder clearNextPageToken()
         Token to retrieve the next page of results, or empty if there are no
         more results in the list.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListReservationsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Token to retrieve the next page of results, or empty if there are no
         more results in the list.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListReservationsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>
      • mergeUnknownFields

        public final ListReservationsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>