public static final class ReservationsScopedList.Builder extends GeneratedMessageV3.Builder<ReservationsScopedList.Builder> implements ReservationsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.ReservationsScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReservationsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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
clearField(Descriptors.FieldDescriptor field)
public ReservationsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReservationsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ReservationsScopedList.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReservationsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReservationsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ReservationsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
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 |
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;