Interface VolumeConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VolumeConfig
,VolumeConfig.Builder
public interface VolumeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGcpService()
The GCP service of the storage volume.com.google.protobuf.ByteString
getGcpServiceBytes()
The GCP service of the storage volume.String
getId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.com.google.protobuf.ByteString
getIdBytes()
A transient unique identifier to identify a volume within an ProvisioningConfig request.VolumeConfig.LunRange
getLunRanges(int index)
LUN ranges to be configured.int
getLunRangesCount()
LUN ranges to be configured.List<VolumeConfig.LunRange>
getLunRangesList()
LUN ranges to be configured.VolumeConfig.LunRangeOrBuilder
getLunRangesOrBuilder(int index)
LUN ranges to be configured.List<? extends VolumeConfig.LunRangeOrBuilder>
getLunRangesOrBuilderList()
LUN ranges to be configured.String
getMachineIds(int index)
Machine ids connected to this volume.com.google.protobuf.ByteString
getMachineIdsBytes(int index)
Machine ids connected to this volume.int
getMachineIdsCount()
Machine ids connected to this volume.List<String>
getMachineIdsList()
Machine ids connected to this volume.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.VolumeConfig.NfsExport
getNfsExports(int index)
NFS exports.int
getNfsExportsCount()
NFS exports.List<VolumeConfig.NfsExport>
getNfsExportsList()
NFS exports.VolumeConfig.NfsExportOrBuilder
getNfsExportsOrBuilder(int index)
NFS exports.List<? extends VolumeConfig.NfsExportOrBuilder>
getNfsExportsOrBuilderList()
NFS exports.VolumePerformanceTier
getPerformanceTier()
Performance tier of the Volume.int
getPerformanceTierValue()
Performance tier of the Volume.VolumeConfig.Protocol
getProtocol()
Volume protocol.int
getProtocolValue()
Volume protocol.int
getSizeGb()
The requested size of this volume, in GB.boolean
getSnapshotsEnabled()
Whether snapshots should be enabled.VolumeConfig.Type
getType()
The type of this Volume.int
getTypeValue()
The type of this Volume.String
getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .com.google.protobuf.ByteString
getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The name of the volume config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The name of the volume config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getId
String getId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
- Returns:
- The bytes for id.
-
getSnapshotsEnabled
boolean getSnapshotsEnabled()
Whether snapshots should be enabled.
bool snapshots_enabled = 3;
- Returns:
- The snapshotsEnabled.
-
getTypeValue
int getTypeValue()
The type of this Volume.
.google.cloud.baremetalsolution.v2.VolumeConfig.Type type = 4;
- Returns:
- The enum numeric value on the wire for type.
-
getType
VolumeConfig.Type getType()
The type of this Volume.
.google.cloud.baremetalsolution.v2.VolumeConfig.Type type = 4;
- Returns:
- The type.
-
getProtocolValue
int getProtocolValue()
Volume protocol.
.google.cloud.baremetalsolution.v2.VolumeConfig.Protocol protocol = 5;
- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
VolumeConfig.Protocol getProtocol()
Volume protocol.
.google.cloud.baremetalsolution.v2.VolumeConfig.Protocol protocol = 5;
- Returns:
- The protocol.
-
getSizeGb
int getSizeGb()
The requested size of this volume, in GB.
int32 size_gb = 6;
- Returns:
- The sizeGb.
-
getLunRangesList
List<VolumeConfig.LunRange> getLunRangesList()
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
-
getLunRanges
VolumeConfig.LunRange getLunRanges(int index)
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
-
getLunRangesCount
int getLunRangesCount()
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
-
getLunRangesOrBuilderList
List<? extends VolumeConfig.LunRangeOrBuilder> getLunRangesOrBuilderList()
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
-
getLunRangesOrBuilder
VolumeConfig.LunRangeOrBuilder getLunRangesOrBuilder(int index)
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
-
getMachineIdsList
List<String> getMachineIdsList()
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
repeated string machine_ids = 8;
- Returns:
- A list containing the machineIds.
-
getMachineIdsCount
int getMachineIdsCount()
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
repeated string machine_ids = 8;
- Returns:
- The count of machineIds.
-
getMachineIds
String getMachineIds(int index)
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
repeated string machine_ids = 8;
- Parameters:
index
- The index of the element to return.- Returns:
- The machineIds at the given index.
-
getMachineIdsBytes
com.google.protobuf.ByteString getMachineIdsBytes(int index)
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
repeated string machine_ids = 8;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the machineIds at the given index.
-
getNfsExportsList
List<VolumeConfig.NfsExport> getNfsExportsList()
NFS exports. Set only when protocol is PROTOCOL_NFS.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
-
getNfsExports
VolumeConfig.NfsExport getNfsExports(int index)
NFS exports. Set only when protocol is PROTOCOL_NFS.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
-
getNfsExportsCount
int getNfsExportsCount()
NFS exports. Set only when protocol is PROTOCOL_NFS.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
-
getNfsExportsOrBuilderList
List<? extends VolumeConfig.NfsExportOrBuilder> getNfsExportsOrBuilderList()
NFS exports. Set only when protocol is PROTOCOL_NFS.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
-
getNfsExportsOrBuilder
VolumeConfig.NfsExportOrBuilder getNfsExportsOrBuilder(int index)
NFS exports. Set only when protocol is PROTOCOL_NFS.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
-
getUserNote
String getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 10;
- Returns:
- The userNote.
-
getUserNoteBytes
com.google.protobuf.ByteString getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 10;
- Returns:
- The bytes for userNote.
-
getGcpService
String getGcpService()
The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 11;
- Returns:
- The gcpService.
-
getGcpServiceBytes
com.google.protobuf.ByteString getGcpServiceBytes()
The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 11;
- Returns:
- The bytes for gcpService.
-
getPerformanceTierValue
int getPerformanceTierValue()
Performance tier of the Volume. Default is SHARED.
.google.cloud.baremetalsolution.v2.VolumePerformanceTier performance_tier = 12;
- Returns:
- The enum numeric value on the wire for performanceTier.
-
getPerformanceTier
VolumePerformanceTier getPerformanceTier()
Performance tier of the Volume. Default is SHARED.
.google.cloud.baremetalsolution.v2.VolumePerformanceTier performance_tier = 12;
- Returns:
- The performanceTier.
-
-