Send feedback
Class Volume.SnapshotReservationDetail (0.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.1 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
Static Fields
public static final int RESERVED_SPACE_GIB_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.
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
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-02-04 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-02-04 UTC."],[],[]]