diff --git a/storage/Makefile b/storage/Makefile
index fd214a4b..164d549a 100644
--- a/storage/Makefile
+++ b/storage/Makefile
@@ -16,5 +16,5 @@ all:
mv google "${PWD}"/v1alpha1/
docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out -v "${PWD}"/v1alpha1:/protos pseudomuto/protoc-gen-doc -c "protoc -I /common -I /protos --doc_out=/out --doc_opt=markdown,autogen.md /protos/*.proto /common/*.proto"
docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.36.0 -c "api-linter -I /common /out/*.proto --output-format summary"
- docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.36.0 -c "api-linter -I /common /out/*.proto --output-format github --disable-rule=core::0192::has-comments --disable-rule=core::0127 --disable-rule=core::0156 --set-exit-status"
+ docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.36.0 -c "api-linter -I /common /out/*.proto --output-format github --disable-rule=core::0192::has-comments --set-exit-status"
rm -rf "${PWD}"/v1alpha1/google
diff --git a/storage/v1alpha1/autogen.md b/storage/v1alpha1/autogen.md
index d1b10e68..c6e7307f 100644
--- a/storage/v1alpha1/autogen.md
+++ b/storage/v1alpha1/autogen.md
@@ -5,13 +5,13 @@
- [backend_aio.proto](#backend_aio-proto)
- [AioVolume](#opi_api-storage-v1-AioVolume)
- - [AioVolumeStatsRequest](#opi_api-storage-v1-AioVolumeStatsRequest)
- - [AioVolumeStatsResponse](#opi_api-storage-v1-AioVolumeStatsResponse)
- [CreateAioVolumeRequest](#opi_api-storage-v1-CreateAioVolumeRequest)
- [DeleteAioVolumeRequest](#opi_api-storage-v1-DeleteAioVolumeRequest)
- [GetAioVolumeRequest](#opi_api-storage-v1-GetAioVolumeRequest)
- [ListAioVolumesRequest](#opi_api-storage-v1-ListAioVolumesRequest)
- [ListAioVolumesResponse](#opi_api-storage-v1-ListAioVolumesResponse)
+ - [StatsAioVolumeRequest](#opi_api-storage-v1-StatsAioVolumeRequest)
+ - [StatsAioVolumeResponse](#opi_api-storage-v1-StatsAioVolumeResponse)
- [UpdateAioVolumeRequest](#opi_api-storage-v1-UpdateAioVolumeRequest)
- [AioVolumeService](#opi_api-storage-v1-AioVolumeService)
@@ -24,8 +24,8 @@
- [ListNullVolumesRequest](#opi_api-storage-v1-ListNullVolumesRequest)
- [ListNullVolumesResponse](#opi_api-storage-v1-ListNullVolumesResponse)
- [NullVolume](#opi_api-storage-v1-NullVolume)
- - [NullVolumeStatsRequest](#opi_api-storage-v1-NullVolumeStatsRequest)
- - [NullVolumeStatsResponse](#opi_api-storage-v1-NullVolumeStatsResponse)
+ - [StatsNullVolumeRequest](#opi_api-storage-v1-StatsNullVolumeRequest)
+ - [StatsNullVolumeResponse](#opi_api-storage-v1-StatsNullVolumeResponse)
- [UpdateNullVolumeRequest](#opi_api-storage-v1-UpdateNullVolumeRequest)
- [NullVolumeService](#opi_api-storage-v1-NullVolumeService)
@@ -45,13 +45,13 @@
- [ListNvmeRemoteNamespacesRequest](#opi_api-storage-v1-ListNvmeRemoteNamespacesRequest)
- [ListNvmeRemoteNamespacesResponse](#opi_api-storage-v1-ListNvmeRemoteNamespacesResponse)
- [NvmePath](#opi_api-storage-v1-NvmePath)
- - [NvmePathStatsRequest](#opi_api-storage-v1-NvmePathStatsRequest)
- - [NvmePathStatsResponse](#opi_api-storage-v1-NvmePathStatsResponse)
- [NvmeRemoteController](#opi_api-storage-v1-NvmeRemoteController)
- - [NvmeRemoteControllerResetRequest](#opi_api-storage-v1-NvmeRemoteControllerResetRequest)
- - [NvmeRemoteControllerStatsRequest](#opi_api-storage-v1-NvmeRemoteControllerStatsRequest)
- - [NvmeRemoteControllerStatsResponse](#opi_api-storage-v1-NvmeRemoteControllerStatsResponse)
- [NvmeRemoteNamespace](#opi_api-storage-v1-NvmeRemoteNamespace)
+ - [ResetNvmeRemoteControllerRequest](#opi_api-storage-v1-ResetNvmeRemoteControllerRequest)
+ - [StatsNvmePathRequest](#opi_api-storage-v1-StatsNvmePathRequest)
+ - [StatsNvmePathResponse](#opi_api-storage-v1-StatsNvmePathResponse)
+ - [StatsNvmeRemoteControllerRequest](#opi_api-storage-v1-StatsNvmeRemoteControllerRequest)
+ - [StatsNvmeRemoteControllerResponse](#opi_api-storage-v1-StatsNvmeRemoteControllerResponse)
- [UpdateNvmePathRequest](#opi_api-storage-v1-UpdateNvmePathRequest)
- [UpdateNvmeRemoteControllerRequest](#opi_api-storage-v1-UpdateNvmeRemoteControllerRequest)
@@ -79,19 +79,19 @@
- [ListNvmeSubsystemsResponse](#opi_api-storage-v1-ListNvmeSubsystemsResponse)
- [NvmeController](#opi_api-storage-v1-NvmeController)
- [NvmeControllerSpec](#opi_api-storage-v1-NvmeControllerSpec)
- - [NvmeControllerStatsRequest](#opi_api-storage-v1-NvmeControllerStatsRequest)
- - [NvmeControllerStatsResponse](#opi_api-storage-v1-NvmeControllerStatsResponse)
- [NvmeControllerStatus](#opi_api-storage-v1-NvmeControllerStatus)
- [NvmeNamespace](#opi_api-storage-v1-NvmeNamespace)
- [NvmeNamespaceSpec](#opi_api-storage-v1-NvmeNamespaceSpec)
- - [NvmeNamespaceStatsRequest](#opi_api-storage-v1-NvmeNamespaceStatsRequest)
- - [NvmeNamespaceStatsResponse](#opi_api-storage-v1-NvmeNamespaceStatsResponse)
- [NvmeNamespaceStatus](#opi_api-storage-v1-NvmeNamespaceStatus)
- [NvmeSubsystem](#opi_api-storage-v1-NvmeSubsystem)
- [NvmeSubsystemSpec](#opi_api-storage-v1-NvmeSubsystemSpec)
- - [NvmeSubsystemStatsRequest](#opi_api-storage-v1-NvmeSubsystemStatsRequest)
- - [NvmeSubsystemStatsResponse](#opi_api-storage-v1-NvmeSubsystemStatsResponse)
- [NvmeSubsystemStatus](#opi_api-storage-v1-NvmeSubsystemStatus)
+ - [StatsNvmeControllerRequest](#opi_api-storage-v1-StatsNvmeControllerRequest)
+ - [StatsNvmeControllerResponse](#opi_api-storage-v1-StatsNvmeControllerResponse)
+ - [StatsNvmeNamespaceRequest](#opi_api-storage-v1-StatsNvmeNamespaceRequest)
+ - [StatsNvmeNamespaceResponse](#opi_api-storage-v1-StatsNvmeNamespaceResponse)
+ - [StatsNvmeSubsystemRequest](#opi_api-storage-v1-StatsNvmeSubsystemRequest)
+ - [StatsNvmeSubsystemResponse](#opi_api-storage-v1-StatsNvmeSubsystemResponse)
- [UpdateNvmeControllerRequest](#opi_api-storage-v1-UpdateNvmeControllerRequest)
- [UpdateNvmeNamespaceRequest](#opi_api-storage-v1-UpdateNvmeNamespaceRequest)
- [UpdateNvmeSubsystemRequest](#opi_api-storage-v1-UpdateNvmeSubsystemRequest)
@@ -107,10 +107,10 @@
- [GetVirtioBlkRequest](#opi_api-storage-v1-GetVirtioBlkRequest)
- [ListVirtioBlksRequest](#opi_api-storage-v1-ListVirtioBlksRequest)
- [ListVirtioBlksResponse](#opi_api-storage-v1-ListVirtioBlksResponse)
+ - [StatsVirtioBlkRequest](#opi_api-storage-v1-StatsVirtioBlkRequest)
+ - [StatsVirtioBlkResponse](#opi_api-storage-v1-StatsVirtioBlkResponse)
- [UpdateVirtioBlkRequest](#opi_api-storage-v1-UpdateVirtioBlkRequest)
- [VirtioBlk](#opi_api-storage-v1-VirtioBlk)
- - [VirtioBlkStatsRequest](#opi_api-storage-v1-VirtioBlkStatsRequest)
- - [VirtioBlkStatsResponse](#opi_api-storage-v1-VirtioBlkStatsResponse)
- [FrontendVirtioBlkService](#opi_api-storage-v1-FrontendVirtioBlkService)
@@ -131,18 +131,18 @@
- [ListVirtioScsiLunsResponse](#opi_api-storage-v1-ListVirtioScsiLunsResponse)
- [ListVirtioScsiTargetsRequest](#opi_api-storage-v1-ListVirtioScsiTargetsRequest)
- [ListVirtioScsiTargetsResponse](#opi_api-storage-v1-ListVirtioScsiTargetsResponse)
+ - [StatsVirtioScsiControllerRequest](#opi_api-storage-v1-StatsVirtioScsiControllerRequest)
+ - [StatsVirtioScsiControllerResponse](#opi_api-storage-v1-StatsVirtioScsiControllerResponse)
+ - [StatsVirtioScsiLunRequest](#opi_api-storage-v1-StatsVirtioScsiLunRequest)
+ - [StatsVirtioScsiLunResponse](#opi_api-storage-v1-StatsVirtioScsiLunResponse)
+ - [StatsVirtioScsiTargetRequest](#opi_api-storage-v1-StatsVirtioScsiTargetRequest)
+ - [StatsVirtioScsiTargetResponse](#opi_api-storage-v1-StatsVirtioScsiTargetResponse)
- [UpdateVirtioScsiControllerRequest](#opi_api-storage-v1-UpdateVirtioScsiControllerRequest)
- [UpdateVirtioScsiLunRequest](#opi_api-storage-v1-UpdateVirtioScsiLunRequest)
- [UpdateVirtioScsiTargetRequest](#opi_api-storage-v1-UpdateVirtioScsiTargetRequest)
- [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController)
- - [VirtioScsiControllerStatsRequest](#opi_api-storage-v1-VirtioScsiControllerStatsRequest)
- - [VirtioScsiControllerStatsResponse](#opi_api-storage-v1-VirtioScsiControllerStatsResponse)
- [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun)
- - [VirtioScsiLunStatsRequest](#opi_api-storage-v1-VirtioScsiLunStatsRequest)
- - [VirtioScsiLunStatsResponse](#opi_api-storage-v1-VirtioScsiLunStatsResponse)
- [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget)
- - [VirtioScsiTargetStatsRequest](#opi_api-storage-v1-VirtioScsiTargetStatsRequest)
- - [VirtioScsiTargetStatsResponse](#opi_api-storage-v1-VirtioScsiTargetStatsResponse)
- [FrontendVirtioScsiService](#opi_api-storage-v1-FrontendVirtioScsiService)
@@ -150,11 +150,11 @@
- [CreateEncryptedVolumeRequest](#opi_api-storage-v1-CreateEncryptedVolumeRequest)
- [DeleteEncryptedVolumeRequest](#opi_api-storage-v1-DeleteEncryptedVolumeRequest)
- [EncryptedVolume](#opi_api-storage-v1-EncryptedVolume)
- - [EncryptedVolumeStatsRequest](#opi_api-storage-v1-EncryptedVolumeStatsRequest)
- - [EncryptedVolumeStatsResponse](#opi_api-storage-v1-EncryptedVolumeStatsResponse)
- [GetEncryptedVolumeRequest](#opi_api-storage-v1-GetEncryptedVolumeRequest)
- [ListEncryptedVolumesRequest](#opi_api-storage-v1-ListEncryptedVolumesRequest)
- [ListEncryptedVolumesResponse](#opi_api-storage-v1-ListEncryptedVolumesResponse)
+ - [StatsEncryptedVolumeRequest](#opi_api-storage-v1-StatsEncryptedVolumeRequest)
+ - [StatsEncryptedVolumeResponse](#opi_api-storage-v1-StatsEncryptedVolumeResponse)
- [UpdateEncryptedVolumeRequest](#opi_api-storage-v1-UpdateEncryptedVolumeRequest)
- [MiddleendEncryptionService](#opi_api-storage-v1-MiddleendEncryptionService)
@@ -166,8 +166,8 @@
- [ListQosVolumesRequest](#opi_api-storage-v1-ListQosVolumesRequest)
- [ListQosVolumesResponse](#opi_api-storage-v1-ListQosVolumesResponse)
- [QosVolume](#opi_api-storage-v1-QosVolume)
- - [QosVolumeStatsRequest](#opi_api-storage-v1-QosVolumeStatsRequest)
- - [QosVolumeStatsResponse](#opi_api-storage-v1-QosVolumeStatsResponse)
+ - [StatsQosVolumeRequest](#opi_api-storage-v1-StatsQosVolumeRequest)
+ - [StatsQosVolumeResponse](#opi_api-storage-v1-StatsQosVolumeResponse)
- [UpdateQosVolumeRequest](#opi_api-storage-v1-UpdateQosVolumeRequest)
- [MiddleendQosVolumeService](#opi_api-storage-v1-MiddleendQosVolumeService)
@@ -228,111 +228,110 @@
-
+
-### AioVolumeStatsRequest
+### CreateAioVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| aio_volume | [AioVolume](#opi_api-storage-v1-AioVolume) | | |
+| aio_volume_id | [string](#string) | | |
-
+
-### AioVolumeStatsResponse
+### DeleteAioVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | |
+| allow_missing | [bool](#bool) | | If set to true, and the resource is not found, the request will succeed but no action will be taken on the server |
-
+
-### CreateAioVolumeRequest
+### GetAioVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| aio_volume | [AioVolume](#opi_api-storage-v1-AioVolume) | | |
-| aio_volume_id | [string](#string) | | |
+| name | [string](#string) | | |
-
+
-### DeleteAioVolumeRequest
+### ListAioVolumesRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
-| allow_missing | [bool](#bool) | | If set to true, and the resource is not found, the request will succeed but no action will be taken on the server |
+| parent | [string](#string) | | |
+| page_size | [int32](#int32) | | |
+| page_token | [string](#string) | | |
-
+
-### GetAioVolumeRequest
+### ListAioVolumesResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
+| aio_volumes | [AioVolume](#opi_api-storage-v1-AioVolume) | repeated | |
+| next_page_token | [string](#string) | | |
-
+
-### ListAioVolumesRequest
+### StatsAioVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | |
-| page_size | [int32](#int32) | | |
-| page_token | [string](#string) | | |
+| name | [string](#string) | | |
-
+
-### ListAioVolumesResponse
+### StatsAioVolumeResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| aio_volumes | [AioVolume](#opi_api-storage-v1-AioVolume) | repeated | |
-| next_page_token | [string](#string) | | |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -374,7 +373,7 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev
| UpdateAioVolume | [UpdateAioVolumeRequest](#opi_api-storage-v1-UpdateAioVolumeRequest) | [AioVolume](#opi_api-storage-v1-AioVolume) | |
| ListAioVolumes | [ListAioVolumesRequest](#opi_api-storage-v1-ListAioVolumesRequest) | [ListAioVolumesResponse](#opi_api-storage-v1-ListAioVolumesResponse) | |
| GetAioVolume | [GetAioVolumeRequest](#opi_api-storage-v1-GetAioVolumeRequest) | [AioVolume](#opi_api-storage-v1-AioVolume) | |
-| AioVolumeStats | [AioVolumeStatsRequest](#opi_api-storage-v1-AioVolumeStatsRequest) | [AioVolumeStatsResponse](#opi_api-storage-v1-AioVolumeStatsResponse) | |
+| StatsAioVolume | [StatsAioVolumeRequest](#opi_api-storage-v1-StatsAioVolumeRequest) | [StatsAioVolumeResponse](#opi_api-storage-v1-StatsAioVolumeResponse) | |
@@ -501,30 +500,29 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev
-
+
-### NullVolumeStatsRequest
+### StatsNullVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| name | [string](#string) | | |
-
+
-### NullVolumeStatsResponse
+### StatsNullVolumeResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -567,7 +565,7 @@ Back End (network-facing) APIs. This is debug interface for null block devices.
| UpdateNullVolume | [UpdateNullVolumeRequest](#opi_api-storage-v1-UpdateNullVolumeRequest) | [NullVolume](#opi_api-storage-v1-NullVolume) | |
| ListNullVolumes | [ListNullVolumesRequest](#opi_api-storage-v1-ListNullVolumesRequest) | [ListNullVolumesResponse](#opi_api-storage-v1-ListNullVolumesResponse) | |
| GetNullVolume | [GetNullVolumeRequest](#opi_api-storage-v1-GetNullVolumeRequest) | [NullVolume](#opi_api-storage-v1-NullVolume) | |
-| NullVolumeStats | [NullVolumeStatsRequest](#opi_api-storage-v1-NullVolumeStatsRequest) | [NullVolumeStatsResponse](#opi_api-storage-v1-NullVolumeStatsResponse) | |
+| StatsNullVolume | [StatsNullVolumeRequest](#opi_api-storage-v1-StatsNullVolumeRequest) | [StatsNullVolumeResponse](#opi_api-storage-v1-StatsNullVolumeResponse) | |
@@ -652,7 +650,7 @@ Back End (network-facing) APIs. This is debug interface for null block devices.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | object's unique identifier |
+| name | [string](#string) | | |
| allow_missing | [bool](#bool) | | If set to true, and the resource is not found, the request will succeed but no action will be taken on the server |
@@ -668,7 +666,7 @@ Back End (network-facing) APIs. This is debug interface for null block devices.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | object's unique identifier |
+| name | [string](#string) | | |
@@ -683,7 +681,7 @@ Back End (network-facing) APIs. This is debug interface for null block devices.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | object's unique identifier |
+| name | [string](#string) | | |
@@ -797,7 +795,7 @@ Back End (network-facing) APIs. This is debug interface for null block devices.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | user can only set {resource}_id on the Create request object |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
| controller_name_ref | [string](#string) | | |
| trtype | [NvmeTransportType](#opi_api-storage-v1-NvmeTransportType) | | |
| adrfam | [NvmeAddressFamily](#opi_api-storage-v1-NvmeAddressFamily) | | |
@@ -813,116 +811,116 @@ Back End (network-facing) APIs. This is debug interface for null block devices.
-
+
-### NvmePathStatsRequest
+### NvmeRemoteController
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | object's unique identifier |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| hdgst | [bool](#bool) | | |
+| ddgst | [bool](#bool) | | |
+| multipath | [NvmeMultipath](#opi_api-storage-v1-NvmeMultipath) | | |
+| io_queues_count | [int64](#int64) | | |
+| queue_size | [int64](#int64) | | |
+| psk | [bytes](#bytes) | | Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK. Use PSK interchange format with base64 encoding as input. Also use information about hash function in interchange format for retained PSK generation. If no hash is selected, use configured PSK as retained PSK. Check the size of interchange PSK to determine cipher suite. Calculate CRC-32 bytes to ensure validity of PSK. Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:" if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made |
-
+
-### NvmePathStatsResponse
+### NvmeRemoteNamespace
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| controller_name_ref | [string](#string) | | controller through which the namespace is visible |
+| nsid | [int32](#int32) | | NSID |
+| nguid | [string](#string) | | Globally unique identifier for the namespace |
+| eui64 | [int64](#int64) | | 64bit Extended unique identifier for the namespace mandatory if guid is not specified |
+| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | Globally unique identifier for the namespace |
-
+
-### NvmeRemoteController
+### ResetNvmeRemoteControllerRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| hdgst | [bool](#bool) | | |
-| ddgst | [bool](#bool) | | |
-| multipath | [NvmeMultipath](#opi_api-storage-v1-NvmeMultipath) | | |
-| io_queues_count | [int64](#int64) | | |
-| queue_size | [int64](#int64) | | |
-| psk | [bytes](#bytes) | | Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK. Use PSK interchange format with base64 encoding as input. Also use information about hash function in interchange format for retained PSK generation. If no hash is selected, use configured PSK as retained PSK. Check the size of interchange PSK to determine cipher suite. Calculate CRC-32 bytes to ensure validity of PSK. Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:" if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made |
+| name | [string](#string) | | |
-
+
-### NvmeRemoteControllerResetRequest
+### StatsNvmePathRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | object's unique identifier |
+| name | [string](#string) | | |
-
+
-### NvmeRemoteControllerStatsRequest
+### StatsNvmePathResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | object's unique identifier |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
-
+
-### NvmeRemoteControllerStatsResponse
+### StatsNvmeRemoteControllerRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | |
-
+
-### NvmeRemoteNamespace
+### StatsNvmeRemoteControllerResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | user can only set {resource}_id on the Create request object |
-| controller_name_ref | [string](#string) | | controller through which the namespace is visible |
-| nsid | [int32](#int32) | | NSID |
-| nguid | [string](#string) | | Globally unique identifier for the namespace |
-| eui64 | [int64](#int64) | | 64bit Extended unique identifier for the namespace mandatory if guid is not specified |
-| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | Globally unique identifier for the namespace |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -1027,15 +1025,15 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b
| UpdateNvmeRemoteController | [UpdateNvmeRemoteControllerRequest](#opi_api-storage-v1-UpdateNvmeRemoteControllerRequest) | [NvmeRemoteController](#opi_api-storage-v1-NvmeRemoteController) | |
| ListNvmeRemoteControllers | [ListNvmeRemoteControllersRequest](#opi_api-storage-v1-ListNvmeRemoteControllersRequest) | [ListNvmeRemoteControllersResponse](#opi_api-storage-v1-ListNvmeRemoteControllersResponse) | |
| GetNvmeRemoteController | [GetNvmeRemoteControllerRequest](#opi_api-storage-v1-GetNvmeRemoteControllerRequest) | [NvmeRemoteController](#opi_api-storage-v1-NvmeRemoteController) | |
-| NvmeRemoteControllerReset | [NvmeRemoteControllerResetRequest](#opi_api-storage-v1-NvmeRemoteControllerResetRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
-| NvmeRemoteControllerStats | [NvmeRemoteControllerStatsRequest](#opi_api-storage-v1-NvmeRemoteControllerStatsRequest) | [NvmeRemoteControllerStatsResponse](#opi_api-storage-v1-NvmeRemoteControllerStatsResponse) | |
+| ResetNvmeRemoteController | [ResetNvmeRemoteControllerRequest](#opi_api-storage-v1-ResetNvmeRemoteControllerRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
+| StatsNvmeRemoteController | [StatsNvmeRemoteControllerRequest](#opi_api-storage-v1-StatsNvmeRemoteControllerRequest) | [StatsNvmeRemoteControllerResponse](#opi_api-storage-v1-StatsNvmeRemoteControllerResponse) | |
| ListNvmeRemoteNamespaces | [ListNvmeRemoteNamespacesRequest](#opi_api-storage-v1-ListNvmeRemoteNamespacesRequest) | [ListNvmeRemoteNamespacesResponse](#opi_api-storage-v1-ListNvmeRemoteNamespacesResponse) | |
| CreateNvmePath | [CreateNvmePathRequest](#opi_api-storage-v1-CreateNvmePathRequest) | [NvmePath](#opi_api-storage-v1-NvmePath) | |
| DeleteNvmePath | [DeleteNvmePathRequest](#opi_api-storage-v1-DeleteNvmePathRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
| UpdateNvmePath | [UpdateNvmePathRequest](#opi_api-storage-v1-UpdateNvmePathRequest) | [NvmePath](#opi_api-storage-v1-NvmePath) | |
| ListNvmePaths | [ListNvmePathsRequest](#opi_api-storage-v1-ListNvmePathsRequest) | [ListNvmePathsResponse](#opi_api-storage-v1-ListNvmePathsResponse) | |
| GetNvmePath | [GetNvmePathRequest](#opi_api-storage-v1-GetNvmePathRequest) | [NvmePath](#opi_api-storage-v1-NvmePath) | |
-| NvmePathStats | [NvmePathStatsRequest](#opi_api-storage-v1-NvmePathStatsRequest) | [NvmePathStatsResponse](#opi_api-storage-v1-NvmePathStatsResponse) | |
+| StatsNvmePath | [StatsNvmePathRequest](#opi_api-storage-v1-StatsNvmePathRequest) | [StatsNvmePathResponse](#opi_api-storage-v1-StatsNvmePathResponse) | |
@@ -1329,211 +1327,209 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b
-
+
-### NvmeControllerStatsRequest
+### NvmeControllerStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
+| active | [bool](#bool) | | Device is in use by host nvme driver |
-
+
-### NvmeControllerStatsResponse
+### NvmeNamespace
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| spec | [NvmeNamespaceSpec](#opi_api-storage-v1-NvmeNamespaceSpec) | | spec holds configurable values |
+| status | [NvmeNamespaceStatus](#opi_api-storage-v1-NvmeNamespaceStatus) | | status holds server generated values |
-
+
-### NvmeControllerStatus
+### NvmeNamespaceSpec
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| active | [bool](#bool) | | Device is in use by host nvme driver |
+| subsystem_name_ref | [string](#string) | | subsystem for this namespace |
+| host_nsid | [int32](#int32) | | NSID present to the host by the Nvme PCIe controller. If not provided, then the controller will assign an unused NSID within the max namespace range - auto assigned nsid may not work for live migration |
+| nguid | [string](#string) | | Globally unique identifier for the namespace |
+| eui64 | [int64](#int64) | | 64bit Extended unique identifier for the namespace mandatory if guid is not specified |
+| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | Globally unique identifier for the namespace |
+| volume_name_ref | [string](#string) | | The back/middle-end volume to back this namespace. |
-
+
-### NvmeNamespace
+### NvmeNamespaceStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| spec | [NvmeNamespaceSpec](#opi_api-storage-v1-NvmeNamespaceSpec) | | spec holds configurable values |
-| status | [NvmeNamespaceStatus](#opi_api-storage-v1-NvmeNamespaceStatus) | | status holds server generated values |
+| pci_state | [NvmeNamespacePciState](#opi_api-storage-v1-NvmeNamespacePciState) | | config state of the namespace object, (enabled, disable, deleting) |
+| pci_oper_state | [NvmeNamespacePciOperState](#opi_api-storage-v1-NvmeNamespacePciOperState) | | Operational state of the namespace object, (connected, disconnected) |
-
+
-### NvmeNamespaceSpec
+### NvmeSubsystem
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| subsystem_name_ref | [string](#string) | | subsystem for this namespace |
-| host_nsid | [int32](#int32) | | NSID present to the host by the Nvme PCIe controller. If not provided, then the controller will assign an unused NSID within the max namespace range - auto assigned nsid may not work for live migration |
-| nguid | [string](#string) | | Globally unique identifier for the namespace |
-| eui64 | [int64](#int64) | | 64bit Extended unique identifier for the namespace mandatory if guid is not specified |
-| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | Globally unique identifier for the namespace |
-| volume_name_ref | [string](#string) | | The back/middle-end volume to back this namespace. |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| spec | [NvmeSubsystemSpec](#opi_api-storage-v1-NvmeSubsystemSpec) | | spec holds configurable values |
+| status | [NvmeSubsystemStatus](#opi_api-storage-v1-NvmeSubsystemStatus) | | status holds server generated values |
-
+
-### NvmeNamespaceStatsRequest
+### NvmeSubsystemSpec
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
+| nqn | [string](#string) | | Nvme subsystem NQN to which the controller belongs Refer to the NQN format in the Nvme base specifications, must not exceed 'NSV_NVME_SUBSYSTEM_NQN_LEN' bytes |
+| serial_number | [string](#string) | | serial number must not exceed 'NSV_CTRLR_SERIAL_NO_LEN' bytes |
+| model_number | [string](#string) | | model number, must not exceed 'NSV_CTRLR_MODEL_NO_LEN' bytes |
+| max_namespaces | [int64](#int64) | | maximum namespaces within a subsystem |
-
+
-### NvmeNamespaceStatsResponse
+### NvmeSubsystemStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| firmware_revision | [string](#string) | | firmware revision, must not exceed 'NSV_CTRLR_FW_REV_LEN' |
+| fru_guid | [bytes](#bytes) | | FRU identfier, 16bytes opaque identity for the type of unit |
-
+
-### NvmeNamespaceStatus
+### StatsNvmeControllerRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| pci_state | [NvmeNamespacePciState](#opi_api-storage-v1-NvmeNamespacePciState) | | config state of the namespace object, (enabled, disable, deleting) |
-| pci_oper_state | [NvmeNamespacePciOperState](#opi_api-storage-v1-NvmeNamespacePciOperState) | | Operational state of the namespace object, (connected, disconnected) |
+| name | [string](#string) | | |
-
+
-### NvmeSubsystem
+### StatsNvmeControllerResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| spec | [NvmeSubsystemSpec](#opi_api-storage-v1-NvmeSubsystemSpec) | | spec holds configurable values |
-| status | [NvmeSubsystemStatus](#opi_api-storage-v1-NvmeSubsystemStatus) | | status holds server generated values |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
-
+
-### NvmeSubsystemSpec
+### StatsNvmeNamespaceRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| nqn | [string](#string) | | Nvme subsystem NQN to which the controller belongs Refer to the NQN format in the Nvme base specifications, must not exceed 'NSV_NVME_SUBSYSTEM_NQN_LEN' bytes |
-| serial_number | [string](#string) | | serial number must not exceed 'NSV_CTRLR_SERIAL_NO_LEN' bytes |
-| model_number | [string](#string) | | model number, must not exceed 'NSV_CTRLR_MODEL_NO_LEN' bytes |
-| max_namespaces | [int64](#int64) | | maximum namespaces within a subsystem |
+| name | [string](#string) | | |
-
+
-### NvmeSubsystemStatsRequest
+### StatsNvmeNamespaceResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| subsystem_name_ref | [string](#string) | | |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
-
+
-### NvmeSubsystemStatsResponse
+### StatsNvmeSubsystemRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | |
-
+
-### NvmeSubsystemStatus
+### StatsNvmeSubsystemResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| firmware_revision | [string](#string) | | firmware revision, must not exceed 'NSV_CTRLR_FW_REV_LEN' |
-| fru_guid | [bytes](#bytes) | | FRU identfier, 16bytes opaque identity for the type of unit |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -1636,19 +1632,19 @@ Front End (host-facing) APIs. Mostly used for Nvme/PCIe emulation and host prese
| UpdateNvmeSubsystem | [UpdateNvmeSubsystemRequest](#opi_api-storage-v1-UpdateNvmeSubsystemRequest) | [NvmeSubsystem](#opi_api-storage-v1-NvmeSubsystem) | |
| ListNvmeSubsystems | [ListNvmeSubsystemsRequest](#opi_api-storage-v1-ListNvmeSubsystemsRequest) | [ListNvmeSubsystemsResponse](#opi_api-storage-v1-ListNvmeSubsystemsResponse) | |
| GetNvmeSubsystem | [GetNvmeSubsystemRequest](#opi_api-storage-v1-GetNvmeSubsystemRequest) | [NvmeSubsystem](#opi_api-storage-v1-NvmeSubsystem) | |
-| NvmeSubsystemStats | [NvmeSubsystemStatsRequest](#opi_api-storage-v1-NvmeSubsystemStatsRequest) | [NvmeSubsystemStatsResponse](#opi_api-storage-v1-NvmeSubsystemStatsResponse) | |
+| StatsNvmeSubsystem | [StatsNvmeSubsystemRequest](#opi_api-storage-v1-StatsNvmeSubsystemRequest) | [StatsNvmeSubsystemResponse](#opi_api-storage-v1-StatsNvmeSubsystemResponse) | |
| CreateNvmeController | [CreateNvmeControllerRequest](#opi_api-storage-v1-CreateNvmeControllerRequest) | [NvmeController](#opi_api-storage-v1-NvmeController) | |
| DeleteNvmeController | [DeleteNvmeControllerRequest](#opi_api-storage-v1-DeleteNvmeControllerRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | Fails if there are any associated objects |
| UpdateNvmeController | [UpdateNvmeControllerRequest](#opi_api-storage-v1-UpdateNvmeControllerRequest) | [NvmeController](#opi_api-storage-v1-NvmeController) | |
| ListNvmeControllers | [ListNvmeControllersRequest](#opi_api-storage-v1-ListNvmeControllersRequest) | [ListNvmeControllersResponse](#opi_api-storage-v1-ListNvmeControllersResponse) | |
| GetNvmeController | [GetNvmeControllerRequest](#opi_api-storage-v1-GetNvmeControllerRequest) | [NvmeController](#opi_api-storage-v1-NvmeController) | |
-| NvmeControllerStats | [NvmeControllerStatsRequest](#opi_api-storage-v1-NvmeControllerStatsRequest) | [NvmeControllerStatsResponse](#opi_api-storage-v1-NvmeControllerStatsResponse) | |
+| StatsNvmeController | [StatsNvmeControllerRequest](#opi_api-storage-v1-StatsNvmeControllerRequest) | [StatsNvmeControllerResponse](#opi_api-storage-v1-StatsNvmeControllerResponse) | |
| CreateNvmeNamespace | [CreateNvmeNamespaceRequest](#opi_api-storage-v1-CreateNvmeNamespaceRequest) | [NvmeNamespace](#opi_api-storage-v1-NvmeNamespace) | |
| DeleteNvmeNamespace | [DeleteNvmeNamespaceRequest](#opi_api-storage-v1-DeleteNvmeNamespaceRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
| UpdateNvmeNamespace | [UpdateNvmeNamespaceRequest](#opi_api-storage-v1-UpdateNvmeNamespaceRequest) | [NvmeNamespace](#opi_api-storage-v1-NvmeNamespace) | |
| ListNvmeNamespaces | [ListNvmeNamespacesRequest](#opi_api-storage-v1-ListNvmeNamespacesRequest) | [ListNvmeNamespacesResponse](#opi_api-storage-v1-ListNvmeNamespacesResponse) | |
| GetNvmeNamespace | [GetNvmeNamespaceRequest](#opi_api-storage-v1-GetNvmeNamespaceRequest) | [NvmeNamespace](#opi_api-storage-v1-NvmeNamespace) | |
-| NvmeNamespaceStats | [NvmeNamespaceStatsRequest](#opi_api-storage-v1-NvmeNamespaceStatsRequest) | [NvmeNamespaceStatsResponse](#opi_api-storage-v1-NvmeNamespaceStatsResponse) | |
+| StatsNvmeNamespace | [StatsNvmeNamespaceRequest](#opi_api-storage-v1-StatsNvmeNamespaceRequest) | [StatsNvmeNamespaceResponse](#opi_api-storage-v1-StatsNvmeNamespaceResponse) | |
@@ -1741,68 +1737,67 @@ Front End (host-facing) APIs. Mostly used for Nvme/PCIe emulation and host prese
-
+
-### UpdateVirtioBlkRequest
+### StatsVirtioBlkRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| virtio_blk | [VirtioBlk](#opi_api-storage-v1-VirtioBlk) | | The object's `name` field is used to identify the object to be updated. |
-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
-| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
+| name | [string](#string) | | |
-
+
-### VirtioBlk
+### StatsVirtioBlkResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| pcie_id | [PciEndpoint](#opi_api-storage-v1-PciEndpoint) | | The PCI endpoint where this device should appear |
-| volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | The back/middle-end volume to back this controller |
-| max_io_qps | [int64](#int64) | | |
-| min_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | min QoS limits for the virtio-blk device |
-| max_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | max QoS limits for the virtio-blk device |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
-
+
-### VirtioBlkStatsRequest
+### UpdateVirtioBlkRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| virtio_blk | [VirtioBlk](#opi_api-storage-v1-VirtioBlk) | | The object's `name` field is used to identify the object to be updated. |
+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
+| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
-
+
-### VirtioBlkStatsResponse
+### VirtioBlk
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| pcie_id | [PciEndpoint](#opi_api-storage-v1-PciEndpoint) | | The PCI endpoint where this device should appear |
+| volume_name_ref | [string](#string) | | The back/middle-end volume to back this controller |
+| max_io_qps | [int64](#int64) | | |
+| min_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | min QoS limits for the virtio-blk device |
+| max_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | max QoS limits for the virtio-blk device |
@@ -1827,7 +1822,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and
| UpdateVirtioBlk | [UpdateVirtioBlkRequest](#opi_api-storage-v1-UpdateVirtioBlkRequest) | [VirtioBlk](#opi_api-storage-v1-VirtioBlk) | |
| ListVirtioBlks | [ListVirtioBlksRequest](#opi_api-storage-v1-ListVirtioBlksRequest) | [ListVirtioBlksResponse](#opi_api-storage-v1-ListVirtioBlksResponse) | |
| GetVirtioBlk | [GetVirtioBlkRequest](#opi_api-storage-v1-GetVirtioBlkRequest) | [VirtioBlk](#opi_api-storage-v1-VirtioBlk) | |
-| VirtioBlkStats | [VirtioBlkStatsRequest](#opi_api-storage-v1-VirtioBlkStatsRequest) | [VirtioBlkStatsResponse](#opi_api-storage-v1-VirtioBlkStatsResponse) | |
+| StatsVirtioBlk | [StatsVirtioBlkRequest](#opi_api-storage-v1-StatsVirtioBlkRequest) | [StatsVirtioBlkResponse](#opi_api-storage-v1-StatsVirtioBlkResponse) | |
@@ -2096,99 +2091,90 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and
-
+
-### UpdateVirtioScsiControllerRequest
+### StatsVirtioScsiControllerRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| virtio_scsi_controller | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | | The object's `name` field is used to identify the object to be updated. |
-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
-| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
+| name | [string](#string) | | |
-
+
-### UpdateVirtioScsiLunRequest
+### StatsVirtioScsiControllerResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| virtio_scsi_lun | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | | The object's `name` field is used to identify the object to be updated. |
-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
-| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
-
+
-### UpdateVirtioScsiTargetRequest
+### StatsVirtioScsiLunRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| virtio_scsi_target | [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget) | | The object's `name` field is used to identify the object to be updated. |
-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
-| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
+| name | [string](#string) | | |
+| controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-
+
-### VirtioScsiController
+### StatsVirtioScsiLunResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| pcie_id | [PciEndpoint](#opi_api-storage-v1-PciEndpoint) | | xPU's PCI ID for the controller |
-| min_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | min QoS limits for the controller |
-| max_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | max QoS limits for the controller |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
-
+
-### VirtioScsiControllerStatsRequest
+### StatsVirtioScsiTargetRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| name | [string](#string) | | |
-
+
-### VirtioScsiControllerStatsResponse
+### StatsVirtioScsiTargetResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -2196,96 +2182,102 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and
-
+
-### VirtioScsiLun
+### UpdateVirtioScsiControllerRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| target_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | The target that this LUN is in |
-| volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | The middle/back-end volume for this LLUN |
+| virtio_scsi_controller | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | | The object's `name` field is used to identify the object to be updated. |
+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
+| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
-
+
-### VirtioScsiLunStatsRequest
+### UpdateVirtioScsiLunRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-| lun_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| virtio_scsi_lun | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | | The object's `name` field is used to identify the object to be updated. |
+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
+| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
-
+
-### VirtioScsiLunStatsResponse
+### UpdateVirtioScsiTargetRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| virtio_scsi_target | [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget) | | The object's `name` field is used to identify the object to be updated. |
+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
+| allow_missing | [bool](#bool) | | If set to true, and the object is not found, a new object will be created. In this situation, `update_mask` is ignored. |
-
+
-### VirtioScsiTarget
+### VirtioScsiController
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| max_luns | [int32](#int32) | | maximum LUNs within a target |
+| pcie_id | [PciEndpoint](#opi_api-storage-v1-PciEndpoint) | | xPU's PCI ID for the controller |
+| min_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | min QoS limits for the controller |
+| max_limit | [QosLimit](#opi_api-storage-v1-QosLimit) | | max QoS limits for the controller |
-
+
-### VirtioScsiTargetStatsRequest
+### VirtioScsiLun
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| target_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| target_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | The target that this LUN is in |
+| volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | The middle/back-end volume for this LLUN |
-
+
-### VirtioScsiTargetStatsResponse
+### VirtioScsiTarget
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
+| max_luns | [int32](#int32) | | maximum LUNs within a target |
@@ -2310,19 +2302,19 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre
| UpdateVirtioScsiTarget | [UpdateVirtioScsiTargetRequest](#opi_api-storage-v1-UpdateVirtioScsiTargetRequest) | [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget) | |
| ListVirtioScsiTargets | [ListVirtioScsiTargetsRequest](#opi_api-storage-v1-ListVirtioScsiTargetsRequest) | [ListVirtioScsiTargetsResponse](#opi_api-storage-v1-ListVirtioScsiTargetsResponse) | |
| GetVirtioScsiTarget | [GetVirtioScsiTargetRequest](#opi_api-storage-v1-GetVirtioScsiTargetRequest) | [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget) | |
-| VirtioScsiTargetStats | [VirtioScsiTargetStatsRequest](#opi_api-storage-v1-VirtioScsiTargetStatsRequest) | [VirtioScsiTargetStatsResponse](#opi_api-storage-v1-VirtioScsiTargetStatsResponse) | |
+| StatsVirtioScsiTarget | [StatsVirtioScsiTargetRequest](#opi_api-storage-v1-StatsVirtioScsiTargetRequest) | [StatsVirtioScsiTargetResponse](#opi_api-storage-v1-StatsVirtioScsiTargetResponse) | |
| CreateVirtioScsiController | [CreateVirtioScsiControllerRequest](#opi_api-storage-v1-CreateVirtioScsiControllerRequest) | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | |
| DeleteVirtioScsiController | [DeleteVirtioScsiControllerRequest](#opi_api-storage-v1-DeleteVirtioScsiControllerRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
| UpdateVirtioScsiController | [UpdateVirtioScsiControllerRequest](#opi_api-storage-v1-UpdateVirtioScsiControllerRequest) | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | |
| ListVirtioScsiControllers | [ListVirtioScsiControllersRequest](#opi_api-storage-v1-ListVirtioScsiControllersRequest) | [ListVirtioScsiControllersResponse](#opi_api-storage-v1-ListVirtioScsiControllersResponse) | |
| GetVirtioScsiController | [GetVirtioScsiControllerRequest](#opi_api-storage-v1-GetVirtioScsiControllerRequest) | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | |
-| VirtioScsiControllerStats | [VirtioScsiControllerStatsRequest](#opi_api-storage-v1-VirtioScsiControllerStatsRequest) | [VirtioScsiControllerStatsResponse](#opi_api-storage-v1-VirtioScsiControllerStatsResponse) | |
+| StatsVirtioScsiController | [StatsVirtioScsiControllerRequest](#opi_api-storage-v1-StatsVirtioScsiControllerRequest) | [StatsVirtioScsiControllerResponse](#opi_api-storage-v1-StatsVirtioScsiControllerResponse) | |
| CreateVirtioScsiLun | [CreateVirtioScsiLunRequest](#opi_api-storage-v1-CreateVirtioScsiLunRequest) | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | |
| DeleteVirtioScsiLun | [DeleteVirtioScsiLunRequest](#opi_api-storage-v1-DeleteVirtioScsiLunRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
| UpdateVirtioScsiLun | [UpdateVirtioScsiLunRequest](#opi_api-storage-v1-UpdateVirtioScsiLunRequest) | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | |
| ListVirtioScsiLuns | [ListVirtioScsiLunsRequest](#opi_api-storage-v1-ListVirtioScsiLunsRequest) | [ListVirtioScsiLunsResponse](#opi_api-storage-v1-ListVirtioScsiLunsResponse) | |
| GetVirtioScsiLun | [GetVirtioScsiLunRequest](#opi_api-storage-v1-GetVirtioScsiLunRequest) | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | |
-| VirtioScsiLunStats | [VirtioScsiLunStatsRequest](#opi_api-storage-v1-VirtioScsiLunStatsRequest) | [VirtioScsiLunStatsResponse](#opi_api-storage-v1-VirtioScsiLunStatsResponse) | |
+| StatsVirtioScsiLun | [StatsVirtioScsiLunRequest](#opi_api-storage-v1-StatsVirtioScsiLunRequest) | [StatsVirtioScsiLunResponse](#opi_api-storage-v1-StatsVirtioScsiLunResponse) | |
@@ -2376,7 +2368,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | name is an opaque object handle that is not user settable. name will be returned with created object user can only set {resource}_id on the Create request object |
-| volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | The back/middle-end volume to back this volume |
+| volume_name_ref | [string](#string) | | The back/middle-end volume to back this volume |
| key | [bytes](#bytes) | | Key to be used for encryption |
| cipher | [EncryptionType](#opi_api-storage-v1-EncryptionType) | | Cipher to use |
@@ -2385,79 +2377,78 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre
-
+
-### EncryptedVolumeStatsRequest
+### GetEncryptedVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| encrypted_volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| name | [string](#string) | | |
-
+
-### EncryptedVolumeStatsResponse
+### ListEncryptedVolumesRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| encrypted_volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
-| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
+| parent | [string](#string) | | |
+| page_size | [int32](#int32) | | |
+| page_token | [string](#string) | | |
-
+
-### GetEncryptedVolumeRequest
+### ListEncryptedVolumesResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
+| encrypted_volumes | [EncryptedVolume](#opi_api-storage-v1-EncryptedVolume) | repeated | |
+| next_page_token | [string](#string) | | |
-
+
-### ListEncryptedVolumesRequest
+### StatsEncryptedVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | |
-| page_size | [int32](#int32) | | |
-| page_token | [string](#string) | | |
+| name | [string](#string) | | |
-
+
-### ListEncryptedVolumesResponse
+### StatsEncryptedVolumeResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| encrypted_volumes | [EncryptedVolume](#opi_api-storage-v1-EncryptedVolume) | repeated | |
-| next_page_token | [string](#string) | | |
+| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -2499,7 +2490,7 @@ Middle End (Storage Services) APIs. For example, encryption, compression, raid,
| UpdateEncryptedVolume | [UpdateEncryptedVolumeRequest](#opi_api-storage-v1-UpdateEncryptedVolumeRequest) | [EncryptedVolume](#opi_api-storage-v1-EncryptedVolume) | |
| ListEncryptedVolumes | [ListEncryptedVolumesRequest](#opi_api-storage-v1-ListEncryptedVolumesRequest) | [ListEncryptedVolumesResponse](#opi_api-storage-v1-ListEncryptedVolumesResponse) | |
| GetEncryptedVolume | [GetEncryptedVolumeRequest](#opi_api-storage-v1-GetEncryptedVolumeRequest) | [EncryptedVolume](#opi_api-storage-v1-EncryptedVolume) | |
-| EncryptedVolumeStats | [EncryptedVolumeStatsRequest](#opi_api-storage-v1-EncryptedVolumeStatsRequest) | [EncryptedVolumeStatsResponse](#opi_api-storage-v1-EncryptedVolumeStatsResponse) | |
+| StatsEncryptedVolume | [StatsEncryptedVolumeRequest](#opi_api-storage-v1-StatsEncryptedVolumeRequest) | [StatsEncryptedVolumeResponse](#opi_api-storage-v1-StatsEncryptedVolumeResponse) | |
@@ -2610,30 +2601,29 @@ Middle End (Storage Services) APIs. For example, encryption, compression, raid,
-
+
-### QosVolumeStatsRequest
+### StatsQosVolumeRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
+| name | [string](#string) | | |
-
+
-### QosVolumeStatsResponse
+### StatsQosVolumeResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | |
| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | |
@@ -2676,7 +2666,7 @@ Middle End (Storage Services) APIs. For example, encryption, compression, raid,
| UpdateQosVolume | [UpdateQosVolumeRequest](#opi_api-storage-v1-UpdateQosVolumeRequest) | [QosVolume](#opi_api-storage-v1-QosVolume) | |
| ListQosVolumes | [ListQosVolumesRequest](#opi_api-storage-v1-ListQosVolumesRequest) | [ListQosVolumesResponse](#opi_api-storage-v1-ListQosVolumesResponse) | |
| GetQosVolume | [GetQosVolumeRequest](#opi_api-storage-v1-GetQosVolumeRequest) | [QosVolume](#opi_api-storage-v1-QosVolume) | |
-| QosVolumeStats | [QosVolumeStatsRequest](#opi_api-storage-v1-QosVolumeStatsRequest) | [QosVolumeStatsResponse](#opi_api-storage-v1-QosVolumeStatsResponse) | |
+| StatsQosVolume | [StatsQosVolumeRequest](#opi_api-storage-v1-StatsQosVolumeRequest) | [StatsQosVolumeResponse](#opi_api-storage-v1-StatsQosVolumeResponse) | |
diff --git a/storage/v1alpha1/backend_aio.proto b/storage/v1alpha1/backend_aio.proto
index e5c62902..2af2503b 100644
--- a/storage/v1alpha1/backend_aio.proto
+++ b/storage/v1alpha1/backend_aio.proto
@@ -17,7 +17,6 @@ import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/field_mask.proto";
-import "object_key.proto";
import "opicommon.proto";
import "uuid.proto";
@@ -32,7 +31,7 @@ service AioVolumeService {
}
rpc DeleteAioVolume (DeleteAioVolumeRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=subsystems}/{subsystem}"
+ delete: "/v1/{name=AioVolumes/*}"
};
option (google.api.method_signature) = "name";
}
@@ -51,11 +50,16 @@ service AioVolumeService {
}
rpc GetAioVolume (GetAioVolumeRequest) returns (AioVolume) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{subsystem}"
+ get: "/v1/{name=AioVolumes/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsAioVolume (StatsAioVolumeRequest) returns (StatsAioVolumeResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=AioVolumes/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc AioVolumeStats (AioVolumeStatsRequest) returns (AioVolumeStatsResponse) {}
}
message AioVolume {
@@ -67,7 +71,11 @@ message AioVolume {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/AioVolume"
+ ];
int64 block_size = 2;
int64 blocks_count = 3;
@@ -76,8 +84,8 @@ message AioVolume {
}
message CreateAioVolumeRequest {
- AioVolume aio_volume = 2 [(google.api.field_behavior) = REQUIRED];
- string aio_volume_id = 3;
+ AioVolume aio_volume = 1 [(google.api.field_behavior) = REQUIRED];
+ string aio_volume_id = 2;
}
message DeleteAioVolumeRequest {
@@ -121,12 +129,14 @@ message GetAioVolumeRequest {
];
}
-message AioVolumeStatsRequest {
- common.v1.ObjectKey handle = 1;
+message StatsAioVolumeRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/AioVolume"
+ ];
}
-message AioVolumeStatsResponse {
- common.v1.ObjectKey handle = 1;
- VolumeStats stats = 2;
+message StatsAioVolumeResponse {
+ VolumeStats stats = 1;
}
diff --git a/storage/v1alpha1/backend_null.proto b/storage/v1alpha1/backend_null.proto
index 3ad6372f..2b6da518 100755
--- a/storage/v1alpha1/backend_null.proto
+++ b/storage/v1alpha1/backend_null.proto
@@ -17,7 +17,6 @@ import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/field_mask.proto";
-import "object_key.proto";
import "opicommon.proto";
import "uuid.proto";
@@ -32,7 +31,7 @@ service NullVolumeService {
}
rpc DeleteNullVolume (DeleteNullVolumeRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=subsystems}/{subsystem}"
+ delete: "/v1/{name=NullVolumes/*}"
};
option (google.api.method_signature) = "name";
}
@@ -51,11 +50,16 @@ service NullVolumeService {
}
rpc GetNullVolume (GetNullVolumeRequest) returns (NullVolume) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{subsystem}"
+ get: "/v1/{name=NullVolumes/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsNullVolume (StatsNullVolumeRequest) returns (StatsNullVolumeResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=NullVolumes/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc NullVolumeStats (NullVolumeStatsRequest) returns (NullVolumeStatsResponse) {}
}
message NullVolume {
@@ -67,15 +71,19 @@ message NullVolume {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NullVolume"
+ ];
int64 block_size = 2;
int64 blocks_count = 3;
common.v1.Uuid uuid = 4;
}
message CreateNullVolumeRequest {
- NullVolume null_volume = 2 [(google.api.field_behavior) = REQUIRED];
- string null_volume_id = 3;
+ NullVolume null_volume = 1 [(google.api.field_behavior) = REQUIRED];
+ string null_volume_id = 2;
}
message DeleteNullVolumeRequest {
@@ -119,12 +127,14 @@ message GetNullVolumeRequest {
];
}
-message NullVolumeStatsRequest {
- common.v1.ObjectKey handle = 1;
+message StatsNullVolumeRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NullVolume"
+ ];
}
-message NullVolumeStatsResponse {
- common.v1.ObjectKey handle = 1;
- VolumeStats stats = 2;
+message StatsNullVolumeResponse {
+ VolumeStats stats = 1;
}
diff --git a/storage/v1alpha1/backend_nvme_tcp.proto b/storage/v1alpha1/backend_nvme_tcp.proto
index 7d3de69b..87b682a3 100755
--- a/storage/v1alpha1/backend_nvme_tcp.proto
+++ b/storage/v1alpha1/backend_nvme_tcp.proto
@@ -31,7 +31,7 @@ service NvmeRemoteControllerService {
}
rpc DeleteNvmeRemoteController (DeleteNvmeRemoteControllerRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=subsystems}/{subsystem}"
+ delete: "/v1/{name=NvmeRemoteControllers/*}"
};
option (google.api.method_signature) = "name";
}
@@ -50,12 +50,23 @@ service NvmeRemoteControllerService {
}
rpc GetNvmeRemoteController (GetNvmeRemoteControllerRequest) returns (NvmeRemoteController) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{subsystem}"
+ get: "/v1/{name=NvmeRemoteControllers/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc ResetNvmeRemoteController (ResetNvmeRemoteControllerRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v1/{name=NvmeRemoteControllers/*}:reset"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsNvmeRemoteController (StatsNvmeRemoteControllerRequest) returns (StatsNvmeRemoteControllerResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=NvmeRemoteControllers/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc NvmeRemoteControllerReset (NvmeRemoteControllerResetRequest) returns (google.protobuf.Empty) {}
- rpc NvmeRemoteControllerStats (NvmeRemoteControllerStatsRequest) returns (NvmeRemoteControllerStatsResponse) {}
rpc ListNvmeRemoteNamespaces (ListNvmeRemoteNamespacesRequest) returns (ListNvmeRemoteNamespacesResponse) {
option (google.api.http) = {
@@ -73,7 +84,7 @@ service NvmeRemoteControllerService {
}
rpc DeleteNvmePath (DeleteNvmePathRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=subsystems}/{subsystem}"
+ delete: "/v1/{name=NvmePaths/*}"
};
option (google.api.method_signature) = "name";
}
@@ -92,11 +103,16 @@ service NvmeRemoteControllerService {
}
rpc GetNvmePath (GetNvmePathRequest) returns (NvmePath) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{subsystem}"
+ get: "/v1/{name=NvmePaths/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsNvmePath (StatsNvmePathRequest) returns (StatsNvmePathResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=NvmePaths/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc NvmePathStats (NvmePathStatsRequest) returns (NvmePathStatsResponse) {}
}
message NvmeRemoteController {
@@ -108,7 +124,11 @@ message NvmeRemoteController {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
+ ];
bool hdgst = 2;
bool ddgst = 3;
@@ -134,10 +154,19 @@ message NvmePath {
pattern: "volumes/{volume}"
};
+ // name is an opaque object handle that is not user settable.
+ // name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmePath"
+ ];
- string controller_name_ref = 2;
+ string controller_name_ref = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
+ ];
NvmeTransportType trtype = 3;
NvmeAddressFamily adrfam = 4;
@@ -168,11 +197,20 @@ message NvmeRemoteNamespace {
pattern: "volumes/{volume}"
};
+ // name is an opaque object handle that is not user settable.
+ // name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteNamespace"
+ ];
// controller through which the namespace is visible
- string controller_name_ref = 2;
+ string controller_name_ref = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
+ ];
// NSID
int32 nsid = 3;
@@ -191,12 +229,11 @@ message NvmeRemoteNamespace {
}
message CreateNvmeRemoteControllerRequest {
- NvmeRemoteController nvme_remote_controller = 2 [(google.api.field_behavior) = REQUIRED];
- string nvme_remote_controller_id = 3;
+ NvmeRemoteController nvme_remote_controller = 1 [(google.api.field_behavior) = REQUIRED];
+ string nvme_remote_controller_id = 2;
}
message DeleteNvmeRemoteControllerRequest {
- // object's unique identifier
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
@@ -231,24 +268,27 @@ message ListNvmeRemoteControllersResponse {
}
message GetNvmeRemoteControllerRequest {
- // object's unique identifier
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
];
}
-message NvmeRemoteControllerResetRequest {
- // object's unique identifier
- string name = 1;
+message ResetNvmeRemoteControllerRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
+ ];
}
-message NvmeRemoteControllerStatsRequest {
- // object's unique identifier
- string name = 1;
+message StatsNvmeRemoteControllerRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeRemoteController"
+ ];
}
-message NvmeRemoteControllerStatsResponse {
+message StatsNvmeRemoteControllerResponse {
VolumeStats stats = 1;
}
@@ -309,19 +349,20 @@ message ListNvmePathsResponse {
}
message GetNvmePathRequest {
- // object's unique identifier
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type = "opi_api.storage.v1/NvmePath"
];
}
-message NvmePathStatsRequest {
- // object's unique identifier
- string name = 1;
+message StatsNvmePathRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmePath"
+ ];
}
-message NvmePathStatsResponse {
+message StatsNvmePathResponse {
VolumeStats stats = 1;
}
diff --git a/storage/v1alpha1/frontend_nvme_pcie.proto b/storage/v1alpha1/frontend_nvme_pcie.proto
index 6b61a6f5..804b5078 100755
--- a/storage/v1alpha1/frontend_nvme_pcie.proto
+++ b/storage/v1alpha1/frontend_nvme_pcie.proto
@@ -33,7 +33,7 @@ service FrontendNvmeService {
// Fails if there are any associated objects
rpc DeleteNvmeSubsystem (DeleteNvmeSubsystemRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=subsystems}/{subsystem}"
+ delete: "/v1/{name=NvmeSubsystems/*}"
};
option (google.api.method_signature) = "name";
}
@@ -52,11 +52,16 @@ service FrontendNvmeService {
}
rpc GetNvmeSubsystem (GetNvmeSubsystemRequest) returns (NvmeSubsystem) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{subsystem}"
+ get: "/v1/{name=NvmeSubsystems/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsNvmeSubsystem (StatsNvmeSubsystemRequest) returns (StatsNvmeSubsystemResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=NvmeSubsystems/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc NvmeSubsystemStats (NvmeSubsystemStatsRequest) returns (NvmeSubsystemStatsResponse) {}
rpc CreateNvmeController (CreateNvmeControllerRequest) returns (NvmeController) {
option (google.api.http) = {
@@ -68,7 +73,7 @@ service FrontendNvmeService {
// Fails if there are any associated objects
rpc DeleteNvmeController (DeleteNvmeControllerRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=controllers}/{controller}"
+ delete: "/v1/{name=NvmeControllers/*}"
};
option (google.api.method_signature) = "name";
}
@@ -87,11 +92,16 @@ service FrontendNvmeService {
}
rpc GetNvmeController (GetNvmeControllerRequest) returns (NvmeController) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{controller}"
+ get: "/v1/{name=NvmeControllers/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsNvmeController (StatsNvmeControllerRequest) returns (StatsNvmeControllerResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=NvmeControllers/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc NvmeControllerStats (NvmeControllerStatsRequest) returns (NvmeControllerStatsResponse) {}
rpc CreateNvmeNamespace (CreateNvmeNamespaceRequest) returns (NvmeNamespace) {
option (google.api.http) = {
@@ -102,7 +112,7 @@ service FrontendNvmeService {
}
rpc DeleteNvmeNamespace (DeleteNvmeNamespaceRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=namespaces}/{namespace}"
+ delete: "/v1/{name=NvmeNamespaces/*}"
};
option (google.api.method_signature) = "name";
}
@@ -121,11 +131,16 @@ service FrontendNvmeService {
}
rpc GetNvmeNamespace (GetNvmeNamespaceRequest) returns (NvmeNamespace) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{namespace}"
+ get: "/v1/{name=NvmeNamespaces/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsNvmeNamespace (StatsNvmeNamespaceRequest) returns (StatsNvmeNamespaceResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=NvmeNamespaces/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc NvmeNamespaceStats (NvmeNamespaceStatsRequest) returns (NvmeNamespaceStatsResponse) {}
}
message NvmeSubsystem {
@@ -137,7 +152,11 @@ message NvmeSubsystem {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeSubsystem"
+ ];
// spec holds configurable values
NvmeSubsystemSpec spec = 2;
@@ -179,7 +198,11 @@ message NvmeController {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeController"
+ ];
// spec holds configurable values
NvmeControllerSpec spec = 2;
@@ -194,7 +217,10 @@ message NvmeControllerSpec {
int32 nvme_controller_id = 1;
// subsystem information
- string subsystem_name_ref = 2;
+ string subsystem_name_ref = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeSubsystem"
+ ];
// xPU's PCI ID for the controller
PciEndpoint pcie_id = 3;
@@ -240,7 +266,11 @@ message NvmeNamespace {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeNamespace"
+ ];
// spec holds configurable values
NvmeNamespaceSpec spec = 2;
@@ -251,7 +281,10 @@ message NvmeNamespace {
message NvmeNamespaceSpec {
// subsystem for this namespace
- string subsystem_name_ref = 1;
+ string subsystem_name_ref = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeSubsystem"
+ ];
// NSID present to the host by the Nvme PCIe controller.
// If not provided, then the controller will assign an unused NSID
@@ -270,7 +303,7 @@ message NvmeNamespaceSpec {
common.v1.Uuid uuid = 5;
// The back/middle-end volume to back this namespace.
- string volume_name_ref = 6;
+ string volume_name_ref = 6 [ (google.api.field_behavior) = REQUIRED ];
}
message NvmeNamespaceStatus {
@@ -282,8 +315,8 @@ message NvmeNamespaceStatus {
}
message CreateNvmeSubsystemRequest {
- NvmeSubsystem nvme_subsystem = 2 [(google.api.field_behavior) = REQUIRED];
- string nvme_subsystem_id = 3;
+ NvmeSubsystem nvme_subsystem = 1 [(google.api.field_behavior) = REQUIRED];
+ string nvme_subsystem_id = 2;
}
message DeleteNvmeSubsystemRequest {
@@ -327,17 +360,20 @@ message GetNvmeSubsystemRequest {
];
}
-message NvmeSubsystemStatsRequest {
- string subsystem_name_ref = 1;
+message StatsNvmeSubsystemRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeSubsystem"
+ ];
}
-message NvmeSubsystemStatsResponse {
+message StatsNvmeSubsystemResponse {
VolumeStats stats = 1;
}
message CreateNvmeControllerRequest {
- NvmeController nvme_controller = 2 [(google.api.field_behavior) = REQUIRED];
- string nvme_controller_id = 3;
+ NvmeController nvme_controller = 1 [(google.api.field_behavior) = REQUIRED];
+ string nvme_controller_id = 2;
}
message DeleteNvmeControllerRequest {
@@ -381,18 +417,20 @@ message GetNvmeControllerRequest {
];
}
-message NvmeControllerStatsRequest {
- string name = 1;
+message StatsNvmeControllerRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeController"
+ ];
}
-message NvmeControllerStatsResponse {
- string name = 1;
- VolumeStats stats = 2;
+message StatsNvmeControllerResponse {
+ VolumeStats stats = 1;
}
message CreateNvmeNamespaceRequest {
- NvmeNamespace nvme_namespace = 2 [(google.api.field_behavior) = REQUIRED];
- string nvme_namespace_id = 3;
+ NvmeNamespace nvme_namespace = 1 [(google.api.field_behavior) = REQUIRED];
+ string nvme_namespace_id = 2;
}
message DeleteNvmeNamespaceRequest {
@@ -436,13 +474,15 @@ message GetNvmeNamespaceRequest {
];
}
-message NvmeNamespaceStatsRequest {
- string name = 1;
+message StatsNvmeNamespaceRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/NvmeNamespace"
+ ];
}
-message NvmeNamespaceStatsResponse {
- string name = 1;
- VolumeStats stats = 2;
+message StatsNvmeNamespaceResponse {
+ VolumeStats stats = 1;
}
// Namespace Administrative States
diff --git a/storage/v1alpha1/frontend_virtio_blk.proto b/storage/v1alpha1/frontend_virtio_blk.proto
index 1c6329a0..7439fe02 100755
--- a/storage/v1alpha1/frontend_virtio_blk.proto
+++ b/storage/v1alpha1/frontend_virtio_blk.proto
@@ -11,7 +11,6 @@ option java_outer_classname = "FrontendVirtioBlkProto";
option go_package = "github.com/opiproject/opi-api/storage/v1alpha1/gen/go";
import "opicommon.proto";
-import "object_key.proto";
import "google/api/client.proto";
import "google/api/resource.proto";
@@ -31,7 +30,7 @@ service FrontendVirtioBlkService {
}
rpc DeleteVirtioBlk (DeleteVirtioBlkRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=virtioblks}/{virtioblk}"
+ delete: "/v1/{name=VirtioBlks/*}"
};
option (google.api.method_signature) = "name";
}
@@ -50,11 +49,16 @@ service FrontendVirtioBlkService {
}
rpc GetVirtioBlk (GetVirtioBlkRequest) returns (VirtioBlk) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{virtioblk}"
+ get: "/v1/{name=VirtioBlks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsVirtioBlk (StatsVirtioBlkRequest) returns (StatsVirtioBlkResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=VirtioBlks/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc VirtioBlkStats (VirtioBlkStatsRequest) returns (VirtioBlkStatsResponse) {}
}
message VirtioBlk {
@@ -66,13 +70,17 @@ message VirtioBlk {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioBlk"
+ ];
// The PCI endpoint where this device should appear
PciEndpoint pcie_id = 2;
// The back/middle-end volume to back this controller
- common.v1.ObjectKey volume_id = 3;
+ string volume_name_ref = 3 [ (google.api.field_behavior) = REQUIRED ];
int64 max_io_qps = 4;
@@ -84,8 +92,8 @@ message VirtioBlk {
}
message CreateVirtioBlkRequest {
- VirtioBlk virtio_blk = 2 [(google.api.field_behavior) = REQUIRED];
- string virtio_blk_id = 3;
+ VirtioBlk virtio_blk = 1 [(google.api.field_behavior) = REQUIRED];
+ string virtio_blk_id = 2;
}
message DeleteVirtioBlkRequest {
@@ -129,11 +137,13 @@ message GetVirtioBlkRequest {
];
}
-message VirtioBlkStatsRequest {
- common.v1.ObjectKey controller_id = 1;
+message StatsVirtioBlkRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioBlk"
+ ];
}
-message VirtioBlkStatsResponse {
- common.v1.ObjectKey id = 1;
- VolumeStats stats = 2;
+message StatsVirtioBlkResponse {
+ VolumeStats stats = 1;
}
diff --git a/storage/v1alpha1/frontend_virtio_scsi.proto b/storage/v1alpha1/frontend_virtio_scsi.proto
index 2fcc3c69..794edfe6 100755
--- a/storage/v1alpha1/frontend_virtio_scsi.proto
+++ b/storage/v1alpha1/frontend_virtio_scsi.proto
@@ -31,7 +31,7 @@ service FrontendVirtioScsiService {
}
rpc DeleteVirtioScsiTarget (DeleteVirtioScsiTargetRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=subsystems}/{virtioscsitarget}"
+ delete: "/v1/{name=VirtioScsiTargets/*}"
};
option (google.api.method_signature) = "name";
}
@@ -50,11 +50,16 @@ service FrontendVirtioScsiService {
}
rpc GetVirtioScsiTarget (GetVirtioScsiTargetRequest) returns (VirtioScsiTarget) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{virtioscsitarget}"
+ get: "/v1/{name=VirtioScsiTargets/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsVirtioScsiTarget (StatsVirtioScsiTargetRequest) returns (StatsVirtioScsiTargetResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=VirtioScsiTargets/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc VirtioScsiTargetStats (VirtioScsiTargetStatsRequest) returns (VirtioScsiTargetStatsResponse) {}
rpc CreateVirtioScsiController (CreateVirtioScsiControllerRequest) returns (VirtioScsiController) {
option (google.api.http) = {
@@ -65,7 +70,7 @@ service FrontendVirtioScsiService {
}
rpc DeleteVirtioScsiController (DeleteVirtioScsiControllerRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=virtioscsictrls}/{virtioscsictrl}"
+ delete: "/v1/{name=VirtioScsiControllers/*}"
};
option (google.api.method_signature) = "name";
}
@@ -84,11 +89,16 @@ service FrontendVirtioScsiService {
}
rpc GetVirtioScsiController (GetVirtioScsiControllerRequest) returns (VirtioScsiController) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{virtioscsictrl}"
+ get: "/v1/{name=VirtioScsiControllers/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsVirtioScsiController (StatsVirtioScsiControllerRequest) returns (StatsVirtioScsiControllerResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=VirtioScsiControllers/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc VirtioScsiControllerStats (VirtioScsiControllerStatsRequest) returns (VirtioScsiControllerStatsResponse) {}
rpc CreateVirtioScsiLun (CreateVirtioScsiLunRequest) returns (VirtioScsiLun) {
option (google.api.http) = {
@@ -99,7 +109,7 @@ service FrontendVirtioScsiService {
}
rpc DeleteVirtioScsiLun (DeleteVirtioScsiLunRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
- delete: "/v1/{name=virtioscsiluns}/{virtioscsilun}"
+ delete: "/v1/{name=VirtioScsiLuns/*}"
};
option (google.api.method_signature) = "name";
}
@@ -118,11 +128,16 @@ service FrontendVirtioScsiService {
}
rpc GetVirtioScsiLun (GetVirtioScsiLunRequest) returns (VirtioScsiLun) {
option (google.api.http) = {
- get: "/v1/{name=subsystems}/{virtioscsilun}"
+ get: "/v1/{name=VirtioScsiLuns/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+ rpc StatsVirtioScsiLun (StatsVirtioScsiLunRequest) returns (StatsVirtioScsiLunResponse) {
+ option (google.api.http) = {
+ get: "/v1/{name=VirtioScsiLuns/*}:stats"
};
option (google.api.method_signature) = "name";
}
- rpc VirtioScsiLunStats (VirtioScsiLunStatsRequest) returns (VirtioScsiLunStatsResponse) {}
}
message VirtioScsiTarget {
@@ -134,7 +149,11 @@ message VirtioScsiTarget {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioScsiTarget"
+ ];
// maximum LUNs within a target
int32 max_luns = 2;
@@ -149,7 +168,11 @@ message VirtioScsiController {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioScsiController"
+ ];
// xPU's PCI ID for the controller
PciEndpoint pcie_id = 2;
@@ -170,7 +193,11 @@ message VirtioScsiLun {
// name is an opaque object handle that is not user settable.
// name will be returned with created object
// user can only set {resource}_id on the Create request object
- string name = 1;
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioScsiLun"
+ ];
// The target that this LUN is in
common.v1.ObjectKey target_id = 2;
@@ -180,8 +207,8 @@ message VirtioScsiLun {
}
message CreateVirtioScsiTargetRequest {
- VirtioScsiTarget virtio_scsi_target = 2 [(google.api.field_behavior) = REQUIRED];
- string virtio_scsi_target_id = 3;
+ VirtioScsiTarget virtio_scsi_target = 1 [(google.api.field_behavior) = REQUIRED];
+ string virtio_scsi_target_id = 2;
}
message DeleteVirtioScsiTargetRequest {
@@ -225,18 +252,20 @@ message GetVirtioScsiTargetRequest {
];
}
-message VirtioScsiTargetStatsRequest {
- common.v1.ObjectKey target_id = 1;
+message StatsVirtioScsiTargetRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioScsiTarget"
+ ];
}
-message VirtioScsiTargetStatsResponse {
- common.v1.ObjectKey id = 1;
- VolumeStats stats = 2;
+message StatsVirtioScsiTargetResponse {
+ VolumeStats stats = 1;
}
message CreateVirtioScsiControllerRequest {
- VirtioScsiController virtio_scsi_controller = 2 [(google.api.field_behavior) = REQUIRED];
- string virtio_scsi_controller_id = 3;
+ VirtioScsiController virtio_scsi_controller = 1 [(google.api.field_behavior) = REQUIRED];
+ string virtio_scsi_controller_id = 2;
}
message DeleteVirtioScsiControllerRequest {
@@ -280,18 +309,20 @@ message GetVirtioScsiControllerRequest {
];
}
-message VirtioScsiControllerStatsRequest {
- common.v1.ObjectKey controller_id = 1;
+message StatsVirtioScsiControllerRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioScsiController"
+ ];
}
-message VirtioScsiControllerStatsResponse {
- common.v1.ObjectKey id = 1;
- VolumeStats stats = 2;
+message StatsVirtioScsiControllerResponse {
+ VolumeStats stats = 1;
}
message CreateVirtioScsiLunRequest {
- VirtioScsiLun virtio_scsi_lun = 2 [(google.api.field_behavior) = REQUIRED];
- string virtio_scsi_lun_id = 3;
+ VirtioScsiLun virtio_scsi_lun = 1 [(google.api.field_behavior) = REQUIRED];
+ string virtio_scsi_lun_id = 2;
}
message DeleteVirtioScsiLunRequest {
@@ -335,12 +366,14 @@ message GetVirtioScsiLunRequest {
];
}
-message VirtioScsiLunStatsRequest {
- common.v1.ObjectKey controller_id = 1;
- common.v1.ObjectKey lun_id = 2;
+message StatsVirtioScsiLunRequest {
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference).type = "opi_api.storage.v1/VirtioScsiLun"
+ ];
+ common.v1.ObjectKey controller_id = 2;
}
-message VirtioScsiLunStatsResponse {
- common.v1.ObjectKey id = 1;
- VolumeStats stats = 2;
+message StatsVirtioScsiLunResponse {
+ VolumeStats stats = 1;
}
diff --git a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc
index 03c64022..d3e322cd 100644
--- a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc
+++ b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc
@@ -29,7 +29,7 @@ static const char* AioVolumeService_method_names[] = {
"/opi_api.storage.v1.AioVolumeService/UpdateAioVolume",
"/opi_api.storage.v1.AioVolumeService/ListAioVolumes",
"/opi_api.storage.v1.AioVolumeService/GetAioVolume",
- "/opi_api.storage.v1.AioVolumeService/AioVolumeStats",
+ "/opi_api.storage.v1.AioVolumeService/StatsAioVolume",
};
std::unique_ptr< AioVolumeService::Stub> AioVolumeService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
@@ -44,7 +44,7 @@ AioVolumeService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& c
, rpcmethod_UpdateAioVolume_(AioVolumeService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_ListAioVolumes_(AioVolumeService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_GetAioVolume_(AioVolumeService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
- , rpcmethod_AioVolumeStats_(AioVolumeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
+ , rpcmethod_StatsAioVolume_(AioVolumeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
{}
::grpc::Status AioVolumeService::Stub::CreateAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioVolumeRequest& request, ::opi_api::storage::v1::AioVolume* response) {
@@ -162,25 +162,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolume>* AioVolume
return result;
}
-::grpc::Status AioVolumeService::Stub::AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::opi_api::storage::v1::AioVolumeStatsResponse* response) {
- return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioVolumeStats_, context, request, response);
+::grpc::Status AioVolumeService::Stub::StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::opi_api::storage::v1::StatsAioVolumeResponse* response) {
+ return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsAioVolume_, context, request, response);
}
-void AioVolumeService::Stub::async::AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response, std::function f) {
- ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioVolumeStats_, context, request, response, std::move(f));
+void AioVolumeService::Stub::async::StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response, std::function f) {
+ ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsAioVolume_, context, request, response, std::move(f));
}
-void AioVolumeService::Stub::async::AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) {
- ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioVolumeStats_, context, request, response, reactor);
+void AioVolumeService::Stub::async::StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) {
+ ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsAioVolume_, context, request, response, reactor);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>* AioVolumeService::Stub::PrepareAsyncAioVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioVolumeStatsResponse, ::opi_api::storage::v1::AioVolumeStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioVolumeStats_, context, request);
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>* AioVolumeService::Stub::PrepareAsyncStatsAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsAioVolumeResponse, ::opi_api::storage::v1::StatsAioVolumeRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsAioVolume_, context, request);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>* AioVolumeService::Stub::AsyncAioVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>* AioVolumeService::Stub::AsyncStatsAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
auto* result =
- this->PrepareAsyncAioVolumeStatsRaw(context, request, cq);
+ this->PrepareAsyncStatsAioVolumeRaw(context, request, cq);
result->StartCall();
return result;
}
@@ -239,12 +239,12 @@ AioVolumeService::Service::Service() {
AddMethod(new ::grpc::internal::RpcServiceMethod(
AioVolumeService_method_names[5],
::grpc::internal::RpcMethod::NORMAL_RPC,
- new ::grpc::internal::RpcMethodHandler< AioVolumeService::Service, ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
+ new ::grpc::internal::RpcMethodHandler< AioVolumeService::Service, ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
[](AioVolumeService::Service* service,
::grpc::ServerContext* ctx,
- const ::opi_api::storage::v1::AioVolumeStatsRequest* req,
- ::opi_api::storage::v1::AioVolumeStatsResponse* resp) {
- return service->AioVolumeStats(ctx, req, resp);
+ const ::opi_api::storage::v1::StatsAioVolumeRequest* req,
+ ::opi_api::storage::v1::StatsAioVolumeResponse* resp) {
+ return service->StatsAioVolume(ctx, req, resp);
}, this)));
}
@@ -286,7 +286,7 @@ ::grpc::Status AioVolumeService::Service::GetAioVolume(::grpc::ServerContext* co
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
-::grpc::Status AioVolumeService::Service::AioVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response) {
+::grpc::Status AioVolumeService::Service::StatsAioVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response) {
(void) context;
(void) request;
(void) response;
diff --git a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h
index e3451db7..46d8321a 100644
--- a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h
+++ b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h
@@ -77,12 +77,12 @@ class AioVolumeService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolume>> PrepareAsyncGetAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolume>>(PrepareAsyncGetAioVolumeRaw(context, request, cq));
}
- virtual ::grpc::Status AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::opi_api::storage::v1::AioVolumeStatsResponse* response) = 0;
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolumeStatsResponse>> AsyncAioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolumeStatsResponse>>(AsyncAioVolumeStatsRaw(context, request, cq));
+ virtual ::grpc::Status StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::opi_api::storage::v1::StatsAioVolumeResponse* response) = 0;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsAioVolumeResponse>> AsyncStatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsAioVolumeResponse>>(AsyncStatsAioVolumeRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolumeStatsResponse>> PrepareAsyncAioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolumeStatsResponse>>(PrepareAsyncAioVolumeStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsAioVolumeResponse>> PrepareAsyncStatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsAioVolumeResponse>>(PrepareAsyncStatsAioVolumeRaw(context, request, cq));
}
class async_interface {
public:
@@ -97,8 +97,8 @@ class AioVolumeService final {
virtual void ListAioVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioVolumesRequest* request, ::opi_api::storage::v1::ListAioVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
virtual void GetAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest* request, ::opi_api::storage::v1::AioVolume* response, std::function) = 0;
virtual void GetAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest* request, ::opi_api::storage::v1::AioVolume* response, ::grpc::ClientUnaryReactor* reactor) = 0;
- virtual void AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response, std::function) = 0;
- virtual void AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
+ virtual void StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response, std::function) = 0;
+ virtual void StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
};
typedef class async_interface experimental_async_interface;
virtual class async_interface* async() { return nullptr; }
@@ -114,8 +114,8 @@ class AioVolumeService final {
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioVolumesResponse>* PrepareAsyncListAioVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioVolumesRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolume>* AsyncGetAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolume>* PrepareAsyncGetAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolumeStatsResponse>* AsyncAioVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioVolumeStatsResponse>* PrepareAsyncAioVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsAioVolumeResponse>* AsyncStatsAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsAioVolumeResponse>* PrepareAsyncStatsAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
};
class Stub final : public StubInterface {
public:
@@ -155,12 +155,12 @@ class AioVolumeService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolume>> PrepareAsyncGetAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolume>>(PrepareAsyncGetAioVolumeRaw(context, request, cq));
}
- ::grpc::Status AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::opi_api::storage::v1::AioVolumeStatsResponse* response) override;
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>> AsyncAioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>>(AsyncAioVolumeStatsRaw(context, request, cq));
+ ::grpc::Status StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::opi_api::storage::v1::StatsAioVolumeResponse* response) override;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>> AsyncStatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>>(AsyncStatsAioVolumeRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>> PrepareAsyncAioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>>(PrepareAsyncAioVolumeStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>> PrepareAsyncStatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>>(PrepareAsyncStatsAioVolumeRaw(context, request, cq));
}
class async final :
public StubInterface::async_interface {
@@ -175,8 +175,8 @@ class AioVolumeService final {
void ListAioVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioVolumesRequest* request, ::opi_api::storage::v1::ListAioVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
void GetAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest* request, ::opi_api::storage::v1::AioVolume* response, std::function) override;
void GetAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest* request, ::opi_api::storage::v1::AioVolume* response, ::grpc::ClientUnaryReactor* reactor) override;
- void AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response, std::function) override;
- void AioVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
+ void StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response, std::function) override;
+ void StatsAioVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
private:
friend class Stub;
explicit async(Stub* stub): stub_(stub) { }
@@ -198,14 +198,14 @@ class AioVolumeService final {
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioVolumesResponse>* PrepareAsyncListAioVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioVolumesRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolume>* AsyncGetAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolume>* PrepareAsyncGetAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>* AsyncAioVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioVolumeStatsResponse>* PrepareAsyncAioVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>* AsyncStatsAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsAioVolumeResponse>* PrepareAsyncStatsAioVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
const ::grpc::internal::RpcMethod rpcmethod_CreateAioVolume_;
const ::grpc::internal::RpcMethod rpcmethod_DeleteAioVolume_;
const ::grpc::internal::RpcMethod rpcmethod_UpdateAioVolume_;
const ::grpc::internal::RpcMethod rpcmethod_ListAioVolumes_;
const ::grpc::internal::RpcMethod rpcmethod_GetAioVolume_;
- const ::grpc::internal::RpcMethod rpcmethod_AioVolumeStats_;
+ const ::grpc::internal::RpcMethod rpcmethod_StatsAioVolume_;
};
static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
@@ -218,7 +218,7 @@ class AioVolumeService final {
virtual ::grpc::Status UpdateAioVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateAioVolumeRequest* request, ::opi_api::storage::v1::AioVolume* response);
virtual ::grpc::Status ListAioVolumes(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListAioVolumesRequest* request, ::opi_api::storage::v1::ListAioVolumesResponse* response);
virtual ::grpc::Status GetAioVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetAioVolumeRequest* request, ::opi_api::storage::v1::AioVolume* response);
- virtual ::grpc::Status AioVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response);
+ virtual ::grpc::Status StatsAioVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response);
};
template
class WithAsyncMethod_CreateAioVolume : public BaseClass {
@@ -321,26 +321,26 @@ class AioVolumeService final {
}
};
template
- class WithAsyncMethod_AioVolumeStats : public BaseClass {
+ class WithAsyncMethod_StatsAioVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithAsyncMethod_AioVolumeStats() {
+ WithAsyncMethod_StatsAioVolume() {
::grpc::Service::MarkMethodAsync(5);
}
- ~WithAsyncMethod_AioVolumeStats() override {
+ ~WithAsyncMethod_StatsAioVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status AioVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsAioVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestAioVolumeStats(::grpc::ServerContext* context, ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioVolumeStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsAioVolume(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsAioVolumeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
}
};
- typedef WithAsyncMethod_CreateAioVolume > > > > > AsyncService;
+ typedef WithAsyncMethod_CreateAioVolume > > > > > AsyncService;
template
class WithCallbackMethod_CreateAioVolume : public BaseClass {
private:
@@ -477,33 +477,33 @@ class AioVolumeService final {
::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetAioVolumeRequest* /*request*/, ::opi_api::storage::v1::AioVolume* /*response*/) { return nullptr; }
};
template
- class WithCallbackMethod_AioVolumeStats : public BaseClass {
+ class WithCallbackMethod_StatsAioVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithCallbackMethod_AioVolumeStats() {
+ WithCallbackMethod_StatsAioVolume() {
::grpc::Service::MarkMethodCallback(5,
- new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse>(
+ new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse>(
[this](
- ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioVolumeStatsRequest* request, ::opi_api::storage::v1::AioVolumeStatsResponse* response) { return this->AioVolumeStats(context, request, response); }));}
- void SetMessageAllocatorFor_AioVolumeStats(
- ::grpc::MessageAllocator< ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse>* allocator) {
+ ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsAioVolumeRequest* request, ::opi_api::storage::v1::StatsAioVolumeResponse* response) { return this->StatsAioVolume(context, request, response); }));}
+ void SetMessageAllocatorFor_StatsAioVolume(
+ ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse>* allocator) {
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5);
- static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse>*>(handler)
+ static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse>*>(handler)
->SetMessageAllocator(allocator);
}
- ~WithCallbackMethod_AioVolumeStats() override {
+ ~WithCallbackMethod_StatsAioVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status AioVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsAioVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* AioVolumeStats(
- ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) { return nullptr; }
+ virtual ::grpc::ServerUnaryReactor* StatsAioVolume(
+ ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) { return nullptr; }
};
- typedef WithCallbackMethod_CreateAioVolume > > > > > CallbackService;
+ typedef WithCallbackMethod_CreateAioVolume > > > > > CallbackService;
typedef CallbackService ExperimentalCallbackService;
template
class WithGenericMethod_CreateAioVolume : public BaseClass {
@@ -591,18 +591,18 @@ class AioVolumeService final {
}
};
template
- class WithGenericMethod_AioVolumeStats : public BaseClass {
+ class WithGenericMethod_StatsAioVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithGenericMethod_AioVolumeStats() {
+ WithGenericMethod_StatsAioVolume() {
::grpc::Service::MarkMethodGeneric(5);
}
- ~WithGenericMethod_AioVolumeStats() override {
+ ~WithGenericMethod_StatsAioVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status AioVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsAioVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
@@ -708,22 +708,22 @@ class AioVolumeService final {
}
};
template
- class WithRawMethod_AioVolumeStats : public BaseClass {
+ class WithRawMethod_StatsAioVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawMethod_AioVolumeStats() {
+ WithRawMethod_StatsAioVolume() {
::grpc::Service::MarkMethodRaw(5);
}
- ~WithRawMethod_AioVolumeStats() override {
+ ~WithRawMethod_StatsAioVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status AioVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsAioVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestAioVolumeStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsAioVolume(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
}
};
@@ -838,25 +838,25 @@ class AioVolumeService final {
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
- class WithRawCallbackMethod_AioVolumeStats : public BaseClass {
+ class WithRawCallbackMethod_StatsAioVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawCallbackMethod_AioVolumeStats() {
+ WithRawCallbackMethod_StatsAioVolume() {
::grpc::Service::MarkMethodRawCallback(5,
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
[this](
- ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AioVolumeStats(context, request, response); }));
+ ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsAioVolume(context, request, response); }));
}
- ~WithRawCallbackMethod_AioVolumeStats() override {
+ ~WithRawCallbackMethod_StatsAioVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status AioVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsAioVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* AioVolumeStats(
+ virtual ::grpc::ServerUnaryReactor* StatsAioVolume(
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
@@ -995,35 +995,35 @@ class AioVolumeService final {
virtual ::grpc::Status StreamedGetAioVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetAioVolumeRequest,::opi_api::storage::v1::AioVolume>* server_unary_streamer) = 0;
};
template
- class WithStreamedUnaryMethod_AioVolumeStats : public BaseClass {
+ class WithStreamedUnaryMethod_StatsAioVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithStreamedUnaryMethod_AioVolumeStats() {
+ WithStreamedUnaryMethod_StatsAioVolume() {
::grpc::Service::MarkMethodStreamed(5,
new ::grpc::internal::StreamedUnaryHandler<
- ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse>(
+ ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse>(
[this](::grpc::ServerContext* context,
::grpc::ServerUnaryStreamer<
- ::opi_api::storage::v1::AioVolumeStatsRequest, ::opi_api::storage::v1::AioVolumeStatsResponse>* streamer) {
- return this->StreamedAioVolumeStats(context,
+ ::opi_api::storage::v1::StatsAioVolumeRequest, ::opi_api::storage::v1::StatsAioVolumeResponse>* streamer) {
+ return this->StreamedStatsAioVolume(context,
streamer);
}));
}
- ~WithStreamedUnaryMethod_AioVolumeStats() override {
+ ~WithStreamedUnaryMethod_StatsAioVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable regular version of this method
- ::grpc::Status AioVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::AioVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsAioVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsAioVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsAioVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
// replace default version of method with streamed unary
- virtual ::grpc::Status StreamedAioVolumeStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioVolumeStatsRequest,::opi_api::storage::v1::AioVolumeStatsResponse>* server_unary_streamer) = 0;
+ virtual ::grpc::Status StreamedStatsAioVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsAioVolumeRequest,::opi_api::storage::v1::StatsAioVolumeResponse>* server_unary_streamer) = 0;
};
- typedef WithStreamedUnaryMethod_CreateAioVolume > > > > > StreamedUnaryService;
+ typedef WithStreamedUnaryMethod_CreateAioVolume > > > > > StreamedUnaryService;
typedef Service SplitStreamedService;
- typedef WithStreamedUnaryMethod_CreateAioVolume > > > > > StreamedService;
+ typedef WithStreamedUnaryMethod_CreateAioVolume > > > > > StreamedService;
};
} // namespace v1
diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc
index a6769f01..4791735e 100644
--- a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc
+++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc
@@ -114,31 +114,30 @@ struct GetAioVolumeRequestDefaultTypeInternal {
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetAioVolumeRequestDefaultTypeInternal _GetAioVolumeRequest_default_instance_;
-constexpr AioVolumeStatsRequest::AioVolumeStatsRequest(
+constexpr StatsAioVolumeRequest::StatsAioVolumeRequest(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : handle_(nullptr){}
-struct AioVolumeStatsRequestDefaultTypeInternal {
- constexpr AioVolumeStatsRequestDefaultTypeInternal()
+ : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+struct StatsAioVolumeRequestDefaultTypeInternal {
+ constexpr StatsAioVolumeRequestDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~AioVolumeStatsRequestDefaultTypeInternal() {}
+ ~StatsAioVolumeRequestDefaultTypeInternal() {}
union {
- AioVolumeStatsRequest _instance;
+ StatsAioVolumeRequest _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioVolumeStatsRequestDefaultTypeInternal _AioVolumeStatsRequest_default_instance_;
-constexpr AioVolumeStatsResponse::AioVolumeStatsResponse(
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsAioVolumeRequestDefaultTypeInternal _StatsAioVolumeRequest_default_instance_;
+constexpr StatsAioVolumeResponse::StatsAioVolumeResponse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : handle_(nullptr)
- , stats_(nullptr){}
-struct AioVolumeStatsResponseDefaultTypeInternal {
- constexpr AioVolumeStatsResponseDefaultTypeInternal()
+ : stats_(nullptr){}
+struct StatsAioVolumeResponseDefaultTypeInternal {
+ constexpr StatsAioVolumeResponseDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~AioVolumeStatsResponseDefaultTypeInternal() {}
+ ~StatsAioVolumeResponseDefaultTypeInternal() {}
union {
- AioVolumeStatsResponse _instance;
+ StatsAioVolumeResponse _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioVolumeStatsResponseDefaultTypeInternal _AioVolumeStatsResponse_default_instance_;
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsAioVolumeResponseDefaultTypeInternal _StatsAioVolumeResponse_default_instance_;
} // namespace v1
} // namespace storage
} // namespace opi_api
@@ -208,20 +207,19 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetAioVolumeRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioVolumeStatsRequest, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsAioVolumeRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioVolumeStatsRequest, handle_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsAioVolumeRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioVolumeStatsResponse, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsAioVolumeResponse, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioVolumeStatsResponse, handle_),
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioVolumeStatsResponse, stats_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsAioVolumeResponse, stats_),
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, -1, sizeof(::opi_api::storage::v1::AioVolume)},
@@ -231,8 +229,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 36, -1, -1, sizeof(::opi_api::storage::v1::ListAioVolumesRequest)},
{ 45, -1, -1, sizeof(::opi_api::storage::v1::ListAioVolumesResponse)},
{ 53, -1, -1, sizeof(::opi_api::storage::v1::GetAioVolumeRequest)},
- { 60, -1, -1, sizeof(::opi_api::storage::v1::AioVolumeStatsRequest)},
- { 67, -1, -1, sizeof(::opi_api::storage::v1::AioVolumeStatsResponse)},
+ { 60, -1, -1, sizeof(::opi_api::storage::v1::StatsAioVolumeRequest)},
+ { 67, -1, -1, sizeof(::opi_api::storage::v1::StatsAioVolumeResponse)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@@ -243,8 +241,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast(&::opi_api::storage::v1::_ListAioVolumesRequest_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_ListAioVolumesResponse_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_GetAioVolumeRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_AioVolumeStatsRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_AioVolumeStatsResponse_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsAioVolumeRequest_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsAioVolumeResponse_default_instance_),
};
const char descriptor_table_protodef_backend_5faio_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
@@ -253,74 +251,74 @@ const char descriptor_table_protodef_backend_5faio_2eproto[] PROTOBUF_SECTION_VA
"ource.proto\032\033google/protobuf/empty.proto"
"\032\034google/api/annotations.proto\032\037google/a"
"pi/field_behavior.proto\032 google/protobuf"
- "/field_mask.proto\032\020object_key.proto\032\017opi"
- "common.proto\032\nuuid.proto\"\265\001\n\tAioVolume\022\014"
- "\n\004name\030\001 \001(\t\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014bloc"
- "ks_count\030\003 \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.c"
- "ommon.v1.Uuid\022\020\n\010filename\030\005 \001(\t:7\352A4\n st"
- "orage.opiproject.org/AioVolume\022\020volumes/"
- "{volume}\"g\n\026CreateAioVolumeRequest\0226\n\nai"
- "o_volume\030\002 \001(\0132\035.opi_api.storage.v1.AioV"
- "olumeB\003\340A\002\022\025\n\raio_volume_id\030\003 \001(\t\"c\n\026Del"
- "eteAioVolumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A"
- "\036\n\034opi_api.storage.v1/AioVolume\022\025\n\rallow"
- "_missing\030\002 \001(\010\"\223\001\n\026UpdateAioVolumeReques"
- "t\0221\n\naio_volume\030\001 \001(\0132\035.opi_api.storage."
- "v1.AioVolume\022/\n\013update_mask\030\002 \001(\0132\032.goog"
- "le.protobuf.FieldMask\022\025\n\rallow_missing\030\003"
- " \001(\010\"t\n\025ListAioVolumesRequest\0224\n\006parent\030"
+ "/field_mask.proto\032\017opicommon.proto\032\nuuid"
+ ".proto\"\336\001\n\tAioVolume\0225\n\004name\030\001 \001(\tB\'\340A\003\340"
+ "A\005\372A\036\n\034opi_api.storage.v1/AioVolume\022\022\n\nb"
+ "lock_size\030\002 \001(\003\022\024\n\014blocks_count\030\003 \001(\003\022%\n"
+ "\004uuid\030\004 \001(\0132\027.opi_api.common.v1.Uuid\022\020\n\010"
+ "filename\030\005 \001(\t:7\352A4\n storage.opiproject."
+ "org/AioVolume\022\020volumes/{volume}\"g\n\026Creat"
+ "eAioVolumeRequest\0226\n\naio_volume\030\001 \001(\0132\035."
+ "opi_api.storage.v1.AioVolumeB\003\340A\002\022\025\n\raio"
+ "_volume_id\030\002 \001(\t\"c\n\026DeleteAioVolumeReque"
+ "st\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storag"
+ "e.v1/AioVolume\022\025\n\rallow_missing\030\002 \001(\010\"\223\001"
+ "\n\026UpdateAioVolumeRequest\0221\n\naio_volume\030\001"
+ " \001(\0132\035.opi_api.storage.v1.AioVolume\022/\n\013u"
+ "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
+ "Mask\022\025\n\rallow_missing\030\003 \001(\010\"t\n\025ListAioVo"
+ "lumesRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036\n\034op"
+ "i_api.storage.v1/AioVolume\022\021\n\tpage_size\030"
+ "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\026ListAioVolu"
+ "mesResponse\0222\n\013aio_volumes\030\001 \003(\0132\035.opi_a"
+ "pi.storage.v1.AioVolume\022\027\n\017next_page_tok"
+ "en\030\002 \001(\t\"I\n\023GetAioVolumeRequest\0222\n\004name\030"
"\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/AioVol"
- "ume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001"
- "(\t\"e\n\026ListAioVolumesResponse\0222\n\013aio_volu"
- "mes\030\001 \003(\0132\035.opi_api.storage.v1.AioVolume"
- "\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetAioVolum"
- "eRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api."
- "storage.v1/AioVolume\"E\n\025AioVolumeStatsRe"
- "quest\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v"
- "1.ObjectKey\"v\n\026AioVolumeStatsResponse\022,\n"
- "\006handle\030\001 \001(\0132\034.opi_api.common.v1.Object"
- "Key\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1."
- "VolumeStats2\357\006\n\020AioVolumeService\022\230\001\n\017Cre"
- "ateAioVolume\022*.opi_api.storage.v1.Create"
- "AioVolumeRequest\032\035.opi_api.storage.v1.Ai"
- "oVolume\":\202\323\344\223\002\031\"\013/v1/volumes:\naio_volume"
- "\332A\030aio_volume,aio_volume_id\022\207\001\n\017DeleteAi"
- "oVolume\022*.opi_api.storage.v1.DeleteAioVo"
- "lumeRequest\032\026.google.protobuf.Empty\"0\202\323\344"
- "\223\002#*!/v1/{name=subsystems}/{subsystem}\332A"
- "\004name\022\253\001\n\017UpdateAioVolume\022*.opi_api.stor"
- "age.v1.UpdateAioVolumeRequest\032\035.opi_api."
- "storage.v1.AioVolume\"M\202\323\344\223\002.2 /v1/{aio_v"
- "olume.name=subsystems}:\naio_volume\332A\026aio"
- "_volume,update_mask\022\221\001\n\016ListAioVolumes\022)"
- ".opi_api.storage.v1.ListAioVolumesReques"
- "t\032*.opi_api.storage.v1.ListAioVolumesRes"
- "ponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A"
- "\006parent\022\210\001\n\014GetAioVolume\022\'.opi_api.stora"
- "ge.v1.GetAioVolumeRequest\032\035.opi_api.stor"
- "age.v1.AioVolume\"0\202\323\344\223\002#\022!/v1/{name=subs"
- "ystems}/{subsystem}\332A\004name\022i\n\016AioVolumeS"
- "tats\022).opi_api.storage.v1.AioVolumeStats"
- "Request\032*.opi_api.storage.v1.AioVolumeSt"
- "atsResponse\"\000B^\n\022opi_api.storage.v1B\017Bac"
- "kendAioProtoP\001Z5github.com/opiproject/op"
- "i-api/storage/v1alpha1/gen/gob\006proto3"
+ "ume\"K\n\025StatsAioVolumeRequest\0222\n\004name\030\001 \001"
+ "(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/AioVolume"
+ "\"H\n\026StatsAioVolumeResponse\022.\n\005stats\030\001 \001("
+ "\0132\037.opi_api.storage.v1.VolumeStats2\206\007\n\020A"
+ "ioVolumeService\022\230\001\n\017CreateAioVolume\022*.op"
+ "i_api.storage.v1.CreateAioVolumeRequest\032"
+ "\035.opi_api.storage.v1.AioVolume\":\202\323\344\223\002\031\"\013"
+ "/v1/volumes:\naio_volume\332A\030aio_volume,aio"
+ "_volume_id\022}\n\017DeleteAioVolume\022*.opi_api."
+ "storage.v1.DeleteAioVolumeRequest\032\026.goog"
+ "le.protobuf.Empty\"&\202\323\344\223\002\031*\027/v1/{name=Aio"
+ "Volumes/*}\332A\004name\022\253\001\n\017UpdateAioVolume\022*."
+ "opi_api.storage.v1.UpdateAioVolumeReques"
+ "t\032\035.opi_api.storage.v1.AioVolume\"M\202\323\344\223\002."
+ "2 /v1/{aio_volume.name=subsystems}:\naio_"
+ "volume\332A\026aio_volume,update_mask\022\221\001\n\016List"
+ "AioVolumes\022).opi_api.storage.v1.ListAioV"
+ "olumesRequest\032*.opi_api.storage.v1.ListA"
+ "ioVolumesResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=s"
+ "ubsystems}\332A\006parent\022~\n\014GetAioVolume\022\'.op"
+ "i_api.storage.v1.GetAioVolumeRequest\032\035.o"
+ "pi_api.storage.v1.AioVolume\"&\202\323\344\223\002\031\022\027/v1"
+ "/{name=AioVolumes/*}\332A\004name\022\225\001\n\016StatsAio"
+ "Volume\022).opi_api.storage.v1.StatsAioVolu"
+ "meRequest\032*.opi_api.storage.v1.StatsAioV"
+ "olumeResponse\",\202\323\344\223\002\037\022\035/v1/{name=AioVolu"
+ "mes/*}:stats\332A\004nameB^\n\022opi_api.storage.v"
+ "1B\017BackendAioProtoP\001Z5github.com/opiproj"
+ "ect/opi-api/storage/v1alpha1/gen/gob\006pro"
+ "to3"
;
-static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[9] = {
+static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[8] = {
&::descriptor_table_google_2fapi_2fannotations_2eproto,
&::descriptor_table_google_2fapi_2fclient_2eproto,
&::descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto,
&::descriptor_table_google_2fapi_2fresource_2eproto,
&::descriptor_table_google_2fprotobuf_2fempty_2eproto,
&::descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto,
- &::descriptor_table_object_5fkey_2eproto,
&::descriptor_table_opicommon_2eproto,
&::descriptor_table_uuid_2eproto,
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_backend_5faio_2eproto_once;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5faio_2eproto = {
- false, false, 2277, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto",
- &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 9, 9,
+ false, false, 2283, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto",
+ &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 8, 9,
schemas, file_default_instances, TableStruct_backend_5faio_2eproto::offsets,
file_level_metadata_backend_5faio_2eproto, file_level_enum_descriptors_backend_5faio_2eproto, file_level_service_descriptors_backend_5faio_2eproto,
};
@@ -453,7 +451,7 @@ const char* AioVolume::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
auto str = _internal_mutable_name();
@@ -526,7 +524,7 @@ uint8_t* AioVolume::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast(this->_internal_name().length()),
@@ -582,7 +580,7 @@ size_t AioVolume::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
@@ -783,17 +781,17 @@ const char* CreateAioVolumeRequest::_InternalParse(const char* ptr, ::PROTOBUF_N
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.storage.v1.AioVolume aio_volume = 2 [(.google.api.field_behavior) = REQUIRED];
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
+ // .opi_api.storage.v1.AioVolume aio_volume = 1 [(.google.api.field_behavior) = REQUIRED];
+ case 1:
+ if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_aio_volume(), ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
- // string aio_volume_id = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) {
+ // string aio_volume_id = 2;
+ case 2:
+ if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
auto str = _internal_mutable_aio_volume_id();
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateAioVolumeRequest.aio_volume_id"));
@@ -830,22 +828,22 @@ uint8_t* CreateAioVolumeRequest::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // .opi_api.storage.v1.AioVolume aio_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+ // .opi_api.storage.v1.AioVolume aio_volume = 1 [(.google.api.field_behavior) = REQUIRED];
if (this->_internal_has_aio_volume()) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(
- 2, _Internal::aio_volume(this), target, stream);
+ 1, _Internal::aio_volume(this), target, stream);
}
- // string aio_volume_id = 3;
+ // string aio_volume_id = 2;
if (!this->_internal_aio_volume_id().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_aio_volume_id().data(), static_cast(this->_internal_aio_volume_id().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"opi_api.storage.v1.CreateAioVolumeRequest.aio_volume_id");
target = stream->WriteStringMaybeAliased(
- 3, this->_internal_aio_volume_id(), target);
+ 2, this->_internal_aio_volume_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -864,14 +862,14 @@ size_t CreateAioVolumeRequest::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string aio_volume_id = 3;
+ // string aio_volume_id = 2;
if (!this->_internal_aio_volume_id().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_aio_volume_id());
}
- // .opi_api.storage.v1.AioVolume aio_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+ // .opi_api.storage.v1.AioVolume aio_volume = 1 [(.google.api.field_behavior) = REQUIRED];
if (this->_internal_has_aio_volume()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
@@ -2161,90 +2159,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetAioVolumeRequest::GetMetadata() const {
// ===================================================================
-class AioVolumeStatsRequest::_Internal {
+class StatsAioVolumeRequest::_Internal {
public:
- static const ::opi_api::common::v1::ObjectKey& handle(const AioVolumeStatsRequest* msg);
};
-const ::opi_api::common::v1::ObjectKey&
-AioVolumeStatsRequest::_Internal::handle(const AioVolumeStatsRequest* msg) {
- return *msg->handle_;
-}
-void AioVolumeStatsRequest::clear_handle() {
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
-}
-AioVolumeStatsRequest::AioVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+StatsAioVolumeRequest::StatsAioVolumeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor();
if (!is_message_owned) {
RegisterArenaDtor(arena);
}
- // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.AioVolumeStatsRequest)
+ // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsAioVolumeRequest)
}
-AioVolumeStatsRequest::AioVolumeStatsRequest(const AioVolumeStatsRequest& from)
+StatsAioVolumeRequest::StatsAioVolumeRequest(const StatsAioVolumeRequest& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- if (from._internal_has_handle()) {
- handle_ = new ::opi_api::common::v1::ObjectKey(*from.handle_);
- } else {
- handle_ = nullptr;
+ name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_name().empty()) {
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(),
+ GetArenaForAllocation());
}
- // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioVolumeStatsRequest)
+ // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsAioVolumeRequest)
}
-inline void AioVolumeStatsRequest::SharedCtor() {
-handle_ = nullptr;
+inline void StatsAioVolumeRequest::SharedCtor() {
+name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
-AioVolumeStatsRequest::~AioVolumeStatsRequest() {
- // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioVolumeStatsRequest)
+StatsAioVolumeRequest::~StatsAioVolumeRequest() {
+ // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsAioVolumeRequest)
if (GetArenaForAllocation() != nullptr) return;
SharedDtor();
_internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-inline void AioVolumeStatsRequest::SharedDtor() {
+inline void StatsAioVolumeRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete handle_;
+ name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
-void AioVolumeStatsRequest::ArenaDtor(void* object) {
- AioVolumeStatsRequest* _this = reinterpret_cast< AioVolumeStatsRequest* >(object);
+void StatsAioVolumeRequest::ArenaDtor(void* object) {
+ StatsAioVolumeRequest* _this = reinterpret_cast< StatsAioVolumeRequest* >(object);
(void)_this;
}
-void AioVolumeStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+void StatsAioVolumeRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
-void AioVolumeStatsRequest::SetCachedSize(int size) const {
+void StatsAioVolumeRequest::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
-void AioVolumeStatsRequest::Clear() {
-// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioVolumeStatsRequest)
+void StatsAioVolumeRequest::Clear() {
+// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsAioVolumeRequest)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
+ name_.ClearToEmpty();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AioVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* StatsAioVolumeRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.common.v1.ObjectKey handle = 1;
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_handle(), ptr);
+ auto str = _internal_mutable_name();
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsAioVolumeRequest.name"));
CHK_(ptr);
} else
goto handle_unusual;
@@ -2272,89 +2264,97 @@ const char* AioVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NA
#undef CHK_
}
-uint8_t* AioVolumeStatsRequest::_InternalSerialize(
+uint8_t* StatsAioVolumeRequest::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioVolumeStatsRequest)
+ // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsAioVolumeRequest)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::handle(this), target, stream);
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ if (!this->_internal_name().empty()) {
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
+ this->_internal_name().data(), static_cast(this->_internal_name().length()),
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
+ "opi_api.storage.v1.StatsAioVolumeRequest.name");
+ target = stream->WriteStringMaybeAliased(
+ 1, this->_internal_name(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
- // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioVolumeStatsRequest)
+ // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsAioVolumeRequest)
return target;
}
-size_t AioVolumeStatsRequest::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioVolumeStatsRequest)
+size_t StatsAioVolumeRequest::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsAioVolumeRequest)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ if (!this->_internal_name().empty()) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *handle_);
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
+ this->_internal_name());
}
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioVolumeStatsRequest::_class_data_ = {
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsAioVolumeRequest::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
- AioVolumeStatsRequest::MergeImpl
+ StatsAioVolumeRequest::MergeImpl
};
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioVolumeStatsRequest::GetClassData() const { return &_class_data_; }
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsAioVolumeRequest::GetClassData() const { return &_class_data_; }
-void AioVolumeStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
+void StatsAioVolumeRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast(to)->MergeFrom(
- static_cast(from));
+ static_cast(to)->MergeFrom(
+ static_cast(from));
}
-void AioVolumeStatsRequest::MergeFrom(const AioVolumeStatsRequest& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioVolumeStatsRequest)
+void StatsAioVolumeRequest::MergeFrom(const StatsAioVolumeRequest& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsAioVolumeRequest)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- if (from._internal_has_handle()) {
- _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle());
+ if (!from._internal_name().empty()) {
+ _internal_set_name(from._internal_name());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
-void AioVolumeStatsRequest::CopyFrom(const AioVolumeStatsRequest& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioVolumeStatsRequest)
+void StatsAioVolumeRequest::CopyFrom(const StatsAioVolumeRequest& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsAioVolumeRequest)
if (&from == this) return;
Clear();
MergeFrom(from);
}
-bool AioVolumeStatsRequest::IsInitialized() const {
+bool StatsAioVolumeRequest::IsInitialized() const {
return true;
}
-void AioVolumeStatsRequest::InternalSwap(AioVolumeStatsRequest* other) {
+void StatsAioVolumeRequest::InternalSwap(StatsAioVolumeRequest* other) {
using std::swap;
+ auto* lhs_arena = GetArenaForAllocation();
+ auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(handle_, other->handle_);
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
+ &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
+ &name_, lhs_arena,
+ &other->name_, rhs_arena
+ );
}
-::PROTOBUF_NAMESPACE_ID::Metadata AioVolumeStatsRequest::GetMetadata() const {
+::PROTOBUF_NAMESPACE_ID::Metadata StatsAioVolumeRequest::GetMetadata() const {
return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
&descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once,
file_level_metadata_backend_5faio_2eproto[7]);
@@ -2362,97 +2362,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioVolumeStatsRequest::GetMetadata() const {
// ===================================================================
-class AioVolumeStatsResponse::_Internal {
+class StatsAioVolumeResponse::_Internal {
public:
- static const ::opi_api::common::v1::ObjectKey& handle(const AioVolumeStatsResponse* msg);
- static const ::opi_api::storage::v1::VolumeStats& stats(const AioVolumeStatsResponse* msg);
+ static const ::opi_api::storage::v1::VolumeStats& stats(const StatsAioVolumeResponse* msg);
};
-const ::opi_api::common::v1::ObjectKey&
-AioVolumeStatsResponse::_Internal::handle(const AioVolumeStatsResponse* msg) {
- return *msg->handle_;
-}
const ::opi_api::storage::v1::VolumeStats&
-AioVolumeStatsResponse::_Internal::stats(const AioVolumeStatsResponse* msg) {
+StatsAioVolumeResponse::_Internal::stats(const StatsAioVolumeResponse* msg) {
return *msg->stats_;
}
-void AioVolumeStatsResponse::clear_handle() {
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
-}
-void AioVolumeStatsResponse::clear_stats() {
+void StatsAioVolumeResponse::clear_stats() {
if (GetArenaForAllocation() == nullptr && stats_ != nullptr) {
delete stats_;
}
stats_ = nullptr;
}
-AioVolumeStatsResponse::AioVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+StatsAioVolumeResponse::StatsAioVolumeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor();
if (!is_message_owned) {
RegisterArenaDtor(arena);
}
- // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.AioVolumeStatsResponse)
+ // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsAioVolumeResponse)
}
-AioVolumeStatsResponse::AioVolumeStatsResponse(const AioVolumeStatsResponse& from)
+StatsAioVolumeResponse::StatsAioVolumeResponse(const StatsAioVolumeResponse& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- if (from._internal_has_handle()) {
- handle_ = new ::opi_api::common::v1::ObjectKey(*from.handle_);
- } else {
- handle_ = nullptr;
- }
if (from._internal_has_stats()) {
stats_ = new ::opi_api::storage::v1::VolumeStats(*from.stats_);
} else {
stats_ = nullptr;
}
- // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioVolumeStatsResponse)
+ // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsAioVolumeResponse)
}
-inline void AioVolumeStatsResponse::SharedCtor() {
-::memset(reinterpret_cast(this) + static_cast(
- reinterpret_cast(&handle_) - reinterpret_cast(this)),
- 0, static_cast(reinterpret_cast(&stats_) -
- reinterpret_cast(&handle_)) + sizeof(stats_));
+inline void StatsAioVolumeResponse::SharedCtor() {
+stats_ = nullptr;
}
-AioVolumeStatsResponse::~AioVolumeStatsResponse() {
- // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioVolumeStatsResponse)
+StatsAioVolumeResponse::~StatsAioVolumeResponse() {
+ // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsAioVolumeResponse)
if (GetArenaForAllocation() != nullptr) return;
SharedDtor();
_internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-inline void AioVolumeStatsResponse::SharedDtor() {
+inline void StatsAioVolumeResponse::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete handle_;
if (this != internal_default_instance()) delete stats_;
}
-void AioVolumeStatsResponse::ArenaDtor(void* object) {
- AioVolumeStatsResponse* _this = reinterpret_cast< AioVolumeStatsResponse* >(object);
+void StatsAioVolumeResponse::ArenaDtor(void* object) {
+ StatsAioVolumeResponse* _this = reinterpret_cast< StatsAioVolumeResponse* >(object);
(void)_this;
}
-void AioVolumeStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+void StatsAioVolumeResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
-void AioVolumeStatsResponse::SetCachedSize(int size) const {
+void StatsAioVolumeResponse::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
-void AioVolumeStatsResponse::Clear() {
-// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioVolumeStatsResponse)
+void StatsAioVolumeResponse::Clear() {
+// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsAioVolumeResponse)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
if (GetArenaForAllocation() == nullptr && stats_ != nullptr) {
delete stats_;
}
@@ -2460,23 +2436,15 @@ void AioVolumeStatsResponse::Clear() {
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AioVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* StatsAioVolumeResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.common.v1.ObjectKey handle = 1;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_handle(), ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // .opi_api.storage.v1.VolumeStats stats = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr);
CHK_(ptr);
} else
@@ -2505,52 +2473,37 @@ const char* AioVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_N
#undef CHK_
}
-uint8_t* AioVolumeStatsResponse::_InternalSerialize(
+uint8_t* StatsAioVolumeResponse::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioVolumeStatsResponse)
+ // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsAioVolumeResponse)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::handle(this), target, stream);
- }
-
- // .opi_api.storage.v1.VolumeStats stats = 2;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
if (this->_internal_has_stats()) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(
- 2, _Internal::stats(this), target, stream);
+ 1, _Internal::stats(this), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
- // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioVolumeStatsResponse)
+ // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsAioVolumeResponse)
return target;
}
-size_t AioVolumeStatsResponse::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioVolumeStatsResponse)
+size_t StatsAioVolumeResponse::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsAioVolumeResponse)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *handle_);
- }
-
- // .opi_api.storage.v1.VolumeStats stats = 2;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
if (this->_internal_has_stats()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
@@ -2560,57 +2513,49 @@ size_t AioVolumeStatsResponse::ByteSizeLong() const {
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioVolumeStatsResponse::_class_data_ = {
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsAioVolumeResponse::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
- AioVolumeStatsResponse::MergeImpl
+ StatsAioVolumeResponse::MergeImpl
};
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioVolumeStatsResponse::GetClassData() const { return &_class_data_; }
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsAioVolumeResponse::GetClassData() const { return &_class_data_; }
-void AioVolumeStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
+void StatsAioVolumeResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast(to)->MergeFrom(
- static_cast(from));
+ static_cast(to)->MergeFrom(
+ static_cast(from));
}
-void AioVolumeStatsResponse::MergeFrom(const AioVolumeStatsResponse& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioVolumeStatsResponse)
+void StatsAioVolumeResponse::MergeFrom(const StatsAioVolumeResponse& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsAioVolumeResponse)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- if (from._internal_has_handle()) {
- _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle());
- }
if (from._internal_has_stats()) {
_internal_mutable_stats()->::opi_api::storage::v1::VolumeStats::MergeFrom(from._internal_stats());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
-void AioVolumeStatsResponse::CopyFrom(const AioVolumeStatsResponse& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioVolumeStatsResponse)
+void StatsAioVolumeResponse::CopyFrom(const StatsAioVolumeResponse& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsAioVolumeResponse)
if (&from == this) return;
Clear();
MergeFrom(from);
}
-bool AioVolumeStatsResponse::IsInitialized() const {
+bool StatsAioVolumeResponse::IsInitialized() const {
return true;
}
-void AioVolumeStatsResponse::InternalSwap(AioVolumeStatsResponse* other) {
+void StatsAioVolumeResponse::InternalSwap(StatsAioVolumeResponse* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(AioVolumeStatsResponse, stats_)
- + sizeof(AioVolumeStatsResponse::stats_)
- - PROTOBUF_FIELD_OFFSET(AioVolumeStatsResponse, handle_)>(
- reinterpret_cast(&handle_),
- reinterpret_cast(&other->handle_));
+ swap(stats_, other->stats_);
}
-::PROTOBUF_NAMESPACE_ID::Metadata AioVolumeStatsResponse::GetMetadata() const {
+::PROTOBUF_NAMESPACE_ID::Metadata StatsAioVolumeResponse::GetMetadata() const {
return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
&descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once,
file_level_metadata_backend_5faio_2eproto[8]);
@@ -2642,11 +2587,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListAioVolumesResponse* Are
template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetAioVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetAioVolumeRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetAioVolumeRequest >(arena);
}
-template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioVolumeStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioVolumeStatsRequest >(Arena* arena) {
- return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioVolumeStatsRequest >(arena);
+template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsAioVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsAioVolumeRequest >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsAioVolumeRequest >(arena);
}
-template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioVolumeStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioVolumeStatsResponse >(Arena* arena) {
- return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioVolumeStatsResponse >(arena);
+template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsAioVolumeResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsAioVolumeResponse >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsAioVolumeResponse >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.h b/storage/v1alpha1/gen/cpp/backend_aio.pb.h
index 118412d0..5b27a720 100644
--- a/storage/v1alpha1/gen/cpp/backend_aio.pb.h
+++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.h
@@ -37,7 +37,6 @@
#include "google/api/annotations.pb.h"
#include "google/api/field_behavior.pb.h"
#include
-#include "object_key.pb.h"
#include "opicommon.pb.h"
#include "uuid.pb.h"
// @@protoc_insertion_point(includes)
@@ -68,12 +67,6 @@ namespace v1 {
class AioVolume;
struct AioVolumeDefaultTypeInternal;
extern AioVolumeDefaultTypeInternal _AioVolume_default_instance_;
-class AioVolumeStatsRequest;
-struct AioVolumeStatsRequestDefaultTypeInternal;
-extern AioVolumeStatsRequestDefaultTypeInternal _AioVolumeStatsRequest_default_instance_;
-class AioVolumeStatsResponse;
-struct AioVolumeStatsResponseDefaultTypeInternal;
-extern AioVolumeStatsResponseDefaultTypeInternal _AioVolumeStatsResponse_default_instance_;
class CreateAioVolumeRequest;
struct CreateAioVolumeRequestDefaultTypeInternal;
extern CreateAioVolumeRequestDefaultTypeInternal _CreateAioVolumeRequest_default_instance_;
@@ -89,6 +82,12 @@ extern ListAioVolumesRequestDefaultTypeInternal _ListAioVolumesRequest_default_i
class ListAioVolumesResponse;
struct ListAioVolumesResponseDefaultTypeInternal;
extern ListAioVolumesResponseDefaultTypeInternal _ListAioVolumesResponse_default_instance_;
+class StatsAioVolumeRequest;
+struct StatsAioVolumeRequestDefaultTypeInternal;
+extern StatsAioVolumeRequestDefaultTypeInternal _StatsAioVolumeRequest_default_instance_;
+class StatsAioVolumeResponse;
+struct StatsAioVolumeResponseDefaultTypeInternal;
+extern StatsAioVolumeResponseDefaultTypeInternal _StatsAioVolumeResponse_default_instance_;
class UpdateAioVolumeRequest;
struct UpdateAioVolumeRequestDefaultTypeInternal;
extern UpdateAioVolumeRequestDefaultTypeInternal _UpdateAioVolumeRequest_default_instance_;
@@ -97,13 +96,13 @@ extern UpdateAioVolumeRequestDefaultTypeInternal _UpdateAioVolumeRequest_default
} // namespace opi_api
PROTOBUF_NAMESPACE_OPEN
template<> ::opi_api::storage::v1::AioVolume* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioVolume>(Arena*);
-template<> ::opi_api::storage::v1::AioVolumeStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioVolumeStatsRequest>(Arena*);
-template<> ::opi_api::storage::v1::AioVolumeStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioVolumeStatsResponse>(Arena*);
template<> ::opi_api::storage::v1::CreateAioVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::CreateAioVolumeRequest>(Arena*);
template<> ::opi_api::storage::v1::DeleteAioVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::DeleteAioVolumeRequest>(Arena*);
template<> ::opi_api::storage::v1::GetAioVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::GetAioVolumeRequest>(Arena*);
template<> ::opi_api::storage::v1::ListAioVolumesRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListAioVolumesRequest>(Arena*);
template<> ::opi_api::storage::v1::ListAioVolumesResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListAioVolumesResponse>(Arena*);
+template<> ::opi_api::storage::v1::StatsAioVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsAioVolumeRequest>(Arena*);
+template<> ::opi_api::storage::v1::StatsAioVolumeResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsAioVolumeResponse>(Arena*);
template<> ::opi_api::storage::v1::UpdateAioVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateAioVolumeRequest>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace opi_api {
@@ -240,7 +239,7 @@ class AioVolume final :
kBlockSizeFieldNumber = 2,
kBlocksCountFieldNumber = 3,
};
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
void clear_name();
const std::string& name() const;
template
@@ -443,10 +442,10 @@ class CreateAioVolumeRequest final :
// accessors -------------------------------------------------------
enum : int {
- kAioVolumeIdFieldNumber = 3,
- kAioVolumeFieldNumber = 2,
+ kAioVolumeIdFieldNumber = 2,
+ kAioVolumeFieldNumber = 1,
};
- // string aio_volume_id = 3;
+ // string aio_volume_id = 2;
void clear_aio_volume_id();
const std::string& aio_volume_id() const;
template
@@ -460,7 +459,7 @@ class CreateAioVolumeRequest final :
std::string* _internal_mutable_aio_volume_id();
public:
- // .opi_api.storage.v1.AioVolume aio_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+ // .opi_api.storage.v1.AioVolume aio_volume = 1 [(.google.api.field_behavior) = REQUIRED];
bool has_aio_volume() const;
private:
bool _internal_has_aio_volume() const;
@@ -1340,24 +1339,24 @@ class GetAioVolumeRequest final :
};
// -------------------------------------------------------------------
-class AioVolumeStatsRequest final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioVolumeStatsRequest) */ {
+class StatsAioVolumeRequest final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsAioVolumeRequest) */ {
public:
- inline AioVolumeStatsRequest() : AioVolumeStatsRequest(nullptr) {}
- ~AioVolumeStatsRequest() override;
- explicit constexpr AioVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ inline StatsAioVolumeRequest() : StatsAioVolumeRequest(nullptr) {}
+ ~StatsAioVolumeRequest() override;
+ explicit constexpr StatsAioVolumeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- AioVolumeStatsRequest(const AioVolumeStatsRequest& from);
- AioVolumeStatsRequest(AioVolumeStatsRequest&& from) noexcept
- : AioVolumeStatsRequest() {
+ StatsAioVolumeRequest(const StatsAioVolumeRequest& from);
+ StatsAioVolumeRequest(StatsAioVolumeRequest&& from) noexcept
+ : StatsAioVolumeRequest() {
*this = ::std::move(from);
}
- inline AioVolumeStatsRequest& operator=(const AioVolumeStatsRequest& from) {
+ inline StatsAioVolumeRequest& operator=(const StatsAioVolumeRequest& from) {
CopyFrom(from);
return *this;
}
- inline AioVolumeStatsRequest& operator=(AioVolumeStatsRequest&& from) noexcept {
+ inline StatsAioVolumeRequest& operator=(StatsAioVolumeRequest&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -1380,20 +1379,20 @@ class AioVolumeStatsRequest final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
- static const AioVolumeStatsRequest& default_instance() {
+ static const StatsAioVolumeRequest& default_instance() {
return *internal_default_instance();
}
- static inline const AioVolumeStatsRequest* internal_default_instance() {
- return reinterpret_cast(
- &_AioVolumeStatsRequest_default_instance_);
+ static inline const StatsAioVolumeRequest* internal_default_instance() {
+ return reinterpret_cast(
+ &_StatsAioVolumeRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
7;
- friend void swap(AioVolumeStatsRequest& a, AioVolumeStatsRequest& b) {
+ friend void swap(StatsAioVolumeRequest& a, StatsAioVolumeRequest& b) {
a.Swap(&b);
}
- inline void Swap(AioVolumeStatsRequest* other) {
+ inline void Swap(StatsAioVolumeRequest* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
@@ -1406,7 +1405,7 @@ class AioVolumeStatsRequest final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
- void UnsafeArenaSwap(AioVolumeStatsRequest* other) {
+ void UnsafeArenaSwap(StatsAioVolumeRequest* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
@@ -1414,13 +1413,13 @@ class AioVolumeStatsRequest final :
// implements Message ----------------------------------------------
- AioVolumeStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage(arena);
+ StatsAioVolumeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const AioVolumeStatsRequest& from);
+ void CopyFrom(const StatsAioVolumeRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AioVolumeStatsRequest& from);
+ void MergeFrom(const StatsAioVolumeRequest& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
@@ -1437,15 +1436,15 @@ class AioVolumeStatsRequest final :
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
- void InternalSwap(AioVolumeStatsRequest* other);
+ void InternalSwap(StatsAioVolumeRequest* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opi_api.storage.v1.AioVolumeStatsRequest";
+ return "opi_api.storage.v1.StatsAioVolumeRequest";
}
protected:
- explicit AioVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ explicit StatsAioVolumeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
@@ -1462,57 +1461,53 @@ class AioVolumeStatsRequest final :
// accessors -------------------------------------------------------
enum : int {
- kHandleFieldNumber = 1,
+ kNameFieldNumber = 1,
};
- // .opi_api.common.v1.ObjectKey handle = 1;
- bool has_handle() const;
- private:
- bool _internal_has_handle() const;
- public:
- void clear_handle();
- const ::opi_api::common::v1::ObjectKey& handle() const;
- PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_handle();
- ::opi_api::common::v1::ObjectKey* mutable_handle();
- void set_allocated_handle(::opi_api::common::v1::ObjectKey* handle);
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ void clear_name();
+ const std::string& name() const;
+ template
+ void set_name(ArgT0&& arg0, ArgT... args);
+ std::string* mutable_name();
+ PROTOBUF_NODISCARD std::string* release_name();
+ void set_allocated_name(std::string* name);
private:
- const ::opi_api::common::v1::ObjectKey& _internal_handle() const;
- ::opi_api::common::v1::ObjectKey* _internal_mutable_handle();
+ const std::string& _internal_name() const;
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
+ std::string* _internal_mutable_name();
public:
- void unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle);
- ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle();
- // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioVolumeStatsRequest)
+ // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsAioVolumeRequest)
private:
class _Internal;
template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::opi_api::common::v1::ObjectKey* handle_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_backend_5faio_2eproto;
};
// -------------------------------------------------------------------
-class AioVolumeStatsResponse final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioVolumeStatsResponse) */ {
+class StatsAioVolumeResponse final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsAioVolumeResponse) */ {
public:
- inline AioVolumeStatsResponse() : AioVolumeStatsResponse(nullptr) {}
- ~AioVolumeStatsResponse() override;
- explicit constexpr AioVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ inline StatsAioVolumeResponse() : StatsAioVolumeResponse(nullptr) {}
+ ~StatsAioVolumeResponse() override;
+ explicit constexpr StatsAioVolumeResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- AioVolumeStatsResponse(const AioVolumeStatsResponse& from);
- AioVolumeStatsResponse(AioVolumeStatsResponse&& from) noexcept
- : AioVolumeStatsResponse() {
+ StatsAioVolumeResponse(const StatsAioVolumeResponse& from);
+ StatsAioVolumeResponse(StatsAioVolumeResponse&& from) noexcept
+ : StatsAioVolumeResponse() {
*this = ::std::move(from);
}
- inline AioVolumeStatsResponse& operator=(const AioVolumeStatsResponse& from) {
+ inline StatsAioVolumeResponse& operator=(const StatsAioVolumeResponse& from) {
CopyFrom(from);
return *this;
}
- inline AioVolumeStatsResponse& operator=(AioVolumeStatsResponse&& from) noexcept {
+ inline StatsAioVolumeResponse& operator=(StatsAioVolumeResponse&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -1535,20 +1530,20 @@ class AioVolumeStatsResponse final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
- static const AioVolumeStatsResponse& default_instance() {
+ static const StatsAioVolumeResponse& default_instance() {
return *internal_default_instance();
}
- static inline const AioVolumeStatsResponse* internal_default_instance() {
- return reinterpret_cast(
- &_AioVolumeStatsResponse_default_instance_);
+ static inline const StatsAioVolumeResponse* internal_default_instance() {
+ return reinterpret_cast(
+ &_StatsAioVolumeResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
8;
- friend void swap(AioVolumeStatsResponse& a, AioVolumeStatsResponse& b) {
+ friend void swap(StatsAioVolumeResponse& a, StatsAioVolumeResponse& b) {
a.Swap(&b);
}
- inline void Swap(AioVolumeStatsResponse* other) {
+ inline void Swap(StatsAioVolumeResponse* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
@@ -1561,7 +1556,7 @@ class AioVolumeStatsResponse final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
- void UnsafeArenaSwap(AioVolumeStatsResponse* other) {
+ void UnsafeArenaSwap(StatsAioVolumeResponse* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
@@ -1569,13 +1564,13 @@ class AioVolumeStatsResponse final :
// implements Message ----------------------------------------------
- AioVolumeStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage(arena);
+ StatsAioVolumeResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const AioVolumeStatsResponse& from);
+ void CopyFrom(const StatsAioVolumeResponse& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AioVolumeStatsResponse& from);
+ void MergeFrom(const StatsAioVolumeResponse& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
@@ -1592,15 +1587,15 @@ class AioVolumeStatsResponse final :
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
- void InternalSwap(AioVolumeStatsResponse* other);
+ void InternalSwap(StatsAioVolumeResponse* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opi_api.storage.v1.AioVolumeStatsResponse";
+ return "opi_api.storage.v1.StatsAioVolumeResponse";
}
protected:
- explicit AioVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ explicit StatsAioVolumeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
@@ -1617,28 +1612,9 @@ class AioVolumeStatsResponse final :
// accessors -------------------------------------------------------
enum : int {
- kHandleFieldNumber = 1,
- kStatsFieldNumber = 2,
+ kStatsFieldNumber = 1,
};
- // .opi_api.common.v1.ObjectKey handle = 1;
- bool has_handle() const;
- private:
- bool _internal_has_handle() const;
- public:
- void clear_handle();
- const ::opi_api::common::v1::ObjectKey& handle() const;
- PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_handle();
- ::opi_api::common::v1::ObjectKey* mutable_handle();
- void set_allocated_handle(::opi_api::common::v1::ObjectKey* handle);
- private:
- const ::opi_api::common::v1::ObjectKey& _internal_handle() const;
- ::opi_api::common::v1::ObjectKey* _internal_mutable_handle();
- public:
- void unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle);
- ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle();
-
- // .opi_api.storage.v1.VolumeStats stats = 2;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
bool has_stats() const;
private:
bool _internal_has_stats() const;
@@ -1656,14 +1632,13 @@ class AioVolumeStatsResponse final :
::opi_api::storage::v1::VolumeStats* stats);
::opi_api::storage::v1::VolumeStats* unsafe_arena_release_stats();
- // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioVolumeStatsResponse)
+ // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsAioVolumeResponse)
private:
class _Internal;
template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::opi_api::common::v1::ObjectKey* handle_;
::opi_api::storage::v1::VolumeStats* stats_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_backend_5faio_2eproto;
@@ -1679,7 +1654,7 @@ class AioVolumeStatsResponse final :
#endif // __GNUC__
// AioVolume
-// string name = 1;
+// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
inline void AioVolume::clear_name() {
name_.ClearToEmpty();
}
@@ -1911,7 +1886,7 @@ inline void AioVolume::set_allocated_filename(std::string* filename) {
// CreateAioVolumeRequest
-// .opi_api.storage.v1.AioVolume aio_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+// .opi_api.storage.v1.AioVolume aio_volume = 1 [(.google.api.field_behavior) = REQUIRED];
inline bool CreateAioVolumeRequest::_internal_has_aio_volume() const {
return this != internal_default_instance() && aio_volume_ != nullptr;
}
@@ -2001,7 +1976,7 @@ inline void CreateAioVolumeRequest::set_allocated_aio_volume(::opi_api::storage:
// @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateAioVolumeRequest.aio_volume)
}
-// string aio_volume_id = 3;
+// string aio_volume_id = 2;
inline void CreateAioVolumeRequest::clear_aio_volume_id() {
aio_volume_id_.ClearToEmpty();
}
@@ -2605,201 +2580,80 @@ inline void GetAioVolumeRequest::set_allocated_name(std::string* name) {
// -------------------------------------------------------------------
-// AioVolumeStatsRequest
+// StatsAioVolumeRequest
-// .opi_api.common.v1.ObjectKey handle = 1;
-inline bool AioVolumeStatsRequest::_internal_has_handle() const {
- return this != internal_default_instance() && handle_ != nullptr;
-}
-inline bool AioVolumeStatsRequest::has_handle() const {
- return _internal_has_handle();
+// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+inline void StatsAioVolumeRequest::clear_name() {
+ name_.ClearToEmpty();
}
-inline const ::opi_api::common::v1::ObjectKey& AioVolumeStatsRequest::_internal_handle() const {
- const ::opi_api::common::v1::ObjectKey* p = handle_;
- return p != nullptr ? *p : reinterpret_cast(
- ::opi_api::common::v1::_ObjectKey_default_instance_);
+inline const std::string& StatsAioVolumeRequest::name() const {
+ // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsAioVolumeRequest.name)
+ return _internal_name();
}
-inline const ::opi_api::common::v1::ObjectKey& AioVolumeStatsRequest::handle() const {
- // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioVolumeStatsRequest.handle)
- return _internal_handle();
+template
+inline PROTOBUF_ALWAYS_INLINE
+void StatsAioVolumeRequest::set_name(ArgT0&& arg0, ArgT... args) {
+
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation());
+ // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsAioVolumeRequest.name)
}
-inline void AioVolumeStatsRequest::unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- handle_ = handle;
- if (handle) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioVolumeStatsRequest.handle)
+inline std::string* StatsAioVolumeRequest::mutable_name() {
+ std::string* _s = _internal_mutable_name();
+ // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsAioVolumeRequest.name)
+ return _s;
}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsRequest::release_handle() {
-
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
-#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
-#else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
-#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
+inline const std::string& StatsAioVolumeRequest::_internal_name() const {
+ return name_.Get();
}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsRequest::unsafe_arena_release_handle() {
- // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioVolumeStatsRequest.handle)
+inline void StatsAioVolumeRequest::_internal_set_name(const std::string& value) {
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
- return temp;
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsRequest::_internal_mutable_handle() {
+inline std::string* StatsAioVolumeRequest::_internal_mutable_name() {
- if (handle_ == nullptr) {
- auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation());
- handle_ = p;
- }
- return handle_;
+ return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsRequest::mutable_handle() {
- ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle();
- // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioVolumeStatsRequest.handle)
- return _msg;
+inline std::string* StatsAioVolumeRequest::release_name() {
+ // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsAioVolumeRequest.name)
+ return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
-inline void AioVolumeStatsRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- if (handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle));
- if (message_arena != submessage_arena) {
- handle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, handle, submessage_arena);
- }
+inline void StatsAioVolumeRequest::set_allocated_name(std::string* name) {
+ if (name != nullptr) {
} else {
}
- handle_ = handle;
- // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioVolumeStatsRequest.handle)
+ name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
+ GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
+ name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsAioVolumeRequest.name)
}
// -------------------------------------------------------------------
-// AioVolumeStatsResponse
-
-// .opi_api.common.v1.ObjectKey handle = 1;
-inline bool AioVolumeStatsResponse::_internal_has_handle() const {
- return this != internal_default_instance() && handle_ != nullptr;
-}
-inline bool AioVolumeStatsResponse::has_handle() const {
- return _internal_has_handle();
-}
-inline const ::opi_api::common::v1::ObjectKey& AioVolumeStatsResponse::_internal_handle() const {
- const ::opi_api::common::v1::ObjectKey* p = handle_;
- return p != nullptr ? *p : reinterpret_cast(
- ::opi_api::common::v1::_ObjectKey_default_instance_);
-}
-inline const ::opi_api::common::v1::ObjectKey& AioVolumeStatsResponse::handle() const {
- // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioVolumeStatsResponse.handle)
- return _internal_handle();
-}
-inline void AioVolumeStatsResponse::unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- handle_ = handle;
- if (handle) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioVolumeStatsResponse.handle)
-}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsResponse::release_handle() {
-
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
-#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
-#else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
-#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
-}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsResponse::unsafe_arena_release_handle() {
- // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioVolumeStatsResponse.handle)
-
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
- return temp;
-}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsResponse::_internal_mutable_handle() {
-
- if (handle_ == nullptr) {
- auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation());
- handle_ = p;
- }
- return handle_;
-}
-inline ::opi_api::common::v1::ObjectKey* AioVolumeStatsResponse::mutable_handle() {
- ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle();
- // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioVolumeStatsResponse.handle)
- return _msg;
-}
-inline void AioVolumeStatsResponse::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- if (handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle));
- if (message_arena != submessage_arena) {
- handle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, handle, submessage_arena);
- }
-
- } else {
-
- }
- handle_ = handle;
- // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioVolumeStatsResponse.handle)
-}
+// StatsAioVolumeResponse
-// .opi_api.storage.v1.VolumeStats stats = 2;
-inline bool AioVolumeStatsResponse::_internal_has_stats() const {
+// .opi_api.storage.v1.VolumeStats stats = 1;
+inline bool StatsAioVolumeResponse::_internal_has_stats() const {
return this != internal_default_instance() && stats_ != nullptr;
}
-inline bool AioVolumeStatsResponse::has_stats() const {
+inline bool StatsAioVolumeResponse::has_stats() const {
return _internal_has_stats();
}
-inline const ::opi_api::storage::v1::VolumeStats& AioVolumeStatsResponse::_internal_stats() const {
+inline const ::opi_api::storage::v1::VolumeStats& StatsAioVolumeResponse::_internal_stats() const {
const ::opi_api::storage::v1::VolumeStats* p = stats_;
return p != nullptr ? *p : reinterpret_cast(
::opi_api::storage::v1::_VolumeStats_default_instance_);
}
-inline const ::opi_api::storage::v1::VolumeStats& AioVolumeStatsResponse::stats() const {
- // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioVolumeStatsResponse.stats)
+inline const ::opi_api::storage::v1::VolumeStats& StatsAioVolumeResponse::stats() const {
+ // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsAioVolumeResponse.stats)
return _internal_stats();
}
-inline void AioVolumeStatsResponse::unsafe_arena_set_allocated_stats(
+inline void StatsAioVolumeResponse::unsafe_arena_set_allocated_stats(
::opi_api::storage::v1::VolumeStats* stats) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_);
@@ -2810,9 +2664,9 @@ inline void AioVolumeStatsResponse::unsafe_arena_set_allocated_stats(
} else {
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioVolumeStatsResponse.stats)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsAioVolumeResponse.stats)
}
-inline ::opi_api::storage::v1::VolumeStats* AioVolumeStatsResponse::release_stats() {
+inline ::opi_api::storage::v1::VolumeStats* StatsAioVolumeResponse::release_stats() {
::opi_api::storage::v1::VolumeStats* temp = stats_;
stats_ = nullptr;
@@ -2827,14 +2681,14 @@ inline ::opi_api::storage::v1::VolumeStats* AioVolumeStatsResponse::release_stat
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
-inline ::opi_api::storage::v1::VolumeStats* AioVolumeStatsResponse::unsafe_arena_release_stats() {
- // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioVolumeStatsResponse.stats)
+inline ::opi_api::storage::v1::VolumeStats* StatsAioVolumeResponse::unsafe_arena_release_stats() {
+ // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsAioVolumeResponse.stats)
::opi_api::storage::v1::VolumeStats* temp = stats_;
stats_ = nullptr;
return temp;
}
-inline ::opi_api::storage::v1::VolumeStats* AioVolumeStatsResponse::_internal_mutable_stats() {
+inline ::opi_api::storage::v1::VolumeStats* StatsAioVolumeResponse::_internal_mutable_stats() {
if (stats_ == nullptr) {
auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation());
@@ -2842,12 +2696,12 @@ inline ::opi_api::storage::v1::VolumeStats* AioVolumeStatsResponse::_internal_mu
}
return stats_;
}
-inline ::opi_api::storage::v1::VolumeStats* AioVolumeStatsResponse::mutable_stats() {
+inline ::opi_api::storage::v1::VolumeStats* StatsAioVolumeResponse::mutable_stats() {
::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats();
- // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioVolumeStatsResponse.stats)
+ // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsAioVolumeResponse.stats)
return _msg;
}
-inline void AioVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) {
+inline void StatsAioVolumeResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_);
@@ -2866,7 +2720,7 @@ inline void AioVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1::
}
stats_ = stats;
- // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioVolumeStatsResponse.stats)
+ // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsAioVolumeResponse.stats)
}
#ifdef __GNUC__
diff --git a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc
index a4b98ddf..2358cfe5 100644
--- a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc
+++ b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc
@@ -29,7 +29,7 @@ static const char* NullVolumeService_method_names[] = {
"/opi_api.storage.v1.NullVolumeService/UpdateNullVolume",
"/opi_api.storage.v1.NullVolumeService/ListNullVolumes",
"/opi_api.storage.v1.NullVolumeService/GetNullVolume",
- "/opi_api.storage.v1.NullVolumeService/NullVolumeStats",
+ "/opi_api.storage.v1.NullVolumeService/StatsNullVolume",
};
std::unique_ptr< NullVolumeService::Stub> NullVolumeService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
@@ -44,7 +44,7 @@ NullVolumeService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>&
, rpcmethod_UpdateNullVolume_(NullVolumeService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_ListNullVolumes_(NullVolumeService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_GetNullVolume_(NullVolumeService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
- , rpcmethod_NullVolumeStats_(NullVolumeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
+ , rpcmethod_StatsNullVolume_(NullVolumeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
{}
::grpc::Status NullVolumeService::Stub::CreateNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullVolumeRequest& request, ::opi_api::storage::v1::NullVolume* response) {
@@ -162,25 +162,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolume>* NullVolu
return result;
}
-::grpc::Status NullVolumeService::Stub::NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::opi_api::storage::v1::NullVolumeStatsResponse* response) {
- return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NullVolumeStats_, context, request, response);
+::grpc::Status NullVolumeService::Stub::StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::opi_api::storage::v1::StatsNullVolumeResponse* response) {
+ return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsNullVolume_, context, request, response);
}
-void NullVolumeService::Stub::async::NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response, std::function f) {
- ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullVolumeStats_, context, request, response, std::move(f));
+void NullVolumeService::Stub::async::StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response, std::function f) {
+ ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNullVolume_, context, request, response, std::move(f));
}
-void NullVolumeService::Stub::async::NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) {
- ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullVolumeStats_, context, request, response, reactor);
+void NullVolumeService::Stub::async::StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) {
+ ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNullVolume_, context, request, response, reactor);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>* NullVolumeService::Stub::PrepareAsyncNullVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullVolumeStatsResponse, ::opi_api::storage::v1::NullVolumeStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NullVolumeStats_, context, request);
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>* NullVolumeService::Stub::PrepareAsyncStatsNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsNullVolumeResponse, ::opi_api::storage::v1::StatsNullVolumeRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsNullVolume_, context, request);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>* NullVolumeService::Stub::AsyncNullVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>* NullVolumeService::Stub::AsyncStatsNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
auto* result =
- this->PrepareAsyncNullVolumeStatsRaw(context, request, cq);
+ this->PrepareAsyncStatsNullVolumeRaw(context, request, cq);
result->StartCall();
return result;
}
@@ -239,12 +239,12 @@ NullVolumeService::Service::Service() {
AddMethod(new ::grpc::internal::RpcServiceMethod(
NullVolumeService_method_names[5],
::grpc::internal::RpcMethod::NORMAL_RPC,
- new ::grpc::internal::RpcMethodHandler< NullVolumeService::Service, ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
+ new ::grpc::internal::RpcMethodHandler< NullVolumeService::Service, ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
[](NullVolumeService::Service* service,
::grpc::ServerContext* ctx,
- const ::opi_api::storage::v1::NullVolumeStatsRequest* req,
- ::opi_api::storage::v1::NullVolumeStatsResponse* resp) {
- return service->NullVolumeStats(ctx, req, resp);
+ const ::opi_api::storage::v1::StatsNullVolumeRequest* req,
+ ::opi_api::storage::v1::StatsNullVolumeResponse* resp) {
+ return service->StatsNullVolume(ctx, req, resp);
}, this)));
}
@@ -286,7 +286,7 @@ ::grpc::Status NullVolumeService::Service::GetNullVolume(::grpc::ServerContext*
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
-::grpc::Status NullVolumeService::Service::NullVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response) {
+::grpc::Status NullVolumeService::Service::StatsNullVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response) {
(void) context;
(void) request;
(void) response;
diff --git a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h
index 51ca56d6..180b5cec 100644
--- a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h
+++ b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h
@@ -77,12 +77,12 @@ class NullVolumeService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolume>> PrepareAsyncGetNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolume>>(PrepareAsyncGetNullVolumeRaw(context, request, cq));
}
- virtual ::grpc::Status NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::opi_api::storage::v1::NullVolumeStatsResponse* response) = 0;
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolumeStatsResponse>> AsyncNullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolumeStatsResponse>>(AsyncNullVolumeStatsRaw(context, request, cq));
+ virtual ::grpc::Status StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::opi_api::storage::v1::StatsNullVolumeResponse* response) = 0;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNullVolumeResponse>> AsyncStatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNullVolumeResponse>>(AsyncStatsNullVolumeRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolumeStatsResponse>> PrepareAsyncNullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolumeStatsResponse>>(PrepareAsyncNullVolumeStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNullVolumeResponse>> PrepareAsyncStatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNullVolumeResponse>>(PrepareAsyncStatsNullVolumeRaw(context, request, cq));
}
class async_interface {
public:
@@ -97,8 +97,8 @@ class NullVolumeService final {
virtual void ListNullVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullVolumesRequest* request, ::opi_api::storage::v1::ListNullVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
virtual void GetNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest* request, ::opi_api::storage::v1::NullVolume* response, std::function) = 0;
virtual void GetNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest* request, ::opi_api::storage::v1::NullVolume* response, ::grpc::ClientUnaryReactor* reactor) = 0;
- virtual void NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response, std::function) = 0;
- virtual void NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
+ virtual void StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response, std::function) = 0;
+ virtual void StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
};
typedef class async_interface experimental_async_interface;
virtual class async_interface* async() { return nullptr; }
@@ -114,8 +114,8 @@ class NullVolumeService final {
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullVolumesResponse>* PrepareAsyncListNullVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullVolumesRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolume>* AsyncGetNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolume>* PrepareAsyncGetNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolumeStatsResponse>* AsyncNullVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullVolumeStatsResponse>* PrepareAsyncNullVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNullVolumeResponse>* AsyncStatsNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNullVolumeResponse>* PrepareAsyncStatsNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0;
};
class Stub final : public StubInterface {
public:
@@ -155,12 +155,12 @@ class NullVolumeService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolume>> PrepareAsyncGetNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolume>>(PrepareAsyncGetNullVolumeRaw(context, request, cq));
}
- ::grpc::Status NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::opi_api::storage::v1::NullVolumeStatsResponse* response) override;
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>> AsyncNullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>>(AsyncNullVolumeStatsRaw(context, request, cq));
+ ::grpc::Status StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::opi_api::storage::v1::StatsNullVolumeResponse* response) override;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>> AsyncStatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>>(AsyncStatsNullVolumeRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>> PrepareAsyncNullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>>(PrepareAsyncNullVolumeStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>> PrepareAsyncStatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>>(PrepareAsyncStatsNullVolumeRaw(context, request, cq));
}
class async final :
public StubInterface::async_interface {
@@ -175,8 +175,8 @@ class NullVolumeService final {
void ListNullVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullVolumesRequest* request, ::opi_api::storage::v1::ListNullVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
void GetNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest* request, ::opi_api::storage::v1::NullVolume* response, std::function) override;
void GetNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest* request, ::opi_api::storage::v1::NullVolume* response, ::grpc::ClientUnaryReactor* reactor) override;
- void NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response, std::function) override;
- void NullVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
+ void StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response, std::function) override;
+ void StatsNullVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
private:
friend class Stub;
explicit async(Stub* stub): stub_(stub) { }
@@ -198,14 +198,14 @@ class NullVolumeService final {
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullVolumesResponse>* PrepareAsyncListNullVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullVolumesRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolume>* AsyncGetNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolume>* PrepareAsyncGetNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>* AsyncNullVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullVolumeStatsResponse>* PrepareAsyncNullVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>* AsyncStatsNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNullVolumeResponse>* PrepareAsyncStatsNullVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest& request, ::grpc::CompletionQueue* cq) override;
const ::grpc::internal::RpcMethod rpcmethod_CreateNullVolume_;
const ::grpc::internal::RpcMethod rpcmethod_DeleteNullVolume_;
const ::grpc::internal::RpcMethod rpcmethod_UpdateNullVolume_;
const ::grpc::internal::RpcMethod rpcmethod_ListNullVolumes_;
const ::grpc::internal::RpcMethod rpcmethod_GetNullVolume_;
- const ::grpc::internal::RpcMethod rpcmethod_NullVolumeStats_;
+ const ::grpc::internal::RpcMethod rpcmethod_StatsNullVolume_;
};
static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
@@ -218,7 +218,7 @@ class NullVolumeService final {
virtual ::grpc::Status UpdateNullVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNullVolumeRequest* request, ::opi_api::storage::v1::NullVolume* response);
virtual ::grpc::Status ListNullVolumes(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNullVolumesRequest* request, ::opi_api::storage::v1::ListNullVolumesResponse* response);
virtual ::grpc::Status GetNullVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNullVolumeRequest* request, ::opi_api::storage::v1::NullVolume* response);
- virtual ::grpc::Status NullVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response);
+ virtual ::grpc::Status StatsNullVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response);
};
template
class WithAsyncMethod_CreateNullVolume : public BaseClass {
@@ -321,26 +321,26 @@ class NullVolumeService final {
}
};
template
- class WithAsyncMethod_NullVolumeStats : public BaseClass {
+ class WithAsyncMethod_StatsNullVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithAsyncMethod_NullVolumeStats() {
+ WithAsyncMethod_StatsNullVolume() {
::grpc::Service::MarkMethodAsync(5);
}
- ~WithAsyncMethod_NullVolumeStats() override {
+ ~WithAsyncMethod_StatsNullVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NullVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNullVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNullVolumeStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullVolumeStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsNullVolume(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsNullVolumeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
}
};
- typedef WithAsyncMethod_CreateNullVolume > > > > > AsyncService;
+ typedef WithAsyncMethod_CreateNullVolume > > > > > AsyncService;
template
class WithCallbackMethod_CreateNullVolume : public BaseClass {
private:
@@ -477,33 +477,33 @@ class NullVolumeService final {
::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNullVolumeRequest* /*request*/, ::opi_api::storage::v1::NullVolume* /*response*/) { return nullptr; }
};
template
- class WithCallbackMethod_NullVolumeStats : public BaseClass {
+ class WithCallbackMethod_StatsNullVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithCallbackMethod_NullVolumeStats() {
+ WithCallbackMethod_StatsNullVolume() {
::grpc::Service::MarkMethodCallback(5,
- new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse>(
+ new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse>(
[this](
- ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NullVolumeStatsRequest* request, ::opi_api::storage::v1::NullVolumeStatsResponse* response) { return this->NullVolumeStats(context, request, response); }));}
- void SetMessageAllocatorFor_NullVolumeStats(
- ::grpc::MessageAllocator< ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse>* allocator) {
+ ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsNullVolumeRequest* request, ::opi_api::storage::v1::StatsNullVolumeResponse* response) { return this->StatsNullVolume(context, request, response); }));}
+ void SetMessageAllocatorFor_StatsNullVolume(
+ ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse>* allocator) {
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5);
- static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse>*>(handler)
+ static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse>*>(handler)
->SetMessageAllocator(allocator);
}
- ~WithCallbackMethod_NullVolumeStats() override {
+ ~WithCallbackMethod_StatsNullVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NullVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNullVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NullVolumeStats(
- ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) { return nullptr; }
+ virtual ::grpc::ServerUnaryReactor* StatsNullVolume(
+ ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) { return nullptr; }
};
- typedef WithCallbackMethod_CreateNullVolume > > > > > CallbackService;
+ typedef WithCallbackMethod_CreateNullVolume > > > > > CallbackService;
typedef CallbackService ExperimentalCallbackService;
template
class WithGenericMethod_CreateNullVolume : public BaseClass {
@@ -591,18 +591,18 @@ class NullVolumeService final {
}
};
template
- class WithGenericMethod_NullVolumeStats : public BaseClass {
+ class WithGenericMethod_StatsNullVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithGenericMethod_NullVolumeStats() {
+ WithGenericMethod_StatsNullVolume() {
::grpc::Service::MarkMethodGeneric(5);
}
- ~WithGenericMethod_NullVolumeStats() override {
+ ~WithGenericMethod_StatsNullVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NullVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNullVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
@@ -708,22 +708,22 @@ class NullVolumeService final {
}
};
template
- class WithRawMethod_NullVolumeStats : public BaseClass {
+ class WithRawMethod_StatsNullVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawMethod_NullVolumeStats() {
+ WithRawMethod_StatsNullVolume() {
::grpc::Service::MarkMethodRaw(5);
}
- ~WithRawMethod_NullVolumeStats() override {
+ ~WithRawMethod_StatsNullVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NullVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNullVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNullVolumeStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsNullVolume(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
}
};
@@ -838,25 +838,25 @@ class NullVolumeService final {
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
- class WithRawCallbackMethod_NullVolumeStats : public BaseClass {
+ class WithRawCallbackMethod_StatsNullVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawCallbackMethod_NullVolumeStats() {
+ WithRawCallbackMethod_StatsNullVolume() {
::grpc::Service::MarkMethodRawCallback(5,
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
[this](
- ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NullVolumeStats(context, request, response); }));
+ ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsNullVolume(context, request, response); }));
}
- ~WithRawCallbackMethod_NullVolumeStats() override {
+ ~WithRawCallbackMethod_StatsNullVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NullVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNullVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NullVolumeStats(
+ virtual ::grpc::ServerUnaryReactor* StatsNullVolume(
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
@@ -995,35 +995,35 @@ class NullVolumeService final {
virtual ::grpc::Status StreamedGetNullVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNullVolumeRequest,::opi_api::storage::v1::NullVolume>* server_unary_streamer) = 0;
};
template
- class WithStreamedUnaryMethod_NullVolumeStats : public BaseClass {
+ class WithStreamedUnaryMethod_StatsNullVolume : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithStreamedUnaryMethod_NullVolumeStats() {
+ WithStreamedUnaryMethod_StatsNullVolume() {
::grpc::Service::MarkMethodStreamed(5,
new ::grpc::internal::StreamedUnaryHandler<
- ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse>(
+ ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse>(
[this](::grpc::ServerContext* context,
::grpc::ServerUnaryStreamer<
- ::opi_api::storage::v1::NullVolumeStatsRequest, ::opi_api::storage::v1::NullVolumeStatsResponse>* streamer) {
- return this->StreamedNullVolumeStats(context,
+ ::opi_api::storage::v1::StatsNullVolumeRequest, ::opi_api::storage::v1::StatsNullVolumeResponse>* streamer) {
+ return this->StreamedStatsNullVolume(context,
streamer);
}));
}
- ~WithStreamedUnaryMethod_NullVolumeStats() override {
+ ~WithStreamedUnaryMethod_StatsNullVolume() override {
BaseClassMustBeDerivedFromService(this);
}
// disable regular version of this method
- ::grpc::Status NullVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::NullVolumeStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNullVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNullVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsNullVolumeResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
// replace default version of method with streamed unary
- virtual ::grpc::Status StreamedNullVolumeStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullVolumeStatsRequest,::opi_api::storage::v1::NullVolumeStatsResponse>* server_unary_streamer) = 0;
+ virtual ::grpc::Status StreamedStatsNullVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsNullVolumeRequest,::opi_api::storage::v1::StatsNullVolumeResponse>* server_unary_streamer) = 0;
};
- typedef WithStreamedUnaryMethod_CreateNullVolume > > > > > StreamedUnaryService;
+ typedef WithStreamedUnaryMethod_CreateNullVolume > > > > > StreamedUnaryService;
typedef Service SplitStreamedService;
- typedef WithStreamedUnaryMethod_CreateNullVolume > > > > > StreamedService;
+ typedef WithStreamedUnaryMethod_CreateNullVolume > > > > > StreamedService;
};
} // namespace v1
diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.cc b/storage/v1alpha1/gen/cpp/backend_null.pb.cc
index a76ab9bc..615d8744 100644
--- a/storage/v1alpha1/gen/cpp/backend_null.pb.cc
+++ b/storage/v1alpha1/gen/cpp/backend_null.pb.cc
@@ -113,31 +113,30 @@ struct GetNullVolumeRequestDefaultTypeInternal {
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNullVolumeRequestDefaultTypeInternal _GetNullVolumeRequest_default_instance_;
-constexpr NullVolumeStatsRequest::NullVolumeStatsRequest(
+constexpr StatsNullVolumeRequest::StatsNullVolumeRequest(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : handle_(nullptr){}
-struct NullVolumeStatsRequestDefaultTypeInternal {
- constexpr NullVolumeStatsRequestDefaultTypeInternal()
+ : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+struct StatsNullVolumeRequestDefaultTypeInternal {
+ constexpr StatsNullVolumeRequestDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NullVolumeStatsRequestDefaultTypeInternal() {}
+ ~StatsNullVolumeRequestDefaultTypeInternal() {}
union {
- NullVolumeStatsRequest _instance;
+ StatsNullVolumeRequest _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullVolumeStatsRequestDefaultTypeInternal _NullVolumeStatsRequest_default_instance_;
-constexpr NullVolumeStatsResponse::NullVolumeStatsResponse(
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNullVolumeRequestDefaultTypeInternal _StatsNullVolumeRequest_default_instance_;
+constexpr StatsNullVolumeResponse::StatsNullVolumeResponse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : handle_(nullptr)
- , stats_(nullptr){}
-struct NullVolumeStatsResponseDefaultTypeInternal {
- constexpr NullVolumeStatsResponseDefaultTypeInternal()
+ : stats_(nullptr){}
+struct StatsNullVolumeResponseDefaultTypeInternal {
+ constexpr StatsNullVolumeResponseDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NullVolumeStatsResponseDefaultTypeInternal() {}
+ ~StatsNullVolumeResponseDefaultTypeInternal() {}
union {
- NullVolumeStatsResponse _instance;
+ StatsNullVolumeResponse _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullVolumeStatsResponseDefaultTypeInternal _NullVolumeStatsResponse_default_instance_;
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNullVolumeResponseDefaultTypeInternal _StatsNullVolumeResponse_default_instance_;
} // namespace v1
} // namespace storage
} // namespace opi_api
@@ -206,20 +205,19 @@ const uint32_t TableStruct_backend_5fnull_2eproto::offsets[] PROTOBUF_SECTION_VA
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNullVolumeRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullVolumeStatsRequest, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNullVolumeRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullVolumeStatsRequest, handle_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNullVolumeRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullVolumeStatsResponse, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNullVolumeResponse, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullVolumeStatsResponse, handle_),
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullVolumeStatsResponse, stats_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNullVolumeResponse, stats_),
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, -1, sizeof(::opi_api::storage::v1::NullVolume)},
@@ -229,8 +227,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 35, -1, -1, sizeof(::opi_api::storage::v1::ListNullVolumesRequest)},
{ 44, -1, -1, sizeof(::opi_api::storage::v1::ListNullVolumesResponse)},
{ 52, -1, -1, sizeof(::opi_api::storage::v1::GetNullVolumeRequest)},
- { 59, -1, -1, sizeof(::opi_api::storage::v1::NullVolumeStatsRequest)},
- { 66, -1, -1, sizeof(::opi_api::storage::v1::NullVolumeStatsResponse)},
+ { 59, -1, -1, sizeof(::opi_api::storage::v1::StatsNullVolumeRequest)},
+ { 66, -1, -1, sizeof(::opi_api::storage::v1::StatsNullVolumeResponse)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@@ -241,8 +239,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast(&::opi_api::storage::v1::_ListNullVolumesRequest_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_ListNullVolumesResponse_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_GetNullVolumeRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NullVolumeStatsRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NullVolumeStatsResponse_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsNullVolumeRequest_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsNullVolumeResponse_default_instance_),
};
const char descriptor_table_protodef_backend_5fnull_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
@@ -251,75 +249,74 @@ const char descriptor_table_protodef_backend_5fnull_2eproto[] PROTOBUF_SECTION_V
"source.proto\032\033google/protobuf/empty.prot"
"o\032\034google/api/annotations.proto\032\037google/"
"api/field_behavior.proto\032 google/protobu"
- "f/field_mask.proto\032\020object_key.proto\032\017op"
- "icommon.proto\032\nuuid.proto\"\245\001\n\nNullVolume"
- "\022\014\n\004name\030\001 \001(\t\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014bl"
- "ocks_count\030\003 \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api"
- ".common.v1.Uuid:8\352A5\n!storage.opiproject"
- ".org/NullVolume\022\020volumes/{volume}\"k\n\027Cre"
- "ateNullVolumeRequest\0228\n\013null_volume\030\002 \001("
- "\0132\036.opi_api.storage.v1.NullVolumeB\003\340A\002\022\026"
- "\n\016null_volume_id\030\003 \001(\t\"e\n\027DeleteNullVolu"
- "meRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035opi_api"
- ".storage.v1/NullVolume\022\025\n\rallow_missing\030"
- "\002 \001(\010\"\226\001\n\027UpdateNullVolumeRequest\0223\n\013nul"
- "l_volume\030\001 \001(\0132\036.opi_api.storage.v1.Null"
- "Volume\022/\n\013update_mask\030\002 \001(\0132\032.google.pro"
- "tobuf.FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"v"
- "\n\026ListNullVolumesRequest\0225\n\006parent\030\001 \001(\t"
- "B%\340A\002\372A\037\n\035opi_api.storage.v1/NullVolume\022"
- "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h"
- "\n\027ListNullVolumesResponse\0224\n\014null_volume"
- "s\030\001 \003(\0132\036.opi_api.storage.v1.NullVolume\022"
- "\027\n\017next_page_token\030\002 \001(\t\"K\n\024GetNullVolum"
- "eRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035opi_api."
- "storage.v1/NullVolume\"F\n\026NullVolumeStats"
- "Request\022,\n\006handle\030\001 \001(\0132\034.opi_api.common"
- ".v1.ObjectKey\"w\n\027NullVolumeStatsResponse"
- "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj"
- "ectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage."
- "v1.VolumeStats2\207\007\n\021NullVolumeService\022\236\001\n"
- "\020CreateNullVolume\022+.opi_api.storage.v1.C"
- "reateNullVolumeRequest\032\036.opi_api.storage"
- ".v1.NullVolume\"=\202\323\344\223\002\032\"\013/v1/volumes:\013nul"
- "l_volume\332A\032null_volume,null_volume_id\022\211\001"
- "\n\020DeleteNullVolume\022+.opi_api.storage.v1."
- "DeleteNullVolumeRequest\032\026.google.protobu"
- "f.Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems}/{"
- "subsystem}\332A\004name\022\261\001\n\020UpdateNullVolume\022+"
- ".opi_api.storage.v1.UpdateNullVolumeRequ"
- "est\032\036.opi_api.storage.v1.NullVolume\"P\202\323\344"
- "\223\00202!/v1/{null_volume.name=subsystems}:\013"
- "null_volume\332A\027null_volume,update_mask\022\224\001"
- "\n\017ListNullVolumes\022*.opi_api.storage.v1.L"
- "istNullVolumesRequest\032+.opi_api.storage."
- "v1.ListNullVolumesResponse\"(\202\323\344\223\002\031\022\027/v1/"
- "{parent=subsystems}\332A\006parent\022\213\001\n\rGetNull"
- "Volume\022(.opi_api.storage.v1.GetNullVolum"
- "eRequest\032\036.opi_api.storage.v1.NullVolume"
- "\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsyst"
- "em}\332A\004name\022l\n\017NullVolumeStats\022*.opi_api."
- "storage.v1.NullVolumeStatsRequest\032+.opi_"
- "api.storage.v1.NullVolumeStatsResponse\"\000"
- "B_\n\022opi_api.storage.v1B\020BackendNullProto"
- "P\001Z5github.com/opiproject/opi-api/storag"
- "e/v1alpha1/gen/gob\006proto3"
+ "f/field_mask.proto\032\017opicommon.proto\032\nuui"
+ "d.proto\"\317\001\n\nNullVolume\0226\n\004name\030\001 \001(\tB(\340A"
+ "\003\340A\005\372A\037\n\035opi_api.storage.v1/NullVolume\022\022"
+ "\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_count\030\003 \001(\003"
+ "\022%\n\004uuid\030\004 \001(\0132\027.opi_api.common.v1.Uuid:"
+ "8\352A5\n!storage.opiproject.org/NullVolume\022"
+ "\020volumes/{volume}\"k\n\027CreateNullVolumeReq"
+ "uest\0228\n\013null_volume\030\001 \001(\0132\036.opi_api.stor"
+ "age.v1.NullVolumeB\003\340A\002\022\026\n\016null_volume_id"
+ "\030\002 \001(\t\"e\n\027DeleteNullVolumeRequest\0223\n\004nam"
+ "e\030\001 \001(\tB%\340A\002\372A\037\n\035opi_api.storage.v1/Null"
+ "Volume\022\025\n\rallow_missing\030\002 \001(\010\"\226\001\n\027Update"
+ "NullVolumeRequest\0223\n\013null_volume\030\001 \001(\0132\036"
+ ".opi_api.storage.v1.NullVolume\022/\n\013update"
+ "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022"
+ "\025\n\rallow_missing\030\003 \001(\010\"v\n\026ListNullVolume"
+ "sRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\n\035opi_ap"
+ "i.storage.v1/NullVolume\022\021\n\tpage_size\030\002 \001"
+ "(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\027ListNullVolume"
+ "sResponse\0224\n\014null_volumes\030\001 \003(\0132\036.opi_ap"
+ "i.storage.v1.NullVolume\022\027\n\017next_page_tok"
+ "en\030\002 \001(\t\"K\n\024GetNullVolumeRequest\0223\n\004name"
+ "\030\001 \001(\tB%\340A\002\372A\037\n\035opi_api.storage.v1/NullV"
+ "olume\"M\n\026StatsNullVolumeRequest\0223\n\004name\030"
+ "\001 \001(\tB%\340A\002\372A\037\n\035opi_api.storage.v1/NullVo"
+ "lume\"I\n\027StatsNullVolumeResponse\022.\n\005stats"
+ "\030\001 \001(\0132\037.opi_api.storage.v1.VolumeStats2"
+ "\243\007\n\021NullVolumeService\022\236\001\n\020CreateNullVolu"
+ "me\022+.opi_api.storage.v1.CreateNullVolume"
+ "Request\032\036.opi_api.storage.v1.NullVolume\""
+ "=\202\323\344\223\002\032\"\013/v1/volumes:\013null_volume\332A\032null"
+ "_volume,null_volume_id\022\200\001\n\020DeleteNullVol"
+ "ume\022+.opi_api.storage.v1.DeleteNullVolum"
+ "eRequest\032\026.google.protobuf.Empty\"\'\202\323\344\223\002\032"
+ "*\030/v1/{name=NullVolumes/*}\332A\004name\022\261\001\n\020Up"
+ "dateNullVolume\022+.opi_api.storage.v1.Upda"
+ "teNullVolumeRequest\032\036.opi_api.storage.v1"
+ ".NullVolume\"P\202\323\344\223\00202!/v1/{null_volume.na"
+ "me=subsystems}:\013null_volume\332A\027null_volum"
+ "e,update_mask\022\224\001\n\017ListNullVolumes\022*.opi_"
+ "api.storage.v1.ListNullVolumesRequest\032+."
+ "opi_api.storage.v1.ListNullVolumesRespon"
+ "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa"
+ "rent\022\202\001\n\rGetNullVolume\022(.opi_api.storage"
+ ".v1.GetNullVolumeRequest\032\036.opi_api.stora"
+ "ge.v1.NullVolume\"\'\202\323\344\223\002\032\022\030/v1/{name=Null"
+ "Volumes/*}\332A\004name\022\231\001\n\017StatsNullVolume\022*."
+ "opi_api.storage.v1.StatsNullVolumeReques"
+ "t\032+.opi_api.storage.v1.StatsNullVolumeRe"
+ "sponse\"-\202\323\344\223\002 \022\036/v1/{name=NullVolumes/*}"
+ ":stats\332A\004nameB_\n\022opi_api.storage.v1B\020Bac"
+ "kendNullProtoP\001Z5github.com/opiproject/o"
+ "pi-api/storage/v1alpha1/gen/gob\006proto3"
;
-static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[9] = {
+static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[8] = {
&::descriptor_table_google_2fapi_2fannotations_2eproto,
&::descriptor_table_google_2fapi_2fclient_2eproto,
&::descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto,
&::descriptor_table_google_2fapi_2fresource_2eproto,
&::descriptor_table_google_2fprotobuf_2fempty_2eproto,
&::descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto,
- &::descriptor_table_object_5fkey_2eproto,
&::descriptor_table_opicommon_2eproto,
&::descriptor_table_uuid_2eproto,
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_backend_5fnull_2eproto_once;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5fnull_2eproto = {
- false, false, 2305, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto",
- &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 9, 9,
+ false, false, 2318, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto",
+ &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 8, 9,
schemas, file_default_instances, TableStruct_backend_5fnull_2eproto::offsets,
file_level_metadata_backend_5fnull_2eproto, file_level_enum_descriptors_backend_5fnull_2eproto, file_level_service_descriptors_backend_5fnull_2eproto,
};
@@ -438,7 +435,7 @@ const char* NullVolume::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
auto str = _internal_mutable_name();
@@ -501,7 +498,7 @@ uint8_t* NullVolume::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast(this->_internal_name().length()),
@@ -547,7 +544,7 @@ size_t NullVolume::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
@@ -733,17 +730,17 @@ const char* CreateNullVolumeRequest::_InternalParse(const char* ptr, ::PROTOBUF_
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.storage.v1.NullVolume null_volume = 2 [(.google.api.field_behavior) = REQUIRED];
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
+ // .opi_api.storage.v1.NullVolume null_volume = 1 [(.google.api.field_behavior) = REQUIRED];
+ case 1:
+ if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_null_volume(), ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
- // string null_volume_id = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) {
+ // string null_volume_id = 2;
+ case 2:
+ if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
auto str = _internal_mutable_null_volume_id();
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateNullVolumeRequest.null_volume_id"));
@@ -780,22 +777,22 @@ uint8_t* CreateNullVolumeRequest::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // .opi_api.storage.v1.NullVolume null_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+ // .opi_api.storage.v1.NullVolume null_volume = 1 [(.google.api.field_behavior) = REQUIRED];
if (this->_internal_has_null_volume()) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(
- 2, _Internal::null_volume(this), target, stream);
+ 1, _Internal::null_volume(this), target, stream);
}
- // string null_volume_id = 3;
+ // string null_volume_id = 2;
if (!this->_internal_null_volume_id().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_null_volume_id().data(), static_cast(this->_internal_null_volume_id().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"opi_api.storage.v1.CreateNullVolumeRequest.null_volume_id");
target = stream->WriteStringMaybeAliased(
- 3, this->_internal_null_volume_id(), target);
+ 2, this->_internal_null_volume_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -814,14 +811,14 @@ size_t CreateNullVolumeRequest::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string null_volume_id = 3;
+ // string null_volume_id = 2;
if (!this->_internal_null_volume_id().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_null_volume_id());
}
- // .opi_api.storage.v1.NullVolume null_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+ // .opi_api.storage.v1.NullVolume null_volume = 1 [(.google.api.field_behavior) = REQUIRED];
if (this->_internal_has_null_volume()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
@@ -2111,90 +2108,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNullVolumeRequest::GetMetadata() const {
// ===================================================================
-class NullVolumeStatsRequest::_Internal {
+class StatsNullVolumeRequest::_Internal {
public:
- static const ::opi_api::common::v1::ObjectKey& handle(const NullVolumeStatsRequest* msg);
};
-const ::opi_api::common::v1::ObjectKey&
-NullVolumeStatsRequest::_Internal::handle(const NullVolumeStatsRequest* msg) {
- return *msg->handle_;
-}
-void NullVolumeStatsRequest::clear_handle() {
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
-}
-NullVolumeStatsRequest::NullVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+StatsNullVolumeRequest::StatsNullVolumeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor();
if (!is_message_owned) {
RegisterArenaDtor(arena);
}
- // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.NullVolumeStatsRequest)
+ // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNullVolumeRequest)
}
-NullVolumeStatsRequest::NullVolumeStatsRequest(const NullVolumeStatsRequest& from)
+StatsNullVolumeRequest::StatsNullVolumeRequest(const StatsNullVolumeRequest& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- if (from._internal_has_handle()) {
- handle_ = new ::opi_api::common::v1::ObjectKey(*from.handle_);
- } else {
- handle_ = nullptr;
+ name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_name().empty()) {
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(),
+ GetArenaForAllocation());
}
- // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullVolumeStatsRequest)
+ // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNullVolumeRequest)
}
-inline void NullVolumeStatsRequest::SharedCtor() {
-handle_ = nullptr;
+inline void StatsNullVolumeRequest::SharedCtor() {
+name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
-NullVolumeStatsRequest::~NullVolumeStatsRequest() {
- // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullVolumeStatsRequest)
+StatsNullVolumeRequest::~StatsNullVolumeRequest() {
+ // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNullVolumeRequest)
if (GetArenaForAllocation() != nullptr) return;
SharedDtor();
_internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-inline void NullVolumeStatsRequest::SharedDtor() {
+inline void StatsNullVolumeRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete handle_;
+ name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
-void NullVolumeStatsRequest::ArenaDtor(void* object) {
- NullVolumeStatsRequest* _this = reinterpret_cast< NullVolumeStatsRequest* >(object);
+void StatsNullVolumeRequest::ArenaDtor(void* object) {
+ StatsNullVolumeRequest* _this = reinterpret_cast< StatsNullVolumeRequest* >(object);
(void)_this;
}
-void NullVolumeStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+void StatsNullVolumeRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
-void NullVolumeStatsRequest::SetCachedSize(int size) const {
+void StatsNullVolumeRequest::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
-void NullVolumeStatsRequest::Clear() {
-// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullVolumeStatsRequest)
+void StatsNullVolumeRequest::Clear() {
+// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNullVolumeRequest)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
+ name_.ClearToEmpty();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* NullVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* StatsNullVolumeRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.common.v1.ObjectKey handle = 1;
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_handle(), ptr);
+ auto str = _internal_mutable_name();
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsNullVolumeRequest.name"));
CHK_(ptr);
} else
goto handle_unusual;
@@ -2222,89 +2213,97 @@ const char* NullVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_N
#undef CHK_
}
-uint8_t* NullVolumeStatsRequest::_InternalSerialize(
+uint8_t* StatsNullVolumeRequest::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullVolumeStatsRequest)
+ // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNullVolumeRequest)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::handle(this), target, stream);
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ if (!this->_internal_name().empty()) {
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
+ this->_internal_name().data(), static_cast(this->_internal_name().length()),
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
+ "opi_api.storage.v1.StatsNullVolumeRequest.name");
+ target = stream->WriteStringMaybeAliased(
+ 1, this->_internal_name(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
- // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullVolumeStatsRequest)
+ // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNullVolumeRequest)
return target;
}
-size_t NullVolumeStatsRequest::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullVolumeStatsRequest)
+size_t StatsNullVolumeRequest::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNullVolumeRequest)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ if (!this->_internal_name().empty()) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *handle_);
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
+ this->_internal_name());
}
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullVolumeStatsRequest::_class_data_ = {
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNullVolumeRequest::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
- NullVolumeStatsRequest::MergeImpl
+ StatsNullVolumeRequest::MergeImpl
};
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullVolumeStatsRequest::GetClassData() const { return &_class_data_; }
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNullVolumeRequest::GetClassData() const { return &_class_data_; }
-void NullVolumeStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
+void StatsNullVolumeRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast(to)->MergeFrom(
- static_cast(from));
+ static_cast(to)->MergeFrom(
+ static_cast(from));
}
-void NullVolumeStatsRequest::MergeFrom(const NullVolumeStatsRequest& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullVolumeStatsRequest)
+void StatsNullVolumeRequest::MergeFrom(const StatsNullVolumeRequest& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNullVolumeRequest)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- if (from._internal_has_handle()) {
- _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle());
+ if (!from._internal_name().empty()) {
+ _internal_set_name(from._internal_name());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
-void NullVolumeStatsRequest::CopyFrom(const NullVolumeStatsRequest& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullVolumeStatsRequest)
+void StatsNullVolumeRequest::CopyFrom(const StatsNullVolumeRequest& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNullVolumeRequest)
if (&from == this) return;
Clear();
MergeFrom(from);
}
-bool NullVolumeStatsRequest::IsInitialized() const {
+bool StatsNullVolumeRequest::IsInitialized() const {
return true;
}
-void NullVolumeStatsRequest::InternalSwap(NullVolumeStatsRequest* other) {
+void StatsNullVolumeRequest::InternalSwap(StatsNullVolumeRequest* other) {
using std::swap;
+ auto* lhs_arena = GetArenaForAllocation();
+ auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(handle_, other->handle_);
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
+ &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
+ &name_, lhs_arena,
+ &other->name_, rhs_arena
+ );
}
-::PROTOBUF_NAMESPACE_ID::Metadata NullVolumeStatsRequest::GetMetadata() const {
+::PROTOBUF_NAMESPACE_ID::Metadata StatsNullVolumeRequest::GetMetadata() const {
return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
&descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once,
file_level_metadata_backend_5fnull_2eproto[7]);
@@ -2312,97 +2311,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullVolumeStatsRequest::GetMetadata() const {
// ===================================================================
-class NullVolumeStatsResponse::_Internal {
+class StatsNullVolumeResponse::_Internal {
public:
- static const ::opi_api::common::v1::ObjectKey& handle(const NullVolumeStatsResponse* msg);
- static const ::opi_api::storage::v1::VolumeStats& stats(const NullVolumeStatsResponse* msg);
+ static const ::opi_api::storage::v1::VolumeStats& stats(const StatsNullVolumeResponse* msg);
};
-const ::opi_api::common::v1::ObjectKey&
-NullVolumeStatsResponse::_Internal::handle(const NullVolumeStatsResponse* msg) {
- return *msg->handle_;
-}
const ::opi_api::storage::v1::VolumeStats&
-NullVolumeStatsResponse::_Internal::stats(const NullVolumeStatsResponse* msg) {
+StatsNullVolumeResponse::_Internal::stats(const StatsNullVolumeResponse* msg) {
return *msg->stats_;
}
-void NullVolumeStatsResponse::clear_handle() {
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
-}
-void NullVolumeStatsResponse::clear_stats() {
+void StatsNullVolumeResponse::clear_stats() {
if (GetArenaForAllocation() == nullptr && stats_ != nullptr) {
delete stats_;
}
stats_ = nullptr;
}
-NullVolumeStatsResponse::NullVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+StatsNullVolumeResponse::StatsNullVolumeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor();
if (!is_message_owned) {
RegisterArenaDtor(arena);
}
- // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.NullVolumeStatsResponse)
+ // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNullVolumeResponse)
}
-NullVolumeStatsResponse::NullVolumeStatsResponse(const NullVolumeStatsResponse& from)
+StatsNullVolumeResponse::StatsNullVolumeResponse(const StatsNullVolumeResponse& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- if (from._internal_has_handle()) {
- handle_ = new ::opi_api::common::v1::ObjectKey(*from.handle_);
- } else {
- handle_ = nullptr;
- }
if (from._internal_has_stats()) {
stats_ = new ::opi_api::storage::v1::VolumeStats(*from.stats_);
} else {
stats_ = nullptr;
}
- // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullVolumeStatsResponse)
+ // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNullVolumeResponse)
}
-inline void NullVolumeStatsResponse::SharedCtor() {
-::memset(reinterpret_cast(this) + static_cast(
- reinterpret_cast(&handle_) - reinterpret_cast(this)),
- 0, static_cast(reinterpret_cast(&stats_) -
- reinterpret_cast(&handle_)) + sizeof(stats_));
+inline void StatsNullVolumeResponse::SharedCtor() {
+stats_ = nullptr;
}
-NullVolumeStatsResponse::~NullVolumeStatsResponse() {
- // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullVolumeStatsResponse)
+StatsNullVolumeResponse::~StatsNullVolumeResponse() {
+ // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNullVolumeResponse)
if (GetArenaForAllocation() != nullptr) return;
SharedDtor();
_internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-inline void NullVolumeStatsResponse::SharedDtor() {
+inline void StatsNullVolumeResponse::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete handle_;
if (this != internal_default_instance()) delete stats_;
}
-void NullVolumeStatsResponse::ArenaDtor(void* object) {
- NullVolumeStatsResponse* _this = reinterpret_cast< NullVolumeStatsResponse* >(object);
+void StatsNullVolumeResponse::ArenaDtor(void* object) {
+ StatsNullVolumeResponse* _this = reinterpret_cast< StatsNullVolumeResponse* >(object);
(void)_this;
}
-void NullVolumeStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+void StatsNullVolumeResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
-void NullVolumeStatsResponse::SetCachedSize(int size) const {
+void StatsNullVolumeResponse::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
-void NullVolumeStatsResponse::Clear() {
-// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullVolumeStatsResponse)
+void StatsNullVolumeResponse::Clear() {
+// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNullVolumeResponse)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- if (GetArenaForAllocation() == nullptr && handle_ != nullptr) {
- delete handle_;
- }
- handle_ = nullptr;
if (GetArenaForAllocation() == nullptr && stats_ != nullptr) {
delete stats_;
}
@@ -2410,23 +2385,15 @@ void NullVolumeStatsResponse::Clear() {
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* NullVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* StatsNullVolumeResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.common.v1.ObjectKey handle = 1;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_handle(), ptr);
- CHK_(ptr);
- } else
- goto handle_unusual;
- continue;
- // .opi_api.storage.v1.VolumeStats stats = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr);
CHK_(ptr);
} else
@@ -2455,52 +2422,37 @@ const char* NullVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_
#undef CHK_
}
-uint8_t* NullVolumeStatsResponse::_InternalSerialize(
+uint8_t* StatsNullVolumeResponse::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullVolumeStatsResponse)
+ // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNullVolumeResponse)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::handle(this), target, stream);
- }
-
- // .opi_api.storage.v1.VolumeStats stats = 2;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
if (this->_internal_has_stats()) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(
- 2, _Internal::stats(this), target, stream);
+ 1, _Internal::stats(this), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
- // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullVolumeStatsResponse)
+ // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNullVolumeResponse)
return target;
}
-size_t NullVolumeStatsResponse::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullVolumeStatsResponse)
+size_t StatsNullVolumeResponse::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNullVolumeResponse)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // .opi_api.common.v1.ObjectKey handle = 1;
- if (this->_internal_has_handle()) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *handle_);
- }
-
- // .opi_api.storage.v1.VolumeStats stats = 2;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
if (this->_internal_has_stats()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
@@ -2510,57 +2462,49 @@ size_t NullVolumeStatsResponse::ByteSizeLong() const {
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullVolumeStatsResponse::_class_data_ = {
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNullVolumeResponse::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
- NullVolumeStatsResponse::MergeImpl
+ StatsNullVolumeResponse::MergeImpl
};
-const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullVolumeStatsResponse::GetClassData() const { return &_class_data_; }
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNullVolumeResponse::GetClassData() const { return &_class_data_; }
-void NullVolumeStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
+void StatsNullVolumeResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast(to)->MergeFrom(
- static_cast(from));
+ static_cast(to)->MergeFrom(
+ static_cast(from));
}
-void NullVolumeStatsResponse::MergeFrom(const NullVolumeStatsResponse& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullVolumeStatsResponse)
+void StatsNullVolumeResponse::MergeFrom(const StatsNullVolumeResponse& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNullVolumeResponse)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- if (from._internal_has_handle()) {
- _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle());
- }
if (from._internal_has_stats()) {
_internal_mutable_stats()->::opi_api::storage::v1::VolumeStats::MergeFrom(from._internal_stats());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
-void NullVolumeStatsResponse::CopyFrom(const NullVolumeStatsResponse& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullVolumeStatsResponse)
+void StatsNullVolumeResponse::CopyFrom(const StatsNullVolumeResponse& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNullVolumeResponse)
if (&from == this) return;
Clear();
MergeFrom(from);
}
-bool NullVolumeStatsResponse::IsInitialized() const {
+bool StatsNullVolumeResponse::IsInitialized() const {
return true;
}
-void NullVolumeStatsResponse::InternalSwap(NullVolumeStatsResponse* other) {
+void StatsNullVolumeResponse::InternalSwap(StatsNullVolumeResponse* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(NullVolumeStatsResponse, stats_)
- + sizeof(NullVolumeStatsResponse::stats_)
- - PROTOBUF_FIELD_OFFSET(NullVolumeStatsResponse, handle_)>(
- reinterpret_cast(&handle_),
- reinterpret_cast(&other->handle_));
+ swap(stats_, other->stats_);
}
-::PROTOBUF_NAMESPACE_ID::Metadata NullVolumeStatsResponse::GetMetadata() const {
+::PROTOBUF_NAMESPACE_ID::Metadata StatsNullVolumeResponse::GetMetadata() const {
return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
&descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once,
file_level_metadata_backend_5fnull_2eproto[8]);
@@ -2592,11 +2536,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNullVolumesResponse* Ar
template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNullVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNullVolumeRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNullVolumeRequest >(arena);
}
-template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullVolumeStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullVolumeStatsRequest >(Arena* arena) {
- return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullVolumeStatsRequest >(arena);
+template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNullVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNullVolumeRequest >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNullVolumeRequest >(arena);
}
-template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullVolumeStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullVolumeStatsResponse >(Arena* arena) {
- return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullVolumeStatsResponse >(arena);
+template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNullVolumeResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNullVolumeResponse >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNullVolumeResponse >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.h b/storage/v1alpha1/gen/cpp/backend_null.pb.h
index f203d65f..f8e7335b 100644
--- a/storage/v1alpha1/gen/cpp/backend_null.pb.h
+++ b/storage/v1alpha1/gen/cpp/backend_null.pb.h
@@ -37,7 +37,6 @@
#include "google/api/annotations.pb.h"
#include "google/api/field_behavior.pb.h"
#include
-#include "object_key.pb.h"
#include "opicommon.pb.h"
#include "uuid.pb.h"
// @@protoc_insertion_point(includes)
@@ -83,12 +82,12 @@ extern ListNullVolumesResponseDefaultTypeInternal _ListNullVolumesResponse_defau
class NullVolume;
struct NullVolumeDefaultTypeInternal;
extern NullVolumeDefaultTypeInternal _NullVolume_default_instance_;
-class NullVolumeStatsRequest;
-struct NullVolumeStatsRequestDefaultTypeInternal;
-extern NullVolumeStatsRequestDefaultTypeInternal _NullVolumeStatsRequest_default_instance_;
-class NullVolumeStatsResponse;
-struct NullVolumeStatsResponseDefaultTypeInternal;
-extern NullVolumeStatsResponseDefaultTypeInternal _NullVolumeStatsResponse_default_instance_;
+class StatsNullVolumeRequest;
+struct StatsNullVolumeRequestDefaultTypeInternal;
+extern StatsNullVolumeRequestDefaultTypeInternal _StatsNullVolumeRequest_default_instance_;
+class StatsNullVolumeResponse;
+struct StatsNullVolumeResponseDefaultTypeInternal;
+extern StatsNullVolumeResponseDefaultTypeInternal _StatsNullVolumeResponse_default_instance_;
class UpdateNullVolumeRequest;
struct UpdateNullVolumeRequestDefaultTypeInternal;
extern UpdateNullVolumeRequestDefaultTypeInternal _UpdateNullVolumeRequest_default_instance_;
@@ -102,8 +101,8 @@ template<> ::opi_api::storage::v1::GetNullVolumeRequest* Arena::CreateMaybeMessa
template<> ::opi_api::storage::v1::ListNullVolumesRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNullVolumesRequest>(Arena*);
template<> ::opi_api::storage::v1::ListNullVolumesResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNullVolumesResponse>(Arena*);
template<> ::opi_api::storage::v1::NullVolume* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullVolume>(Arena*);
-template<> ::opi_api::storage::v1::NullVolumeStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullVolumeStatsRequest>(Arena*);
-template<> ::opi_api::storage::v1::NullVolumeStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullVolumeStatsResponse>(Arena*);
+template<> ::opi_api::storage::v1::StatsNullVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNullVolumeRequest>(Arena*);
+template<> ::opi_api::storage::v1::StatsNullVolumeResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNullVolumeResponse>(Arena*);
template<> ::opi_api::storage::v1::UpdateNullVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNullVolumeRequest>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace opi_api {
@@ -239,7 +238,7 @@ class NullVolume final :
kBlockSizeFieldNumber = 2,
kBlocksCountFieldNumber = 3,
};
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
void clear_name();
const std::string& name() const;
template
@@ -427,10 +426,10 @@ class CreateNullVolumeRequest final :
// accessors -------------------------------------------------------
enum : int {
- kNullVolumeIdFieldNumber = 3,
- kNullVolumeFieldNumber = 2,
+ kNullVolumeIdFieldNumber = 2,
+ kNullVolumeFieldNumber = 1,
};
- // string null_volume_id = 3;
+ // string null_volume_id = 2;
void clear_null_volume_id();
const std::string& null_volume_id() const;
template
@@ -444,7 +443,7 @@ class CreateNullVolumeRequest final :
std::string* _internal_mutable_null_volume_id();
public:
- // .opi_api.storage.v1.NullVolume null_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+ // .opi_api.storage.v1.NullVolume null_volume = 1 [(.google.api.field_behavior) = REQUIRED];
bool has_null_volume() const;
private:
bool _internal_has_null_volume() const;
@@ -1324,24 +1323,24 @@ class GetNullVolumeRequest final :
};
// -------------------------------------------------------------------
-class NullVolumeStatsRequest final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullVolumeStatsRequest) */ {
+class StatsNullVolumeRequest final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNullVolumeRequest) */ {
public:
- inline NullVolumeStatsRequest() : NullVolumeStatsRequest(nullptr) {}
- ~NullVolumeStatsRequest() override;
- explicit constexpr NullVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ inline StatsNullVolumeRequest() : StatsNullVolumeRequest(nullptr) {}
+ ~StatsNullVolumeRequest() override;
+ explicit constexpr StatsNullVolumeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NullVolumeStatsRequest(const NullVolumeStatsRequest& from);
- NullVolumeStatsRequest(NullVolumeStatsRequest&& from) noexcept
- : NullVolumeStatsRequest() {
+ StatsNullVolumeRequest(const StatsNullVolumeRequest& from);
+ StatsNullVolumeRequest(StatsNullVolumeRequest&& from) noexcept
+ : StatsNullVolumeRequest() {
*this = ::std::move(from);
}
- inline NullVolumeStatsRequest& operator=(const NullVolumeStatsRequest& from) {
+ inline StatsNullVolumeRequest& operator=(const StatsNullVolumeRequest& from) {
CopyFrom(from);
return *this;
}
- inline NullVolumeStatsRequest& operator=(NullVolumeStatsRequest&& from) noexcept {
+ inline StatsNullVolumeRequest& operator=(StatsNullVolumeRequest&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -1364,20 +1363,20 @@ class NullVolumeStatsRequest final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
- static const NullVolumeStatsRequest& default_instance() {
+ static const StatsNullVolumeRequest& default_instance() {
return *internal_default_instance();
}
- static inline const NullVolumeStatsRequest* internal_default_instance() {
- return reinterpret_cast(
- &_NullVolumeStatsRequest_default_instance_);
+ static inline const StatsNullVolumeRequest* internal_default_instance() {
+ return reinterpret_cast(
+ &_StatsNullVolumeRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
7;
- friend void swap(NullVolumeStatsRequest& a, NullVolumeStatsRequest& b) {
+ friend void swap(StatsNullVolumeRequest& a, StatsNullVolumeRequest& b) {
a.Swap(&b);
}
- inline void Swap(NullVolumeStatsRequest* other) {
+ inline void Swap(StatsNullVolumeRequest* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
@@ -1390,7 +1389,7 @@ class NullVolumeStatsRequest final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
- void UnsafeArenaSwap(NullVolumeStatsRequest* other) {
+ void UnsafeArenaSwap(StatsNullVolumeRequest* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
@@ -1398,13 +1397,13 @@ class NullVolumeStatsRequest final :
// implements Message ----------------------------------------------
- NullVolumeStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage(arena);
+ StatsNullVolumeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NullVolumeStatsRequest& from);
+ void CopyFrom(const StatsNullVolumeRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const NullVolumeStatsRequest& from);
+ void MergeFrom(const StatsNullVolumeRequest& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
@@ -1421,15 +1420,15 @@ class NullVolumeStatsRequest final :
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
- void InternalSwap(NullVolumeStatsRequest* other);
+ void InternalSwap(StatsNullVolumeRequest* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opi_api.storage.v1.NullVolumeStatsRequest";
+ return "opi_api.storage.v1.StatsNullVolumeRequest";
}
protected:
- explicit NullVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ explicit StatsNullVolumeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
@@ -1446,57 +1445,53 @@ class NullVolumeStatsRequest final :
// accessors -------------------------------------------------------
enum : int {
- kHandleFieldNumber = 1,
+ kNameFieldNumber = 1,
};
- // .opi_api.common.v1.ObjectKey handle = 1;
- bool has_handle() const;
- private:
- bool _internal_has_handle() const;
- public:
- void clear_handle();
- const ::opi_api::common::v1::ObjectKey& handle() const;
- PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_handle();
- ::opi_api::common::v1::ObjectKey* mutable_handle();
- void set_allocated_handle(::opi_api::common::v1::ObjectKey* handle);
+ // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ void clear_name();
+ const std::string& name() const;
+ template
+ void set_name(ArgT0&& arg0, ArgT... args);
+ std::string* mutable_name();
+ PROTOBUF_NODISCARD std::string* release_name();
+ void set_allocated_name(std::string* name);
private:
- const ::opi_api::common::v1::ObjectKey& _internal_handle() const;
- ::opi_api::common::v1::ObjectKey* _internal_mutable_handle();
+ const std::string& _internal_name() const;
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
+ std::string* _internal_mutable_name();
public:
- void unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle);
- ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle();
- // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullVolumeStatsRequest)
+ // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNullVolumeRequest)
private:
class _Internal;
template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::opi_api::common::v1::ObjectKey* handle_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_backend_5fnull_2eproto;
};
// -------------------------------------------------------------------
-class NullVolumeStatsResponse final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullVolumeStatsResponse) */ {
+class StatsNullVolumeResponse final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNullVolumeResponse) */ {
public:
- inline NullVolumeStatsResponse() : NullVolumeStatsResponse(nullptr) {}
- ~NullVolumeStatsResponse() override;
- explicit constexpr NullVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ inline StatsNullVolumeResponse() : StatsNullVolumeResponse(nullptr) {}
+ ~StatsNullVolumeResponse() override;
+ explicit constexpr StatsNullVolumeResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NullVolumeStatsResponse(const NullVolumeStatsResponse& from);
- NullVolumeStatsResponse(NullVolumeStatsResponse&& from) noexcept
- : NullVolumeStatsResponse() {
+ StatsNullVolumeResponse(const StatsNullVolumeResponse& from);
+ StatsNullVolumeResponse(StatsNullVolumeResponse&& from) noexcept
+ : StatsNullVolumeResponse() {
*this = ::std::move(from);
}
- inline NullVolumeStatsResponse& operator=(const NullVolumeStatsResponse& from) {
+ inline StatsNullVolumeResponse& operator=(const StatsNullVolumeResponse& from) {
CopyFrom(from);
return *this;
}
- inline NullVolumeStatsResponse& operator=(NullVolumeStatsResponse&& from) noexcept {
+ inline StatsNullVolumeResponse& operator=(StatsNullVolumeResponse&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -1519,20 +1514,20 @@ class NullVolumeStatsResponse final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
- static const NullVolumeStatsResponse& default_instance() {
+ static const StatsNullVolumeResponse& default_instance() {
return *internal_default_instance();
}
- static inline const NullVolumeStatsResponse* internal_default_instance() {
- return reinterpret_cast(
- &_NullVolumeStatsResponse_default_instance_);
+ static inline const StatsNullVolumeResponse* internal_default_instance() {
+ return reinterpret_cast(
+ &_StatsNullVolumeResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
8;
- friend void swap(NullVolumeStatsResponse& a, NullVolumeStatsResponse& b) {
+ friend void swap(StatsNullVolumeResponse& a, StatsNullVolumeResponse& b) {
a.Swap(&b);
}
- inline void Swap(NullVolumeStatsResponse* other) {
+ inline void Swap(StatsNullVolumeResponse* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
@@ -1545,7 +1540,7 @@ class NullVolumeStatsResponse final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
- void UnsafeArenaSwap(NullVolumeStatsResponse* other) {
+ void UnsafeArenaSwap(StatsNullVolumeResponse* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
@@ -1553,13 +1548,13 @@ class NullVolumeStatsResponse final :
// implements Message ----------------------------------------------
- NullVolumeStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage(arena);
+ StatsNullVolumeResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NullVolumeStatsResponse& from);
+ void CopyFrom(const StatsNullVolumeResponse& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const NullVolumeStatsResponse& from);
+ void MergeFrom(const StatsNullVolumeResponse& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
@@ -1576,15 +1571,15 @@ class NullVolumeStatsResponse final :
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
- void InternalSwap(NullVolumeStatsResponse* other);
+ void InternalSwap(StatsNullVolumeResponse* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opi_api.storage.v1.NullVolumeStatsResponse";
+ return "opi_api.storage.v1.StatsNullVolumeResponse";
}
protected:
- explicit NullVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ explicit StatsNullVolumeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
@@ -1601,28 +1596,9 @@ class NullVolumeStatsResponse final :
// accessors -------------------------------------------------------
enum : int {
- kHandleFieldNumber = 1,
- kStatsFieldNumber = 2,
+ kStatsFieldNumber = 1,
};
- // .opi_api.common.v1.ObjectKey handle = 1;
- bool has_handle() const;
- private:
- bool _internal_has_handle() const;
- public:
- void clear_handle();
- const ::opi_api::common::v1::ObjectKey& handle() const;
- PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_handle();
- ::opi_api::common::v1::ObjectKey* mutable_handle();
- void set_allocated_handle(::opi_api::common::v1::ObjectKey* handle);
- private:
- const ::opi_api::common::v1::ObjectKey& _internal_handle() const;
- ::opi_api::common::v1::ObjectKey* _internal_mutable_handle();
- public:
- void unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle);
- ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle();
-
- // .opi_api.storage.v1.VolumeStats stats = 2;
+ // .opi_api.storage.v1.VolumeStats stats = 1;
bool has_stats() const;
private:
bool _internal_has_stats() const;
@@ -1640,14 +1616,13 @@ class NullVolumeStatsResponse final :
::opi_api::storage::v1::VolumeStats* stats);
::opi_api::storage::v1::VolumeStats* unsafe_arena_release_stats();
- // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullVolumeStatsResponse)
+ // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNullVolumeResponse)
private:
class _Internal;
template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::opi_api::common::v1::ObjectKey* handle_;
::opi_api::storage::v1::VolumeStats* stats_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_backend_5fnull_2eproto;
@@ -1663,7 +1638,7 @@ class NullVolumeStatsResponse final :
#endif // __GNUC__
// NullVolume
-// string name = 1;
+// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
inline void NullVolume::clear_name() {
name_.ClearToEmpty();
}
@@ -1844,7 +1819,7 @@ inline void NullVolume::set_allocated_uuid(::opi_api::common::v1::Uuid* uuid) {
// CreateNullVolumeRequest
-// .opi_api.storage.v1.NullVolume null_volume = 2 [(.google.api.field_behavior) = REQUIRED];
+// .opi_api.storage.v1.NullVolume null_volume = 1 [(.google.api.field_behavior) = REQUIRED];
inline bool CreateNullVolumeRequest::_internal_has_null_volume() const {
return this != internal_default_instance() && null_volume_ != nullptr;
}
@@ -1934,7 +1909,7 @@ inline void CreateNullVolumeRequest::set_allocated_null_volume(::opi_api::storag
// @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNullVolumeRequest.null_volume)
}
-// string null_volume_id = 3;
+// string null_volume_id = 2;
inline void CreateNullVolumeRequest::clear_null_volume_id() {
null_volume_id_.ClearToEmpty();
}
@@ -2538,201 +2513,80 @@ inline void GetNullVolumeRequest::set_allocated_name(std::string* name) {
// -------------------------------------------------------------------
-// NullVolumeStatsRequest
+// StatsNullVolumeRequest
-// .opi_api.common.v1.ObjectKey handle = 1;
-inline bool NullVolumeStatsRequest::_internal_has_handle() const {
- return this != internal_default_instance() && handle_ != nullptr;
-}
-inline bool NullVolumeStatsRequest::has_handle() const {
- return _internal_has_handle();
+// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+inline void StatsNullVolumeRequest::clear_name() {
+ name_.ClearToEmpty();
}
-inline const ::opi_api::common::v1::ObjectKey& NullVolumeStatsRequest::_internal_handle() const {
- const ::opi_api::common::v1::ObjectKey* p = handle_;
- return p != nullptr ? *p : reinterpret_cast(
- ::opi_api::common::v1::_ObjectKey_default_instance_);
+inline const std::string& StatsNullVolumeRequest::name() const {
+ // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNullVolumeRequest.name)
+ return _internal_name();
}
-inline const ::opi_api::common::v1::ObjectKey& NullVolumeStatsRequest::handle() const {
- // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullVolumeStatsRequest.handle)
- return _internal_handle();
+template
+inline PROTOBUF_ALWAYS_INLINE
+void StatsNullVolumeRequest::set_name(ArgT0&& arg0, ArgT... args) {
+
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation());
+ // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsNullVolumeRequest.name)
}
-inline void NullVolumeStatsRequest::unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- handle_ = handle;
- if (handle) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullVolumeStatsRequest.handle)
+inline std::string* StatsNullVolumeRequest::mutable_name() {
+ std::string* _s = _internal_mutable_name();
+ // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNullVolumeRequest.name)
+ return _s;
}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsRequest::release_handle() {
-
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
-#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
-#else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
-#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
+inline const std::string& StatsNullVolumeRequest::_internal_name() const {
+ return name_.Get();
}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsRequest::unsafe_arena_release_handle() {
- // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullVolumeStatsRequest.handle)
+inline void StatsNullVolumeRequest::_internal_set_name(const std::string& value) {
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
- return temp;
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsRequest::_internal_mutable_handle() {
+inline std::string* StatsNullVolumeRequest::_internal_mutable_name() {
- if (handle_ == nullptr) {
- auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation());
- handle_ = p;
- }
- return handle_;
+ return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsRequest::mutable_handle() {
- ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle();
- // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullVolumeStatsRequest.handle)
- return _msg;
+inline std::string* StatsNullVolumeRequest::release_name() {
+ // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNullVolumeRequest.name)
+ return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
-inline void NullVolumeStatsRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- if (handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle));
- if (message_arena != submessage_arena) {
- handle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, handle, submessage_arena);
- }
+inline void StatsNullVolumeRequest::set_allocated_name(std::string* name) {
+ if (name != nullptr) {
} else {
}
- handle_ = handle;
- // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullVolumeStatsRequest.handle)
+ name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
+ GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
+ name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNullVolumeRequest.name)
}
// -------------------------------------------------------------------
-// NullVolumeStatsResponse
-
-// .opi_api.common.v1.ObjectKey handle = 1;
-inline bool NullVolumeStatsResponse::_internal_has_handle() const {
- return this != internal_default_instance() && handle_ != nullptr;
-}
-inline bool NullVolumeStatsResponse::has_handle() const {
- return _internal_has_handle();
-}
-inline const ::opi_api::common::v1::ObjectKey& NullVolumeStatsResponse::_internal_handle() const {
- const ::opi_api::common::v1::ObjectKey* p = handle_;
- return p != nullptr ? *p : reinterpret_cast(
- ::opi_api::common::v1::_ObjectKey_default_instance_);
-}
-inline const ::opi_api::common::v1::ObjectKey& NullVolumeStatsResponse::handle() const {
- // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullVolumeStatsResponse.handle)
- return _internal_handle();
-}
-inline void NullVolumeStatsResponse::unsafe_arena_set_allocated_handle(
- ::opi_api::common::v1::ObjectKey* handle) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- handle_ = handle;
- if (handle) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullVolumeStatsResponse.handle)
-}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsResponse::release_handle() {
-
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
-#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
-#else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
-#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
-}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsResponse::unsafe_arena_release_handle() {
- // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullVolumeStatsResponse.handle)
-
- ::opi_api::common::v1::ObjectKey* temp = handle_;
- handle_ = nullptr;
- return temp;
-}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsResponse::_internal_mutable_handle() {
-
- if (handle_ == nullptr) {
- auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation());
- handle_ = p;
- }
- return handle_;
-}
-inline ::opi_api::common::v1::ObjectKey* NullVolumeStatsResponse::mutable_handle() {
- ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle();
- // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullVolumeStatsResponse.handle)
- return _msg;
-}
-inline void NullVolumeStatsResponse::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_);
- }
- if (handle) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle));
- if (message_arena != submessage_arena) {
- handle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, handle, submessage_arena);
- }
-
- } else {
-
- }
- handle_ = handle;
- // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullVolumeStatsResponse.handle)
-}
+// StatsNullVolumeResponse
-// .opi_api.storage.v1.VolumeStats stats = 2;
-inline bool NullVolumeStatsResponse::_internal_has_stats() const {
+// .opi_api.storage.v1.VolumeStats stats = 1;
+inline bool StatsNullVolumeResponse::_internal_has_stats() const {
return this != internal_default_instance() && stats_ != nullptr;
}
-inline bool NullVolumeStatsResponse::has_stats() const {
+inline bool StatsNullVolumeResponse::has_stats() const {
return _internal_has_stats();
}
-inline const ::opi_api::storage::v1::VolumeStats& NullVolumeStatsResponse::_internal_stats() const {
+inline const ::opi_api::storage::v1::VolumeStats& StatsNullVolumeResponse::_internal_stats() const {
const ::opi_api::storage::v1::VolumeStats* p = stats_;
return p != nullptr ? *p : reinterpret_cast(
::opi_api::storage::v1::_VolumeStats_default_instance_);
}
-inline const ::opi_api::storage::v1::VolumeStats& NullVolumeStatsResponse::stats() const {
- // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullVolumeStatsResponse.stats)
+inline const ::opi_api::storage::v1::VolumeStats& StatsNullVolumeResponse::stats() const {
+ // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNullVolumeResponse.stats)
return _internal_stats();
}
-inline void NullVolumeStatsResponse::unsafe_arena_set_allocated_stats(
+inline void StatsNullVolumeResponse::unsafe_arena_set_allocated_stats(
::opi_api::storage::v1::VolumeStats* stats) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_);
@@ -2743,9 +2597,9 @@ inline void NullVolumeStatsResponse::unsafe_arena_set_allocated_stats(
} else {
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullVolumeStatsResponse.stats)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsNullVolumeResponse.stats)
}
-inline ::opi_api::storage::v1::VolumeStats* NullVolumeStatsResponse::release_stats() {
+inline ::opi_api::storage::v1::VolumeStats* StatsNullVolumeResponse::release_stats() {
::opi_api::storage::v1::VolumeStats* temp = stats_;
stats_ = nullptr;
@@ -2760,14 +2614,14 @@ inline ::opi_api::storage::v1::VolumeStats* NullVolumeStatsResponse::release_sta
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
-inline ::opi_api::storage::v1::VolumeStats* NullVolumeStatsResponse::unsafe_arena_release_stats() {
- // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullVolumeStatsResponse.stats)
+inline ::opi_api::storage::v1::VolumeStats* StatsNullVolumeResponse::unsafe_arena_release_stats() {
+ // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNullVolumeResponse.stats)
::opi_api::storage::v1::VolumeStats* temp = stats_;
stats_ = nullptr;
return temp;
}
-inline ::opi_api::storage::v1::VolumeStats* NullVolumeStatsResponse::_internal_mutable_stats() {
+inline ::opi_api::storage::v1::VolumeStats* StatsNullVolumeResponse::_internal_mutable_stats() {
if (stats_ == nullptr) {
auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation());
@@ -2775,12 +2629,12 @@ inline ::opi_api::storage::v1::VolumeStats* NullVolumeStatsResponse::_internal_m
}
return stats_;
}
-inline ::opi_api::storage::v1::VolumeStats* NullVolumeStatsResponse::mutable_stats() {
+inline ::opi_api::storage::v1::VolumeStats* StatsNullVolumeResponse::mutable_stats() {
::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats();
- // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullVolumeStatsResponse.stats)
+ // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNullVolumeResponse.stats)
return _msg;
}
-inline void NullVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) {
+inline void StatsNullVolumeResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_);
@@ -2799,7 +2653,7 @@ inline void NullVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1:
}
stats_ = stats;
- // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullVolumeStatsResponse.stats)
+ // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNullVolumeResponse.stats)
}
#ifdef __GNUC__
diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc
index 584a1bb0..94d50474 100644
--- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc
+++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc
@@ -29,15 +29,15 @@ static const char* NvmeRemoteControllerService_method_names[] = {
"/opi_api.storage.v1.NvmeRemoteControllerService/UpdateNvmeRemoteController",
"/opi_api.storage.v1.NvmeRemoteControllerService/ListNvmeRemoteControllers",
"/opi_api.storage.v1.NvmeRemoteControllerService/GetNvmeRemoteController",
- "/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerReset",
- "/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerStats",
+ "/opi_api.storage.v1.NvmeRemoteControllerService/ResetNvmeRemoteController",
+ "/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmeRemoteController",
"/opi_api.storage.v1.NvmeRemoteControllerService/ListNvmeRemoteNamespaces",
"/opi_api.storage.v1.NvmeRemoteControllerService/CreateNvmePath",
"/opi_api.storage.v1.NvmeRemoteControllerService/DeleteNvmePath",
"/opi_api.storage.v1.NvmeRemoteControllerService/UpdateNvmePath",
"/opi_api.storage.v1.NvmeRemoteControllerService/ListNvmePaths",
"/opi_api.storage.v1.NvmeRemoteControllerService/GetNvmePath",
- "/opi_api.storage.v1.NvmeRemoteControllerService/NvmePathStats",
+ "/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmePath",
};
std::unique_ptr< NvmeRemoteControllerService::Stub> NvmeRemoteControllerService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
@@ -52,15 +52,15 @@ NvmeRemoteControllerService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelIn
, rpcmethod_UpdateNvmeRemoteController_(NvmeRemoteControllerService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_ListNvmeRemoteControllers_(NvmeRemoteControllerService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_GetNvmeRemoteController_(NvmeRemoteControllerService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
- , rpcmethod_NvmeRemoteControllerReset_(NvmeRemoteControllerService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
- , rpcmethod_NvmeRemoteControllerStats_(NvmeRemoteControllerService_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
+ , rpcmethod_ResetNvmeRemoteController_(NvmeRemoteControllerService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
+ , rpcmethod_StatsNvmeRemoteController_(NvmeRemoteControllerService_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_ListNvmeRemoteNamespaces_(NvmeRemoteControllerService_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_CreateNvmePath_(NvmeRemoteControllerService_method_names[8], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_DeleteNvmePath_(NvmeRemoteControllerService_method_names[9], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_UpdateNvmePath_(NvmeRemoteControllerService_method_names[10], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_ListNvmePaths_(NvmeRemoteControllerService_method_names[11], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
, rpcmethod_GetNvmePath_(NvmeRemoteControllerService_method_names[12], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
- , rpcmethod_NvmePathStats_(NvmeRemoteControllerService_method_names[13], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
+ , rpcmethod_StatsNvmePath_(NvmeRemoteControllerService_method_names[13], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
{}
::grpc::Status NvmeRemoteControllerService::Stub::CreateNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeRemoteControllerRequest& request, ::opi_api::storage::v1::NvmeRemoteController* response) {
@@ -178,48 +178,48 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteController>
return result;
}
-::grpc::Status NvmeRemoteControllerService::Stub::NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::google::protobuf::Empty* response) {
- return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NvmeRemoteControllerReset_, context, request, response);
+::grpc::Status NvmeRemoteControllerService::Stub::ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::google::protobuf::Empty* response) {
+ return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ResetNvmeRemoteController_, context, request, response);
}
-void NvmeRemoteControllerService::Stub::async::NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, std::function f) {
- ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeRemoteControllerReset_, context, request, response, std::move(f));
+void NvmeRemoteControllerService::Stub::async::ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response, std::function f) {
+ ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ResetNvmeRemoteController_, context, request, response, std::move(f));
}
-void NvmeRemoteControllerService::Stub::async::NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) {
- ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeRemoteControllerReset_, context, request, response, reactor);
+void NvmeRemoteControllerService::Stub::async::ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) {
+ ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ResetNvmeRemoteController_, context, request, response, reactor);
}
-::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NvmeRemoteControllerService::Stub::PrepareAsyncNvmeRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) {
- return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NvmeRemoteControllerReset_, context, request);
+::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NvmeRemoteControllerService::Stub::PrepareAsyncResetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ResetNvmeRemoteController_, context, request);
}
-::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NvmeRemoteControllerService::Stub::AsyncNvmeRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) {
+::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NvmeRemoteControllerService::Stub::AsyncResetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
auto* result =
- this->PrepareAsyncNvmeRemoteControllerResetRaw(context, request, cq);
+ this->PrepareAsyncResetNvmeRemoteControllerRaw(context, request, cq);
result->StartCall();
return result;
}
-::grpc::Status NvmeRemoteControllerService::Stub::NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response) {
- return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NvmeRemoteControllerStats_, context, request, response);
+::grpc::Status NvmeRemoteControllerService::Stub::StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response) {
+ return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsNvmeRemoteController_, context, request, response);
}
-void NvmeRemoteControllerService::Stub::async::NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response, std::function f) {
- ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeRemoteControllerStats_, context, request, response, std::move(f));
+void NvmeRemoteControllerService::Stub::async::StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response, std::function f) {
+ ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeRemoteController_, context, request, response, std::move(f));
}
-void NvmeRemoteControllerService::Stub::async::NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) {
- ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeRemoteControllerStats_, context, request, response, reactor);
+void NvmeRemoteControllerService::Stub::async::StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) {
+ ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeRemoteController_, context, request, response, reactor);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* NvmeRemoteControllerService::Stub::PrepareAsyncNvmeRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse, ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NvmeRemoteControllerStats_, context, request);
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* NvmeRemoteControllerService::Stub::PrepareAsyncStatsNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse, ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsNvmeRemoteController_, context, request);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* NvmeRemoteControllerService::Stub::AsyncNvmeRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) {
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* NvmeRemoteControllerService::Stub::AsyncStatsNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
auto* result =
- this->PrepareAsyncNvmeRemoteControllerStatsRaw(context, request, cq);
+ this->PrepareAsyncStatsNvmeRemoteControllerRaw(context, request, cq);
result->StartCall();
return result;
}
@@ -362,25 +362,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePath>* NvmeRemote
return result;
}
-::grpc::Status NvmeRemoteControllerService::Stub::NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::opi_api::storage::v1::NvmePathStatsResponse* response) {
- return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NvmePathStats_, context, request, response);
+::grpc::Status NvmeRemoteControllerService::Stub::StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::opi_api::storage::v1::StatsNvmePathResponse* response) {
+ return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsNvmePath_, context, request, response);
}
-void NvmeRemoteControllerService::Stub::async::NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response, std::function f) {
- ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmePathStats_, context, request, response, std::move(f));
+void NvmeRemoteControllerService::Stub::async::StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response, std::function f) {
+ ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmePath_, context, request, response, std::move(f));
}
-void NvmeRemoteControllerService::Stub::async::NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) {
- ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmePathStats_, context, request, response, reactor);
+void NvmeRemoteControllerService::Stub::async::StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response, ::grpc::ClientUnaryReactor* reactor) {
+ ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmePath_, context, request, response, reactor);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>* NvmeRemoteControllerService::Stub::PrepareAsyncNvmePathStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NvmePathStatsResponse, ::opi_api::storage::v1::NvmePathStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NvmePathStats_, context, request);
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>* NvmeRemoteControllerService::Stub::PrepareAsyncStatsNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
+ return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsNvmePathResponse, ::opi_api::storage::v1::StatsNvmePathRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsNvmePath_, context, request);
}
-::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>* NvmeRemoteControllerService::Stub::AsyncNvmePathStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) {
+::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>* NvmeRemoteControllerService::Stub::AsyncStatsNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
auto* result =
- this->PrepareAsyncNvmePathStatsRaw(context, request, cq);
+ this->PrepareAsyncStatsNvmePathRaw(context, request, cq);
result->StartCall();
return result;
}
@@ -439,22 +439,22 @@ NvmeRemoteControllerService::Service::Service() {
AddMethod(new ::grpc::internal::RpcServiceMethod(
NvmeRemoteControllerService_method_names[5],
::grpc::internal::RpcMethod::NORMAL_RPC,
- new ::grpc::internal::RpcMethodHandler< NvmeRemoteControllerService::Service, ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
+ new ::grpc::internal::RpcMethodHandler< NvmeRemoteControllerService::Service, ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
[](NvmeRemoteControllerService::Service* service,
::grpc::ServerContext* ctx,
- const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* req,
+ const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* req,
::google::protobuf::Empty* resp) {
- return service->NvmeRemoteControllerReset(ctx, req, resp);
+ return service->ResetNvmeRemoteController(ctx, req, resp);
}, this)));
AddMethod(new ::grpc::internal::RpcServiceMethod(
NvmeRemoteControllerService_method_names[6],
::grpc::internal::RpcMethod::NORMAL_RPC,
- new ::grpc::internal::RpcMethodHandler< NvmeRemoteControllerService::Service, ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
+ new ::grpc::internal::RpcMethodHandler< NvmeRemoteControllerService::Service, ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
[](NvmeRemoteControllerService::Service* service,
::grpc::ServerContext* ctx,
- const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* req,
- ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* resp) {
- return service->NvmeRemoteControllerStats(ctx, req, resp);
+ const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* req,
+ ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* resp) {
+ return service->StatsNvmeRemoteController(ctx, req, resp);
}, this)));
AddMethod(new ::grpc::internal::RpcServiceMethod(
NvmeRemoteControllerService_method_names[7],
@@ -519,12 +519,12 @@ NvmeRemoteControllerService::Service::Service() {
AddMethod(new ::grpc::internal::RpcServiceMethod(
NvmeRemoteControllerService_method_names[13],
::grpc::internal::RpcMethod::NORMAL_RPC,
- new ::grpc::internal::RpcMethodHandler< NvmeRemoteControllerService::Service, ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
+ new ::grpc::internal::RpcMethodHandler< NvmeRemoteControllerService::Service, ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
[](NvmeRemoteControllerService::Service* service,
::grpc::ServerContext* ctx,
- const ::opi_api::storage::v1::NvmePathStatsRequest* req,
- ::opi_api::storage::v1::NvmePathStatsResponse* resp) {
- return service->NvmePathStats(ctx, req, resp);
+ const ::opi_api::storage::v1::StatsNvmePathRequest* req,
+ ::opi_api::storage::v1::StatsNvmePathResponse* resp) {
+ return service->StatsNvmePath(ctx, req, resp);
}, this)));
}
@@ -566,14 +566,14 @@ ::grpc::Status NvmeRemoteControllerService::Service::GetNvmeRemoteController(::g
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
-::grpc::Status NvmeRemoteControllerService::Service::NvmeRemoteControllerReset(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response) {
+::grpc::Status NvmeRemoteControllerService::Service::ResetNvmeRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response) {
(void) context;
(void) request;
(void) response;
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
-::grpc::Status NvmeRemoteControllerService::Service::NvmeRemoteControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response) {
+::grpc::Status NvmeRemoteControllerService::Service::StatsNvmeRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response) {
(void) context;
(void) request;
(void) response;
@@ -622,7 +622,7 @@ ::grpc::Status NvmeRemoteControllerService::Service::GetNvmePath(::grpc::ServerC
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
-::grpc::Status NvmeRemoteControllerService::Service::NvmePathStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response) {
+::grpc::Status NvmeRemoteControllerService::Service::StatsNvmePath(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response) {
(void) context;
(void) request;
(void) response;
diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h
index 0c82defa..b81fd953 100644
--- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h
+++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h
@@ -77,19 +77,19 @@ class NvmeRemoteControllerService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteController>> PrepareAsyncGetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteController>>(PrepareAsyncGetNvmeRemoteControllerRaw(context, request, cq));
}
- virtual ::grpc::Status NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::google::protobuf::Empty* response) = 0;
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncNvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncNvmeRemoteControllerResetRaw(context, request, cq));
+ virtual ::grpc::Status ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::google::protobuf::Empty* response) = 0;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncResetNvmeRemoteControllerRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncNvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncNvmeRemoteControllerResetRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncResetNvmeRemoteControllerRaw(context, request, cq));
}
- virtual ::grpc::Status NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response) = 0;
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>> AsyncNvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>>(AsyncNvmeRemoteControllerStatsRaw(context, request, cq));
+ virtual ::grpc::Status StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response) = 0;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>> AsyncStatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>>(AsyncStatsNvmeRemoteControllerRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>> PrepareAsyncNvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>>(PrepareAsyncNvmeRemoteControllerStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>> PrepareAsyncStatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>>(PrepareAsyncStatsNvmeRemoteControllerRaw(context, request, cq));
}
virtual ::grpc::Status ListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response) = 0;
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>> AsyncListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::grpc::CompletionQueue* cq) {
@@ -133,12 +133,12 @@ class NvmeRemoteControllerService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePath>> PrepareAsyncGetNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePath>>(PrepareAsyncGetNvmePathRaw(context, request, cq));
}
- virtual ::grpc::Status NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::opi_api::storage::v1::NvmePathStatsResponse* response) = 0;
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePathStatsResponse>> AsyncNvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePathStatsResponse>>(AsyncNvmePathStatsRaw(context, request, cq));
+ virtual ::grpc::Status StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::opi_api::storage::v1::StatsNvmePathResponse* response) = 0;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmePathResponse>> AsyncStatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmePathResponse>>(AsyncStatsNvmePathRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePathStatsResponse>> PrepareAsyncNvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePathStatsResponse>>(PrepareAsyncNvmePathStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmePathResponse>> PrepareAsyncStatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmePathResponse>>(PrepareAsyncStatsNvmePathRaw(context, request, cq));
}
class async_interface {
public:
@@ -153,10 +153,10 @@ class NvmeRemoteControllerService final {
virtual void ListNvmeRemoteControllers(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteControllersRequest* request, ::opi_api::storage::v1::ListNvmeRemoteControllersResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
virtual void GetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::NvmeRemoteController* response, std::function) = 0;
virtual void GetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::NvmeRemoteController* response, ::grpc::ClientUnaryReactor* reactor) = 0;
- virtual void NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, std::function) = 0;
- virtual void NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
- virtual void NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response, std::function) = 0;
- virtual void NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
+ virtual void ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response, std::function) = 0;
+ virtual void ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
+ virtual void StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response, std::function) = 0;
+ virtual void StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
virtual void ListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response, std::function) = 0;
virtual void ListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
virtual void CreateNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response, std::function) = 0;
@@ -169,8 +169,8 @@ class NvmeRemoteControllerService final {
virtual void ListNvmePaths(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmePathsRequest* request, ::opi_api::storage::v1::ListNvmePathsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
virtual void GetNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response, std::function) = 0;
virtual void GetNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response, ::grpc::ClientUnaryReactor* reactor) = 0;
- virtual void NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response, std::function) = 0;
- virtual void NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
+ virtual void StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response, std::function) = 0;
+ virtual void StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
};
typedef class async_interface experimental_async_interface;
virtual class async_interface* async() { return nullptr; }
@@ -186,10 +186,10 @@ class NvmeRemoteControllerService final {
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeRemoteControllersResponse>* PrepareAsyncListNvmeRemoteControllersRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteControllersRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteController>* AsyncGetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteController>* PrepareAsyncGetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncNvmeRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncNvmeRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* AsyncNvmeRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* PrepareAsyncNvmeRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncResetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncResetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* AsyncStatsNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* PrepareAsyncStatsNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>* AsyncListNvmeRemoteNamespacesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>* PrepareAsyncListNvmeRemoteNamespacesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePath>* AsyncCreateNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmePathRequest& request, ::grpc::CompletionQueue* cq) = 0;
@@ -202,8 +202,8 @@ class NvmeRemoteControllerService final {
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmePathsResponse>* PrepareAsyncListNvmePathsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmePathsRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePath>* AsyncGetNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePath>* PrepareAsyncGetNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePathStatsResponse>* AsyncNvmePathStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
- virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmePathStatsResponse>* PrepareAsyncNvmePathStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmePathResponse>* AsyncStatsNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmePathResponse>* PrepareAsyncStatsNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) = 0;
};
class Stub final : public StubInterface {
public:
@@ -243,19 +243,19 @@ class NvmeRemoteControllerService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteController>> PrepareAsyncGetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteController>>(PrepareAsyncGetNvmeRemoteControllerRaw(context, request, cq));
}
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::google::protobuf::Empty* response) override;
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncNvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncNvmeRemoteControllerResetRaw(context, request, cq));
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::google::protobuf::Empty* response) override;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncResetNvmeRemoteControllerRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncNvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncNvmeRemoteControllerResetRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncResetNvmeRemoteControllerRaw(context, request, cq));
}
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response) override;
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>> AsyncNvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>>(AsyncNvmeRemoteControllerStatsRaw(context, request, cq));
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response) override;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>> AsyncStatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>>(AsyncStatsNvmeRemoteControllerRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>> PrepareAsyncNvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>>(PrepareAsyncNvmeRemoteControllerStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>> PrepareAsyncStatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>>(PrepareAsyncStatsNvmeRemoteControllerRaw(context, request, cq));
}
::grpc::Status ListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response) override;
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>> AsyncListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::grpc::CompletionQueue* cq) {
@@ -299,12 +299,12 @@ class NvmeRemoteControllerService final {
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePath>> PrepareAsyncGetNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePath>>(PrepareAsyncGetNvmePathRaw(context, request, cq));
}
- ::grpc::Status NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::opi_api::storage::v1::NvmePathStatsResponse* response) override;
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>> AsyncNvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>>(AsyncNvmePathStatsRaw(context, request, cq));
+ ::grpc::Status StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::opi_api::storage::v1::StatsNvmePathResponse* response) override;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>> AsyncStatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>>(AsyncStatsNvmePathRaw(context, request, cq));
}
- std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>> PrepareAsyncNvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) {
- return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>>(PrepareAsyncNvmePathStatsRaw(context, request, cq));
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>> PrepareAsyncStatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>>(PrepareAsyncStatsNvmePathRaw(context, request, cq));
}
class async final :
public StubInterface::async_interface {
@@ -319,10 +319,10 @@ class NvmeRemoteControllerService final {
void ListNvmeRemoteControllers(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteControllersRequest* request, ::opi_api::storage::v1::ListNvmeRemoteControllersResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
void GetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::NvmeRemoteController* response, std::function) override;
void GetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::NvmeRemoteController* response, ::grpc::ClientUnaryReactor* reactor) override;
- void NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, std::function) override;
- void NvmeRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
- void NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response, std::function) override;
- void NvmeRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
+ void ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response, std::function) override;
+ void ResetNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
+ void StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response, std::function) override;
+ void StatsNvmeRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
void ListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response, std::function) override;
void ListNvmeRemoteNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
void CreateNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response, std::function) override;
@@ -335,8 +335,8 @@ class NvmeRemoteControllerService final {
void ListNvmePaths(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmePathsRequest* request, ::opi_api::storage::v1::ListNvmePathsResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
void GetNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response, std::function) override;
void GetNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response, ::grpc::ClientUnaryReactor* reactor) override;
- void NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response, std::function) override;
- void NvmePathStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
+ void StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response, std::function) override;
+ void StatsNvmePath(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
private:
friend class Stub;
explicit async(Stub* stub): stub_(stub) { }
@@ -358,10 +358,10 @@ class NvmeRemoteControllerService final {
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeRemoteControllersResponse>* PrepareAsyncListNvmeRemoteControllersRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteControllersRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteController>* AsyncGetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteController>* PrepareAsyncGetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncNvmeRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncNvmeRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* AsyncNvmeRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* PrepareAsyncNvmeRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncResetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncResetNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* AsyncStatsNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* PrepareAsyncStatsNvmeRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>* AsyncListNvmeRemoteNamespacesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>* PrepareAsyncListNvmeRemoteNamespacesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePath>* AsyncCreateNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmePathRequest& request, ::grpc::CompletionQueue* cq) override;
@@ -374,22 +374,22 @@ class NvmeRemoteControllerService final {
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmePathsResponse>* PrepareAsyncListNvmePathsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmePathsRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePath>* AsyncGetNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePath>* PrepareAsyncGetNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmePathRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>* AsyncNvmePathStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) override;
- ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmePathStatsResponse>* PrepareAsyncNvmePathStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>* AsyncStatsNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmePathResponse>* PrepareAsyncStatsNvmePathRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest& request, ::grpc::CompletionQueue* cq) override;
const ::grpc::internal::RpcMethod rpcmethod_CreateNvmeRemoteController_;
const ::grpc::internal::RpcMethod rpcmethod_DeleteNvmeRemoteController_;
const ::grpc::internal::RpcMethod rpcmethod_UpdateNvmeRemoteController_;
const ::grpc::internal::RpcMethod rpcmethod_ListNvmeRemoteControllers_;
const ::grpc::internal::RpcMethod rpcmethod_GetNvmeRemoteController_;
- const ::grpc::internal::RpcMethod rpcmethod_NvmeRemoteControllerReset_;
- const ::grpc::internal::RpcMethod rpcmethod_NvmeRemoteControllerStats_;
+ const ::grpc::internal::RpcMethod rpcmethod_ResetNvmeRemoteController_;
+ const ::grpc::internal::RpcMethod rpcmethod_StatsNvmeRemoteController_;
const ::grpc::internal::RpcMethod rpcmethod_ListNvmeRemoteNamespaces_;
const ::grpc::internal::RpcMethod rpcmethod_CreateNvmePath_;
const ::grpc::internal::RpcMethod rpcmethod_DeleteNvmePath_;
const ::grpc::internal::RpcMethod rpcmethod_UpdateNvmePath_;
const ::grpc::internal::RpcMethod rpcmethod_ListNvmePaths_;
const ::grpc::internal::RpcMethod rpcmethod_GetNvmePath_;
- const ::grpc::internal::RpcMethod rpcmethod_NvmePathStats_;
+ const ::grpc::internal::RpcMethod rpcmethod_StatsNvmePath_;
};
static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
@@ -402,15 +402,15 @@ class NvmeRemoteControllerService final {
virtual ::grpc::Status UpdateNvmeRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::NvmeRemoteController* response);
virtual ::grpc::Status ListNvmeRemoteControllers(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNvmeRemoteControllersRequest* request, ::opi_api::storage::v1::ListNvmeRemoteControllersResponse* response);
virtual ::grpc::Status GetNvmeRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::NvmeRemoteController* response);
- virtual ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response);
- virtual ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response);
+ virtual ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response);
+ virtual ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response);
virtual ::grpc::Status ListNvmeRemoteNamespaces(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* response);
virtual ::grpc::Status CreateNvmePath(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response);
virtual ::grpc::Status DeleteNvmePath(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNvmePathRequest* request, ::google::protobuf::Empty* response);
virtual ::grpc::Status UpdateNvmePath(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response);
virtual ::grpc::Status ListNvmePaths(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNvmePathsRequest* request, ::opi_api::storage::v1::ListNvmePathsResponse* response);
virtual ::grpc::Status GetNvmePath(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNvmePathRequest* request, ::opi_api::storage::v1::NvmePath* response);
- virtual ::grpc::Status NvmePathStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response);
+ virtual ::grpc::Status StatsNvmePath(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response);
};
template
class WithAsyncMethod_CreateNvmeRemoteController : public BaseClass {
@@ -513,42 +513,42 @@ class NvmeRemoteControllerService final {
}
};
template
- class WithAsyncMethod_NvmeRemoteControllerReset : public BaseClass {
+ class WithAsyncMethod_ResetNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithAsyncMethod_NvmeRemoteControllerReset() {
+ WithAsyncMethod_ResetNvmeRemoteController() {
::grpc::Service::MarkMethodAsync(5);
}
- ~WithAsyncMethod_NvmeRemoteControllerReset() override {
+ ~WithAsyncMethod_ResetNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNvmeRemoteControllerReset(::grpc::ServerContext* context, ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestResetNvmeRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
}
};
template
- class WithAsyncMethod_NvmeRemoteControllerStats : public BaseClass {
+ class WithAsyncMethod_StatsNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithAsyncMethod_NvmeRemoteControllerStats() {
+ WithAsyncMethod_StatsNvmeRemoteController() {
::grpc::Service::MarkMethodAsync(6);
}
- ~WithAsyncMethod_NvmeRemoteControllerStats() override {
+ ~WithAsyncMethod_StatsNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNvmeRemoteControllerStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsNvmeRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag);
}
};
@@ -673,26 +673,26 @@ class NvmeRemoteControllerService final {
}
};
template
- class WithAsyncMethod_NvmePathStats : public BaseClass {
+ class WithAsyncMethod_StatsNvmePath : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithAsyncMethod_NvmePathStats() {
+ WithAsyncMethod_StatsNvmePath() {
::grpc::Service::MarkMethodAsync(13);
}
- ~WithAsyncMethod_NvmePathStats() override {
+ ~WithAsyncMethod_StatsNvmePath() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmePathStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmePath(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNvmePathStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NvmePathStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NvmePathStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsNvmePath(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsNvmePathRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsNvmePathResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag);
}
};
- typedef WithAsyncMethod_CreateNvmeRemoteController > > > > > > > > > > > > > AsyncService;
+ typedef WithAsyncMethod_CreateNvmeRemoteController > > > > > > > > > > > > > AsyncService;
template
class WithCallbackMethod_CreateNvmeRemoteController : public BaseClass {
private:
@@ -829,58 +829,58 @@ class NvmeRemoteControllerService final {
::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteController* /*response*/) { return nullptr; }
};
template
- class WithCallbackMethod_NvmeRemoteControllerReset : public BaseClass {
+ class WithCallbackMethod_ResetNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithCallbackMethod_NvmeRemoteControllerReset() {
+ WithCallbackMethod_ResetNvmeRemoteController() {
::grpc::Service::MarkMethodCallback(5,
- new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty>(
+ new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty>(
[this](
- ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* request, ::google::protobuf::Empty* response) { return this->NvmeRemoteControllerReset(context, request, response); }));}
- void SetMessageAllocatorFor_NvmeRemoteControllerReset(
- ::grpc::MessageAllocator< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty>* allocator) {
+ ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* request, ::google::protobuf::Empty* response) { return this->ResetNvmeRemoteController(context, request, response); }));}
+ void SetMessageAllocatorFor_ResetNvmeRemoteController(
+ ::grpc::MessageAllocator< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty>* allocator) {
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5);
- static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty>*>(handler)
+ static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty>*>(handler)
->SetMessageAllocator(allocator);
}
- ~WithCallbackMethod_NvmeRemoteControllerReset() override {
+ ~WithCallbackMethod_ResetNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NvmeRemoteControllerReset(
- ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
+ virtual ::grpc::ServerUnaryReactor* ResetNvmeRemoteController(
+ ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
};
template
- class WithCallbackMethod_NvmeRemoteControllerStats : public BaseClass {
+ class WithCallbackMethod_StatsNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithCallbackMethod_NvmeRemoteControllerStats() {
+ WithCallbackMethod_StatsNvmeRemoteController() {
::grpc::Service::MarkMethodCallback(6,
- new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>(
+ new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>(
[this](
- ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* response) { return this->NvmeRemoteControllerStats(context, request, response); }));}
- void SetMessageAllocatorFor_NvmeRemoteControllerStats(
- ::grpc::MessageAllocator< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* allocator) {
+ ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* request, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* response) { return this->StatsNvmeRemoteController(context, request, response); }));}
+ void SetMessageAllocatorFor_StatsNvmeRemoteController(
+ ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* allocator) {
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(6);
- static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>*>(handler)
+ static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>*>(handler)
->SetMessageAllocator(allocator);
}
- ~WithCallbackMethod_NvmeRemoteControllerStats() override {
+ ~WithCallbackMethod_StatsNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NvmeRemoteControllerStats(
- ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) { return nullptr; }
+ virtual ::grpc::ServerUnaryReactor* StatsNvmeRemoteController(
+ ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) { return nullptr; }
};
template
class WithCallbackMethod_ListNvmeRemoteNamespaces : public BaseClass {
@@ -1045,33 +1045,33 @@ class NvmeRemoteControllerService final {
::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNvmePathRequest* /*request*/, ::opi_api::storage::v1::NvmePath* /*response*/) { return nullptr; }
};
template
- class WithCallbackMethod_NvmePathStats : public BaseClass {
+ class WithCallbackMethod_StatsNvmePath : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithCallbackMethod_NvmePathStats() {
+ WithCallbackMethod_StatsNvmePath() {
::grpc::Service::MarkMethodCallback(13,
- new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse>(
+ new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse>(
[this](
- ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NvmePathStatsRequest* request, ::opi_api::storage::v1::NvmePathStatsResponse* response) { return this->NvmePathStats(context, request, response); }));}
- void SetMessageAllocatorFor_NvmePathStats(
- ::grpc::MessageAllocator< ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse>* allocator) {
+ ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsNvmePathRequest* request, ::opi_api::storage::v1::StatsNvmePathResponse* response) { return this->StatsNvmePath(context, request, response); }));}
+ void SetMessageAllocatorFor_StatsNvmePath(
+ ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse>* allocator) {
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(13);
- static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse>*>(handler)
+ static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse>*>(handler)
->SetMessageAllocator(allocator);
}
- ~WithCallbackMethod_NvmePathStats() override {
+ ~WithCallbackMethod_StatsNvmePath() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmePathStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmePath(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NvmePathStats(
- ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) { return nullptr; }
+ virtual ::grpc::ServerUnaryReactor* StatsNvmePath(
+ ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) { return nullptr; }
};
- typedef WithCallbackMethod_CreateNvmeRemoteController > > > > > > > > > > > > > CallbackService;
+ typedef WithCallbackMethod_CreateNvmeRemoteController > > > > > > > > > > > > > CallbackService;
typedef CallbackService ExperimentalCallbackService;
template
class WithGenericMethod_CreateNvmeRemoteController : public BaseClass {
@@ -1159,35 +1159,35 @@ class NvmeRemoteControllerService final {
}
};
template
- class WithGenericMethod_NvmeRemoteControllerReset : public BaseClass {
+ class WithGenericMethod_ResetNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithGenericMethod_NvmeRemoteControllerReset() {
+ WithGenericMethod_ResetNvmeRemoteController() {
::grpc::Service::MarkMethodGeneric(5);
}
- ~WithGenericMethod_NvmeRemoteControllerReset() override {
+ ~WithGenericMethod_ResetNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
};
template
- class WithGenericMethod_NvmeRemoteControllerStats : public BaseClass {
+ class WithGenericMethod_StatsNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithGenericMethod_NvmeRemoteControllerStats() {
+ WithGenericMethod_StatsNvmeRemoteController() {
::grpc::Service::MarkMethodGeneric(6);
}
- ~WithGenericMethod_NvmeRemoteControllerStats() override {
+ ~WithGenericMethod_StatsNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
@@ -1295,18 +1295,18 @@ class NvmeRemoteControllerService final {
}
};
template
- class WithGenericMethod_NvmePathStats : public BaseClass {
+ class WithGenericMethod_StatsNvmePath : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithGenericMethod_NvmePathStats() {
+ WithGenericMethod_StatsNvmePath() {
::grpc::Service::MarkMethodGeneric(13);
}
- ~WithGenericMethod_NvmePathStats() override {
+ ~WithGenericMethod_StatsNvmePath() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmePathStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmePath(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
@@ -1412,42 +1412,42 @@ class NvmeRemoteControllerService final {
}
};
template
- class WithRawMethod_NvmeRemoteControllerReset : public BaseClass {
+ class WithRawMethod_ResetNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawMethod_NvmeRemoteControllerReset() {
+ WithRawMethod_ResetNvmeRemoteController() {
::grpc::Service::MarkMethodRaw(5);
}
- ~WithRawMethod_NvmeRemoteControllerReset() override {
+ ~WithRawMethod_ResetNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNvmeRemoteControllerReset(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestResetNvmeRemoteController(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
}
};
template
- class WithRawMethod_NvmeRemoteControllerStats : public BaseClass {
+ class WithRawMethod_StatsNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawMethod_NvmeRemoteControllerStats() {
+ WithRawMethod_StatsNvmeRemoteController() {
::grpc::Service::MarkMethodRaw(6);
}
- ~WithRawMethod_NvmeRemoteControllerStats() override {
+ ~WithRawMethod_StatsNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNvmeRemoteControllerStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsNvmeRemoteController(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag);
}
};
@@ -1572,22 +1572,22 @@ class NvmeRemoteControllerService final {
}
};
template
- class WithRawMethod_NvmePathStats : public BaseClass {
+ class WithRawMethod_StatsNvmePath : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawMethod_NvmePathStats() {
+ WithRawMethod_StatsNvmePath() {
::grpc::Service::MarkMethodRaw(13);
}
- ~WithRawMethod_NvmePathStats() override {
+ ~WithRawMethod_StatsNvmePath() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmePathStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmePath(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- void RequestNvmePathStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ void RequestStatsNvmePath(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag);
}
};
@@ -1702,47 +1702,47 @@ class NvmeRemoteControllerService final {
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
- class WithRawCallbackMethod_NvmeRemoteControllerReset : public BaseClass {
+ class WithRawCallbackMethod_ResetNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawCallbackMethod_NvmeRemoteControllerReset() {
+ WithRawCallbackMethod_ResetNvmeRemoteController() {
::grpc::Service::MarkMethodRawCallback(5,
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
[this](
- ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NvmeRemoteControllerReset(context, request, response); }));
+ ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ResetNvmeRemoteController(context, request, response); }));
}
- ~WithRawCallbackMethod_NvmeRemoteControllerReset() override {
+ ~WithRawCallbackMethod_ResetNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NvmeRemoteControllerReset(
+ virtual ::grpc::ServerUnaryReactor* ResetNvmeRemoteController(
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
- class WithRawCallbackMethod_NvmeRemoteControllerStats : public BaseClass {
+ class WithRawCallbackMethod_StatsNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawCallbackMethod_NvmeRemoteControllerStats() {
+ WithRawCallbackMethod_StatsNvmeRemoteController() {
::grpc::Service::MarkMethodRawCallback(6,
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
[this](
- ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NvmeRemoteControllerStats(context, request, response); }));
+ ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsNvmeRemoteController(context, request, response); }));
}
- ~WithRawCallbackMethod_NvmeRemoteControllerStats() override {
+ ~WithRawCallbackMethod_StatsNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NvmeRemoteControllerStats(
+ virtual ::grpc::ServerUnaryReactor* StatsNvmeRemoteController(
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
@@ -1878,25 +1878,25 @@ class NvmeRemoteControllerService final {
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
- class WithRawCallbackMethod_NvmePathStats : public BaseClass {
+ class WithRawCallbackMethod_StatsNvmePath : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithRawCallbackMethod_NvmePathStats() {
+ WithRawCallbackMethod_StatsNvmePath() {
::grpc::Service::MarkMethodRawCallback(13,
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
[this](
- ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NvmePathStats(context, request, response); }));
+ ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsNvmePath(context, request, response); }));
}
- ~WithRawCallbackMethod_NvmePathStats() override {
+ ~WithRawCallbackMethod_StatsNvmePath() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
- ::grpc::Status NvmePathStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmePath(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
- virtual ::grpc::ServerUnaryReactor* NvmePathStats(
+ virtual ::grpc::ServerUnaryReactor* StatsNvmePath(
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
};
template
@@ -2035,58 +2035,58 @@ class NvmeRemoteControllerService final {
virtual ::grpc::Status StreamedGetNvmeRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNvmeRemoteControllerRequest,::opi_api::storage::v1::NvmeRemoteController>* server_unary_streamer) = 0;
};
template
- class WithStreamedUnaryMethod_NvmeRemoteControllerReset : public BaseClass {
+ class WithStreamedUnaryMethod_ResetNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithStreamedUnaryMethod_NvmeRemoteControllerReset() {
+ WithStreamedUnaryMethod_ResetNvmeRemoteController() {
::grpc::Service::MarkMethodStreamed(5,
new ::grpc::internal::StreamedUnaryHandler<
- ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty>(
+ ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty>(
[this](::grpc::ServerContext* context,
::grpc::ServerUnaryStreamer<
- ::opi_api::storage::v1::NvmeRemoteControllerResetRequest, ::google::protobuf::Empty>* streamer) {
- return this->StreamedNvmeRemoteControllerReset(context,
+ ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, ::google::protobuf::Empty>* streamer) {
+ return this->StreamedResetNvmeRemoteController(context,
streamer);
}));
}
- ~WithStreamedUnaryMethod_NvmeRemoteControllerReset() override {
+ ~WithStreamedUnaryMethod_ResetNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable regular version of this method
- ::grpc::Status NvmeRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
+ ::grpc::Status ResetNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
// replace default version of method with streamed unary
- virtual ::grpc::Status StreamedNvmeRemoteControllerReset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest,::google::protobuf::Empty>* server_unary_streamer) = 0;
+ virtual ::grpc::Status StreamedResetNvmeRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest,::google::protobuf::Empty>* server_unary_streamer) = 0;
};
template
- class WithStreamedUnaryMethod_NvmeRemoteControllerStats : public BaseClass {
+ class WithStreamedUnaryMethod_StatsNvmeRemoteController : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithStreamedUnaryMethod_NvmeRemoteControllerStats() {
+ WithStreamedUnaryMethod_StatsNvmeRemoteController() {
::grpc::Service::MarkMethodStreamed(6,
new ::grpc::internal::StreamedUnaryHandler<
- ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>(
+ ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>(
[this](::grpc::ServerContext* context,
::grpc::ServerUnaryStreamer<
- ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* streamer) {
- return this->StreamedNvmeRemoteControllerStats(context,
+ ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* streamer) {
+ return this->StreamedStatsNvmeRemoteController(context,
streamer);
}));
}
- ~WithStreamedUnaryMethod_NvmeRemoteControllerStats() override {
+ ~WithStreamedUnaryMethod_StatsNvmeRemoteController() override {
BaseClassMustBeDerivedFromService(this);
}
// disable regular version of this method
- ::grpc::Status NvmeRemoteControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmeRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
// replace default version of method with streamed unary
- virtual ::grpc::Status StreamedNvmeRemoteControllerStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest,::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>* server_unary_streamer) = 0;
+ virtual ::grpc::Status StreamedStatsNvmeRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest,::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>* server_unary_streamer) = 0;
};
template
class WithStreamedUnaryMethod_ListNvmeRemoteNamespaces : public BaseClass {
@@ -2251,35 +2251,35 @@ class NvmeRemoteControllerService final {
virtual ::grpc::Status StreamedGetNvmePath(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNvmePathRequest,::opi_api::storage::v1::NvmePath>* server_unary_streamer) = 0;
};
template
- class WithStreamedUnaryMethod_NvmePathStats : public BaseClass {
+ class WithStreamedUnaryMethod_StatsNvmePath : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
- WithStreamedUnaryMethod_NvmePathStats() {
+ WithStreamedUnaryMethod_StatsNvmePath() {
::grpc::Service::MarkMethodStreamed(13,
new ::grpc::internal::StreamedUnaryHandler<
- ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse>(
+ ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse>(
[this](::grpc::ServerContext* context,
::grpc::ServerUnaryStreamer<
- ::opi_api::storage::v1::NvmePathStatsRequest, ::opi_api::storage::v1::NvmePathStatsResponse>* streamer) {
- return this->StreamedNvmePathStats(context,
+ ::opi_api::storage::v1::StatsNvmePathRequest, ::opi_api::storage::v1::StatsNvmePathResponse>* streamer) {
+ return this->StreamedStatsNvmePath(context,
streamer);
}));
}
- ~WithStreamedUnaryMethod_NvmePathStats() override {
+ ~WithStreamedUnaryMethod_StatsNvmePath() override {
BaseClassMustBeDerivedFromService(this);
}
// disable regular version of this method
- ::grpc::Status NvmePathStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmePathStatsRequest* /*request*/, ::opi_api::storage::v1::NvmePathStatsResponse* /*response*/) override {
+ ::grpc::Status StatsNvmePath(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmePathRequest* /*request*/, ::opi_api::storage::v1::StatsNvmePathResponse* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
// replace default version of method with streamed unary
- virtual ::grpc::Status StreamedNvmePathStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NvmePathStatsRequest,::opi_api::storage::v1::NvmePathStatsResponse>* server_unary_streamer) = 0;
+ virtual ::grpc::Status StreamedStatsNvmePath(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsNvmePathRequest,::opi_api::storage::v1::StatsNvmePathResponse>* server_unary_streamer) = 0;
};
- typedef WithStreamedUnaryMethod_CreateNvmeRemoteController > > > > > > > > > > > > > StreamedUnaryService;
+ typedef WithStreamedUnaryMethod_CreateNvmeRemoteController > > > > > > > > > > > > > StreamedUnaryService;
typedef Service SplitStreamedService;
- typedef WithStreamedUnaryMethod_CreateNvmeRemoteController > > > > > > > > > > > > > StreamedService;
+ typedef WithStreamedUnaryMethod_CreateNvmeRemoteController > > > > > > > > > > > > > StreamedService;
};
} // namespace v1
diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc
index 04673f7c..0f515ede 100644
--- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc
+++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc
@@ -157,42 +157,42 @@ struct GetNvmeRemoteControllerRequestDefaultTypeInternal {
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNvmeRemoteControllerRequestDefaultTypeInternal _GetNvmeRemoteControllerRequest_default_instance_;
-constexpr NvmeRemoteControllerResetRequest::NvmeRemoteControllerResetRequest(
+constexpr ResetNvmeRemoteControllerRequest::ResetNvmeRemoteControllerRequest(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
-struct NvmeRemoteControllerResetRequestDefaultTypeInternal {
- constexpr NvmeRemoteControllerResetRequestDefaultTypeInternal()
+struct ResetNvmeRemoteControllerRequestDefaultTypeInternal {
+ constexpr ResetNvmeRemoteControllerRequestDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NvmeRemoteControllerResetRequestDefaultTypeInternal() {}
+ ~ResetNvmeRemoteControllerRequestDefaultTypeInternal() {}
union {
- NvmeRemoteControllerResetRequest _instance;
+ ResetNvmeRemoteControllerRequest _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeRemoteControllerResetRequestDefaultTypeInternal _NvmeRemoteControllerResetRequest_default_instance_;
-constexpr NvmeRemoteControllerStatsRequest::NvmeRemoteControllerStatsRequest(
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ResetNvmeRemoteControllerRequestDefaultTypeInternal _ResetNvmeRemoteControllerRequest_default_instance_;
+constexpr StatsNvmeRemoteControllerRequest::StatsNvmeRemoteControllerRequest(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
-struct NvmeRemoteControllerStatsRequestDefaultTypeInternal {
- constexpr NvmeRemoteControllerStatsRequestDefaultTypeInternal()
+struct StatsNvmeRemoteControllerRequestDefaultTypeInternal {
+ constexpr StatsNvmeRemoteControllerRequestDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NvmeRemoteControllerStatsRequestDefaultTypeInternal() {}
+ ~StatsNvmeRemoteControllerRequestDefaultTypeInternal() {}
union {
- NvmeRemoteControllerStatsRequest _instance;
+ StatsNvmeRemoteControllerRequest _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeRemoteControllerStatsRequestDefaultTypeInternal _NvmeRemoteControllerStatsRequest_default_instance_;
-constexpr NvmeRemoteControllerStatsResponse::NvmeRemoteControllerStatsResponse(
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeRemoteControllerRequestDefaultTypeInternal _StatsNvmeRemoteControllerRequest_default_instance_;
+constexpr StatsNvmeRemoteControllerResponse::StatsNvmeRemoteControllerResponse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: stats_(nullptr){}
-struct NvmeRemoteControllerStatsResponseDefaultTypeInternal {
- constexpr NvmeRemoteControllerStatsResponseDefaultTypeInternal()
+struct StatsNvmeRemoteControllerResponseDefaultTypeInternal {
+ constexpr StatsNvmeRemoteControllerResponseDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NvmeRemoteControllerStatsResponseDefaultTypeInternal() {}
+ ~StatsNvmeRemoteControllerResponseDefaultTypeInternal() {}
union {
- NvmeRemoteControllerStatsResponse _instance;
+ StatsNvmeRemoteControllerResponse _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeRemoteControllerStatsResponseDefaultTypeInternal _NvmeRemoteControllerStatsResponse_default_instance_;
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeRemoteControllerResponseDefaultTypeInternal _StatsNvmeRemoteControllerResponse_default_instance_;
constexpr ListNvmeRemoteNamespacesRequest::ListNvmeRemoteNamespacesRequest(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: parent_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
@@ -299,30 +299,30 @@ struct GetNvmePathRequestDefaultTypeInternal {
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNvmePathRequestDefaultTypeInternal _GetNvmePathRequest_default_instance_;
-constexpr NvmePathStatsRequest::NvmePathStatsRequest(
+constexpr StatsNvmePathRequest::StatsNvmePathRequest(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
-struct NvmePathStatsRequestDefaultTypeInternal {
- constexpr NvmePathStatsRequestDefaultTypeInternal()
+struct StatsNvmePathRequestDefaultTypeInternal {
+ constexpr StatsNvmePathRequestDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NvmePathStatsRequestDefaultTypeInternal() {}
+ ~StatsNvmePathRequestDefaultTypeInternal() {}
union {
- NvmePathStatsRequest _instance;
+ StatsNvmePathRequest _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmePathStatsRequestDefaultTypeInternal _NvmePathStatsRequest_default_instance_;
-constexpr NvmePathStatsResponse::NvmePathStatsResponse(
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmePathRequestDefaultTypeInternal _StatsNvmePathRequest_default_instance_;
+constexpr StatsNvmePathResponse::StatsNvmePathResponse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: stats_(nullptr){}
-struct NvmePathStatsResponseDefaultTypeInternal {
- constexpr NvmePathStatsResponseDefaultTypeInternal()
+struct StatsNvmePathResponseDefaultTypeInternal {
+ constexpr StatsNvmePathResponseDefaultTypeInternal()
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
- ~NvmePathStatsResponseDefaultTypeInternal() {}
+ ~StatsNvmePathResponseDefaultTypeInternal() {}
union {
- NvmePathStatsResponse _instance;
+ StatsNvmePathResponse _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmePathStatsResponseDefaultTypeInternal _NvmePathStatsResponse_default_instance_;
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmePathResponseDefaultTypeInternal _StatsNvmePathResponse_default_instance_;
} // namespace v1
} // namespace storage
} // namespace opi_api
@@ -422,26 +422,26 @@ const uint32_t TableStruct_backend_5fnvme_5ftcp_2eproto::offsets[] PROTOBUF_SECT
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNvmeRemoteControllerRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeRemoteControllerResetRequest, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeRemoteControllerResetRequest, name_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ResetNvmeRemoteControllerRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeRemoteControllerStatsRequest, name_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeRemoteControllerRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeRemoteControllerStatsResponse, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeRemoteControllerResponse, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeRemoteControllerStatsResponse, stats_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeRemoteControllerResponse, stats_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest, _internal_metadata_),
~0u, // no _extensions_
@@ -509,19 +509,19 @@ const uint32_t TableStruct_backend_5fnvme_5ftcp_2eproto::offsets[] PROTOBUF_SECT
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNvmePathRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmePathStatsRequest, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmePathRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmePathStatsRequest, name_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmePathRequest, name_),
~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmePathStatsResponse, _internal_metadata_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmePathResponse, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmePathStatsResponse, stats_),
+ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmePathResponse, stats_),
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, -1, sizeof(::opi_api::storage::v1::NvmeRemoteController)},
@@ -533,9 +533,9 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 66, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeRemoteControllersRequest)},
{ 75, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeRemoteControllersResponse)},
{ 83, -1, -1, sizeof(::opi_api::storage::v1::GetNvmeRemoteControllerRequest)},
- { 90, -1, -1, sizeof(::opi_api::storage::v1::NvmeRemoteControllerResetRequest)},
- { 97, -1, -1, sizeof(::opi_api::storage::v1::NvmeRemoteControllerStatsRequest)},
- { 104, -1, -1, sizeof(::opi_api::storage::v1::NvmeRemoteControllerStatsResponse)},
+ { 90, -1, -1, sizeof(::opi_api::storage::v1::ResetNvmeRemoteControllerRequest)},
+ { 97, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeRemoteControllerRequest)},
+ { 104, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeRemoteControllerResponse)},
{ 111, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest)},
{ 120, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse)},
{ 128, -1, -1, sizeof(::opi_api::storage::v1::CreateNvmePathRequest)},
@@ -544,8 +544,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 153, -1, -1, sizeof(::opi_api::storage::v1::ListNvmePathsRequest)},
{ 162, -1, -1, sizeof(::opi_api::storage::v1::ListNvmePathsResponse)},
{ 170, -1, -1, sizeof(::opi_api::storage::v1::GetNvmePathRequest)},
- { 177, -1, -1, sizeof(::opi_api::storage::v1::NvmePathStatsRequest)},
- { 184, -1, -1, sizeof(::opi_api::storage::v1::NvmePathStatsResponse)},
+ { 177, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmePathRequest)},
+ { 184, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmePathResponse)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@@ -558,9 +558,9 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast(&::opi_api::storage::v1::_ListNvmeRemoteControllersRequest_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_ListNvmeRemoteControllersResponse_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_GetNvmeRemoteControllerRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NvmeRemoteControllerResetRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NvmeRemoteControllerStatsRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NvmeRemoteControllerStatsResponse_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_ResetNvmeRemoteControllerRequest_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeRemoteControllerRequest_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeRemoteControllerResponse_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_ListNvmeRemoteNamespacesRequest_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_ListNvmeRemoteNamespacesResponse_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_CreateNvmePathRequest_default_instance_),
@@ -569,8 +569,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast(&::opi_api::storage::v1::_ListNvmePathsRequest_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_ListNvmePathsResponse_default_instance_),
reinterpret_cast(&::opi_api::storage::v1::_GetNvmePathRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NvmePathStatsRequest_default_instance_),
- reinterpret_cast(&::opi_api::storage::v1::_NvmePathStatsResponse_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsNvmePathRequest_default_instance_),
+ reinterpret_cast(&::opi_api::storage::v1::_StatsNvmePathResponse_default_instance_),
};
const char descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
@@ -580,133 +580,145 @@ const char descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto[] PROTOBUF_SEC
"proto\032\034google/api/annotations.proto\032\037goo"
"gle/api/field_behavior.proto\032 google/pro"
"tobuf/field_mask.proto\032\017opicommon.proto\032"
- "\nuuid.proto\"\366\001\n\024NvmeRemoteController\022\014\n\004"
- "name\030\001 \001(\t\022\r\n\005hdgst\030\002 \001(\010\022\r\n\005ddgst\030\003 \001(\010"
- "\0224\n\tmultipath\030\004 \001(\0162!.opi_api.storage.v1"
- ".NvmeMultipath\022\027\n\017io_queues_count\030\005 \001(\003\022"
- "\022\n\nqueue_size\030\006 \001(\003\022\013\n\003psk\030\007 \001(\014:B\352A\?\n+s"
- "torage.opiproject.org/NvmeRemoteControll"
- "er\022\020volumes/{volume}\"\314\002\n\010NvmePath\022\014\n\004nam"
- "e\030\001 \001(\t\022\033\n\023controller_name_ref\030\002 \001(\t\0225\n\006"
- "trtype\030\003 \001(\0162%.opi_api.storage.v1.NvmeTr"
- "ansportType\0225\n\006adrfam\030\004 \001(\0162%.opi_api.st"
- "orage.v1.NvmeAddressFamily\022\016\n\006traddr\030\005 \001"
- "(\t\022\017\n\007trsvcid\030\006 \001(\003\022\016\n\006subnqn\030\007 \001(\t\022\025\n\rs"
- "ource_traddr\030\010 \001(\t\022\026\n\016source_trsvcid\030\t \001"
- "(\003\022\017\n\007hostnqn\030\n \001(\t:6\352A3\n\037storage.opipro"
- "ject.org/NvmePath\022\020volumes/{volume}\"\326\001\n\023"
- "NvmeRemoteNamespace\022\014\n\004name\030\001 \001(\t\022\033\n\023con"
- "troller_name_ref\030\002 \001(\t\022\014\n\004nsid\030\003 \001(\005\022\r\n\005"
- "nguid\030\004 \001(\t\022\r\n\005eui64\030\005 \001(\003\022%\n\004uuid\030\006 \001(\013"
- "2\027.opi_api.common.v1.Uuid:A\352A>\n*storage."
- "opiproject.org/NvmeRemoteNamespace\022\020volu"
- "mes/{volume}\"\225\001\n!CreateNvmeRemoteControl"
- "lerRequest\022M\n\026nvme_remote_controller\030\002 \001"
- "(\0132(.opi_api.storage.v1.NvmeRemoteContro"
- "llerB\003\340A\002\022!\n\031nvme_remote_controller_id\030\003"
- " \001(\t\"y\n!DeleteNvmeRemoteControllerReques"
- "t\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.storage"
- ".v1/NvmeRemoteController\022\025\n\rallow_missin"
- "g\030\002 \001(\010\"\265\001\n!UpdateNvmeRemoteControllerRe"
- "quest\022H\n\026nvme_remote_controller\030\001 \001(\0132(."
- "opi_api.storage.v1.NvmeRemoteController\022"
- "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F"
- "ieldMask\022\025\n\rallow_missing\030\003 \001(\010\"\212\001\n List"
- "NvmeRemoteControllersRequest\022\?\n\006parent\030\001"
- " \001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NvmeRem"
- "oteController\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
- "_token\030\003 \001(\t\"\207\001\n!ListNvmeRemoteControlle"
- "rsResponse\022I\n\027nvme_remote_controllers\030\001 "
- "\003(\0132(.opi_api.storage.v1.NvmeRemoteContr"
- "oller\022\027\n\017next_page_token\030\002 \001(\t\"_\n\036GetNvm"
- "eRemoteControllerRequest\022=\n\004name\030\001 \001(\tB/"
- "\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteCon"
- "troller\"0\n NvmeRemoteControllerResetRequ"
- "est\022\014\n\004name\030\001 \001(\t\"0\n NvmeRemoteControlle"
- "rStatsRequest\022\014\n\004name\030\001 \001(\t\"S\n!NvmeRemot"
- "eControllerStatsResponse\022.\n\005stats\030\001 \001(\0132"
- "\037.opi_api.storage.v1.VolumeStats\"\210\001\n\037Lis"
- "tNvmeRemoteNamespacesRequest\022>\n\006parent\030\001"
- " \001(\tB.\340A\002\372A(\n&opi_api.storage.v1/NvmeRem"
- "oteNamespace\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_"
- "token\030\003 \001(\t\"\204\001\n ListNvmeRemoteNamespaces"
- "Response\022G\n\026nvme_remote_namespaces\030\001 \003(\013"
- "2\'.opi_api.storage.v1.NvmeRemoteNamespac"
- "e\022\027\n\017next_page_token\030\002 \001(\t\"c\n\025CreateNvme"
- "PathRequest\0224\n\tnvme_path\030\001 \001(\0132\034.opi_api"
- ".storage.v1.NvmePathB\003\340A\002\022\024\n\014nvme_path_i"
- "d\030\002 \001(\t\"a\n\025DeleteNvmePathRequest\0221\n\004name"
- "\030\001 \001(\tB#\340A\002\372A\035\n\033opi_api.storage.v1/NvmeP"
- "ath\022\025\n\rallow_missing\030\002 \001(\010\"\220\001\n\025UpdateNvm"
- "ePathRequest\022/\n\tnvme_path\030\001 \001(\0132\034.opi_ap"
- "i.storage.v1.NvmePath\022/\n\013update_mask\030\002 \001"
- "(\0132\032.google.protobuf.FieldMask\022\025\n\rallow_"
- "missing\030\003 \001(\010\"r\n\024ListNvmePathsRequest\0223\n"
- "\006parent\030\001 \001(\tB#\340A\002\372A\035\n\033opi_api.storage.v"
- "1/NvmePath\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to"
- "ken\030\003 \001(\t\"b\n\025ListNvmePathsResponse\0220\n\nnv"
- "me_paths\030\001 \003(\0132\034.opi_api.storage.v1.Nvme"
- "Path\022\027\n\017next_page_token\030\002 \001(\t\"G\n\022GetNvme"
+ "\nuuid.proto\"\252\002\n\024NvmeRemoteController\022@\n\004"
+ "name\030\001 \001(\tB2\340A\003\340A\005\372A)\n\'opi_api.storage.v"
+ "1/NvmeRemoteController\022\r\n\005hdgst\030\002 \001(\010\022\r\n"
+ "\005ddgst\030\003 \001(\010\0224\n\tmultipath\030\004 \001(\0162!.opi_ap"
+ "i.storage.v1.NvmeMultipath\022\027\n\017io_queues_"
+ "count\030\005 \001(\003\022\022\n\nqueue_size\030\006 \001(\003\022\013\n\003psk\030\007"
+ " \001(\014:B\352A\?\n+storage.opiproject.org/NvmeRe"
+ "moteController\022\020volumes/{volume}\"\245\003\n\010Nvm"
+ "ePath\0224\n\004name\030\001 \001(\tB&\340A\003\340A\005\372A\035\n\033opi_api."
+ "storage.v1/NvmePath\022L\n\023controller_name_r"
+ "ef\030\002 \001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/Nvm"
+ "eRemoteController\0225\n\006trtype\030\003 \001(\0162%.opi_"
+ "api.storage.v1.NvmeTransportType\0225\n\006adrf"
+ "am\030\004 \001(\0162%.opi_api.storage.v1.NvmeAddres"
+ "sFamily\022\016\n\006traddr\030\005 \001(\t\022\017\n\007trsvcid\030\006 \001(\003"
+ "\022\016\n\006subnqn\030\007 \001(\t\022\025\n\rsource_traddr\030\010 \001(\t\022"
+ "\026\n\016source_trsvcid\030\t \001(\003\022\017\n\007hostnqn\030\n \001(\t"
+ ":6\352A3\n\037storage.opiproject.org/NvmePath\022\020"
+ "volumes/{volume}\"\272\002\n\023NvmeRemoteNamespace"
+ "\022\?\n\004name\030\001 \001(\tB1\340A\003\340A\005\372A(\n&opi_api.stora"
+ "ge.v1/NvmeRemoteNamespace\022L\n\023controller_"
+ "name_ref\030\002 \001(\tB/\340A\002\372A)\n\'opi_api.storage."
+ "v1/NvmeRemoteController\022\014\n\004nsid\030\003 \001(\005\022\r\n"
+ "\005nguid\030\004 \001(\t\022\r\n\005eui64\030\005 \001(\003\022%\n\004uuid\030\006 \001("
+ "\0132\027.opi_api.common.v1.Uuid:A\352A>\n*storage"
+ ".opiproject.org/NvmeRemoteNamespace\022\020vol"
+ "umes/{volume}\"\225\001\n!CreateNvmeRemoteContro"
+ "llerRequest\022M\n\026nvme_remote_controller\030\001 "
+ "\001(\0132(.opi_api.storage.v1.NvmeRemoteContr"
+ "ollerB\003\340A\002\022!\n\031nvme_remote_controller_id\030"
+ "\002 \001(\t\"y\n!DeleteNvmeRemoteControllerReque"
+ "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.storag"
+ "e.v1/NvmeRemoteController\022\025\n\rallow_missi"
+ "ng\030\002 \001(\010\"\265\001\n!UpdateNvmeRemoteControllerR"
+ "equest\022H\n\026nvme_remote_controller\030\001 \001(\0132("
+ ".opi_api.storage.v1.NvmeRemoteController"
+ "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
+ "FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"\212\001\n Lis"
+ "tNvmeRemoteControllersRequest\022\?\n\006parent\030"
+ "\001 \001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NvmeRe"
+ "moteController\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag"
+ "e_token\030\003 \001(\t\"\207\001\n!ListNvmeRemoteControll"
+ "ersResponse\022I\n\027nvme_remote_controllers\030\001"
+ " \003(\0132(.opi_api.storage.v1.NvmeRemoteCont"
+ "roller\022\027\n\017next_page_token\030\002 \001(\t\"_\n\036GetNv"
+ "meRemoteControllerRequest\022=\n\004name\030\001 \001(\tB"
+ "/\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteCo"
+ "ntroller\"a\n ResetNvmeRemoteControllerReq"
+ "uest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.stor"
+ "age.v1/NvmeRemoteController\"a\n StatsNvme"
+ "RemoteControllerRequest\022=\n\004name\030\001 \001(\tB/\340"
+ "A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteCont"
+ "roller\"S\n!StatsNvmeRemoteControllerRespo"
+ "nse\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1."
+ "VolumeStats\"\210\001\n\037ListNvmeRemoteNamespaces"
+ "Request\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&opi_api"
+ ".storage.v1/NvmeRemoteNamespace\022\021\n\tpage_"
+ "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\204\001\n ListN"
+ "vmeRemoteNamespacesResponse\022G\n\026nvme_remo"
+ "te_namespaces\030\001 \003(\0132\'.opi_api.storage.v1"
+ ".NvmeRemoteNamespace\022\027\n\017next_page_token\030"
+ "\002 \001(\t\"c\n\025CreateNvmePathRequest\0224\n\tnvme_p"
+ "ath\030\001 \001(\0132\034.opi_api.storage.v1.NvmePathB"
+ "\003\340A\002\022\024\n\014nvme_path_id\030\002 \001(\t\"a\n\025DeleteNvme"
"PathRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033opi_a"
- "pi.storage.v1/NvmePath\"$\n\024NvmePathStatsR"
- "equest\022\014\n\004name\030\001 \001(\t\"G\n\025NvmePathStatsRes"
- "ponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v"
- "1.VolumeStats*\264\001\n\021NvmeTransportType\022#\n\037N"
- "VME_TRANSPORT_TYPE_UNSPECIFIED\020\000\022\025\n\021NVME"
- "_TRANSPORT_FC\020\001\022\027\n\023NVME_TRANSPORT_PCIE\020\002"
- "\022\027\n\023NVME_TRANSPORT_RDMA\020\003\022\026\n\022NVME_TRANSP"
- "ORT_TCP\020\004\022\031\n\025NVME_TRANSPORT_CUSTOM\020\005*\250\001\n"
- "\021NvmeAddressFamily\022#\n\037NVME_ADDRESS_FAMIL"
- "Y_UNSPECIFIED\020\000\022\024\n\020NVME_ADRFAM_IPV4\020\001\022\024\n"
- "\020NVME_ADRFAM_IPV6\020\002\022\022\n\016NVME_ADRFAM_IB\020\003\022"
- "\022\n\016NVME_ADRFAM_FC\020\004\022\032\n\026NVME_ADRFAM_INTRA"
- "_HOST\020\005*\206\001\n\rNvmeMultipath\022\036\n\032NVME_MULTIP"
- "ATH_UNSPECIFIED\020\000\022\032\n\026NVME_MULTIPATH_DISA"
- "BLE\020\001\022\033\n\027NVME_MULTIPATH_FAILOVER\020\002\022\034\n\030NV"
- "ME_MULTIPATH_MULTIPATH\020\0032\343\021\n\033NvmeRemoteC"
- "ontrollerService\022\335\001\n\032CreateNvmeRemoteCon"
- "troller\0225.opi_api.storage.v1.CreateNvmeR"
- "emoteControllerRequest\032(.opi_api.storage"
- ".v1.NvmeRemoteController\"^\202\323\344\223\002%\"\013/v1/vo"
- "lumes:\026nvme_remote_controller\332A0nvme_rem"
- "ote_controller,nvme_remote_controller_id"
- "\022\235\001\n\032DeleteNvmeRemoteController\0225.opi_ap"
- "i.storage.v1.DeleteNvmeRemoteControllerR"
- "equest\032\026.google.protobuf.Empty\"0\202\323\344\223\002#*!"
- "/v1/{name=subsystems}/{subsystem}\332A\004name"
- "\022\360\001\n\032UpdateNvmeRemoteController\0225.opi_ap"
- "i.storage.v1.UpdateNvmeRemoteControllerR"
- "equest\032(.opi_api.storage.v1.NvmeRemoteCo"
- "ntroller\"q\202\323\344\223\002F2,/v1/{nvme_remote_contr"
- "oller.name=subsystems}:\026nvme_remote_cont"
- "roller\332A\"nvme_remote_controller,update_m"
- "ask\022\262\001\n\031ListNvmeRemoteControllers\0224.opi_"
- "api.storage.v1.ListNvmeRemoteControllers"
- "Request\0325.opi_api.storage.v1.ListNvmeRem"
- "oteControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{par"
- "ent=subsystems}\332A\006parent\022\251\001\n\027GetNvmeRemo"
- "teController\0222.opi_api.storage.v1.GetNvm"
- "eRemoteControllerRequest\032(.opi_api.stora"
- "ge.v1.NvmeRemoteController\"0\202\323\344\223\002#\022!/v1/"
- "{name=subsystems}/{subsystem}\332A\004name\022k\n\031"
- "NvmeRemoteControllerReset\0224.opi_api.stor"
- "age.v1.NvmeRemoteControllerResetRequest\032"
- "\026.google.protobuf.Empty\"\000\022\212\001\n\031NvmeRemote"
- "ControllerStats\0224.opi_api.storage.v1.Nvm"
- "eRemoteControllerStatsRequest\0325.opi_api."
- "storage.v1.NvmeRemoteControllerStatsResp"
- "onse\"\000\022\257\001\n\030ListNvmeRemoteNamespaces\0223.op"
- "i_api.storage.v1.ListNvmeRemoteNamespace"
- "sRequest\0324.opi_api.storage.v1.ListNvmeRe"
- "moteNamespacesResponse\"(\202\323\344\223\002\031\022\027/v1/{par"
- "ent=subsystems}\332A\006parent\022\222\001\n\016CreateNvmeP"
- "ath\022).opi_api.storage.v1.CreateNvmePathR"
- "equest\032\034.opi_api.storage.v1.NvmePath\"7\202\323"
- "\344\223\002\030\"\013/v1/volumes:\tnvme_path\332A\026nvme_path"
- ",nvme_path_id\022\205\001\n\016DeleteNvmePath\022).opi_a"
- "pi.storage.v1.DeleteNvmePathRequest\032\026.go"
- "ogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=s"
- "ubsystems}/{subsystem}\332A\004name\022\245\001\n\016Update"
+ "pi.storage.v1/NvmePath\022\025\n\rallow_missing\030"
+ "\002 \001(\010\"\220\001\n\025UpdateNvmePathRequest\022/\n\tnvme_"
+ "path\030\001 \001(\0132\034.opi_api.storage.v1.NvmePath"
+ "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
+ "FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"r\n\024List"
+ "NvmePathsRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035"
+ "\n\033opi_api.storage.v1/NvmePath\022\021\n\tpage_si"
+ "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"b\n\025ListNvme"
+ "PathsResponse\0220\n\nnvme_paths\030\001 \003(\0132\034.opi_"
+ "api.storage.v1.NvmePath\022\027\n\017next_page_tok"
+ "en\030\002 \001(\t\"G\n\022GetNvmePathRequest\0221\n\004name\030\001"
+ " \001(\tB#\340A\002\372A\035\n\033opi_api.storage.v1/NvmePat"
+ "h\"I\n\024StatsNvmePathRequest\0221\n\004name\030\001 \001(\tB"
+ "#\340A\002\372A\035\n\033opi_api.storage.v1/NvmePath\"G\n\025"
+ "StatsNvmePathResponse\022.\n\005stats\030\001 \001(\0132\037.o"
+ "pi_api.storage.v1.VolumeStats*\264\001\n\021NvmeTr"
+ "ansportType\022#\n\037NVME_TRANSPORT_TYPE_UNSPE"
+ "CIFIED\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001\022\027\n\023NVME_"
+ "TRANSPORT_PCIE\020\002\022\027\n\023NVME_TRANSPORT_RDMA\020"
+ "\003\022\026\n\022NVME_TRANSPORT_TCP\020\004\022\031\n\025NVME_TRANSP"
+ "ORT_CUSTOM\020\005*\250\001\n\021NvmeAddressFamily\022#\n\037NV"
+ "ME_ADDRESS_FAMILY_UNSPECIFIED\020\000\022\024\n\020NVME_"
+ "ADRFAM_IPV4\020\001\022\024\n\020NVME_ADRFAM_IPV6\020\002\022\022\n\016N"
+ "VME_ADRFAM_IB\020\003\022\022\n\016NVME_ADRFAM_FC\020\004\022\032\n\026N"
+ "VME_ADRFAM_INTRA_HOST\020\005*\206\001\n\rNvmeMultipat"
+ "h\022\036\n\032NVME_MULTIPATH_UNSPECIFIED\020\000\022\032\n\026NVM"
+ "E_MULTIPATH_DISABLE\020\001\022\033\n\027NVME_MULTIPATH_"
+ "FAILOVER\020\002\022\034\n\030NVME_MULTIPATH_MULTIPATH\020\003"
+ "2\353\022\n\033NvmeRemoteControllerService\022\335\001\n\032Cre"
+ "ateNvmeRemoteController\0225.opi_api.storag"
+ "e.v1.CreateNvmeRemoteControllerRequest\032("
+ ".opi_api.storage.v1.NvmeRemoteController"
+ "\"^\202\323\344\223\002%\"\013/v1/volumes:\026nvme_remote_contr"
+ "oller\332A0nvme_remote_controller,nvme_remo"
+ "te_controller_id\022\236\001\n\032DeleteNvmeRemoteCon"
+ "troller\0225.opi_api.storage.v1.DeleteNvmeR"
+ "emoteControllerRequest\032\026.google.protobuf"
+ ".Empty\"1\202\323\344\223\002$*\"/v1/{name=NvmeRemoteCont"
+ "rollers/*}\332A\004name\022\360\001\n\032UpdateNvmeRemoteCo"
+ "ntroller\0225.opi_api.storage.v1.UpdateNvme"
+ "RemoteControllerRequest\032(.opi_api.storag"
+ "e.v1.NvmeRemoteController\"q\202\323\344\223\002F2,/v1/{"
+ "nvme_remote_controller.name=subsystems}:"
+ "\026nvme_remote_controller\332A\"nvme_remote_co"
+ "ntroller,update_mask\022\262\001\n\031ListNvmeRemoteC"
+ "ontrollers\0224.opi_api.storage.v1.ListNvme"
+ "RemoteControllersRequest\0325.opi_api.stora"
+ "ge.v1.ListNvmeRemoteControllersResponse\""
+ "(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006paren"
+ "t\022\252\001\n\027GetNvmeRemoteController\0222.opi_api."
+ "storage.v1.GetNvmeRemoteControllerReques"
+ "t\032(.opi_api.storage.v1.NvmeRemoteControl"
+ "ler\"1\202\323\344\223\002$\022\"/v1/{name=NvmeRemoteControl"
+ "lers/*}\332A\004name\022\245\001\n\031ResetNvmeRemoteContro"
+ "ller\0224.opi_api.storage.v1.ResetNvmeRemot"
+ "eControllerRequest\032\026.google.protobuf.Emp"
+ "ty\":\202\323\344\223\002-\"(/v1/{name=NvmeRemoteControll"
+ "ers/*}:reset:\001*\332A\004name\022\301\001\n\031StatsNvmeRemo"
+ "teController\0224.opi_api.storage.v1.StatsN"
+ "vmeRemoteControllerRequest\0325.opi_api.sto"
+ "rage.v1.StatsNvmeRemoteControllerRespons"
+ "e\"7\202\323\344\223\002*\022(/v1/{name=NvmeRemoteControlle"
+ "rs/*}:stats\332A\004name\022\257\001\n\030ListNvmeRemoteNam"
+ "espaces\0223.opi_api.storage.v1.ListNvmeRem"
+ "oteNamespacesRequest\0324.opi_api.storage.v"
+ "1.ListNvmeRemoteNamespacesResponse\"(\202\323\344\223"
+ "\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022\222\001\n"
+ "\016CreateNvmePath\022).opi_api.storage.v1.Cre"
+ "ateNvmePathRequest\032\034.opi_api.storage.v1."
+ "NvmePath\"7\202\323\344\223\002\030\"\013/v1/volumes:\tnvme_path"
+ "\332A\026nvme_path,nvme_path_id\022z\n\016DeleteNvmeP"
+ "ath\022).opi_api.storage.v1.DeleteNvmePathR"
+ "equest\032\026.google.protobuf.Empty\"%\202\323\344\223\002\030*\026"
+ "/v1/{name=NvmePaths/*}\332A\004name\022\245\001\n\016Update"
"NvmePath\022).opi_api.storage.v1.UpdateNvme"
"PathRequest\032\034.opi_api.storage.v1.NvmePat"
"h\"J\202\323\344\223\002,2\037/v1/{nvme_path.name=subsystem"
@@ -714,16 +726,17 @@ const char descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto[] PROTOBUF_SEC
"\n\rListNvmePaths\022(.opi_api.storage.v1.Lis"
"tNvmePathsRequest\032).opi_api.storage.v1.L"
"istNvmePathsResponse\"(\202\323\344\223\002\031\022\027/v1/{paren"
- "t=subsystems}\332A\006parent\022\205\001\n\013GetNvmePath\022&"
- ".opi_api.storage.v1.GetNvmePathRequest\032\034"
- ".opi_api.storage.v1.NvmePath\"0\202\323\344\223\002#\022!/v"
- "1/{name=subsystems}/{subsystem}\332A\004name\022f"
- "\n\rNvmePathStats\022(.opi_api.storage.v1.Nvm"
- "ePathStatsRequest\032).opi_api.storage.v1.N"
- "vmePathStatsResponse\"\000Bb\n\022opi_api.storag"
- "e.v1B\023BackendNvmeTcpProtoP\001Z5github.com/"
- "opiproject/opi-api/storage/v1alpha1/gen/"
- "gob\006proto3"
+ "t=subsystems}\332A\006parent\022z\n\013GetNvmePath\022&."
+ "opi_api.storage.v1.GetNvmePathRequest\032\034."
+ "opi_api.storage.v1.NvmePath\"%\202\323\344\223\002\030\022\026/v1"
+ "/{name=NvmePaths/*}\332A\004name\022\221\001\n\rStatsNvme"
+ "Path\022(.opi_api.storage.v1.StatsNvmePathR"
+ "equest\032).opi_api.storage.v1.StatsNvmePat"
+ "hResponse\"+\202\323\344\223\002\036\022\034/v1/{name=NvmePaths/*"
+ "}:stats\332A\004nameBb\n\022opi_api.storage.v1B\023Ba"
+ "ckendNvmeTcpProtoP\001Z5github.com/opiproje"
+ "ct/opi-api/storage/v1alpha1/gen/gob\006prot"
+ "o3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnvme_5ftcp_2eproto_deps[8] = {
&::descriptor_table_google_2fapi_2fannotations_2eproto,
@@ -737,7 +750,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_backend_5fnvme_5ftcp_2eproto_once;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5fnvme_5ftcp_2eproto = {
- false, false, 5970, descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto, "backend_nvme_tcp.proto",
+ false, false, 6482, descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto, "backend_nvme_tcp.proto",
&descriptor_table_backend_5fnvme_5ftcp_2eproto_once, descriptor_table_backend_5fnvme_5ftcp_2eproto_deps, 8, 22,
schemas, file_default_instances, TableStruct_backend_5fnvme_5ftcp_2eproto::offsets,
file_level_metadata_backend_5fnvme_5ftcp_2eproto, file_level_enum_descriptors_backend_5fnvme_5ftcp_2eproto, file_level_service_descriptors_backend_5fnvme_5ftcp_2eproto,
@@ -902,7 +915,7 @@ const char* NvmeRemoteController::_InternalParse(const char* ptr, ::PROTOBUF_NAM
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
auto str = _internal_mutable_name();
@@ -991,7 +1004,7 @@ uint8_t* NvmeRemoteController::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast(this->_internal_name().length()),
@@ -1054,7 +1067,7 @@ size_t NvmeRemoteController::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
@@ -1334,7 +1347,7 @@ const char* NvmePath::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
auto str = _internal_mutable_name();
@@ -1344,7 +1357,7 @@ const char* NvmePath::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i
} else
goto handle_unusual;
continue;
- // string controller_name_ref = 2;
+ // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
auto str = _internal_mutable_controller_name_ref();
@@ -1457,7 +1470,7 @@ uint8_t* NvmePath::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast(this->_internal_name().length()),
@@ -1467,7 +1480,7 @@ uint8_t* NvmePath::_InternalSerialize(
1, this->_internal_name(), target);
}
- // string controller_name_ref = 2;
+ // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
if (!this->_internal_controller_name_ref().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_controller_name_ref().data(), static_cast(this->_internal_controller_name_ref().length()),
@@ -1559,14 +1572,14 @@ size_t NvmePath::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
- // string controller_name_ref = 2;
+ // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
if (!this->_internal_controller_name_ref().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
@@ -1871,7 +1884,7 @@ const char* NvmeRemoteNamespace::_InternalParse(const char* ptr, ::PROTOBUF_NAME
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
auto str = _internal_mutable_name();
@@ -1881,7 +1894,7 @@ const char* NvmeRemoteNamespace::_InternalParse(const char* ptr, ::PROTOBUF_NAME
} else
goto handle_unusual;
continue;
- // string controller_name_ref = 2;
+ // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
auto str = _internal_mutable_controller_name_ref();
@@ -1954,7 +1967,7 @@ uint8_t* NvmeRemoteNamespace::_InternalSerialize(
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast(this->_internal_name().length()),
@@ -1964,7 +1977,7 @@ uint8_t* NvmeRemoteNamespace::_InternalSerialize(
1, this->_internal_name(), target);
}
- // string controller_name_ref = 2;
+ // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
if (!this->_internal_controller_name_ref().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_controller_name_ref().data(), static_cast(this->_internal_controller_name_ref().length()),
@@ -2020,14 +2033,14 @@ size_t NvmeRemoteNamespace::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- // string name = 1;
+ // string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
- // string controller_name_ref = 2;
+ // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
if (!this->_internal_controller_name_ref().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
@@ -2236,17 +2249,17 @@ const char* CreateNvmeRemoteControllerRequest::_InternalParse(const char* ptr, :
uint32_t tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
switch (tag >> 3) {
- // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED];
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) {
+ // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED];
+ case 1:
+ if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_nvme_remote_controller(), ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
- // string nvme_remote_controller_id = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) {
+ // string nvme_remote_controller_id = 2;
+ case 2:
+ if (PROTOBUF_PREDICT_TRUE(static_cast