public static final class Volume.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilder
A storage volume.Protobuf type
google.cloud.baremetalsolution.v2.Volume| Modifier and Type | Method and Description |
|---|---|
Volume.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Volume |
build() |
Volume |
buildPartial() |
Volume.Builder |
clear() |
Volume.Builder |
clearAutoGrownSizeGib()
The size, in GiB, that this storage volume has expanded as a result of an
auto grow policy.
|
Volume.Builder |
clearCurrentSizeGib()
The current size of this storage volume, in GiB, including space reserved
for snapshots.
|
Volume.Builder |
clearEmergencySizeGib()
Additional emergency size that was requested for this Volume, in GiB.
|
Volume.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Volume.Builder |
clearId()
An identifier for the `Volume`, generated by the backend.
|
Volume.Builder |
clearLabels() |
Volume.Builder |
clearName()
Output only.
|
Volume.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Volume.Builder |
clearPod()
Immutable.
|
Volume.Builder |
clearRemainingSpaceGib()
The space remaining in the storage volume for new LUNs, in GiB, excluding
space reserved for snapshots.
|
Volume.Builder |
clearRequestedSizeGib()
The requested size of this storage volume, in GiB.
|
Volume.Builder |
clearSnapshotAutoDeleteBehavior()
The behavior to use when snapshot reserved space is full.
|
Volume.Builder |
clearSnapshotEnabled()
Whether snapshots are enabled.
|
Volume.Builder |
clearSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
|
Volume.Builder |
clearState()
The state of this storage volume.
|
Volume.Builder |
clearStorageType()
The storage type for this volume.
|
Volume.Builder |
clone() |
boolean |
containsLabels(String key)
Labels as key value pairs.
|
long |
getAutoGrownSizeGib()
The size, in GiB, that this storage volume has expanded as a result of an
auto grow policy.
|
long |
getCurrentSizeGib()
The current size of this storage volume, in GiB, including space reserved
for snapshots.
|
Volume |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEmergencySizeGib()
Additional emergency size that was requested for this Volume, in GiB.
|
String |
getId()
An identifier for the `Volume`, generated by the backend.
|
com.google.protobuf.ByteString |
getIdBytes()
An identifier for the `Volume`, generated by the backend.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs.
|
Map<String,String> |
getLabelsMap()
Labels as key value pairs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs.
|
String |
getLabelsOrThrow(String key)
Labels as key value pairs.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getPod()
Immutable.
|
com.google.protobuf.ByteString |
getPodBytes()
Immutable.
|
long |
getRemainingSpaceGib()
The space remaining in the storage volume for new LUNs, in GiB, excluding
space reserved for snapshots.
|
long |
getRequestedSizeGib()
The requested size of this storage volume, in GiB.
|
Volume.SnapshotAutoDeleteBehavior |
getSnapshotAutoDeleteBehavior()
The behavior to use when snapshot reserved space is full.
|
int |
getSnapshotAutoDeleteBehaviorValue()
The behavior to use when snapshot reserved space is full.
|
boolean |
getSnapshotEnabled()
Whether snapshots are enabled.
|
Volume.SnapshotReservationDetail |
getSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
|
Volume.SnapshotReservationDetail.Builder |
getSnapshotReservationDetailBuilder()
Details about snapshot space reservation and usage on the storage volume.
|
Volume.SnapshotReservationDetailOrBuilder |
getSnapshotReservationDetailOrBuilder()
Details about snapshot space reservation and usage on the storage volume.
|
Volume.State |
getState()
The state of this storage volume.
|
int |
getStateValue()
The state of this storage volume.
|
Volume.StorageType |
getStorageType()
The storage type for this volume.
|
int |
getStorageTypeValue()
The storage type for this volume.
|
boolean |
hasSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Volume.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Volume.Builder |
mergeFrom(com.google.protobuf.Message other) |
Volume.Builder |
mergeFrom(Volume other) |
Volume.Builder |
mergeSnapshotReservationDetail(Volume.SnapshotReservationDetail value)
Details about snapshot space reservation and usage on the storage volume.
|
Volume.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Volume.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs.
|
Volume.Builder |
putLabels(String key,
String value)
Labels as key value pairs.
|
Volume.Builder |
removeLabels(String key)
Labels as key value pairs.
|
Volume.Builder |
setAutoGrownSizeGib(long value)
The size, in GiB, that this storage volume has expanded as a result of an
auto grow policy.
|
Volume.Builder |
setCurrentSizeGib(long value)
The current size of this storage volume, in GiB, including space reserved
for snapshots.
|
Volume.Builder |
setEmergencySizeGib(long value)
Additional emergency size that was requested for this Volume, in GiB.
|
Volume.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Volume.Builder |
setId(String value)
An identifier for the `Volume`, generated by the backend.
|
Volume.Builder |
setIdBytes(com.google.protobuf.ByteString value)
An identifier for the `Volume`, generated by the backend.
|
Volume.Builder |
setName(String value)
Output only.
|
Volume.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Volume.Builder |
setPod(String value)
Immutable.
|
Volume.Builder |
setPodBytes(com.google.protobuf.ByteString value)
Immutable.
|
Volume.Builder |
setRemainingSpaceGib(long value)
The space remaining in the storage volume for new LUNs, in GiB, excluding
space reserved for snapshots.
|
Volume.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Volume.Builder |
setRequestedSizeGib(long value)
The requested size of this storage volume, in GiB.
|
Volume.Builder |
setSnapshotAutoDeleteBehavior(Volume.SnapshotAutoDeleteBehavior value)
The behavior to use when snapshot reserved space is full.
|
Volume.Builder |
setSnapshotAutoDeleteBehaviorValue(int value)
The behavior to use when snapshot reserved space is full.
|
Volume.Builder |
setSnapshotEnabled(boolean value)
Whether snapshots are enabled.
|
Volume.Builder |
setSnapshotReservationDetail(Volume.SnapshotReservationDetail.Builder builderForValue)
Details about snapshot space reservation and usage on the storage volume.
|
Volume.Builder |
setSnapshotReservationDetail(Volume.SnapshotReservationDetail value)
Details about snapshot space reservation and usage on the storage volume.
|
Volume.Builder |
setState(Volume.State value)
The state of this storage volume.
|
Volume.Builder |
setStateValue(int value)
The state of this storage volume.
|
Volume.Builder |
setStorageType(Volume.StorageType value)
The storage type for this volume.
|
Volume.Builder |
setStorageTypeValue(int value)
The storage type for this volume.
|
Volume.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.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.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.Builder>public Volume getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Volume build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Volume buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Volume.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.Builder>public Volume.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.Builder>public Volume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.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.Builder>public Volume.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.Builder>public Volume.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Volume.Builder>public Volume.Builder mergeFrom(Volume other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.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.Builder>IOExceptionpublic 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];getName in interface VolumeOrBuilderpublic com.google.protobuf.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];getNameBytes in interface VolumeOrBuilderpublic 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];value - The name to set.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];public Volume.Builder setNameBytes(com.google.protobuf.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];value - The bytes for name to set.public String getId()
An identifier for the `Volume`, generated by the backend.
string id = 11;getId in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
An identifier for the `Volume`, generated by the backend.
string id = 11;getIdBytes in interface VolumeOrBuilderpublic Volume.Builder setId(String value)
An identifier for the `Volume`, generated by the backend.
string id = 11;value - The id to set.public Volume.Builder clearId()
An identifier for the `Volume`, generated by the backend.
string id = 11;public Volume.Builder setIdBytes(com.google.protobuf.ByteString value)
An identifier for the `Volume`, generated by the backend.
string id = 11;value - The bytes for id to set.public int getStorageTypeValue()
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;getStorageTypeValue in interface VolumeOrBuilderpublic Volume.Builder setStorageTypeValue(int value)
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;value - The enum numeric value on the wire for storageType to set.public Volume.StorageType getStorageType()
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;getStorageType in interface VolumeOrBuilderpublic Volume.Builder setStorageType(Volume.StorageType value)
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;value - The storageType to set.public Volume.Builder clearStorageType()
The storage type for this volume.
.google.cloud.baremetalsolution.v2.Volume.StorageType storage_type = 2;public int getStateValue()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;getStateValue in interface VolumeOrBuilderpublic Volume.Builder setStateValue(int value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;value - The enum numeric value on the wire for state to set.public Volume.State getState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;getState in interface VolumeOrBuilderpublic Volume.Builder setState(Volume.State value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;value - The state to set.public Volume.Builder clearState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Volume.State state = 3;public long getRequestedSizeGib()
The requested size of this storage volume, in GiB.
int64 requested_size_gib = 4;getRequestedSizeGib in interface VolumeOrBuilderpublic Volume.Builder setRequestedSizeGib(long value)
The requested size of this storage volume, in GiB.
int64 requested_size_gib = 4;value - The requestedSizeGib to set.public Volume.Builder clearRequestedSizeGib()
The requested size of this storage volume, in GiB.
int64 requested_size_gib = 4;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;getCurrentSizeGib in interface VolumeOrBuilderpublic 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;value - The currentSizeGib to set.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;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;getEmergencySizeGib in interface VolumeOrBuilderpublic 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;value - The emergencySizeGib to set.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;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;getAutoGrownSizeGib in interface VolumeOrBuilderpublic 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;value - The autoGrownSizeGib to set.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;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;getRemainingSpaceGib in interface VolumeOrBuilderpublic 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;value - The remainingSpaceGib to set.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;public boolean hasSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
hasSnapshotReservationDetail in interface VolumeOrBuilderpublic Volume.SnapshotReservationDetail getSnapshotReservationDetail()
Details about snapshot space reservation and usage on the storage volume.
.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail snapshot_reservation_detail = 8;
getSnapshotReservationDetail in interface VolumeOrBuilderpublic 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;
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;
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;
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;
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;
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;
getSnapshotReservationDetailOrBuilder in interface VolumeOrBuilderpublic int getSnapshotAutoDeleteBehaviorValue()
The behavior to use when snapshot reserved space is full.
.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior snapshot_auto_delete_behavior = 9;
getSnapshotAutoDeleteBehaviorValue in interface VolumeOrBuilderpublic 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;
value - The enum numeric value on the wire for snapshotAutoDeleteBehavior to set.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;
getSnapshotAutoDeleteBehavior in interface VolumeOrBuilderpublic 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;
value - The snapshotAutoDeleteBehavior to set.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;
public int getLabelsCount()
VolumeOrBuilderLabels as key value pairs.
map<string, string> labels = 12;getLabelsCount in interface VolumeOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 12;containsLabels in interface VolumeOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface VolumeOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 12;getLabelsMap in interface VolumeOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 12;getLabelsOrDefault in interface VolumeOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 12;getLabelsOrThrow in interface VolumeOrBuilderpublic Volume.Builder clearLabels()
public Volume.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 12;@Deprecated public Map<String,String> getMutableLabels()
public Volume.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 12;public Volume.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 12;public boolean getSnapshotEnabled()
Whether snapshots are enabled.
bool snapshot_enabled = 13;getSnapshotEnabled in interface VolumeOrBuilderpublic Volume.Builder setSnapshotEnabled(boolean value)
Whether snapshots are enabled.
bool snapshot_enabled = 13;value - The snapshotEnabled to set.public Volume.Builder clearSnapshotEnabled()
Whether snapshots are enabled.
bool snapshot_enabled = 13;public String getPod()
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];getPod in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getPodBytes()
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];getPodBytes in interface VolumeOrBuilderpublic Volume.Builder setPod(String value)
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];value - The pod to set.public Volume.Builder clearPod()
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];public Volume.Builder setPodBytes(com.google.protobuf.ByteString value)
Immutable. Pod name.
string pod = 15 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for pod to set.public final Volume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public final Volume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>Copyright © 2022 Google LLC. All rights reserved.