public static final class ReservationsScopedList.Builder extends GeneratedMessageV3.Builder<ReservationsScopedList.Builder> implements ReservationsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.ReservationsScopedList
Methods
addAllReservations(Iterable<? extends Reservation> values)
public ReservationsScopedList.Builder addAllReservations(Iterable<? extends Reservation> values)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Reservation>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReservationsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addReservations(Reservation value)
public ReservationsScopedList.Builder addReservations(Reservation value)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
addReservations(Reservation.Builder builderForValue)
public ReservationsScopedList.Builder addReservations(Reservation.Builder builderForValue)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
addReservations(int index, Reservation value)
public ReservationsScopedList.Builder addReservations(int index, Reservation value)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameters
Returns
addReservations(int index, Reservation.Builder builderForValue)
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;
Parameters
Returns
addReservationsBuilder()
public Reservation.Builder addReservationsBuilder()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Returns
addReservationsBuilder(int index)
public Reservation.Builder addReservationsBuilder(int index)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
build()
public ReservationsScopedList build()
Returns
buildPartial()
public ReservationsScopedList buildPartial()
Returns
clear()
public ReservationsScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReservationsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReservationsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReservations()
public ReservationsScopedList.Builder clearReservations()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Returns
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;
Returns
clone()
public ReservationsScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReservationsScopedList getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getReservations(int index)
public Reservation getReservations(int index)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
getReservationsBuilder(int index)
public Reservation.Builder getReservationsBuilder(int index)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
getReservationsBuilderList()
public List<Reservation.Builder> getReservationsBuilderList()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Returns
getReservationsCount()
public int getReservationsCount()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Returns
getReservationsList()
public List<Reservation> getReservationsList()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Returns
getReservationsOrBuilder(int index)
public ReservationOrBuilder getReservationsOrBuilder(int index)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
getReservationsOrBuilderList()
public List<? extends ReservationOrBuilder> getReservationsOrBuilderList()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.ReservationOrBuilder> | |
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;
Returns
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;
Returns
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
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;
Returns
Type | Description |
boolean | Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReservationsScopedList other)
public ReservationsScopedList.Builder mergeFrom(ReservationsScopedList other)
Parameter
Returns
public ReservationsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReservationsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWarning(Warning value)
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;
Parameter
Returns
removeReservations(int index)
public ReservationsScopedList.Builder removeReservations(int index)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReservationsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReservationsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setReservations(int index, Reservation value)
public ReservationsScopedList.Builder setReservations(int index, Reservation value)
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
Parameters
Returns
setReservations(int index, Reservation.Builder builderForValue)
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWarning(Warning value)
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;
Parameter
Returns
setWarning(Warning.Builder builderForValue)
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;
Parameter
Returns