Send feedback
Class Volume.SnapshotReservationDetail (0.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.20.0 keyboard_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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int RESERVED_SPACE_GIB_FIELD_NUMBER
Field Value Type Description int
public static final int RESERVED_SPACE_PERCENT_FIELD_NUMBER
Field Value Type Description int
RESERVED_SPACE_REMAINING_GIB_FIELD_NUMBER
public static final int RESERVED_SPACE_REMAINING_GIB_FIELD_NUMBER
Field Value Type Description int
public static final int RESERVED_SPACE_USED_PERCENT_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static Volume . SnapshotReservationDetail getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Volume . SnapshotReservationDetail . Builder newBuilder ()
public static Volume . SnapshotReservationDetail . Builder newBuilder ( Volume . SnapshotReservationDetail prototype )
public static Volume . SnapshotReservationDetail parseDelimitedFrom ( InputStream input )
public static Volume . SnapshotReservationDetail parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Volume . SnapshotReservationDetail parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static Volume . SnapshotReservationDetail parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Volume . SnapshotReservationDetail parseFrom ( ByteString data )
public static Volume . SnapshotReservationDetail parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Volume . SnapshotReservationDetail parseFrom ( CodedInputStream input )
public static Volume . SnapshotReservationDetail parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Volume . SnapshotReservationDetail parseFrom ( InputStream input )
public static Volume . SnapshotReservationDetail parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Volume . SnapshotReservationDetail parseFrom ( ByteBuffer data )
public static Volume . SnapshotReservationDetail parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Volume . SnapshotReservationDetail > parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public Volume . SnapshotReservationDetail getDefaultInstanceForType ()
public Parser<Volume . SnapshotReservationDetail > getParserForType ()
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 Type Description int
Overrides
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Volume . SnapshotReservationDetail . Builder newBuilderForType ()
protected Volume . SnapshotReservationDetail . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public Volume . SnapshotReservationDetail . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]