- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class Volume.Builder extends GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilder
A storage volume.
Protobuf type google.cloud.baremetalsolution.v2.Volume
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Volume.BuilderImplements
VolumeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Volume.Builder |
build()
public Volume build()
Returns | |
---|---|
Type | Description |
Volume |
buildPartial()
public Volume buildPartial()
Returns | |
---|---|
Type | Description |
Volume |
clear()
public Volume.Builder clear()
Returns | |
---|---|
Type | Description |
Volume.Builder |
clearAutoGrownSizeGib()
public Volume.Builder clearAutoGrownSizeGib()
The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.
int64 auto_grown_size_gib = 6;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearCurrentSizeGib()
public Volume.Builder clearCurrentSizeGib()
The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.
int64 current_size_gib = 5;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearEmergencySizeGib()
public Volume.Builder clearEmergencySizeGib()
Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.
int64 emergency_size_gib = 14;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Volume.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Volume.Builder |
clearId()
public Volume.Builder clearId()
An identifier for the Volume
, generated by the backend.
string id = 11;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearLabels()
public Volume.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Volume.Builder |
clearName()
public Volume.Builder clearName()
Output only. The resource name of this Volume
.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/volumes/{volume}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Volume.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Volume.Builder |
clearPod()
public Volume.Builder clearPod()
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearRemainingSpaceGib()
public Volume.Builder clearRemainingSpaceGib()
The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
int64 remaining_space_gib = 7;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearRequestedSizeGib()
public Volume.Builder clearRequestedSizeGib()
The requested size of this storage volume, in GiB.
int64 requested_size_gib = 4;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearSnapshotAutoDeleteBehavior()
public Volume.Builder clearSnapshotAutoDeleteBehavior()
The behavior to use when snapshot reserved space is full.
.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior snapshot_auto_delete_behavior = 9;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearSnapshotEnabled()
public Volume.Builder clearSnapshotEnabled()
Whether snapshots are enabled.
bool snapshot_enabled = 13;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearSnapshotReservationDetail()
public Volume.Builder clearSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Returns | |
---|---|
Type | Description |
Volume.Builder |
clearState()
public Volume.Builder clearState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clearStorageType()
public Volume.Builder clearStorageType()
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
clone()
public Volume.Builder clone()
Returns | |
---|---|
Type | Description |
Volume.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAutoGrownSizeGib()
public long getAutoGrownSizeGib()
The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.
int64 auto_grown_size_gib = 6;
Returns | |
---|---|
Type | Description |
long | The autoGrownSizeGib. |
getCurrentSizeGib()
public long getCurrentSizeGib()
The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.
int64 current_size_gib = 5;
Returns | |
---|---|
Type | Description |
long | The currentSizeGib. |
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Volume |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEmergencySizeGib()
public long getEmergencySizeGib()
Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.
int64 emergency_size_gib = 14;
Returns | |
---|---|
Type | Description |
long | The emergencySizeGib. |
getId()
public String getId()
An identifier for the Volume
, generated by the backend.
string id = 11;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
An identifier for the Volume
, generated by the backend.
string id = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 12;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 12;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 12;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The resource name of this Volume
.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/volumes/{volume}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of this Volume
.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/volumes/{volume}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getPod()
public String getPod()
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String | The pod. |
getPodBytes()
public ByteString getPodBytes()
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pod. |
getRemainingSpaceGib()
public long getRemainingSpaceGib()
The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
int64 remaining_space_gib = 7;
Returns | |
---|---|
Type | Description |
long | The remainingSpaceGib. |
getRequestedSizeGib()
public long getRequestedSizeGib()
The requested size of this storage volume, in GiB.
int64 requested_size_gib = 4;
Returns | |
---|---|
Type | Description |
long | The requestedSizeGib. |
getSnapshotAutoDeleteBehavior()
public Volume.SnapshotAutoDeleteBehavior getSnapshotAutoDeleteBehavior()
The behavior to use when snapshot reserved space is full.
.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior snapshot_auto_delete_behavior = 9;
Returns | |
---|---|
Type | Description |
Volume.SnapshotAutoDeleteBehavior | The snapshotAutoDeleteBehavior. |
getSnapshotAutoDeleteBehaviorValue()
public int getSnapshotAutoDeleteBehaviorValue()
The behavior to use when snapshot reserved space is full.
.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior snapshot_auto_delete_behavior = 9;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for snapshotAutoDeleteBehavior. |
getSnapshotEnabled()
public boolean getSnapshotEnabled()
Whether snapshots are enabled.
bool snapshot_enabled = 13;
Returns | |
---|---|
Type | Description |
boolean | The snapshotEnabled. |
getSnapshotReservationDetail()
public Volume.SnapshotReservationDetail getSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Returns | |
---|---|
Type | Description |
Volume.SnapshotReservationDetail | The snapshotReservationDetail. |
getSnapshotReservationDetailBuilder()
public Volume.SnapshotReservationDetail.Builder getSnapshotReservationDetailBuilder()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Returns | |
---|---|
Type | Description |
Volume.SnapshotReservationDetail.Builder |
getSnapshotReservationDetailOrBuilder()
public Volume.SnapshotReservationDetailOrBuilder getSnapshotReservationDetailOrBuilder()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Returns | |
---|---|
Type | Description |
Volume.SnapshotReservationDetailOrBuilder |
getState()
public Volume.State getState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;
Returns | |
---|---|
Type | Description |
Volume.State | The state. |
getStateValue()
public int getStateValue()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getStorageType()
public Volume.StorageType getStorageType()
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;
Returns | |
---|---|
Type | Description |
Volume.StorageType | The storageType. |
getStorageTypeValue()
public int getStorageTypeValue()
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for storageType. |
hasSnapshotReservationDetail()
public boolean hasSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the snapshotReservationDetail field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Volume other)
public Volume.Builder mergeFrom(Volume other)
Parameter | |
---|---|
Name | Description |
other | Volume |
Returns | |
---|---|
Type | Description |
Volume.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Volume.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Volume.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Volume.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Volume.Builder |
mergeSnapshotReservationDetail(Volume.SnapshotReservationDetail value)
public Volume.Builder mergeSnapshotReservationDetail(Volume.SnapshotReservationDetail value)
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Parameter | |
---|---|
Name | Description |
value | Volume.SnapshotReservationDetail |
Returns | |
---|---|
Type | Description |
Volume.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Volume.Builder |
putAllLabels(Map<String,String> values)
public Volume.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Volume.Builder |
putLabels(String key, String value)
public Volume.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 12;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Volume.Builder |
removeLabels(String key)
public Volume.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Volume.Builder |
setAutoGrownSizeGib(long value)
public Volume.Builder setAutoGrownSizeGib(long value)
The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.
int64 auto_grown_size_gib = 6;
Parameter | |
---|---|
Name | Description |
value | long The autoGrownSizeGib to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setCurrentSizeGib(long value)
public Volume.Builder setCurrentSizeGib(long value)
The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.
int64 current_size_gib = 5;
Parameter | |
---|---|
Name | Description |
value | long The currentSizeGib to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setEmergencySizeGib(long value)
public Volume.Builder setEmergencySizeGib(long value)
Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.
int64 emergency_size_gib = 14;
Parameter | |
---|---|
Name | Description |
value | long The emergencySizeGib to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Volume.Builder |
setId(String value)
public Volume.Builder setId(String value)
An identifier for the Volume
, generated by the backend.
string id = 11;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Volume.Builder setIdBytes(ByteString value)
An identifier for the Volume
, generated by the backend.
string id = 11;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setName(String value)
public Volume.Builder setName(String value)
Output only. The resource name of this Volume
.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/volumes/{volume}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Volume.Builder setNameBytes(ByteString value)
Output only. The resource name of this Volume
.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/volumes/{volume}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setPod(String value)
public Volume.Builder setPod(String value)
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value | String The pod to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setPodBytes(ByteString value)
public Volume.Builder setPodBytes(ByteString value)
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pod to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setRemainingSpaceGib(long value)
public Volume.Builder setRemainingSpaceGib(long value)
The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
int64 remaining_space_gib = 7;
Parameter | |
---|---|
Name | Description |
value | long The remainingSpaceGib to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Volume.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Volume.Builder |
setRequestedSizeGib(long value)
public Volume.Builder setRequestedSizeGib(long value)
The requested size of this storage volume, in GiB.
int64 requested_size_gib = 4;
Parameter | |
---|---|
Name | Description |
value | long The requestedSizeGib to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setSnapshotAutoDeleteBehavior(Volume.SnapshotAutoDeleteBehavior value)
public Volume.Builder setSnapshotAutoDeleteBehavior(Volume.SnapshotAutoDeleteBehavior value)
The behavior to use when snapshot reserved space is full.
.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior snapshot_auto_delete_behavior = 9;
Parameter | |
---|---|
Name | Description |
value | Volume.SnapshotAutoDeleteBehavior The snapshotAutoDeleteBehavior to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setSnapshotAutoDeleteBehaviorValue(int value)
public Volume.Builder setSnapshotAutoDeleteBehaviorValue(int value)
The behavior to use when snapshot reserved space is full.
.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior snapshot_auto_delete_behavior = 9;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for snapshotAutoDeleteBehavior to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setSnapshotEnabled(boolean value)
public Volume.Builder setSnapshotEnabled(boolean value)
Whether snapshots are enabled.
bool snapshot_enabled = 13;
Parameter | |
---|---|
Name | Description |
value | boolean The snapshotEnabled to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setSnapshotReservationDetail(Volume.SnapshotReservationDetail value)
public Volume.Builder setSnapshotReservationDetail(Volume.SnapshotReservationDetail value)
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Parameter | |
---|---|
Name | Description |
value | Volume.SnapshotReservationDetail |
Returns | |
---|---|
Type | Description |
Volume.Builder |
setSnapshotReservationDetail(Volume.SnapshotReservationDetail.Builder builderForValue)
public Volume.Builder setSnapshotReservationDetail(Volume.SnapshotReservationDetail.Builder builderForValue)
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
Parameter | |
---|---|
Name | Description |
builderForValue | Volume.SnapshotReservationDetail.Builder |
Returns | |
---|---|
Type | Description |
Volume.Builder |
setState(Volume.State value)
public Volume.Builder setState(Volume.State value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;
Parameter | |
---|---|
Name | Description |
value | Volume.State The state to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setStateValue(int value)
public Volume.Builder setStateValue(int value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setStorageType(Volume.StorageType value)
public Volume.Builder setStorageType(Volume.StorageType value)
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;
Parameter | |
---|---|
Name | Description |
value | Volume.StorageType The storageType to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setStorageTypeValue(int value)
public Volume.Builder setStorageTypeValue(int value)
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for storageType to set. |
Returns | |
---|---|
Type | Description |
Volume.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Volume.Builder |