Class AllocationSpecificSKUAllocationReservedInstanceProperties (1.34.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.34.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  AllocationSpecificSKUAllocationReservedInstanceProperties   extends   GeneratedMessageV3   implements   AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder  
   Properties of the SKU instances being reserved. Next ID: 9
 Protobuf type 
 google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  GUEST_ACCELERATORS_FIELD_NUMBER 
  
    
public   static   final   int   GUEST_ACCELERATORS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LOCAL_SSDS_FIELD_NUMBER 
  
    
public   static   final   int   LOCAL_SSDS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LOCATION_HINT_FIELD_NUMBER 
  
    
public   static   final   int   LOCATION_HINT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MACHINE_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   MACHINE_TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MIN_CPU_PLATFORM_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties . Builder   newBuilder ()  
  
  newBuilder(AllocationSpecificSKUAllocationReservedInstanceProperties prototype) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties . Builder   newBuilder ( AllocationSpecificSKUAllocationReservedInstanceProperties   prototype )  
  
  
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AllocationSpecificSKUAllocationReservedInstanceProperties   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<AllocationSpecificSKUAllocationReservedInstanceProperties>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   AllocationSpecificSKUAllocationReservedInstanceProperties   getDefaultInstanceForType ()  
  
  getGuestAccelerators(int index) 
  
    
public   AcceleratorConfig   getGuestAccelerators ( int   index )  
   Specifies accelerator type and count.
 repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getGuestAcceleratorsCount() 
  
    
public   int   getGuestAcceleratorsCount ()  
   Specifies accelerator type and count.
 repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getGuestAcceleratorsList() 
  
    
public   List<AcceleratorConfig>   getGuestAcceleratorsList ()  
   Specifies accelerator type and count.
 repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
 
getGuestAcceleratorsOrBuilder(int index) 
  
    
public   AcceleratorConfigOrBuilder   getGuestAcceleratorsOrBuilder ( int   index )  
   Specifies accelerator type and count.
 repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getGuestAcceleratorsOrBuilderList() 
  
    
public   List <?   extends   AcceleratorConfigOrBuilder >  getGuestAcceleratorsOrBuilderList ()  
   Specifies accelerator type and count.
 repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder > 
     
  
  getLocalSsds(int index) 
  
    
public   AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk   getLocalSsds ( int   index )  
   Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
 
 repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getLocalSsdsCount() 
  
    
public   int   getLocalSsdsCount ()  
   Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
 
 repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getLocalSsdsList() 
  
    
public   List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>   getLocalSsdsList ()  
   Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
 
 repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
 
getLocalSsdsOrBuilder(int index) 
  
    
public   AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder   getLocalSsdsOrBuilder ( int   index )  
   Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
 
 repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getLocalSsdsOrBuilderList() 
  
    
public   List <?   extends   AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder >  getLocalSsdsOrBuilderList ()  
   Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
 
 repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder > 
     
  
  getLocationHint() 
  
    
public   String   getLocationHint ()  
   An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
 optional string location_hint = 350519505;
    
      
        Returns  
      
        Type Description  
      
        String The locationHint.
 
     
  
  getLocationHintBytes() 
  
    
public   ByteString   getLocationHintBytes ()  
   An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
 optional string location_hint = 350519505;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for locationHint.
 
     
  
  getMachineType() 
  
    
public   String   getMachineType ()  
   Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
 optional string machine_type = 227711026;
    
      
        Returns  
      
        Type Description  
      
        String The machineType.
 
     
  
  getMachineTypeBytes() 
  
    
public   ByteString   getMachineTypeBytes ()  
   Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
 optional string machine_type = 227711026;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for machineType.
 
     
  
  
    
public   String   getMinCpuPlatform ()  
   Minimum cpu platform the reservation.
 optional string min_cpu_platform = 242912759;
    
      
        Returns  
      
        Type Description  
      
        String The minCpuPlatform.
 
     
  
  
    
public   ByteString   getMinCpuPlatformBytes ()  
   Minimum cpu platform the reservation.
 optional string min_cpu_platform = 242912759;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for minCpuPlatform.
 
     
  
  getParserForType() 
  
    
public   Parser<AllocationSpecificSKUAllocationReservedInstanceProperties>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasLocationHint() 
  
    
public   boolean   hasLocationHint ()  
   An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
 optional string location_hint = 350519505;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the locationHint field is set.
 
     
  
  hasMachineType() 
  
    
public   boolean   hasMachineType ()  
   Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
 optional string machine_type = 227711026;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the machineType field is set.
 
     
  
  
    
public   boolean   hasMinCpuPlatform ()  
   Minimum cpu platform the reservation.
 optional string min_cpu_platform = 242912759;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the minCpuPlatform field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   AllocationSpecificSKUAllocationReservedInstanceProperties . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   AllocationSpecificSKUAllocationReservedInstanceProperties . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   AllocationSpecificSKUAllocationReservedInstanceProperties . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]