Class ReservationsScopedList.Builder (1.53.0)

public static final class ReservationsScopedList.Builder extends GeneratedMessageV3.Builder<ReservationsScopedList.Builder> implements ReservationsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.ReservationsScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Type Description
ReservationsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReservationsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReservationsScopedList.Builder
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
Name Description
value Reservation
Returns
Type Description
ReservationsScopedList.Builder

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
Name Description
builderForValue Reservation.Builder
Returns
Type Description
ReservationsScopedList.Builder

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
Name Description
index int
value Reservation
Returns
Type Description
ReservationsScopedList.Builder

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
Name Description
index int
builderForValue Reservation.Builder
Returns
Type Description
ReservationsScopedList.Builder

addReservationsBuilder()

public Reservation.Builder addReservationsBuilder()

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Returns
Type Description
Reservation.Builder

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
Returns
Type Description
Reservation.Builder

build()

public ReservationsScopedList build()
Returns
Type Description
ReservationsScopedList

buildPartial()

public ReservationsScopedList buildPartial()
Returns
Type Description
ReservationsScopedList

clear()

public ReservationsScopedList.Builder clear()
Returns
Type Description
ReservationsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReservationsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReservationsScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReservationsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReservationsScopedList.Builder
Overrides

clearReservations()

public ReservationsScopedList.Builder clearReservations()

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Returns
Type Description
ReservationsScopedList.Builder

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
Type Description
ReservationsScopedList.Builder

clone()

public ReservationsScopedList.Builder clone()
Returns
Type Description
ReservationsScopedList.Builder
Overrides

getDefaultInstanceForType()

public ReservationsScopedList getDefaultInstanceForType()
Returns
Type Description
ReservationsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
Reservation

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
Returns
Type Description
Reservation.Builder

getReservationsBuilderList()

public List<Reservation.Builder> getReservationsBuilderList()

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<Reservation>

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
Returns
Type Description
ReservationOrBuilder

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;

Returns
Type Description
Warning.Builder

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
Type Description
WarningOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReservationsScopedList other)

public ReservationsScopedList.Builder mergeFrom(ReservationsScopedList other)
Parameter
Name Description
other ReservationsScopedList
Returns
Type Description
ReservationsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReservationsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationsScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReservationsScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReservationsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReservationsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReservationsScopedList.Builder
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
Returns
Type Description
ReservationsScopedList.Builder

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
Returns
Type Description
ReservationsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReservationsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReservationsScopedList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReservationsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReservationsScopedList.Builder
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
Name Description
index int
value Reservation
Returns
Type Description
ReservationsScopedList.Builder

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
Name Description
index int
builderForValue Reservation.Builder
Returns
Type Description
ReservationsScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReservationsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReservationsScopedList.Builder
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
Returns
Type Description
ReservationsScopedList.Builder

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
Name Description
builderForValue Warning.Builder
Returns
Type Description
ReservationsScopedList.Builder