Class Volume.SnapshotReservationDetail (0.5.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.5.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  Volume . SnapshotReservationDetail   extends   GeneratedMessageV3   implements   Volume . SnapshotReservationDetailOrBuilder  
   Details about snapshot space reservation and usage on the storage volume.
 Protobuf type google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail
Static Fields
   
  
  
    
public   static   final   int   RESERVED_SPACE_GIB_FIELD_NUMBER  
  Field Value 
  
  
  
    
public   static   final   int   RESERVED_SPACE_PERCENT_FIELD_NUMBER  
  Field Value 
  
  RESERVED_SPACE_REMAINING_GIB_FIELD_NUMBER 
  
    
public   static   final   int   RESERVED_SPACE_REMAINING_GIB_FIELD_NUMBER  
  Field Value 
  
  
  
    
public   static   final   int   RESERVED_SPACE_USED_PERCENT_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  
    
public   static   Volume . SnapshotReservationDetail   getDefaultInstance ()  
  Returns 
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  
    
public   static   Volume . SnapshotReservationDetail . Builder   newBuilder ()  
  Returns 
  
  
    
public   static   Volume . SnapshotReservationDetail . Builder   newBuilder ( Volume . SnapshotReservationDetail   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        data byte [] 
     
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Volume . SnapshotReservationDetail   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Parser<Volume . SnapshotReservationDetail >  parser ()  
  Returns 
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
public   Volume . SnapshotReservationDetail   getDefaultInstanceForType ()  
  Returns 
  
  
    
public   Parser<Volume . SnapshotReservationDetail >  getParserForType ()  
  Returns 
  
  Overrides 
  
  
    
public   long   getReservedSpaceGib ()  
   The space on this storage volume reserved for snapshots, shown in GiB.
 int64 reserved_space_gib = 1;
Returns 
  
    
      
        Type Description  
      
        long The reservedSpaceGib.
 
     
  
  
    
public   int   getReservedSpacePercent ()  
   Percent of the total Volume size reserved for snapshot copies.
 Enabling snapshots requires reserving 20% or more of
 the storage volume space for snapshots. Maximum reserved space for
 snapshots is 40%.
 Setting this field will effectively set snapshot_enabled to true.
 int32 reserved_space_percent = 4;
Returns 
  
    
      
        Type Description  
      
        int The reservedSpacePercent.
 
     
  
  getReservedSpaceRemainingGib() 
  
    
public   long   getReservedSpaceRemainingGib ()  
   The amount, in GiB, of available space in this storage volume's reserved
 snapshot space.
 int64 reserved_space_remaining_gib = 3;
Returns 
  
    
      
        Type Description  
      
        long The reservedSpaceRemainingGib.
 
     
  
  
    
public   int   getReservedSpaceUsedPercent ()  
   The percent of snapshot space on this storage volume actually being used
 by the snapshot copies. This value might be higher than 100% if the
 snapshot copies have overflowed into the data portion of the storage
 volume.
 int32 reserved_space_used_percent = 2;
Returns 
  
    
      
        Type Description  
      
        int The reservedSpaceUsedPercent.
 
     
  
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  Returns 
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  
    
public   Volume . SnapshotReservationDetail . Builder   newBuilderForType ()  
  Returns 
  
  
    
protected   Volume . SnapshotReservationDetail . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
public   Volume . SnapshotReservationDetail . Builder   toBuilder ()  
  Returns 
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-28 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-28 UTC."],[],[]]