com.google.cloud.baremetalsolution.v2.VolumeConfigOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bare-metal-solution-v2 Show documentation
Show all versions of proto-google-cloud-bare-metal-solution-v2 Show documentation
Proto library for google-cloud-bare-metal-solution
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/baremetalsolution/v2/provisioning.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.baremetalsolution.v2;
public interface VolumeConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.VolumeConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The name of the volume config.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The name of the volume config.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* A transient unique identifier to identify a volume within an
* ProvisioningConfig request.
*
*
* string id = 2;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* A transient unique identifier to identify a volume within an
* ProvisioningConfig request.
*
*
* string id = 2;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* Whether snapshots should be enabled.
*
*
* bool snapshots_enabled = 3;
*
* @return The snapshotsEnabled.
*/
boolean getSnapshotsEnabled();
/**
*
*
*
* The type of this Volume.
*
*
* .google.cloud.baremetalsolution.v2.VolumeConfig.Type type = 4;
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* The type of this Volume.
*
*
* .google.cloud.baremetalsolution.v2.VolumeConfig.Type type = 4;
*
* @return The type.
*/
com.google.cloud.baremetalsolution.v2.VolumeConfig.Type getType();
/**
*
*
*
* Volume protocol.
*
*
* .google.cloud.baremetalsolution.v2.VolumeConfig.Protocol protocol = 5;
*
* @return The enum numeric value on the wire for protocol.
*/
int getProtocolValue();
/**
*
*
*
* Volume protocol.
*
*
* .google.cloud.baremetalsolution.v2.VolumeConfig.Protocol protocol = 5;
*
* @return The protocol.
*/
com.google.cloud.baremetalsolution.v2.VolumeConfig.Protocol getProtocol();
/**
*
*
*
* The requested size of this volume, in GB.
*
*
* int32 size_gb = 6;
*
* @return The sizeGb.
*/
int getSizeGb();
/**
*
*
*
* LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
*/
java.util.List getLunRangesList();
/**
*
*
*
* LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
*/
com.google.cloud.baremetalsolution.v2.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;
*/
int getLunRangesCount();
/**
*
*
*
* LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.LunRange lun_ranges = 7;
*/
java.util.List extends com.google.cloud.baremetalsolution.v2.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;
*/
com.google.cloud.baremetalsolution.v2.VolumeConfig.LunRangeOrBuilder getLunRangesOrBuilder(
int index);
/**
*
*
*
* Machine ids connected to this volume. Set only when protocol is
* PROTOCOL_FC.
*
*
* repeated string machine_ids = 8;
*
* @return A list containing the machineIds.
*/
java.util.List getMachineIdsList();
/**
*
*
*
* Machine ids connected to this volume. Set only when protocol is
* PROTOCOL_FC.
*
*
* repeated string machine_ids = 8;
*
* @return The count of machineIds.
*/
int getMachineIdsCount();
/**
*
*
*
* Machine ids connected to this volume. Set only when protocol is
* PROTOCOL_FC.
*
*
* repeated string machine_ids = 8;
*
* @param index The index of the element to return.
* @return The machineIds at the given index.
*/
java.lang.String getMachineIds(int index);
/**
*
*
*
* Machine ids connected to this volume. Set only when protocol is
* PROTOCOL_FC.
*
*
* repeated string machine_ids = 8;
*
* @param index The index of the value to return.
* @return The bytes of the machineIds at the given index.
*/
com.google.protobuf.ByteString getMachineIdsBytes(int index);
/**
*
*
*
* NFS exports. Set only when protocol is PROTOCOL_NFS.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
*
*/
java.util.List getNfsExportsList();
/**
*
*
*
* NFS exports. Set only when protocol is PROTOCOL_NFS.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
*
*/
com.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport getNfsExports(int index);
/**
*
*
*
* NFS exports. Set only when protocol is PROTOCOL_NFS.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
*
*/
int getNfsExportsCount();
/**
*
*
*
* NFS exports. Set only when protocol is PROTOCOL_NFS.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
*
*/
java.util.List extends com.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExportOrBuilder>
getNfsExportsOrBuilderList();
/**
*
*
*
* NFS exports. Set only when protocol is PROTOCOL_NFS.
*
*
* repeated .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport nfs_exports = 9;
*
*/
com.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExportOrBuilder getNfsExportsOrBuilder(
int index);
/**
*
*
*
* User note field, it can be used by customers to add additional information
* for the BMS Ops team .
*
*
* string user_note = 10;
*
* @return The userNote.
*/
java.lang.String getUserNote();
/**
*
*
*
* User note field, it can be used by customers to add additional information
* for the BMS Ops team .
*
*
* string user_note = 10;
*
* @return The bytes for userNote.
*/
com.google.protobuf.ByteString getUserNoteBytes();
/**
*
*
*
* 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;
*
* @return The gcpService.
*/
java.lang.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;
*
* @return The bytes for gcpService.
*/
com.google.protobuf.ByteString getGcpServiceBytes();
/**
*
*
*
* Performance tier of the Volume.
* Default is SHARED.
*
*
* .google.cloud.baremetalsolution.v2.VolumePerformanceTier performance_tier = 12;
*
* @return The enum numeric value on the wire for performanceTier.
*/
int getPerformanceTierValue();
/**
*
*
*
* Performance tier of the Volume.
* Default is SHARED.
*
*
* .google.cloud.baremetalsolution.v2.VolumePerformanceTier performance_tier = 12;
*
* @return The performanceTier.
*/
com.google.cloud.baremetalsolution.v2.VolumePerformanceTier getPerformanceTier();
}