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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AllocationResourceStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AllocationResourceStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AllocationResourceStatus.Builder>
    • getDefaultInstanceForType

      public AllocationResourceStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AllocationResourceStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AllocationResourceStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AllocationResourceStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocationResourceStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasHealthInfo in interface AllocationResourceStatusOrBuilder
      Returns:
      Whether the healthInfo field is set.
    • getHealthInfo

      public AllocationResourceStatusHealthInfo getHealthInfo()
       [Output only] Health information for the reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;
      Specified by:
      getHealthInfo in interface AllocationResourceStatusOrBuilder
      Returns:
      The healthInfo.
    • setHealthInfo

       [Output only] Health information for the reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;
    • setHealthInfo

       [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

      public AllocationResourceStatus.Builder clearHealthInfo()
       [Output only] Health information for the reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;
    • getHealthInfoBuilder

      public AllocationResourceStatusHealthInfo.Builder getHealthInfoBuilder()
       [Output only] Health information for the reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;
    • getHealthInfoOrBuilder

      public AllocationResourceStatusHealthInfoOrBuilder getHealthInfoOrBuilder()
       [Output only] Health information for the reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusHealthInfo health_info = 235287729;
      Specified by:
      getHealthInfoOrBuilder in interface AllocationResourceStatusOrBuilder
    • hasReservationBlockCount

      public boolean hasReservationBlockCount()
       The number of reservation blocks associated with this reservation.
       
      optional int32 reservation_block_count = 161835754;
      Specified by:
      hasReservationBlockCount in interface AllocationResourceStatusOrBuilder
      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:
      getReservationBlockCount in interface AllocationResourceStatusOrBuilder
      Returns:
      The reservationBlockCount.
    • setReservationBlockCount

      public AllocationResourceStatus.Builder setReservationBlockCount(int value)
       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

      public AllocationResourceStatus.Builder 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:
      hasReservationMaintenance in interface AllocationResourceStatusOrBuilder
      Returns:
      Whether the reservationMaintenance field is set.
    • getReservationMaintenance

      public GroupMaintenanceInfo getReservationMaintenance()
       Maintenance information for this reservation
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
      Specified by:
      getReservationMaintenance in interface AllocationResourceStatusOrBuilder
      Returns:
      The reservationMaintenance.
    • setReservationMaintenance

      public AllocationResourceStatus.Builder setReservationMaintenance(GroupMaintenanceInfo value)
       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

      public AllocationResourceStatus.Builder mergeReservationMaintenance(GroupMaintenanceInfo value)
       Maintenance information for this reservation
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
    • clearReservationMaintenance

      public AllocationResourceStatus.Builder clearReservationMaintenance()
       Maintenance information for this reservation
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
    • getReservationMaintenanceBuilder

      public GroupMaintenanceInfo.Builder getReservationMaintenanceBuilder()
       Maintenance information for this reservation
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
    • getReservationMaintenanceOrBuilder

      public GroupMaintenanceInfoOrBuilder getReservationMaintenanceOrBuilder()
       Maintenance information for this reservation
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
      Specified by:
      getReservationMaintenanceOrBuilder in interface AllocationResourceStatusOrBuilder
    • hasSpecificSkuAllocation

      public boolean hasSpecificSkuAllocation()
       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
      Specified by:
      hasSpecificSkuAllocation in interface AllocationResourceStatusOrBuilder
      Returns:
      Whether the specificSkuAllocation field is set.
    • getSpecificSkuAllocation

      public AllocationResourceStatusSpecificSKUAllocation getSpecificSkuAllocation()
       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
      Specified by:
      getSpecificSkuAllocation in interface AllocationResourceStatusOrBuilder
      Returns:
      The specificSkuAllocation.
    • setSpecificSkuAllocation

       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
    • setSpecificSkuAllocation

       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
    • mergeSpecificSkuAllocation

       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
    • clearSpecificSkuAllocation

      public AllocationResourceStatus.Builder clearSpecificSkuAllocation()
       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
    • getSpecificSkuAllocationBuilder

      public AllocationResourceStatusSpecificSKUAllocation.Builder getSpecificSkuAllocationBuilder()
       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
    • getSpecificSkuAllocationOrBuilder

      public AllocationResourceStatusSpecificSKUAllocationOrBuilder getSpecificSkuAllocationOrBuilder()
       Allocation Properties of this reservation.
       
      optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
      Specified by:
      getSpecificSkuAllocationOrBuilder in interface AllocationResourceStatusOrBuilder