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