Class Reservation.Standard (2.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  Reservation . Standard   extends   GeneratedMessageV3   implements   Reservation . StandardOrBuilder  
   Details of a standard reservation.
 Protobuf type google.cloud.tpu.v2alpha1.Reservation.Standard
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CAPACITY_UNITS_FIELD_NUMBER 
  
    
public   static   final   int   CAPACITY_UNITS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  INTERVAL_FIELD_NUMBER 
  
    
public   static   final   int   INTERVAL_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RESOURCE_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SIZE_FIELD_NUMBER 
  
    
public   static   final   int   SIZE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  USAGE_FIELD_NUMBER 
  
    
public   static   final   int   USAGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Reservation . Standard   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   Reservation . Standard . Builder   newBuilder ()  
  
  newBuilder(Reservation.Standard prototype) 
  
    
public   static   Reservation . Standard . Builder   newBuilder ( Reservation . Standard   prototype )  
  
  
  
    
public   static   Reservation . Standard   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   Reservation . Standard   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   Reservation . Standard   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Reservation . Standard   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   Reservation . Standard   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Reservation . Standard   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Reservation . Standard   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   Reservation . Standard   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Reservation . Standard   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   Reservation . Standard   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   Reservation . Standard   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Reservation . Standard   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<Reservation . Standard >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCapacityUnits() 
  
    
public   Reservation . Standard . CapacityUnits   getCapacityUnits ()  
   Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
getCapacityUnitsValue() 
  
    
public   int   getCapacityUnitsValue ()  
   Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for capacityUnits.
 
     
  
  getDefaultInstanceForType() 
  
    
public   Reservation . Standard   getDefaultInstanceForType ()  
  
  getInterval() 
  
    
public   Interval   getInterval ()  
   The start and end time of the reservation.
 .google.type.Interval interval = 4;
    
      
        Returns  
      
        Type Description  
      
        com.google.type.Interval The interval.
 
     
  
  getIntervalOrBuilder() 
  
    
public   IntervalOrBuilder   getIntervalOrBuilder ()  
   The start and end time of the reservation.
 .google.type.Interval interval = 4;
    
      
        Returns  
      
        Type Description  
      
        com.google.type.IntervalOrBuilder  
     
  
  getParserForType() 
  
    
public   Parser<Reservation . Standard >  getParserForType ()  
  
  Overrides 
  
  getResourceType() 
  
    
public   String   getResourceType ()  
   The resource type of the reservation.
 string resource_type = 3;
    
      
        Returns  
      
        Type Description  
      
        String The resourceType.
 
     
  
  getResourceTypeBytes() 
  
    
public   ByteString   getResourceTypeBytes ()  
   The resource type of the reservation.
 string resource_type = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for resourceType.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getSize() 
  
   The size of the reservation, in the units specified in the
 'capacity_units' field.
 int32 size = 1;
    
      
        Returns  
      
        Type Description  
      
        int The size.
 
     
  
  getUsage() 
  
    
public   Reservation . Standard . Usage   getUsage ()  
   The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
getUsageOrBuilder() 
  
    
public   Reservation . Standard . UsageOrBuilder   getUsageOrBuilder ()  
   The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
hasInterval() 
  
    
public   boolean   hasInterval ()  
   The start and end time of the reservation.
 .google.type.Interval interval = 4;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the interval field is set.
 
     
  
  hasUsage() 
  
    
public   boolean   hasUsage ()  
   The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the usage field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Reservation . Standard . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   Reservation . Standard . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   Reservation . Standard . 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-29 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-29 UTC."],[],[]]