Class ReservationsScopedList.Builder (1.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Reservation>
Returns
TypeDescription
ReservationsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReservationsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReservation
Returns
TypeDescription
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
NameDescription
builderForValueReservation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReservation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReservation.Builder
Returns
TypeDescription
ReservationsScopedList.Builder

addReservationsBuilder()

public Reservation.Builder addReservationsBuilder()

A list of reservations contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Reservation.Builder

build()

public ReservationsScopedList build()
Returns
TypeDescription
ReservationsScopedList

buildPartial()

public ReservationsScopedList buildPartial()
Returns
TypeDescription
ReservationsScopedList

clear()

public ReservationsScopedList.Builder clear()
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReservationsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReservationsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ReservationsScopedList.Builder

clone()

public ReservationsScopedList.Builder clone()
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides

getDefaultInstanceForType()

public ReservationsScopedList getDefaultInstanceForType()
Returns
TypeDescription
ReservationsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getReservationsCount()

public int getReservationsCount()

A list of reservations contained in this scope.

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

Returns
TypeDescription
int

getReservationsList()

public List<Reservation> getReservationsList()

A list of reservations contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReservationOrBuilder

getReservationsOrBuilderList()

public List<? extends ReservationOrBuilder> getReservationsOrBuilderList()

A list of reservations contained in this scope.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReservationsScopedList other)

public ReservationsScopedList.Builder mergeFrom(ReservationsScopedList other)
Parameter
NameDescription
otherReservationsScopedList
Returns
TypeDescription
ReservationsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReservationsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReservationsScopedList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReservationsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReservationsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReservationsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides

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

public ReservationsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReservation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReservation.Builder
Returns
TypeDescription
ReservationsScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReservationsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
ReservationsScopedList.Builder