public static final class Volume.SnapshotReservationDetail.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder> implements Volume.SnapshotReservationDetailOrBuilder
Details about snapshot space reservation and usage on the storage volume.Protobuf type
google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail| Modifier and Type | Method and Description |
|---|---|
Volume.SnapshotReservationDetail.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Volume.SnapshotReservationDetail |
build() |
Volume.SnapshotReservationDetail |
buildPartial() |
Volume.SnapshotReservationDetail.Builder |
clear() |
Volume.SnapshotReservationDetail.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Volume.SnapshotReservationDetail.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Volume.SnapshotReservationDetail.Builder |
clearReservedSpaceGib()
The space on this storage volume reserved for snapshots, shown in GiB.
|
Volume.SnapshotReservationDetail.Builder |
clearReservedSpacePercent()
Percent of the total Volume size reserved for snapshot copies.
|
Volume.SnapshotReservationDetail.Builder |
clearReservedSpaceRemainingGib()
The amount, in GiB, of available space in this storage volume's reserved
snapshot space.
|
Volume.SnapshotReservationDetail.Builder |
clearReservedSpaceUsedPercent()
The percent of snapshot space on this storage volume actually being used
by the snapshot copies.
|
Volume.SnapshotReservationDetail.Builder |
clone() |
Volume.SnapshotReservationDetail |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getReservedSpaceGib()
The space on this storage volume reserved for snapshots, shown in GiB.
|
int |
getReservedSpacePercent()
Percent of the total Volume size reserved for snapshot copies.
|
long |
getReservedSpaceRemainingGib()
The amount, in GiB, of available space in this storage volume's reserved
snapshot space.
|
int |
getReservedSpaceUsedPercent()
The percent of snapshot space on this storage volume actually being used
by the snapshot copies.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Volume.SnapshotReservationDetail.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Volume.SnapshotReservationDetail.Builder |
mergeFrom(com.google.protobuf.Message other) |
Volume.SnapshotReservationDetail.Builder |
mergeFrom(Volume.SnapshotReservationDetail other) |
Volume.SnapshotReservationDetail.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Volume.SnapshotReservationDetail.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Volume.SnapshotReservationDetail.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Volume.SnapshotReservationDetail.Builder |
setReservedSpaceGib(long value)
The space on this storage volume reserved for snapshots, shown in GiB.
|
Volume.SnapshotReservationDetail.Builder |
setReservedSpacePercent(int value)
Percent of the total Volume size reserved for snapshot copies.
|
Volume.SnapshotReservationDetail.Builder |
setReservedSpaceRemainingGib(long value)
The amount, in GiB, of available space in this storage volume's reserved
snapshot space.
|
Volume.SnapshotReservationDetail.Builder |
setReservedSpaceUsedPercent(int value)
The percent of snapshot space on this storage volume actually being used
by the snapshot copies.
|
Volume.SnapshotReservationDetail.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Volume.SnapshotReservationDetail build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Volume.SnapshotReservationDetail buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Volume.SnapshotReservationDetail.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder mergeFrom(Volume.SnapshotReservationDetail other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public Volume.SnapshotReservationDetail.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Volume.SnapshotReservationDetail.Builder>IOExceptionpublic long getReservedSpaceGib()
The space on this storage volume reserved for snapshots, shown in GiB.
int64 reserved_space_gib = 1;getReservedSpaceGib in interface Volume.SnapshotReservationDetailOrBuilderpublic Volume.SnapshotReservationDetail.Builder setReservedSpaceGib(long value)
The space on this storage volume reserved for snapshots, shown in GiB.
int64 reserved_space_gib = 1;value - The reservedSpaceGib to set.public Volume.SnapshotReservationDetail.Builder clearReservedSpaceGib()
The space on this storage volume reserved for snapshots, shown in GiB.
int64 reserved_space_gib = 1;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;getReservedSpaceUsedPercent in interface Volume.SnapshotReservationDetailOrBuilderpublic Volume.SnapshotReservationDetail.Builder setReservedSpaceUsedPercent(int value)
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;value - The reservedSpaceUsedPercent to set.public Volume.SnapshotReservationDetail.Builder clearReservedSpaceUsedPercent()
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;public long getReservedSpaceRemainingGib()
The amount, in GiB, of available space in this storage volume's reserved snapshot space.
int64 reserved_space_remaining_gib = 3;getReservedSpaceRemainingGib in interface Volume.SnapshotReservationDetailOrBuilderpublic Volume.SnapshotReservationDetail.Builder setReservedSpaceRemainingGib(long value)
The amount, in GiB, of available space in this storage volume's reserved snapshot space.
int64 reserved_space_remaining_gib = 3;value - The reservedSpaceRemainingGib to set.public Volume.SnapshotReservationDetail.Builder clearReservedSpaceRemainingGib()
The amount, in GiB, of available space in this storage volume's reserved snapshot space.
int64 reserved_space_remaining_gib = 3;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;getReservedSpacePercent in interface Volume.SnapshotReservationDetailOrBuilderpublic Volume.SnapshotReservationDetail.Builder setReservedSpacePercent(int value)
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;value - The reservedSpacePercent to set.public Volume.SnapshotReservationDetail.Builder clearReservedSpacePercent()
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;public final Volume.SnapshotReservationDetail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>public final Volume.SnapshotReservationDetail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.SnapshotReservationDetail.Builder>Copyright © 2022 Google LLC. All rights reserved.