public static final class ReservationsScopedList.Builder extends GeneratedMessage.Builder<ReservationsScopedList.Builder> implements ReservationsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.ReservationsScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addReservationsBuilder()
public Reservation.Builder addReservationsBuilder()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
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 |
| Name |
Description |
index |
int
|
build()
public ReservationsScopedList build()
buildPartial()
public ReservationsScopedList buildPartial()
clear()
public ReservationsScopedList.Builder clear()
Overrides
clearReservations()
public ReservationsScopedList.Builder clearReservations()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
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;
getDefaultInstanceForType()
public ReservationsScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
| Name |
Description |
index |
int
|
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 |
| Name |
Description |
index |
int
|
getReservationsBuilderList()
public List<Reservation.Builder> getReservationsBuilderList()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
getReservationsCount()
public int getReservationsCount()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
| Returns |
| Type |
Description |
int |
|
getReservationsList()
public List<Reservation> getReservationsList()
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;
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 |
| Name |
Description |
index |
int
|
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 |
| Type |
Description |
Warning |
The warning.
|
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReservationsScopedList other)
public ReservationsScopedList.Builder mergeFrom(ReservationsScopedList other)
public ReservationsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReservationsScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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 |
| Name |
Description |
value |
Warning
|
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 |
| Name |
Description |
index |
int
|
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;
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;
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 |
| Name |
Description |
value |
Warning
|
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;