Package com.google.cloud.compute.v1
Class ReservationsScopedList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationsScopedList.Builder>
com.google.cloud.compute.v1.ReservationsScopedList.Builder
- All Implemented Interfaces:
ReservationsScopedListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationsScopedList
public static final class ReservationsScopedList.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationsScopedList.Builder>
implements ReservationsScopedListOrBuilder
Protobuf type
google.cloud.compute.v1.ReservationsScopedList-
Method Summary
Modifier and TypeMethodDescriptionaddAllReservations(Iterable<? extends Reservation> values) A list of reservations contained in this scope.addReservations(int index, Reservation value) A list of reservations contained in this scope.addReservations(int index, Reservation.Builder builderForValue) A list of reservations contained in this scope.addReservations(Reservation value) A list of reservations contained in this scope.addReservations(Reservation.Builder builderForValue) A list of reservations contained in this scope.A list of reservations contained in this scope.addReservationsBuilder(int index) A list of reservations contained in this scope.build()clear()A list of reservations contained in this scope.Informational warning which replaces the list of reservations when the list is empty.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetReservations(int index) A list of reservations contained in this scope.getReservationsBuilder(int index) A list of reservations contained in this scope.A list of reservations contained in this scope.intA list of reservations contained in this scope.A list of reservations contained in this scope.getReservationsOrBuilder(int index) A list of reservations contained in this scope.List<? extends ReservationOrBuilder>A list of reservations contained in this scope.Informational warning which replaces the list of reservations when the list is empty.Informational warning which replaces the list of reservations when the list is empty.Informational warning which replaces the list of reservations when the list is empty.booleanInformational warning which replaces the list of reservations when the list is empty.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReservationsScopedList other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeWarning(Warning value) Informational warning which replaces the list of reservations when the list is empty.removeReservations(int index) A list of reservations contained in this scope.setReservations(int index, Reservation value) A list of reservations contained in this scope.setReservations(int index, Reservation.Builder builderForValue) A list of reservations contained in this scope.setWarning(Warning value) Informational warning which replaces the list of reservations when the list is empty.setWarning(Warning.Builder builderForValue) Informational warning which replaces the list of reservations when the list is empty.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReservationsScopedList.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReservationsScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReservationsScopedList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationsScopedList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationsScopedList.Builder>
-
mergeFrom
public ReservationsScopedList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationsScopedList.Builder>- Throws:
IOException
-
getReservationsList
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;- Specified by:
getReservationsListin interfaceReservationsScopedListOrBuilder
-
getReservationsCount
public int getReservationsCount()A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;- Specified by:
getReservationsCountin interfaceReservationsScopedListOrBuilder
-
getReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;- Specified by:
getReservationsin interfaceReservationsScopedListOrBuilder
-
setReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
setReservations
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; -
addReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
addReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
addReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
addReservations
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; -
addAllReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
clearReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
removeReservations
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
getReservationsBuilder
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
getReservationsOrBuilder
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;- Specified by:
getReservationsOrBuilderin interfaceReservationsScopedListOrBuilder
-
getReservationsOrBuilderList
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;- Specified by:
getReservationsOrBuilderListin interfaceReservationsScopedListOrBuilder
-
addReservationsBuilder
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
addReservationsBuilder
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
getReservationsBuilderList
A list of reservations contained in this scope.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927; -
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;- Specified by:
hasWarningin interfaceReservationsScopedListOrBuilder- Returns:
- Whether the warning field is set.
-
getWarning
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningin interfaceReservationsScopedListOrBuilder- Returns:
- The warning.
-
setWarning
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
setWarning
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
mergeWarning
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
clearWarning
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
getWarningBuilder
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
getWarningOrBuilder
Informational warning which replaces the list of reservations when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningOrBuilderin interfaceReservationsScopedListOrBuilder
-