Class ReservationsScopedList.Builder

    • 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<ReservationsScopedList.Builder>
      • clear

        public ReservationsScopedList.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationsScopedList.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<ReservationsScopedList.Builder>
      • getDefaultInstanceForType

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

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

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

        public ReservationsScopedList.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationsScopedList.Builder>
      • clearField

        public ReservationsScopedList.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationsScopedList.Builder>
      • clearOneof

        public ReservationsScopedList.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationsScopedList.Builder>
      • setRepeatedField

        public ReservationsScopedList.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<ReservationsScopedList.Builder>
      • addRepeatedField

        public ReservationsScopedList.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<ReservationsScopedList.Builder>
      • isInitialized

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

        public ReservationsScopedList.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<ReservationsScopedList.Builder>
        Throws:
        IOException
      • getReservationsCount

        public int getReservationsCount()
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
        Specified by:
        getReservationsCount in interface ReservationsScopedListOrBuilder
      • setReservations

        public ReservationsScopedList.Builder setReservations​(int index,
                                                              Reservation value)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • setReservations

        public ReservationsScopedList.Builder setReservations​(int index,
                                                              Reservation.Builder builderForValue)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • addReservations

        public ReservationsScopedList.Builder addReservations​(Reservation value)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • addReservations

        public ReservationsScopedList.Builder addReservations​(int index,
                                                              Reservation value)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • addReservations

        public ReservationsScopedList.Builder addReservations​(int index,
                                                              Reservation.Builder builderForValue)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • clearReservations

        public ReservationsScopedList.Builder clearReservations()
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • removeReservations

        public ReservationsScopedList.Builder removeReservations​(int index)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • getReservationsBuilder

        public Reservation.Builder getReservationsBuilder​(int index)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • addReservationsBuilder

        public Reservation.Builder addReservationsBuilder()
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • addReservationsBuilder

        public Reservation.Builder addReservationsBuilder​(int index)
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • getReservationsBuilderList

        public List<Reservation.Builder> getReservationsBuilderList()
         A list of reservations contained in this scope.
         
        repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
      • hasWarning

        public boolean hasWarning()
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
        Specified by:
        hasWarning in interface ReservationsScopedListOrBuilder
        Returns:
        Whether the warning field is set.
      • getWarning

        public Warning getWarning()
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
        Specified by:
        getWarning in interface ReservationsScopedListOrBuilder
        Returns:
        The warning.
      • setWarning

        public ReservationsScopedList.Builder setWarning​(Warning value)
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • setWarning

        public ReservationsScopedList.Builder setWarning​(Warning.Builder builderForValue)
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • mergeWarning

        public ReservationsScopedList.Builder mergeWarning​(Warning value)
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • clearWarning

        public ReservationsScopedList.Builder clearWarning()
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • getWarningBuilder

        public Warning.Builder getWarningBuilder()
         Informational warning which replaces the list of reservations when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • setUnknownFields

        public final ReservationsScopedList.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<ReservationsScopedList.Builder>
      • mergeUnknownFields

        public final ReservationsScopedList.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<ReservationsScopedList.Builder>