Package com.google.cloud.compute.v1
Class AllocationResourceStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AllocationResourceStatus.Builder>
com.google.cloud.compute.v1.AllocationResourceStatus.Builder
- All Implemented Interfaces:
AllocationResourceStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AllocationResourceStatus
public static final class AllocationResourceStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AllocationResourceStatus.Builder>
implements AllocationResourceStatusOrBuilder
[Output Only] Contains output only fields.Protobuf type
google.cloud.compute.v1.AllocationResourceStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[Output only] Health information for the reservation.The number of reservation blocks associated with this reservation.Maintenance information for this reservationAllocation Properties of this reservation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor[Output only] Health information for the reservation.[Output only] Health information for the reservation.[Output only] Health information for the reservation.intThe number of reservation blocks associated with this reservation.Maintenance information for this reservationMaintenance information for this reservationMaintenance information for this reservationAllocation Properties of this reservation.Allocation Properties of this reservation.Allocation Properties of this reservation.boolean[Output only] Health information for the reservation.booleanThe number of reservation blocks associated with this reservation.booleanMaintenance information for this reservationbooleanAllocation Properties of this reservation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) [Output only] Health information for the reservation.Maintenance information for this reservationAllocation Properties of this reservation.[Output only] Health information for the reservation.setHealthInfo(AllocationResourceStatusHealthInfo.Builder builderForValue) [Output only] Health information for the reservation.setReservationBlockCount(int value) The number of reservation blocks associated with this reservation.Maintenance information for this reservationsetReservationMaintenance(GroupMaintenanceInfo.Builder builderForValue) Maintenance information for this reservationAllocation Properties of this reservation.Allocation Properties of this reservation.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<AllocationResourceStatus.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<AllocationResourceStatus.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<AllocationResourceStatus.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<AllocationResourceStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AllocationResourceStatus.Builder>
-
mergeFrom
public AllocationResourceStatus.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<AllocationResourceStatus.Builder>- Throws:
IOException
-
hasHealthInfo
public boolean hasHealthInfo()[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;- Specified by:
hasHealthInfoin interfaceAllocationResourceStatusOrBuilder- Returns:
- Whether the healthInfo field is set.
-
getHealthInfo
[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;- Specified by:
getHealthInfoin interfaceAllocationResourceStatusOrBuilder- Returns:
- The healthInfo.
-
setHealthInfo
[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729; -
setHealthInfo
public AllocationResourceStatus.Builder setHealthInfo(AllocationResourceStatusHealthInfo.Builder builderForValue) [Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729; -
mergeHealthInfo
[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729; -
clearHealthInfo
[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729; -
getHealthInfoBuilder
[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729; -
getHealthInfoOrBuilder
[Output only] Health information for the reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;- Specified by:
getHealthInfoOrBuilderin interfaceAllocationResourceStatusOrBuilder
-
hasReservationBlockCount
public boolean hasReservationBlockCount()The number of reservation blocks associated with this reservation.
optional int32 reservation_block_count = 161835754;- Specified by:
hasReservationBlockCountin interfaceAllocationResourceStatusOrBuilder- Returns:
- Whether the reservationBlockCount field is set.
-
getReservationBlockCount
public int getReservationBlockCount()The number of reservation blocks associated with this reservation.
optional int32 reservation_block_count = 161835754;- Specified by:
getReservationBlockCountin interfaceAllocationResourceStatusOrBuilder- Returns:
- The reservationBlockCount.
-
setReservationBlockCount
The number of reservation blocks associated with this reservation.
optional int32 reservation_block_count = 161835754;- Parameters:
value- The reservationBlockCount to set.- Returns:
- This builder for chaining.
-
clearReservationBlockCount
The number of reservation blocks associated with this reservation.
optional int32 reservation_block_count = 161835754;- Returns:
- This builder for chaining.
-
hasReservationMaintenance
public boolean hasReservationMaintenance()Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Specified by:
hasReservationMaintenancein interfaceAllocationResourceStatusOrBuilder- Returns:
- Whether the reservationMaintenance field is set.
-
getReservationMaintenance
Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Specified by:
getReservationMaintenancein interfaceAllocationResourceStatusOrBuilder- Returns:
- The reservationMaintenance.
-
setReservationMaintenance
Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
setReservationMaintenance
public AllocationResourceStatus.Builder setReservationMaintenance(GroupMaintenanceInfo.Builder builderForValue) Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
mergeReservationMaintenance
Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
clearReservationMaintenance
Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
getReservationMaintenanceBuilder
Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
getReservationMaintenanceOrBuilder
Maintenance information for this reservation
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Specified by:
getReservationMaintenanceOrBuilderin interfaceAllocationResourceStatusOrBuilder
-
hasSpecificSkuAllocation
public boolean hasSpecificSkuAllocation()Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;- Specified by:
hasSpecificSkuAllocationin interfaceAllocationResourceStatusOrBuilder- Returns:
- Whether the specificSkuAllocation field is set.
-
getSpecificSkuAllocation
Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;- Specified by:
getSpecificSkuAllocationin interfaceAllocationResourceStatusOrBuilder- Returns:
- The specificSkuAllocation.
-
setSpecificSkuAllocation
public AllocationResourceStatus.Builder setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation value) Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151; -
setSpecificSkuAllocation
public AllocationResourceStatus.Builder setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation.Builder builderForValue) Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151; -
mergeSpecificSkuAllocation
public AllocationResourceStatus.Builder mergeSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation value) Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151; -
clearSpecificSkuAllocation
Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151; -
getSpecificSkuAllocationBuilder
Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151; -
getSpecificSkuAllocationOrBuilder
Allocation Properties of this reservation.
optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;- Specified by:
getSpecificSkuAllocationOrBuilderin interfaceAllocationResourceStatusOrBuilder
-