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(tag) == 18)) { auto str = _internal_mutable_nvme_remote_controller_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateNvmeRemoteControllerRequest.nvme_remote_controller_id")); @@ -2283,22 +2296,22 @@ uint8_t* CreateNvmeRemoteControllerRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_remote_controller()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::nvme_remote_controller(this), target, stream); + 1, _Internal::nvme_remote_controller(this), target, stream); } - // string nvme_remote_controller_id = 3; + // string nvme_remote_controller_id = 2; if (!this->_internal_nvme_remote_controller_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_nvme_remote_controller_id().data(), static_cast(this->_internal_nvme_remote_controller_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateNvmeRemoteControllerRequest.nvme_remote_controller_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_nvme_remote_controller_id(), target); + 2, this->_internal_nvme_remote_controller_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2317,14 +2330,14 @@ size_t CreateNvmeRemoteControllerRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string nvme_remote_controller_id = 3; + // string nvme_remote_controller_id = 2; if (!this->_internal_nvme_remote_controller_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_nvme_remote_controller_id()); } - // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_remote_controller()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -3614,20 +3627,20 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNvmeRemoteControllerRequest::GetMetadata() // =================================================================== -class NvmeRemoteControllerResetRequest::_Internal { +class ResetNvmeRemoteControllerRequest::_Internal { public: }; -NvmeRemoteControllerResetRequest::NvmeRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ResetNvmeRemoteControllerRequest::ResetNvmeRemoteControllerRequest(::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.NvmeRemoteControllerResetRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) } -NvmeRemoteControllerResetRequest::NvmeRemoteControllerResetRequest(const NvmeRemoteControllerResetRequest& from) +ResetNvmeRemoteControllerRequest::ResetNvmeRemoteControllerRequest(const ResetNvmeRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -3638,40 +3651,40 @@ NvmeRemoteControllerResetRequest::NvmeRemoteControllerResetRequest(const NvmeRem name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmeRemoteControllerResetRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) } -inline void NvmeRemoteControllerResetRequest::SharedCtor() { +inline void ResetNvmeRemoteControllerRequest::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 } -NvmeRemoteControllerResetRequest::~NvmeRemoteControllerResetRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeRemoteControllerResetRequest) +ResetNvmeRemoteControllerRequest::~ResetNvmeRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeRemoteControllerResetRequest::SharedDtor() { +inline void ResetNvmeRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NvmeRemoteControllerResetRequest::ArenaDtor(void* object) { - NvmeRemoteControllerResetRequest* _this = reinterpret_cast< NvmeRemoteControllerResetRequest* >(object); +void ResetNvmeRemoteControllerRequest::ArenaDtor(void* object) { + ResetNvmeRemoteControllerRequest* _this = reinterpret_cast< ResetNvmeRemoteControllerRequest* >(object); (void)_this; } -void NvmeRemoteControllerResetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ResetNvmeRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeRemoteControllerResetRequest::SetCachedSize(int size) const { +void ResetNvmeRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeRemoteControllerResetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeRemoteControllerResetRequest) +void ResetNvmeRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -3680,18 +3693,18 @@ void NvmeRemoteControllerResetRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeRemoteControllerResetRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ResetNvmeRemoteControllerRequest::_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) { - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { 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.NvmeRemoteControllerResetRequest.name")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -3719,18 +3732,18 @@ const char* NvmeRemoteControllerResetRequest::_InternalParse(const char* ptr, :: #undef CHK_ } -uint8_t* NvmeRemoteControllerResetRequest::_InternalSerialize( +uint8_t* ResetNvmeRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeRemoteControllerResetRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; + // 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.NvmeRemoteControllerResetRequest.name"); + "opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_name(), target); } @@ -3739,19 +3752,19 @@ uint8_t* NvmeRemoteControllerResetRequest::_InternalSerialize( 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.NvmeRemoteControllerResetRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) return target; } -size_t NvmeRemoteControllerResetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeRemoteControllerResetRequest) +size_t ResetNvmeRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; + // 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::StringSize( @@ -3761,21 +3774,21 @@ size_t NvmeRemoteControllerResetRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeRemoteControllerResetRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ResetNvmeRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeRemoteControllerResetRequest::MergeImpl + ResetNvmeRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeRemoteControllerResetRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ResetNvmeRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NvmeRemoteControllerResetRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ResetNvmeRemoteControllerRequest::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 NvmeRemoteControllerResetRequest::MergeFrom(const NvmeRemoteControllerResetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeRemoteControllerResetRequest) +void ResetNvmeRemoteControllerRequest::MergeFrom(const ResetNvmeRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -3786,18 +3799,18 @@ void NvmeRemoteControllerResetRequest::MergeFrom(const NvmeRemoteControllerReset _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeRemoteControllerResetRequest::CopyFrom(const NvmeRemoteControllerResetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeRemoteControllerResetRequest) +void ResetNvmeRemoteControllerRequest::CopyFrom(const ResetNvmeRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeRemoteControllerResetRequest::IsInitialized() const { +bool ResetNvmeRemoteControllerRequest::IsInitialized() const { return true; } -void NvmeRemoteControllerResetRequest::InternalSwap(NvmeRemoteControllerResetRequest* other) { +void ResetNvmeRemoteControllerRequest::InternalSwap(ResetNvmeRemoteControllerRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -3809,7 +3822,7 @@ void NvmeRemoteControllerResetRequest::InternalSwap(NvmeRemoteControllerResetReq ); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeRemoteControllerResetRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ResetNvmeRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, file_level_metadata_backend_5fnvme_5ftcp_2eproto[9]); @@ -3817,20 +3830,20 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NvmeRemoteControllerResetRequest::GetMetadata( // =================================================================== -class NvmeRemoteControllerStatsRequest::_Internal { +class StatsNvmeRemoteControllerRequest::_Internal { public: }; -NvmeRemoteControllerStatsRequest::NvmeRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeRemoteControllerRequest::StatsNvmeRemoteControllerRequest(::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.NvmeRemoteControllerStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) } -NvmeRemoteControllerStatsRequest::NvmeRemoteControllerStatsRequest(const NvmeRemoteControllerStatsRequest& from) +StatsNvmeRemoteControllerRequest::StatsNvmeRemoteControllerRequest(const StatsNvmeRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -3841,40 +3854,40 @@ NvmeRemoteControllerStatsRequest::NvmeRemoteControllerStatsRequest(const NvmeRem name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) } -inline void NvmeRemoteControllerStatsRequest::SharedCtor() { +inline void StatsNvmeRemoteControllerRequest::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 } -NvmeRemoteControllerStatsRequest::~NvmeRemoteControllerStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) +StatsNvmeRemoteControllerRequest::~StatsNvmeRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeRemoteControllerStatsRequest::SharedDtor() { +inline void StatsNvmeRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NvmeRemoteControllerStatsRequest::ArenaDtor(void* object) { - NvmeRemoteControllerStatsRequest* _this = reinterpret_cast< NvmeRemoteControllerStatsRequest* >(object); +void StatsNvmeRemoteControllerRequest::ArenaDtor(void* object) { + StatsNvmeRemoteControllerRequest* _this = reinterpret_cast< StatsNvmeRemoteControllerRequest* >(object); (void)_this; } -void NvmeRemoteControllerStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeRemoteControllerStatsRequest::SetCachedSize(int size) const { +void StatsNvmeRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeRemoteControllerStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) +void StatsNvmeRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -3883,18 +3896,18 @@ void NvmeRemoteControllerStatsRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeRemoteControllerStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeRemoteControllerRequest::_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) { - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { 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.NvmeRemoteControllerStatsRequest.name")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -3922,18 +3935,18 @@ const char* NvmeRemoteControllerStatsRequest::_InternalParse(const char* ptr, :: #undef CHK_ } -uint8_t* NvmeRemoteControllerStatsRequest::_InternalSerialize( +uint8_t* StatsNvmeRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; + // 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.NvmeRemoteControllerStatsRequest.name"); + "opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_name(), target); } @@ -3942,19 +3955,19 @@ uint8_t* NvmeRemoteControllerStatsRequest::_InternalSerialize( 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.NvmeRemoteControllerStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) return target; } -size_t NvmeRemoteControllerStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) +size_t StatsNvmeRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; + // 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::StringSize( @@ -3964,21 +3977,21 @@ size_t NvmeRemoteControllerStatsRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeRemoteControllerStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeRemoteControllerStatsRequest::MergeImpl + StatsNvmeRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeRemoteControllerStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NvmeRemoteControllerStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeRemoteControllerRequest::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 NvmeRemoteControllerStatsRequest::MergeFrom(const NvmeRemoteControllerStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) +void StatsNvmeRemoteControllerRequest::MergeFrom(const StatsNvmeRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -3989,18 +4002,18 @@ void NvmeRemoteControllerStatsRequest::MergeFrom(const NvmeRemoteControllerStats _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeRemoteControllerStatsRequest::CopyFrom(const NvmeRemoteControllerStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) +void StatsNvmeRemoteControllerRequest::CopyFrom(const StatsNvmeRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeRemoteControllerStatsRequest::IsInitialized() const { +bool StatsNvmeRemoteControllerRequest::IsInitialized() const { return true; } -void NvmeRemoteControllerStatsRequest::InternalSwap(NvmeRemoteControllerStatsRequest* other) { +void StatsNvmeRemoteControllerRequest::InternalSwap(StatsNvmeRemoteControllerRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -4012,7 +4025,7 @@ void NvmeRemoteControllerStatsRequest::InternalSwap(NvmeRemoteControllerStatsReq ); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeRemoteControllerStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, file_level_metadata_backend_5fnvme_5ftcp_2eproto[10]); @@ -4020,31 +4033,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NvmeRemoteControllerStatsRequest::GetMetadata( // =================================================================== -class NvmeRemoteControllerStatsResponse::_Internal { +class StatsNvmeRemoteControllerResponse::_Internal { public: - static const ::opi_api::storage::v1::VolumeStats& stats(const NvmeRemoteControllerStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsNvmeRemoteControllerResponse* msg); }; const ::opi_api::storage::v1::VolumeStats& -NvmeRemoteControllerStatsResponse::_Internal::stats(const NvmeRemoteControllerStatsResponse* msg) { +StatsNvmeRemoteControllerResponse::_Internal::stats(const StatsNvmeRemoteControllerResponse* msg) { return *msg->stats_; } -void NvmeRemoteControllerStatsResponse::clear_stats() { +void StatsNvmeRemoteControllerResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -NvmeRemoteControllerStatsResponse::NvmeRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeRemoteControllerResponse::StatsNvmeRemoteControllerResponse(::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.NvmeRemoteControllerStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) } -NvmeRemoteControllerStatsResponse::NvmeRemoteControllerStatsResponse(const NvmeRemoteControllerStatsResponse& from) +StatsNvmeRemoteControllerResponse::StatsNvmeRemoteControllerResponse(const StatsNvmeRemoteControllerResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_stats()) { @@ -4052,37 +4065,37 @@ NvmeRemoteControllerStatsResponse::NvmeRemoteControllerStatsResponse(const NvmeR } else { stats_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) } -inline void NvmeRemoteControllerStatsResponse::SharedCtor() { +inline void StatsNvmeRemoteControllerResponse::SharedCtor() { stats_ = nullptr; } -NvmeRemoteControllerStatsResponse::~NvmeRemoteControllerStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) +StatsNvmeRemoteControllerResponse::~StatsNvmeRemoteControllerResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeRemoteControllerStatsResponse::SharedDtor() { +inline void StatsNvmeRemoteControllerResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete stats_; } -void NvmeRemoteControllerStatsResponse::ArenaDtor(void* object) { - NvmeRemoteControllerStatsResponse* _this = reinterpret_cast< NvmeRemoteControllerStatsResponse* >(object); +void StatsNvmeRemoteControllerResponse::ArenaDtor(void* object) { + StatsNvmeRemoteControllerResponse* _this = reinterpret_cast< StatsNvmeRemoteControllerResponse* >(object); (void)_this; } -void NvmeRemoteControllerStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeRemoteControllerResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeRemoteControllerStatsResponse::SetCachedSize(int size) const { +void StatsNvmeRemoteControllerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeRemoteControllerStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) +void StatsNvmeRemoteControllerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -4094,7 +4107,7 @@ void NvmeRemoteControllerStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeRemoteControllerStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeRemoteControllerResponse::_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; @@ -4131,9 +4144,9 @@ const char* NvmeRemoteControllerStatsResponse::_InternalParse(const char* ptr, : #undef CHK_ } -uint8_t* NvmeRemoteControllerStatsResponse::_InternalSerialize( +uint8_t* StatsNvmeRemoteControllerResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -4149,12 +4162,12 @@ uint8_t* NvmeRemoteControllerStatsResponse::_InternalSerialize( 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.NvmeRemoteControllerStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) return target; } -size_t NvmeRemoteControllerStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) +size_t StatsNvmeRemoteControllerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -4171,21 +4184,21 @@ size_t NvmeRemoteControllerStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeRemoteControllerStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeRemoteControllerResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeRemoteControllerStatsResponse::MergeImpl + StatsNvmeRemoteControllerResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeRemoteControllerStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeRemoteControllerResponse::GetClassData() const { return &_class_data_; } -void NvmeRemoteControllerStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeRemoteControllerResponse::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 NvmeRemoteControllerStatsResponse::MergeFrom(const NvmeRemoteControllerStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) +void StatsNvmeRemoteControllerResponse::MergeFrom(const StatsNvmeRemoteControllerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -4196,24 +4209,24 @@ void NvmeRemoteControllerStatsResponse::MergeFrom(const NvmeRemoteControllerStat _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeRemoteControllerStatsResponse::CopyFrom(const NvmeRemoteControllerStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) +void StatsNvmeRemoteControllerResponse::CopyFrom(const StatsNvmeRemoteControllerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeRemoteControllerStatsResponse::IsInitialized() const { +bool StatsNvmeRemoteControllerResponse::IsInitialized() const { return true; } -void NvmeRemoteControllerStatsResponse::InternalSwap(NvmeRemoteControllerStatsResponse* other) { +void StatsNvmeRemoteControllerResponse::InternalSwap(StatsNvmeRemoteControllerResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeRemoteControllerStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeRemoteControllerResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, file_level_metadata_backend_5fnvme_5ftcp_2eproto[11]); @@ -6201,20 +6214,20 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNvmePathRequest::GetMetadata() const { // =================================================================== -class NvmePathStatsRequest::_Internal { +class StatsNvmePathRequest::_Internal { public: }; -NvmePathStatsRequest::NvmePathStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmePathRequest::StatsNvmePathRequest(::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.NvmePathStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmePathRequest) } -NvmePathStatsRequest::NvmePathStatsRequest(const NvmePathStatsRequest& from) +StatsNvmePathRequest::StatsNvmePathRequest(const StatsNvmePathRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -6225,40 +6238,40 @@ NvmePathStatsRequest::NvmePathStatsRequest(const NvmePathStatsRequest& from) name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmePathStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmePathRequest) } -inline void NvmePathStatsRequest::SharedCtor() { +inline void StatsNvmePathRequest::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 } -NvmePathStatsRequest::~NvmePathStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmePathStatsRequest) +StatsNvmePathRequest::~StatsNvmePathRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmePathRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmePathStatsRequest::SharedDtor() { +inline void StatsNvmePathRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NvmePathStatsRequest::ArenaDtor(void* object) { - NvmePathStatsRequest* _this = reinterpret_cast< NvmePathStatsRequest* >(object); +void StatsNvmePathRequest::ArenaDtor(void* object) { + StatsNvmePathRequest* _this = reinterpret_cast< StatsNvmePathRequest* >(object); (void)_this; } -void NvmePathStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmePathRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmePathStatsRequest::SetCachedSize(int size) const { +void StatsNvmePathRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmePathStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmePathStatsRequest) +void StatsNvmePathRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmePathRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6267,18 +6280,18 @@ void NvmePathStatsRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmePathStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmePathRequest::_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) { - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { 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.NvmePathStatsRequest.name")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsNvmePathRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -6306,18 +6319,18 @@ const char* NvmePathStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAM #undef CHK_ } -uint8_t* NvmePathStatsRequest::_InternalSerialize( +uint8_t* StatsNvmePathRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmePathStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmePathRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; + // 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.NvmePathStatsRequest.name"); + "opi_api.storage.v1.StatsNvmePathRequest.name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_name(), target); } @@ -6326,19 +6339,19 @@ uint8_t* NvmePathStatsRequest::_InternalSerialize( 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.NvmePathStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmePathRequest) return target; } -size_t NvmePathStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmePathStatsRequest) +size_t StatsNvmePathRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmePathRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; + // 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::StringSize( @@ -6348,21 +6361,21 @@ size_t NvmePathStatsRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmePathStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmePathRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmePathStatsRequest::MergeImpl + StatsNvmePathRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmePathStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmePathRequest::GetClassData() const { return &_class_data_; } -void NvmePathStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmePathRequest::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 NvmePathStatsRequest::MergeFrom(const NvmePathStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmePathStatsRequest) +void StatsNvmePathRequest::MergeFrom(const StatsNvmePathRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmePathRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -6373,18 +6386,18 @@ void NvmePathStatsRequest::MergeFrom(const NvmePathStatsRequest& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmePathStatsRequest::CopyFrom(const NvmePathStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmePathStatsRequest) +void StatsNvmePathRequest::CopyFrom(const StatsNvmePathRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmePathRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmePathStatsRequest::IsInitialized() const { +bool StatsNvmePathRequest::IsInitialized() const { return true; } -void NvmePathStatsRequest::InternalSwap(NvmePathStatsRequest* other) { +void StatsNvmePathRequest::InternalSwap(StatsNvmePathRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -6396,7 +6409,7 @@ void NvmePathStatsRequest::InternalSwap(NvmePathStatsRequest* other) { ); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmePathStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmePathRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, file_level_metadata_backend_5fnvme_5ftcp_2eproto[20]); @@ -6404,31 +6417,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NvmePathStatsRequest::GetMetadata() const { // =================================================================== -class NvmePathStatsResponse::_Internal { +class StatsNvmePathResponse::_Internal { public: - static const ::opi_api::storage::v1::VolumeStats& stats(const NvmePathStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsNvmePathResponse* msg); }; const ::opi_api::storage::v1::VolumeStats& -NvmePathStatsResponse::_Internal::stats(const NvmePathStatsResponse* msg) { +StatsNvmePathResponse::_Internal::stats(const StatsNvmePathResponse* msg) { return *msg->stats_; } -void NvmePathStatsResponse::clear_stats() { +void StatsNvmePathResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -NvmePathStatsResponse::NvmePathStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmePathResponse::StatsNvmePathResponse(::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.NvmePathStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmePathResponse) } -NvmePathStatsResponse::NvmePathStatsResponse(const NvmePathStatsResponse& from) +StatsNvmePathResponse::StatsNvmePathResponse(const StatsNvmePathResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_stats()) { @@ -6436,37 +6449,37 @@ NvmePathStatsResponse::NvmePathStatsResponse(const NvmePathStatsResponse& from) } else { stats_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmePathStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmePathResponse) } -inline void NvmePathStatsResponse::SharedCtor() { +inline void StatsNvmePathResponse::SharedCtor() { stats_ = nullptr; } -NvmePathStatsResponse::~NvmePathStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmePathStatsResponse) +StatsNvmePathResponse::~StatsNvmePathResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmePathResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmePathStatsResponse::SharedDtor() { +inline void StatsNvmePathResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete stats_; } -void NvmePathStatsResponse::ArenaDtor(void* object) { - NvmePathStatsResponse* _this = reinterpret_cast< NvmePathStatsResponse* >(object); +void StatsNvmePathResponse::ArenaDtor(void* object) { + StatsNvmePathResponse* _this = reinterpret_cast< StatsNvmePathResponse* >(object); (void)_this; } -void NvmePathStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmePathResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmePathStatsResponse::SetCachedSize(int size) const { +void StatsNvmePathResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmePathStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmePathStatsResponse) +void StatsNvmePathResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmePathResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6478,7 +6491,7 @@ void NvmePathStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmePathStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmePathResponse::_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; @@ -6515,9 +6528,9 @@ const char* NvmePathStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NA #undef CHK_ } -uint8_t* NvmePathStatsResponse::_InternalSerialize( +uint8_t* StatsNvmePathResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmePathStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmePathResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -6533,12 +6546,12 @@ uint8_t* NvmePathStatsResponse::_InternalSerialize( 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.NvmePathStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmePathResponse) return target; } -size_t NvmePathStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmePathStatsResponse) +size_t StatsNvmePathResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmePathResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -6555,21 +6568,21 @@ size_t NvmePathStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmePathStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmePathResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmePathStatsResponse::MergeImpl + StatsNvmePathResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmePathStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmePathResponse::GetClassData() const { return &_class_data_; } -void NvmePathStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmePathResponse::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 NvmePathStatsResponse::MergeFrom(const NvmePathStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmePathStatsResponse) +void StatsNvmePathResponse::MergeFrom(const StatsNvmePathResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmePathResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -6580,24 +6593,24 @@ void NvmePathStatsResponse::MergeFrom(const NvmePathStatsResponse& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmePathStatsResponse::CopyFrom(const NvmePathStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmePathStatsResponse) +void StatsNvmePathResponse::CopyFrom(const StatsNvmePathResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmePathResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmePathStatsResponse::IsInitialized() const { +bool StatsNvmePathResponse::IsInitialized() const { return true; } -void NvmePathStatsResponse::InternalSwap(NvmePathStatsResponse* other) { +void StatsNvmePathResponse::InternalSwap(StatsNvmePathResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmePathStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmePathResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, file_level_metadata_backend_5fnvme_5ftcp_2eproto[21]); @@ -6635,14 +6648,14 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNvmeRemoteControllersRe template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNvmeRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNvmeRemoteControllerRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNvmeRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeRemoteControllerResetRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest >(arena); @@ -6668,11 +6681,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNvmePathsResponse* Aren template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNvmePathRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNvmePathRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNvmePathRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmePathStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmePathStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmePathStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmePathRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmePathRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmePathRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmePathStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmePathStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmePathStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmePathResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmePathResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmePathResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h index 4dc35dac..c3822b1f 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h @@ -104,27 +104,27 @@ extern ListNvmeRemoteNamespacesResponseDefaultTypeInternal _ListNvmeRemoteNamesp class NvmePath; struct NvmePathDefaultTypeInternal; extern NvmePathDefaultTypeInternal _NvmePath_default_instance_; -class NvmePathStatsRequest; -struct NvmePathStatsRequestDefaultTypeInternal; -extern NvmePathStatsRequestDefaultTypeInternal _NvmePathStatsRequest_default_instance_; -class NvmePathStatsResponse; -struct NvmePathStatsResponseDefaultTypeInternal; -extern NvmePathStatsResponseDefaultTypeInternal _NvmePathStatsResponse_default_instance_; class NvmeRemoteController; struct NvmeRemoteControllerDefaultTypeInternal; extern NvmeRemoteControllerDefaultTypeInternal _NvmeRemoteController_default_instance_; -class NvmeRemoteControllerResetRequest; -struct NvmeRemoteControllerResetRequestDefaultTypeInternal; -extern NvmeRemoteControllerResetRequestDefaultTypeInternal _NvmeRemoteControllerResetRequest_default_instance_; -class NvmeRemoteControllerStatsRequest; -struct NvmeRemoteControllerStatsRequestDefaultTypeInternal; -extern NvmeRemoteControllerStatsRequestDefaultTypeInternal _NvmeRemoteControllerStatsRequest_default_instance_; -class NvmeRemoteControllerStatsResponse; -struct NvmeRemoteControllerStatsResponseDefaultTypeInternal; -extern NvmeRemoteControllerStatsResponseDefaultTypeInternal _NvmeRemoteControllerStatsResponse_default_instance_; class NvmeRemoteNamespace; struct NvmeRemoteNamespaceDefaultTypeInternal; extern NvmeRemoteNamespaceDefaultTypeInternal _NvmeRemoteNamespace_default_instance_; +class ResetNvmeRemoteControllerRequest; +struct ResetNvmeRemoteControllerRequestDefaultTypeInternal; +extern ResetNvmeRemoteControllerRequestDefaultTypeInternal _ResetNvmeRemoteControllerRequest_default_instance_; +class StatsNvmePathRequest; +struct StatsNvmePathRequestDefaultTypeInternal; +extern StatsNvmePathRequestDefaultTypeInternal _StatsNvmePathRequest_default_instance_; +class StatsNvmePathResponse; +struct StatsNvmePathResponseDefaultTypeInternal; +extern StatsNvmePathResponseDefaultTypeInternal _StatsNvmePathResponse_default_instance_; +class StatsNvmeRemoteControllerRequest; +struct StatsNvmeRemoteControllerRequestDefaultTypeInternal; +extern StatsNvmeRemoteControllerRequestDefaultTypeInternal _StatsNvmeRemoteControllerRequest_default_instance_; +class StatsNvmeRemoteControllerResponse; +struct StatsNvmeRemoteControllerResponseDefaultTypeInternal; +extern StatsNvmeRemoteControllerResponseDefaultTypeInternal _StatsNvmeRemoteControllerResponse_default_instance_; class UpdateNvmePathRequest; struct UpdateNvmePathRequestDefaultTypeInternal; extern UpdateNvmePathRequestDefaultTypeInternal _UpdateNvmePathRequest_default_instance_; @@ -148,13 +148,13 @@ template<> ::opi_api::storage::v1::ListNvmeRemoteControllersResponse* Arena::Cre template<> ::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNvmeRemoteNamespacesRequest>(Arena*); template<> ::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNvmeRemoteNamespacesResponse>(Arena*); template<> ::opi_api::storage::v1::NvmePath* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmePath>(Arena*); -template<> ::opi_api::storage::v1::NvmePathStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmePathStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::NvmePathStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmePathStatsResponse>(Arena*); template<> ::opi_api::storage::v1::NvmeRemoteController* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeRemoteController>(Arena*); -template<> ::opi_api::storage::v1::NvmeRemoteControllerResetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeRemoteControllerResetRequest>(Arena*); -template<> ::opi_api::storage::v1::NvmeRemoteControllerStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeRemoteControllerStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::NvmeRemoteControllerStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeRemoteControllerStatsResponse>(Arena*); template<> ::opi_api::storage::v1::NvmeRemoteNamespace* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeRemoteNamespace>(Arena*); +template<> ::opi_api::storage::v1::ResetNvmeRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ResetNvmeRemoteControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmePathRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmePathRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmePathResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmePathResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeRemoteControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeRemoteControllerResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeRemoteControllerResponse>(Arena*); template<> ::opi_api::storage::v1::UpdateNvmePathRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNvmePathRequest>(Arena*); template<> ::opi_api::storage::v1::UpdateNvmeRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNvmeRemoteControllerRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE @@ -379,7 +379,7 @@ class NvmeRemoteController final : kIoQueuesCountFieldNumber = 5, kQueueSizeFieldNumber = 6, }; - // 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 @@ -604,7 +604,7 @@ class NvmePath final : kTrsvcidFieldNumber = 6, kSourceTrsvcidFieldNumber = 9, }; - // 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 @@ -618,7 +618,7 @@ class NvmePath final : std::string* _internal_mutable_name(); public: - // string controller_name_ref = 2; + // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_controller_name_ref(); const std::string& controller_name_ref() const; template @@ -875,7 +875,7 @@ class NvmeRemoteNamespace final : kEui64FieldNumber = 5, kNsidFieldNumber = 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 @@ -889,7 +889,7 @@ class NvmeRemoteNamespace final : std::string* _internal_mutable_name(); public: - // string controller_name_ref = 2; + // string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_controller_name_ref(); const std::string& controller_name_ref() const; template @@ -1093,10 +1093,10 @@ class CreateNvmeRemoteControllerRequest final : // accessors ------------------------------------------------------- enum : int { - kNvmeRemoteControllerIdFieldNumber = 3, - kNvmeRemoteControllerFieldNumber = 2, + kNvmeRemoteControllerIdFieldNumber = 2, + kNvmeRemoteControllerFieldNumber = 1, }; - // string nvme_remote_controller_id = 3; + // string nvme_remote_controller_id = 2; void clear_nvme_remote_controller_id(); const std::string& nvme_remote_controller_id() const; template @@ -1110,7 +1110,7 @@ class CreateNvmeRemoteControllerRequest final : std::string* _internal_mutable_nvme_remote_controller_id(); public: - // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_nvme_remote_controller() const; private: bool _internal_has_nvme_remote_controller() const; @@ -1990,24 +1990,24 @@ class GetNvmeRemoteControllerRequest final : }; // ------------------------------------------------------------------- -class NvmeRemoteControllerResetRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeRemoteControllerResetRequest) */ { +class ResetNvmeRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) */ { public: - inline NvmeRemoteControllerResetRequest() : NvmeRemoteControllerResetRequest(nullptr) {} - ~NvmeRemoteControllerResetRequest() override; - explicit constexpr NvmeRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ResetNvmeRemoteControllerRequest() : ResetNvmeRemoteControllerRequest(nullptr) {} + ~ResetNvmeRemoteControllerRequest() override; + explicit constexpr ResetNvmeRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeRemoteControllerResetRequest(const NvmeRemoteControllerResetRequest& from); - NvmeRemoteControllerResetRequest(NvmeRemoteControllerResetRequest&& from) noexcept - : NvmeRemoteControllerResetRequest() { + ResetNvmeRemoteControllerRequest(const ResetNvmeRemoteControllerRequest& from); + ResetNvmeRemoteControllerRequest(ResetNvmeRemoteControllerRequest&& from) noexcept + : ResetNvmeRemoteControllerRequest() { *this = ::std::move(from); } - inline NvmeRemoteControllerResetRequest& operator=(const NvmeRemoteControllerResetRequest& from) { + inline ResetNvmeRemoteControllerRequest& operator=(const ResetNvmeRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NvmeRemoteControllerResetRequest& operator=(NvmeRemoteControllerResetRequest&& from) noexcept { + inline ResetNvmeRemoteControllerRequest& operator=(ResetNvmeRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2030,20 +2030,20 @@ class NvmeRemoteControllerResetRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeRemoteControllerResetRequest& default_instance() { + static const ResetNvmeRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NvmeRemoteControllerResetRequest* internal_default_instance() { - return reinterpret_cast( - &_NvmeRemoteControllerResetRequest_default_instance_); + static inline const ResetNvmeRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_ResetNvmeRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 9; - friend void swap(NvmeRemoteControllerResetRequest& a, NvmeRemoteControllerResetRequest& b) { + friend void swap(ResetNvmeRemoteControllerRequest& a, ResetNvmeRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NvmeRemoteControllerResetRequest* other) { + inline void Swap(ResetNvmeRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2056,7 +2056,7 @@ class NvmeRemoteControllerResetRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeRemoteControllerResetRequest* other) { + void UnsafeArenaSwap(ResetNvmeRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2064,13 +2064,13 @@ class NvmeRemoteControllerResetRequest final : // implements Message ---------------------------------------------- - NvmeRemoteControllerResetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ResetNvmeRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeRemoteControllerResetRequest& from); + void CopyFrom(const ResetNvmeRemoteControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeRemoteControllerResetRequest& from); + void MergeFrom(const ResetNvmeRemoteControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2087,15 +2087,15 @@ class NvmeRemoteControllerResetRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeRemoteControllerResetRequest* other); + void InternalSwap(ResetNvmeRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeRemoteControllerResetRequest"; + return "opi_api.storage.v1.ResetNvmeRemoteControllerRequest"; } protected: - explicit NvmeRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ResetNvmeRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2114,7 +2114,7 @@ class NvmeRemoteControllerResetRequest final : enum : int { kNameFieldNumber = 1, }; - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_name(); const std::string& name() const; template @@ -2128,7 +2128,7 @@ class NvmeRemoteControllerResetRequest final : std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerResetRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) private: class _Internal; @@ -2141,24 +2141,24 @@ class NvmeRemoteControllerResetRequest final : }; // ------------------------------------------------------------------- -class NvmeRemoteControllerStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) */ { +class StatsNvmeRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) */ { public: - inline NvmeRemoteControllerStatsRequest() : NvmeRemoteControllerStatsRequest(nullptr) {} - ~NvmeRemoteControllerStatsRequest() override; - explicit constexpr NvmeRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeRemoteControllerRequest() : StatsNvmeRemoteControllerRequest(nullptr) {} + ~StatsNvmeRemoteControllerRequest() override; + explicit constexpr StatsNvmeRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeRemoteControllerStatsRequest(const NvmeRemoteControllerStatsRequest& from); - NvmeRemoteControllerStatsRequest(NvmeRemoteControllerStatsRequest&& from) noexcept - : NvmeRemoteControllerStatsRequest() { + StatsNvmeRemoteControllerRequest(const StatsNvmeRemoteControllerRequest& from); + StatsNvmeRemoteControllerRequest(StatsNvmeRemoteControllerRequest&& from) noexcept + : StatsNvmeRemoteControllerRequest() { *this = ::std::move(from); } - inline NvmeRemoteControllerStatsRequest& operator=(const NvmeRemoteControllerStatsRequest& from) { + inline StatsNvmeRemoteControllerRequest& operator=(const StatsNvmeRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NvmeRemoteControllerStatsRequest& operator=(NvmeRemoteControllerStatsRequest&& from) noexcept { + inline StatsNvmeRemoteControllerRequest& operator=(StatsNvmeRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2181,20 +2181,20 @@ class NvmeRemoteControllerStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeRemoteControllerStatsRequest& default_instance() { + static const StatsNvmeRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NvmeRemoteControllerStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_NvmeRemoteControllerStatsRequest_default_instance_); + static inline const StatsNvmeRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 10; - friend void swap(NvmeRemoteControllerStatsRequest& a, NvmeRemoteControllerStatsRequest& b) { + friend void swap(StatsNvmeRemoteControllerRequest& a, StatsNvmeRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NvmeRemoteControllerStatsRequest* other) { + inline void Swap(StatsNvmeRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2207,7 +2207,7 @@ class NvmeRemoteControllerStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeRemoteControllerStatsRequest* other) { + void UnsafeArenaSwap(StatsNvmeRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2215,13 +2215,13 @@ class NvmeRemoteControllerStatsRequest final : // implements Message ---------------------------------------------- - NvmeRemoteControllerStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeRemoteControllerStatsRequest& from); + void CopyFrom(const StatsNvmeRemoteControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeRemoteControllerStatsRequest& from); + void MergeFrom(const StatsNvmeRemoteControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2238,15 +2238,15 @@ class NvmeRemoteControllerStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeRemoteControllerStatsRequest* other); + void InternalSwap(StatsNvmeRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeRemoteControllerStatsRequest"; + return "opi_api.storage.v1.StatsNvmeRemoteControllerRequest"; } protected: - explicit NvmeRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2265,7 +2265,7 @@ class NvmeRemoteControllerStatsRequest final : enum : int { kNameFieldNumber = 1, }; - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_name(); const std::string& name() const; template @@ -2279,7 +2279,7 @@ class NvmeRemoteControllerStatsRequest final : std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) private: class _Internal; @@ -2292,24 +2292,24 @@ class NvmeRemoteControllerStatsRequest final : }; // ------------------------------------------------------------------- -class NvmeRemoteControllerStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) */ { +class StatsNvmeRemoteControllerResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) */ { public: - inline NvmeRemoteControllerStatsResponse() : NvmeRemoteControllerStatsResponse(nullptr) {} - ~NvmeRemoteControllerStatsResponse() override; - explicit constexpr NvmeRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeRemoteControllerResponse() : StatsNvmeRemoteControllerResponse(nullptr) {} + ~StatsNvmeRemoteControllerResponse() override; + explicit constexpr StatsNvmeRemoteControllerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeRemoteControllerStatsResponse(const NvmeRemoteControllerStatsResponse& from); - NvmeRemoteControllerStatsResponse(NvmeRemoteControllerStatsResponse&& from) noexcept - : NvmeRemoteControllerStatsResponse() { + StatsNvmeRemoteControllerResponse(const StatsNvmeRemoteControllerResponse& from); + StatsNvmeRemoteControllerResponse(StatsNvmeRemoteControllerResponse&& from) noexcept + : StatsNvmeRemoteControllerResponse() { *this = ::std::move(from); } - inline NvmeRemoteControllerStatsResponse& operator=(const NvmeRemoteControllerStatsResponse& from) { + inline StatsNvmeRemoteControllerResponse& operator=(const StatsNvmeRemoteControllerResponse& from) { CopyFrom(from); return *this; } - inline NvmeRemoteControllerStatsResponse& operator=(NvmeRemoteControllerStatsResponse&& from) noexcept { + inline StatsNvmeRemoteControllerResponse& operator=(StatsNvmeRemoteControllerResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2332,20 +2332,20 @@ class NvmeRemoteControllerStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeRemoteControllerStatsResponse& default_instance() { + static const StatsNvmeRemoteControllerResponse& default_instance() { return *internal_default_instance(); } - static inline const NvmeRemoteControllerStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_NvmeRemoteControllerStatsResponse_default_instance_); + static inline const StatsNvmeRemoteControllerResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeRemoteControllerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 11; - friend void swap(NvmeRemoteControllerStatsResponse& a, NvmeRemoteControllerStatsResponse& b) { + friend void swap(StatsNvmeRemoteControllerResponse& a, StatsNvmeRemoteControllerResponse& b) { a.Swap(&b); } - inline void Swap(NvmeRemoteControllerStatsResponse* other) { + inline void Swap(StatsNvmeRemoteControllerResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2358,7 +2358,7 @@ class NvmeRemoteControllerStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeRemoteControllerStatsResponse* other) { + void UnsafeArenaSwap(StatsNvmeRemoteControllerResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2366,13 +2366,13 @@ class NvmeRemoteControllerStatsResponse final : // implements Message ---------------------------------------------- - NvmeRemoteControllerStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeRemoteControllerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeRemoteControllerStatsResponse& from); + void CopyFrom(const StatsNvmeRemoteControllerResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeRemoteControllerStatsResponse& from); + void MergeFrom(const StatsNvmeRemoteControllerResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2389,15 +2389,15 @@ class NvmeRemoteControllerStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeRemoteControllerStatsResponse* other); + void InternalSwap(StatsNvmeRemoteControllerResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeRemoteControllerStatsResponse"; + return "opi_api.storage.v1.StatsNvmeRemoteControllerResponse"; } protected: - explicit NvmeRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeRemoteControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2434,7 +2434,7 @@ class NvmeRemoteControllerStatsResponse 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.NvmeRemoteControllerStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) private: class _Internal; @@ -3815,24 +3815,24 @@ class GetNvmePathRequest final : }; // ------------------------------------------------------------------- -class NvmePathStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmePathStatsRequest) */ { +class StatsNvmePathRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmePathRequest) */ { public: - inline NvmePathStatsRequest() : NvmePathStatsRequest(nullptr) {} - ~NvmePathStatsRequest() override; - explicit constexpr NvmePathStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmePathRequest() : StatsNvmePathRequest(nullptr) {} + ~StatsNvmePathRequest() override; + explicit constexpr StatsNvmePathRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmePathStatsRequest(const NvmePathStatsRequest& from); - NvmePathStatsRequest(NvmePathStatsRequest&& from) noexcept - : NvmePathStatsRequest() { + StatsNvmePathRequest(const StatsNvmePathRequest& from); + StatsNvmePathRequest(StatsNvmePathRequest&& from) noexcept + : StatsNvmePathRequest() { *this = ::std::move(from); } - inline NvmePathStatsRequest& operator=(const NvmePathStatsRequest& from) { + inline StatsNvmePathRequest& operator=(const StatsNvmePathRequest& from) { CopyFrom(from); return *this; } - inline NvmePathStatsRequest& operator=(NvmePathStatsRequest&& from) noexcept { + inline StatsNvmePathRequest& operator=(StatsNvmePathRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -3855,20 +3855,20 @@ class NvmePathStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmePathStatsRequest& default_instance() { + static const StatsNvmePathRequest& default_instance() { return *internal_default_instance(); } - static inline const NvmePathStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_NvmePathStatsRequest_default_instance_); + static inline const StatsNvmePathRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmePathRequest_default_instance_); } static constexpr int kIndexInFileMessages = 20; - friend void swap(NvmePathStatsRequest& a, NvmePathStatsRequest& b) { + friend void swap(StatsNvmePathRequest& a, StatsNvmePathRequest& b) { a.Swap(&b); } - inline void Swap(NvmePathStatsRequest* other) { + inline void Swap(StatsNvmePathRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -3881,7 +3881,7 @@ class NvmePathStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmePathStatsRequest* other) { + void UnsafeArenaSwap(StatsNvmePathRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -3889,13 +3889,13 @@ class NvmePathStatsRequest final : // implements Message ---------------------------------------------- - NvmePathStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmePathRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmePathStatsRequest& from); + void CopyFrom(const StatsNvmePathRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmePathStatsRequest& from); + void MergeFrom(const StatsNvmePathRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -3912,15 +3912,15 @@ class NvmePathStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmePathStatsRequest* other); + void InternalSwap(StatsNvmePathRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmePathStatsRequest"; + return "opi_api.storage.v1.StatsNvmePathRequest"; } protected: - explicit NvmePathStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmePathRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -3939,7 +3939,7 @@ class NvmePathStatsRequest final : enum : int { kNameFieldNumber = 1, }; - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_name(); const std::string& name() const; template @@ -3953,7 +3953,7 @@ class NvmePathStatsRequest final : std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmePathStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmePathRequest) private: class _Internal; @@ -3966,24 +3966,24 @@ class NvmePathStatsRequest final : }; // ------------------------------------------------------------------- -class NvmePathStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmePathStatsResponse) */ { +class StatsNvmePathResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmePathResponse) */ { public: - inline NvmePathStatsResponse() : NvmePathStatsResponse(nullptr) {} - ~NvmePathStatsResponse() override; - explicit constexpr NvmePathStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmePathResponse() : StatsNvmePathResponse(nullptr) {} + ~StatsNvmePathResponse() override; + explicit constexpr StatsNvmePathResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmePathStatsResponse(const NvmePathStatsResponse& from); - NvmePathStatsResponse(NvmePathStatsResponse&& from) noexcept - : NvmePathStatsResponse() { + StatsNvmePathResponse(const StatsNvmePathResponse& from); + StatsNvmePathResponse(StatsNvmePathResponse&& from) noexcept + : StatsNvmePathResponse() { *this = ::std::move(from); } - inline NvmePathStatsResponse& operator=(const NvmePathStatsResponse& from) { + inline StatsNvmePathResponse& operator=(const StatsNvmePathResponse& from) { CopyFrom(from); return *this; } - inline NvmePathStatsResponse& operator=(NvmePathStatsResponse&& from) noexcept { + inline StatsNvmePathResponse& operator=(StatsNvmePathResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -4006,20 +4006,20 @@ class NvmePathStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmePathStatsResponse& default_instance() { + static const StatsNvmePathResponse& default_instance() { return *internal_default_instance(); } - static inline const NvmePathStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_NvmePathStatsResponse_default_instance_); + static inline const StatsNvmePathResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmePathResponse_default_instance_); } static constexpr int kIndexInFileMessages = 21; - friend void swap(NvmePathStatsResponse& a, NvmePathStatsResponse& b) { + friend void swap(StatsNvmePathResponse& a, StatsNvmePathResponse& b) { a.Swap(&b); } - inline void Swap(NvmePathStatsResponse* other) { + inline void Swap(StatsNvmePathResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -4032,7 +4032,7 @@ class NvmePathStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmePathStatsResponse* other) { + void UnsafeArenaSwap(StatsNvmePathResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -4040,13 +4040,13 @@ class NvmePathStatsResponse final : // implements Message ---------------------------------------------- - NvmePathStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmePathResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmePathStatsResponse& from); + void CopyFrom(const StatsNvmePathResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmePathStatsResponse& from); + void MergeFrom(const StatsNvmePathResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -4063,15 +4063,15 @@ class NvmePathStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmePathStatsResponse* other); + void InternalSwap(StatsNvmePathResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmePathStatsResponse"; + return "opi_api.storage.v1.StatsNvmePathResponse"; } protected: - explicit NvmePathStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmePathResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -4108,7 +4108,7 @@ class NvmePathStatsResponse 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.NvmePathStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmePathResponse) private: class _Internal; @@ -4130,7 +4130,7 @@ class NvmePathStatsResponse final : #endif // __GNUC__ // NvmeRemoteController -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void NvmeRemoteController::clear_name() { name_.ClearToEmpty(); } @@ -4336,7 +4336,7 @@ inline void NvmeRemoteController::set_allocated_psk(std::string* psk) { // NvmePath -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void NvmePath::clear_name() { name_.ClearToEmpty(); } @@ -4387,7 +4387,7 @@ inline void NvmePath::set_allocated_name(std::string* name) { // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmePath.name) } -// string controller_name_ref = 2; +// string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { inline void NvmePath::clear_controller_name_ref() { controller_name_ref_.ClearToEmpty(); } @@ -4726,7 +4726,7 @@ inline void NvmePath::set_allocated_hostnqn(std::string* hostnqn) { // NvmeRemoteNamespace -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void NvmeRemoteNamespace::clear_name() { name_.ClearToEmpty(); } @@ -4777,7 +4777,7 @@ inline void NvmeRemoteNamespace::set_allocated_name(std::string* name) { // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeRemoteNamespace.name) } -// string controller_name_ref = 2; +// string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { inline void NvmeRemoteNamespace::clear_controller_name_ref() { controller_name_ref_.ClearToEmpty(); } @@ -5009,7 +5009,7 @@ inline void NvmeRemoteNamespace::set_allocated_uuid(::opi_api::common::v1::Uuid* // CreateNvmeRemoteControllerRequest -// .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateNvmeRemoteControllerRequest::_internal_has_nvme_remote_controller() const { return this != internal_default_instance() && nvme_remote_controller_ != nullptr; } @@ -5099,7 +5099,7 @@ inline void CreateNvmeRemoteControllerRequest::set_allocated_nvme_remote_control // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNvmeRemoteControllerRequest.nvme_remote_controller) } -// string nvme_remote_controller_id = 3; +// string nvme_remote_controller_id = 2; inline void CreateNvmeRemoteControllerRequest::clear_nvme_remote_controller_id() { nvme_remote_controller_id_.ClearToEmpty(); } @@ -5703,44 +5703,44 @@ inline void GetNvmeRemoteControllerRequest::set_allocated_name(std::string* name // ------------------------------------------------------------------- -// NvmeRemoteControllerResetRequest +// ResetNvmeRemoteControllerRequest -// string name = 1; -inline void NvmeRemoteControllerResetRequest::clear_name() { +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void ResetNvmeRemoteControllerRequest::clear_name() { name_.ClearToEmpty(); } -inline const std::string& NvmeRemoteControllerResetRequest::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeRemoteControllerResetRequest.name) +inline const std::string& ResetNvmeRemoteControllerRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE -void NvmeRemoteControllerResetRequest::set_name(ArgT0&& arg0, ArgT... args) { +void ResetNvmeRemoteControllerRequest::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.NvmeRemoteControllerResetRequest.name) + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name) } -inline std::string* NvmeRemoteControllerResetRequest::mutable_name() { +inline std::string* ResetNvmeRemoteControllerRequest::mutable_name() { std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeRemoteControllerResetRequest.name) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name) return _s; } -inline const std::string& NvmeRemoteControllerResetRequest::_internal_name() const { +inline const std::string& ResetNvmeRemoteControllerRequest::_internal_name() const { return name_.Get(); } -inline void NvmeRemoteControllerResetRequest::_internal_set_name(const std::string& value) { +inline void ResetNvmeRemoteControllerRequest::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* NvmeRemoteControllerResetRequest::_internal_mutable_name() { +inline std::string* ResetNvmeRemoteControllerRequest::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* NvmeRemoteControllerResetRequest::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeRemoteControllerResetRequest.name) +inline std::string* ResetNvmeRemoteControllerRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NvmeRemoteControllerResetRequest::set_allocated_name(std::string* name) { +inline void ResetNvmeRemoteControllerRequest::set_allocated_name(std::string* name) { if (name != nullptr) { } else { @@ -5753,49 +5753,49 @@ inline void NvmeRemoteControllerResetRequest::set_allocated_name(std::string* na name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeRemoteControllerResetRequest.name) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ResetNvmeRemoteControllerRequest.name) } // ------------------------------------------------------------------- -// NvmeRemoteControllerStatsRequest +// StatsNvmeRemoteControllerRequest -// string name = 1; -inline void NvmeRemoteControllerStatsRequest::clear_name() { +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsNvmeRemoteControllerRequest::clear_name() { name_.ClearToEmpty(); } -inline const std::string& NvmeRemoteControllerStatsRequest::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeRemoteControllerStatsRequest.name) +inline const std::string& StatsNvmeRemoteControllerRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE -void NvmeRemoteControllerStatsRequest::set_name(ArgT0&& arg0, ArgT... args) { +void StatsNvmeRemoteControllerRequest::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.NvmeRemoteControllerStatsRequest.name) + // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name) } -inline std::string* NvmeRemoteControllerStatsRequest::mutable_name() { +inline std::string* StatsNvmeRemoteControllerRequest::mutable_name() { std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeRemoteControllerStatsRequest.name) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name) return _s; } -inline const std::string& NvmeRemoteControllerStatsRequest::_internal_name() const { +inline const std::string& StatsNvmeRemoteControllerRequest::_internal_name() const { return name_.Get(); } -inline void NvmeRemoteControllerStatsRequest::_internal_set_name(const std::string& value) { +inline void StatsNvmeRemoteControllerRequest::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* NvmeRemoteControllerStatsRequest::_internal_mutable_name() { +inline std::string* StatsNvmeRemoteControllerRequest::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* NvmeRemoteControllerStatsRequest::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeRemoteControllerStatsRequest.name) +inline std::string* StatsNvmeRemoteControllerRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NvmeRemoteControllerStatsRequest::set_allocated_name(std::string* name) { +inline void StatsNvmeRemoteControllerRequest::set_allocated_name(std::string* name) { if (name != nullptr) { } else { @@ -5808,30 +5808,30 @@ inline void NvmeRemoteControllerStatsRequest::set_allocated_name(std::string* na name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeRemoteControllerStatsRequest.name) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeRemoteControllerRequest.name) } // ------------------------------------------------------------------- -// NvmeRemoteControllerStatsResponse +// StatsNvmeRemoteControllerResponse // .opi_api.storage.v1.VolumeStats stats = 1; -inline bool NvmeRemoteControllerStatsResponse::_internal_has_stats() const { +inline bool StatsNvmeRemoteControllerResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool NvmeRemoteControllerStatsResponse::has_stats() const { +inline bool StatsNvmeRemoteControllerResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& NvmeRemoteControllerStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeRemoteControllerResponse::_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& NvmeRemoteControllerStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeRemoteControllerStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeRemoteControllerResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeRemoteControllerResponse.stats) return _internal_stats(); } -inline void NvmeRemoteControllerStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsNvmeRemoteControllerResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -5842,9 +5842,9 @@ inline void NvmeRemoteControllerStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NvmeRemoteControllerStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsNvmeRemoteControllerResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* NvmeRemoteControllerStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeRemoteControllerResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -5859,14 +5859,14 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeRemoteControllerStatsResponse::r #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeRemoteControllerStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeRemoteControllerStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeRemoteControllerResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeRemoteControllerResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeRemoteControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeRemoteControllerResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -5874,12 +5874,12 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeRemoteControllerStatsResponse::_ } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* NvmeRemoteControllerStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeRemoteControllerResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeRemoteControllerStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeRemoteControllerResponse.stats) return _msg; } -inline void NvmeRemoteControllerStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsNvmeRemoteControllerResponse::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_); @@ -5898,7 +5898,7 @@ inline void NvmeRemoteControllerStatsResponse::set_allocated_stats(::opi_api::st } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeRemoteControllerStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeRemoteControllerResponse.stats) } // ------------------------------------------------------------------- @@ -6820,44 +6820,44 @@ inline void GetNvmePathRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// NvmePathStatsRequest +// StatsNvmePathRequest -// string name = 1; -inline void NvmePathStatsRequest::clear_name() { +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsNvmePathRequest::clear_name() { name_.ClearToEmpty(); } -inline const std::string& NvmePathStatsRequest::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmePathStatsRequest.name) +inline const std::string& StatsNvmePathRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmePathRequest.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE -void NvmePathStatsRequest::set_name(ArgT0&& arg0, ArgT... args) { +void StatsNvmePathRequest::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.NvmePathStatsRequest.name) + // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsNvmePathRequest.name) } -inline std::string* NvmePathStatsRequest::mutable_name() { +inline std::string* StatsNvmePathRequest::mutable_name() { std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmePathStatsRequest.name) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmePathRequest.name) return _s; } -inline const std::string& NvmePathStatsRequest::_internal_name() const { +inline const std::string& StatsNvmePathRequest::_internal_name() const { return name_.Get(); } -inline void NvmePathStatsRequest::_internal_set_name(const std::string& value) { +inline void StatsNvmePathRequest::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* NvmePathStatsRequest::_internal_mutable_name() { +inline std::string* StatsNvmePathRequest::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* NvmePathStatsRequest::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmePathStatsRequest.name) +inline std::string* StatsNvmePathRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmePathRequest.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NvmePathStatsRequest::set_allocated_name(std::string* name) { +inline void StatsNvmePathRequest::set_allocated_name(std::string* name) { if (name != nullptr) { } else { @@ -6870,30 +6870,30 @@ inline void NvmePathStatsRequest::set_allocated_name(std::string* name) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmePathStatsRequest.name) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmePathRequest.name) } // ------------------------------------------------------------------- -// NvmePathStatsResponse +// StatsNvmePathResponse // .opi_api.storage.v1.VolumeStats stats = 1; -inline bool NvmePathStatsResponse::_internal_has_stats() const { +inline bool StatsNvmePathResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool NvmePathStatsResponse::has_stats() const { +inline bool StatsNvmePathResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& NvmePathStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmePathResponse::_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& NvmePathStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmePathStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmePathResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmePathResponse.stats) return _internal_stats(); } -inline void NvmePathStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsNvmePathResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -6904,9 +6904,9 @@ inline void NvmePathStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NvmePathStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsNvmePathResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* NvmePathStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmePathResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -6921,14 +6921,14 @@ inline ::opi_api::storage::v1::VolumeStats* NvmePathStatsResponse::release_stats #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmePathStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmePathStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsNvmePathResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmePathResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmePathStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmePathResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -6936,12 +6936,12 @@ inline ::opi_api::storage::v1::VolumeStats* NvmePathStatsResponse::_internal_mut } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* NvmePathStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmePathResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmePathStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmePathResponse.stats) return _msg; } -inline void NvmePathStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsNvmePathResponse::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_); @@ -6960,7 +6960,7 @@ inline void NvmePathStatsResponse::set_allocated_stats(::opi_api::storage::v1::V } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmePathStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmePathResponse.stats) } #ifdef __GNUC__ diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.cc b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.cc index 820cde82..04a12ea9 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.cc @@ -29,19 +29,19 @@ static const char* FrontendNvmeService_method_names[] = { "/opi_api.storage.v1.FrontendNvmeService/UpdateNvmeSubsystem", "/opi_api.storage.v1.FrontendNvmeService/ListNvmeSubsystems", "/opi_api.storage.v1.FrontendNvmeService/GetNvmeSubsystem", - "/opi_api.storage.v1.FrontendNvmeService/NvmeSubsystemStats", + "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeSubsystem", "/opi_api.storage.v1.FrontendNvmeService/CreateNvmeController", "/opi_api.storage.v1.FrontendNvmeService/DeleteNvmeController", "/opi_api.storage.v1.FrontendNvmeService/UpdateNvmeController", "/opi_api.storage.v1.FrontendNvmeService/ListNvmeControllers", "/opi_api.storage.v1.FrontendNvmeService/GetNvmeController", - "/opi_api.storage.v1.FrontendNvmeService/NvmeControllerStats", + "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeController", "/opi_api.storage.v1.FrontendNvmeService/CreateNvmeNamespace", "/opi_api.storage.v1.FrontendNvmeService/DeleteNvmeNamespace", "/opi_api.storage.v1.FrontendNvmeService/UpdateNvmeNamespace", "/opi_api.storage.v1.FrontendNvmeService/ListNvmeNamespaces", "/opi_api.storage.v1.FrontendNvmeService/GetNvmeNamespace", - "/opi_api.storage.v1.FrontendNvmeService/NvmeNamespaceStats", + "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeNamespace", }; std::unique_ptr< FrontendNvmeService::Stub> FrontendNvmeService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -56,19 +56,19 @@ FrontendNvmeService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface> , rpcmethod_UpdateNvmeSubsystem_(FrontendNvmeService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListNvmeSubsystems_(FrontendNvmeService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetNvmeSubsystem_(FrontendNvmeService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NvmeSubsystemStats_(FrontendNvmeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsNvmeSubsystem_(FrontendNvmeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateNvmeController_(FrontendNvmeService_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteNvmeController_(FrontendNvmeService_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateNvmeController_(FrontendNvmeService_method_names[8], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListNvmeControllers_(FrontendNvmeService_method_names[9], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetNvmeController_(FrontendNvmeService_method_names[10], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NvmeControllerStats_(FrontendNvmeService_method_names[11], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsNvmeController_(FrontendNvmeService_method_names[11], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateNvmeNamespace_(FrontendNvmeService_method_names[12], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteNvmeNamespace_(FrontendNvmeService_method_names[13], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateNvmeNamespace_(FrontendNvmeService_method_names[14], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListNvmeNamespaces_(FrontendNvmeService_method_names[15], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetNvmeNamespace_(FrontendNvmeService_method_names[16], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NvmeNamespaceStats_(FrontendNvmeService_method_names[17], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsNvmeNamespace_(FrontendNvmeService_method_names[17], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status FrontendNvmeService::Stub::CreateNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeSubsystemRequest& request, ::opi_api::storage::v1::NvmeSubsystem* response) { @@ -186,25 +186,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystem>* Front return result; } -::grpc::Status FrontendNvmeService::Stub::NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NvmeSubsystemStats_, context, request, response); +::grpc::Status FrontendNvmeService::Stub::StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsNvmeSubsystem_, context, request, response); } -void FrontendNvmeService::Stub::async::NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeSubsystemStats_, context, request, response, std::move(f)); +void FrontendNvmeService::Stub::async::StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeSubsystem_, context, request, response, std::move(f)); } -void FrontendNvmeService::Stub::async::NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeSubsystemStats_, context, request, response, reactor); +void FrontendNvmeService::Stub::async::StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeSubsystem_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* FrontendNvmeService::Stub::PrepareAsyncNvmeSubsystemStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NvmeSubsystemStatsResponse, ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NvmeSubsystemStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* FrontendNvmeService::Stub::PrepareAsyncStatsNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsNvmeSubsystemResponse, ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsNvmeSubsystem_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* FrontendNvmeService::Stub::AsyncNvmeSubsystemStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* FrontendNvmeService::Stub::AsyncStatsNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNvmeSubsystemStatsRaw(context, request, cq); + this->PrepareAsyncStatsNvmeSubsystemRaw(context, request, cq); result->StartCall(); return result; } @@ -324,25 +324,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>* Fron return result; } -::grpc::Status FrontendNvmeService::Stub::NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NvmeControllerStats_, context, request, response); +::grpc::Status FrontendNvmeService::Stub::StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsNvmeController_, context, request, response); } -void FrontendNvmeService::Stub::async::NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeControllerStats_, context, request, response, std::move(f)); +void FrontendNvmeService::Stub::async::StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeController_, context, request, response, std::move(f)); } -void FrontendNvmeService::Stub::async::NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeControllerStats_, context, request, response, reactor); +void FrontendNvmeService::Stub::async::StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>* FrontendNvmeService::Stub::PrepareAsyncNvmeControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NvmeControllerStatsResponse, ::opi_api::storage::v1::NvmeControllerStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NvmeControllerStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>* FrontendNvmeService::Stub::PrepareAsyncStatsNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsNvmeControllerResponse, ::opi_api::storage::v1::StatsNvmeControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsNvmeController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>* FrontendNvmeService::Stub::AsyncNvmeControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>* FrontendNvmeService::Stub::AsyncStatsNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNvmeControllerStatsRaw(context, request, cq); + this->PrepareAsyncStatsNvmeControllerRaw(context, request, cq); result->StartCall(); return result; } @@ -462,25 +462,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>* Front return result; } -::grpc::Status FrontendNvmeService::Stub::NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NvmeNamespaceStats_, context, request, response); +::grpc::Status FrontendNvmeService::Stub::StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsNvmeNamespace_, context, request, response); } -void FrontendNvmeService::Stub::async::NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeNamespaceStats_, context, request, response, std::move(f)); +void FrontendNvmeService::Stub::async::StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeNamespace_, context, request, response, std::move(f)); } -void FrontendNvmeService::Stub::async::NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NvmeNamespaceStats_, context, request, response, reactor); +void FrontendNvmeService::Stub::async::StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsNvmeNamespace_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* FrontendNvmeService::Stub::PrepareAsyncNvmeNamespaceStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NvmeNamespaceStatsResponse, ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NvmeNamespaceStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* FrontendNvmeService::Stub::PrepareAsyncStatsNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsNvmeNamespaceResponse, ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsNvmeNamespace_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* FrontendNvmeService::Stub::AsyncNvmeNamespaceStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* FrontendNvmeService::Stub::AsyncStatsNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNvmeNamespaceStatsRaw(context, request, cq); + this->PrepareAsyncStatsNvmeNamespaceRaw(context, request, cq); result->StartCall(); return result; } @@ -539,12 +539,12 @@ FrontendNvmeService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendNvmeService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendNvmeService::Service, ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendNvmeService::Service, ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendNvmeService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* req, - ::opi_api::storage::v1::NvmeSubsystemStatsResponse* resp) { - return service->NvmeSubsystemStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* req, + ::opi_api::storage::v1::StatsNvmeSubsystemResponse* resp) { + return service->StatsNvmeSubsystem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendNvmeService_method_names[6], @@ -599,12 +599,12 @@ FrontendNvmeService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendNvmeService_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendNvmeService::Service, ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendNvmeService::Service, ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendNvmeService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NvmeControllerStatsRequest* req, - ::opi_api::storage::v1::NvmeControllerStatsResponse* resp) { - return service->NvmeControllerStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsNvmeControllerRequest* req, + ::opi_api::storage::v1::StatsNvmeControllerResponse* resp) { + return service->StatsNvmeController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendNvmeService_method_names[12], @@ -659,12 +659,12 @@ FrontendNvmeService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendNvmeService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendNvmeService::Service, ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendNvmeService::Service, ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendNvmeService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* req, - ::opi_api::storage::v1::NvmeNamespaceStatsResponse* resp) { - return service->NvmeNamespaceStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* req, + ::opi_api::storage::v1::StatsNvmeNamespaceResponse* resp) { + return service->StatsNvmeNamespace(ctx, req, resp); }, this))); } @@ -706,7 +706,7 @@ ::grpc::Status FrontendNvmeService::Service::GetNvmeSubsystem(::grpc::ServerCont return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendNvmeService::Service::NvmeSubsystemStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response) { +::grpc::Status FrontendNvmeService::Service::StatsNvmeSubsystem(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response) { (void) context; (void) request; (void) response; @@ -748,7 +748,7 @@ ::grpc::Status FrontendNvmeService::Service::GetNvmeController(::grpc::ServerCon return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendNvmeService::Service::NvmeControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response) { +::grpc::Status FrontendNvmeService::Service::StatsNvmeController(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response) { (void) context; (void) request; (void) response; @@ -790,7 +790,7 @@ ::grpc::Status FrontendNvmeService::Service::GetNvmeNamespace(::grpc::ServerCont return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendNvmeService::Service::NvmeNamespaceStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response) { +::grpc::Status FrontendNvmeService::Service::StatsNvmeNamespace(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.h b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.h index 1c014e5c..2d8f7c96 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.grpc.pb.h @@ -80,12 +80,12 @@ class FrontendNvmeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystem>> PrepareAsyncGetNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystem>>(PrepareAsyncGetNvmeSubsystemRaw(context, request, cq)); } - virtual ::grpc::Status NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>> AsyncNvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>>(AsyncNvmeSubsystemStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>> AsyncStatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>>(AsyncStatsNvmeSubsystemRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>> PrepareAsyncNvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>>(PrepareAsyncNvmeSubsystemStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>> PrepareAsyncStatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>>(PrepareAsyncStatsNvmeSubsystemRaw(context, request, cq)); } virtual ::grpc::Status CreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::opi_api::storage::v1::NvmeController* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>> AsyncCreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { @@ -123,12 +123,12 @@ class FrontendNvmeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>> PrepareAsyncGetNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>>(PrepareAsyncGetNvmeControllerRaw(context, request, cq)); } - virtual ::grpc::Status NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeControllerStatsResponse>> AsyncNvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeControllerStatsResponse>>(AsyncNvmeControllerStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeControllerResponse>> AsyncStatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeControllerResponse>>(AsyncStatsNvmeControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeControllerStatsResponse>> PrepareAsyncNvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeControllerStatsResponse>>(PrepareAsyncNvmeControllerStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeControllerResponse>> PrepareAsyncStatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeControllerResponse>>(PrepareAsyncStatsNvmeControllerRaw(context, request, cq)); } virtual ::grpc::Status CreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::opi_api::storage::v1::NvmeNamespace* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>> AsyncCreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { @@ -165,12 +165,12 @@ class FrontendNvmeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>> PrepareAsyncGetNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>>(PrepareAsyncGetNvmeNamespaceRaw(context, request, cq)); } - virtual ::grpc::Status NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>> AsyncNvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>>(AsyncNvmeNamespaceStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>> AsyncStatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>>(AsyncStatsNvmeNamespaceRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>> PrepareAsyncNvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>>(PrepareAsyncNvmeNamespaceStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>> PrepareAsyncStatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>>(PrepareAsyncStatsNvmeNamespaceRaw(context, request, cq)); } class async_interface { public: @@ -186,8 +186,8 @@ class FrontendNvmeService final { virtual void ListNvmeSubsystems(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeSubsystemsRequest* request, ::opi_api::storage::v1::ListNvmeSubsystemsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest* request, ::opi_api::storage::v1::NvmeSubsystem* response, std::function) = 0; virtual void GetNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest* request, ::opi_api::storage::v1::NvmeSubsystem* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response, std::function) = 0; - virtual void NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response, std::function) = 0; + virtual void StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void CreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, std::function) = 0; virtual void CreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, ::grpc::ClientUnaryReactor* reactor) = 0; // Fails if there are any associated objects @@ -199,8 +199,8 @@ class FrontendNvmeService final { virtual void ListNvmeControllers(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeControllersRequest* request, ::opi_api::storage::v1::ListNvmeControllersResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, std::function) = 0; virtual void GetNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response, std::function) = 0; - virtual void NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response, std::function) = 0; + virtual void StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void CreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, std::function) = 0; virtual void CreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void DeleteNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeNamespaceRequest* request, ::google::protobuf::Empty* response, std::function) = 0; @@ -211,8 +211,8 @@ class FrontendNvmeService final { virtual void ListNvmeNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeNamespacesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, std::function) = 0; virtual void GetNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response, std::function) = 0; - virtual void NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response, std::function) = 0; + virtual void StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -228,8 +228,8 @@ class FrontendNvmeService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeSubsystemsResponse>* PrepareAsyncListNvmeSubsystemsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeSubsystemsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystem>* AsyncGetNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystem>* PrepareAsyncGetNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* AsyncNvmeSubsystemStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* PrepareAsyncNvmeSubsystemStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* AsyncStatsNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* PrepareAsyncStatsNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>* AsyncCreateNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>* PrepareAsyncCreateNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -240,8 +240,8 @@ class FrontendNvmeService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeControllersResponse>* PrepareAsyncListNvmeControllersRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeControllersRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>* AsyncGetNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeController>* PrepareAsyncGetNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeControllerStatsResponse>* AsyncNvmeControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeControllerStatsResponse>* PrepareAsyncNvmeControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeControllerResponse>* AsyncStatsNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeControllerResponse>* PrepareAsyncStatsNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>* AsyncCreateNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>* PrepareAsyncCreateNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -252,8 +252,8 @@ class FrontendNvmeService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNvmeNamespacesResponse>* PrepareAsyncListNvmeNamespacesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeNamespacesRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>* AsyncGetNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespace>* PrepareAsyncGetNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* AsyncNvmeNamespaceStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* PrepareAsyncNvmeNamespaceStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* AsyncStatsNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* PrepareAsyncStatsNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -293,12 +293,12 @@ class FrontendNvmeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystem>> PrepareAsyncGetNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystem>>(PrepareAsyncGetNvmeSubsystemRaw(context, request, cq)); } - ::grpc::Status NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>> AsyncNvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>>(AsyncNvmeSubsystemStatsRaw(context, request, cq)); + ::grpc::Status StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>> AsyncStatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>>(AsyncStatsNvmeSubsystemRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>> PrepareAsyncNvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>>(PrepareAsyncNvmeSubsystemStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>> PrepareAsyncStatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>>(PrepareAsyncStatsNvmeSubsystemRaw(context, request, cq)); } ::grpc::Status CreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::opi_api::storage::v1::NvmeController* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>> AsyncCreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { @@ -335,12 +335,12 @@ class FrontendNvmeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>> PrepareAsyncGetNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>>(PrepareAsyncGetNvmeControllerRaw(context, request, cq)); } - ::grpc::Status NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>> AsyncNvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>>(AsyncNvmeControllerStatsRaw(context, request, cq)); + ::grpc::Status StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>> AsyncStatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>>(AsyncStatsNvmeControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>> PrepareAsyncNvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>>(PrepareAsyncNvmeControllerStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>> PrepareAsyncStatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>>(PrepareAsyncStatsNvmeControllerRaw(context, request, cq)); } ::grpc::Status CreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::opi_api::storage::v1::NvmeNamespace* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>> AsyncCreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { @@ -377,12 +377,12 @@ class FrontendNvmeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>> PrepareAsyncGetNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>>(PrepareAsyncGetNvmeNamespaceRaw(context, request, cq)); } - ::grpc::Status NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>> AsyncNvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>>(AsyncNvmeNamespaceStatsRaw(context, request, cq)); + ::grpc::Status StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>> AsyncStatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>>(AsyncStatsNvmeNamespaceRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>> PrepareAsyncNvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>>(PrepareAsyncNvmeNamespaceStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>> PrepareAsyncStatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>>(PrepareAsyncStatsNvmeNamespaceRaw(context, request, cq)); } class async final : public StubInterface::async_interface { @@ -397,8 +397,8 @@ class FrontendNvmeService final { void ListNvmeSubsystems(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeSubsystemsRequest* request, ::opi_api::storage::v1::ListNvmeSubsystemsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest* request, ::opi_api::storage::v1::NvmeSubsystem* response, std::function) override; void GetNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest* request, ::opi_api::storage::v1::NvmeSubsystem* response, ::grpc::ClientUnaryReactor* reactor) override; - void NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response, std::function) override; - void NvmeSubsystemStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response, std::function) override; + void StatsNvmeSubsystem(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void CreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, std::function) override; void CreateNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, ::grpc::ClientUnaryReactor* reactor) override; void DeleteNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeControllerRequest* request, ::google::protobuf::Empty* response, std::function) override; @@ -409,8 +409,8 @@ class FrontendNvmeService final { void ListNvmeControllers(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeControllersRequest* request, ::opi_api::storage::v1::ListNvmeControllersResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, std::function) override; void GetNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response, ::grpc::ClientUnaryReactor* reactor) override; - void NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response, std::function) override; - void NvmeControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response, std::function) override; + void StatsNvmeController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void CreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, std::function) override; void CreateNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, ::grpc::ClientUnaryReactor* reactor) override; void DeleteNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeNamespaceRequest* request, ::google::protobuf::Empty* response, std::function) override; @@ -421,8 +421,8 @@ class FrontendNvmeService final { void ListNvmeNamespaces(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeNamespacesResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, std::function) override; void GetNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response, ::grpc::ClientUnaryReactor* reactor) override; - void NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response, std::function) override; - void NvmeNamespaceStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response, std::function) override; + void StatsNvmeNamespace(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -444,8 +444,8 @@ class FrontendNvmeService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeSubsystemsResponse>* PrepareAsyncListNvmeSubsystemsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeSubsystemsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystem>* AsyncGetNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystem>* PrepareAsyncGetNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* AsyncNvmeSubsystemStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* PrepareAsyncNvmeSubsystemStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* AsyncStatsNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* PrepareAsyncStatsNvmeSubsystemRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>* AsyncCreateNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>* PrepareAsyncCreateNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; @@ -456,8 +456,8 @@ class FrontendNvmeService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeControllersResponse>* PrepareAsyncListNvmeControllersRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeControllersRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>* AsyncGetNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeController>* PrepareAsyncGetNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>* AsyncNvmeControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeControllerStatsResponse>* PrepareAsyncNvmeControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>* AsyncStatsNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeControllerResponse>* PrepareAsyncStatsNvmeControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>* AsyncCreateNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>* PrepareAsyncCreateNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; @@ -468,26 +468,26 @@ class FrontendNvmeService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNvmeNamespacesResponse>* PrepareAsyncListNvmeNamespacesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNvmeNamespacesRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>* AsyncGetNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespace>* PrepareAsyncGetNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* AsyncNvmeNamespaceStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* PrepareAsyncNvmeNamespaceStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* AsyncStatsNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* PrepareAsyncStatsNvmeNamespaceRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateNvmeSubsystem_; const ::grpc::internal::RpcMethod rpcmethod_DeleteNvmeSubsystem_; const ::grpc::internal::RpcMethod rpcmethod_UpdateNvmeSubsystem_; const ::grpc::internal::RpcMethod rpcmethod_ListNvmeSubsystems_; const ::grpc::internal::RpcMethod rpcmethod_GetNvmeSubsystem_; - const ::grpc::internal::RpcMethod rpcmethod_NvmeSubsystemStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsNvmeSubsystem_; const ::grpc::internal::RpcMethod rpcmethod_CreateNvmeController_; const ::grpc::internal::RpcMethod rpcmethod_DeleteNvmeController_; const ::grpc::internal::RpcMethod rpcmethod_UpdateNvmeController_; const ::grpc::internal::RpcMethod rpcmethod_ListNvmeControllers_; const ::grpc::internal::RpcMethod rpcmethod_GetNvmeController_; - const ::grpc::internal::RpcMethod rpcmethod_NvmeControllerStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsNvmeController_; const ::grpc::internal::RpcMethod rpcmethod_CreateNvmeNamespace_; const ::grpc::internal::RpcMethod rpcmethod_DeleteNvmeNamespace_; const ::grpc::internal::RpcMethod rpcmethod_UpdateNvmeNamespace_; const ::grpc::internal::RpcMethod rpcmethod_ListNvmeNamespaces_; const ::grpc::internal::RpcMethod rpcmethod_GetNvmeNamespace_; - const ::grpc::internal::RpcMethod rpcmethod_NvmeNamespaceStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsNvmeNamespace_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -501,20 +501,20 @@ class FrontendNvmeService final { virtual ::grpc::Status UpdateNvmeSubsystem(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNvmeSubsystemRequest* request, ::opi_api::storage::v1::NvmeSubsystem* response); virtual ::grpc::Status ListNvmeSubsystems(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNvmeSubsystemsRequest* request, ::opi_api::storage::v1::ListNvmeSubsystemsResponse* response); virtual ::grpc::Status GetNvmeSubsystem(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNvmeSubsystemRequest* request, ::opi_api::storage::v1::NvmeSubsystem* response); - virtual ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response); + virtual ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response); virtual ::grpc::Status CreateNvmeController(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response); // Fails if there are any associated objects virtual ::grpc::Status DeleteNvmeController(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNvmeControllerRequest* request, ::google::protobuf::Empty* response); virtual ::grpc::Status UpdateNvmeController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response); virtual ::grpc::Status ListNvmeControllers(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNvmeControllersRequest* request, ::opi_api::storage::v1::ListNvmeControllersResponse* response); virtual ::grpc::Status GetNvmeController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNvmeControllerRequest* request, ::opi_api::storage::v1::NvmeController* response); - virtual ::grpc::Status NvmeControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response); + virtual ::grpc::Status StatsNvmeController(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response); virtual ::grpc::Status CreateNvmeNamespace(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response); virtual ::grpc::Status DeleteNvmeNamespace(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNvmeNamespaceRequest* request, ::google::protobuf::Empty* response); virtual ::grpc::Status UpdateNvmeNamespace(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response); virtual ::grpc::Status ListNvmeNamespaces(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNvmeNamespacesRequest* request, ::opi_api::storage::v1::ListNvmeNamespacesResponse* response); virtual ::grpc::Status GetNvmeNamespace(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNvmeNamespaceRequest* request, ::opi_api::storage::v1::NvmeNamespace* response); - virtual ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response); + virtual ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response); }; template class WithAsyncMethod_CreateNvmeSubsystem : public BaseClass { @@ -617,22 +617,22 @@ class FrontendNvmeService final { } }; template - class WithAsyncMethod_NvmeSubsystemStats : public BaseClass { + class WithAsyncMethod_StatsNvmeSubsystem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NvmeSubsystemStats() { + WithAsyncMethod_StatsNvmeSubsystem() { ::grpc::Service::MarkMethodAsync(5); } - ~WithAsyncMethod_NvmeSubsystemStats() override { + ~WithAsyncMethod_StatsNvmeSubsystem() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNvmeSubsystemStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsNvmeSubsystem(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* 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); } }; @@ -737,22 +737,22 @@ class FrontendNvmeService final { } }; template - class WithAsyncMethod_NvmeControllerStats : public BaseClass { + class WithAsyncMethod_StatsNvmeController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NvmeControllerStats() { + WithAsyncMethod_StatsNvmeController() { ::grpc::Service::MarkMethodAsync(11); } - ~WithAsyncMethod_NvmeControllerStats() override { + ~WithAsyncMethod_StatsNvmeController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNvmeControllerStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NvmeControllerStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsNvmeController(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsNvmeControllerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -857,26 +857,26 @@ class FrontendNvmeService final { } }; template - class WithAsyncMethod_NvmeNamespaceStats : public BaseClass { + class WithAsyncMethod_StatsNvmeNamespace : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NvmeNamespaceStats() { + WithAsyncMethod_StatsNvmeNamespace() { ::grpc::Service::MarkMethodAsync(17); } - ~WithAsyncMethod_NvmeNamespaceStats() override { + ~WithAsyncMethod_StatsNvmeNamespace() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNvmeNamespaceStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsNvmeNamespace(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_CreateNvmeSubsystem : public BaseClass { private: @@ -1013,31 +1013,31 @@ class FrontendNvmeService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystem* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NvmeSubsystemStats : public BaseClass { + class WithCallbackMethod_StatsNvmeSubsystem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NvmeSubsystemStats() { + WithCallbackMethod_StatsNvmeSubsystem() { ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* request, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* response) { return this->NvmeSubsystemStats(context, request, response); }));} - void SetMessageAllocatorFor_NvmeSubsystemStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* request, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* response) { return this->StatsNvmeSubsystem(context, request, response); }));} + void SetMessageAllocatorFor_StatsNvmeSubsystem( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NvmeSubsystemStats() override { + ~WithCallbackMethod_StatsNvmeSubsystem() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NvmeSubsystemStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsNvmeSubsystem( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) { return nullptr; } }; template class WithCallbackMethod_CreateNvmeController : public BaseClass { @@ -1175,31 +1175,31 @@ class FrontendNvmeService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::NvmeController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NvmeControllerStats : public BaseClass { + class WithCallbackMethod_StatsNvmeController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NvmeControllerStats() { + WithCallbackMethod_StatsNvmeController() { ::grpc::Service::MarkMethodCallback(11, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NvmeControllerStatsRequest* request, ::opi_api::storage::v1::NvmeControllerStatsResponse* response) { return this->NvmeControllerStats(context, request, response); }));} - void SetMessageAllocatorFor_NvmeControllerStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsNvmeControllerRequest* request, ::opi_api::storage::v1::StatsNvmeControllerResponse* response) { return this->StatsNvmeController(context, request, response); }));} + void SetMessageAllocatorFor_StatsNvmeController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(11); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NvmeControllerStats() override { + ~WithCallbackMethod_StatsNvmeController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NvmeControllerStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsNvmeController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) { return nullptr; } }; template class WithCallbackMethod_CreateNvmeNamespace : public BaseClass { @@ -1337,33 +1337,33 @@ class FrontendNvmeService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespace* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NvmeNamespaceStats : public BaseClass { + class WithCallbackMethod_StatsNvmeNamespace : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NvmeNamespaceStats() { + WithCallbackMethod_StatsNvmeNamespace() { ::grpc::Service::MarkMethodCallback(17, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* request, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* response) { return this->NvmeNamespaceStats(context, request, response); }));} - void SetMessageAllocatorFor_NvmeNamespaceStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* request, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* response) { return this->StatsNvmeNamespace(context, request, response); }));} + void SetMessageAllocatorFor_StatsNvmeNamespace( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(17); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NvmeNamespaceStats() override { + ~WithCallbackMethod_StatsNvmeNamespace() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NvmeNamespaceStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsNvmeNamespace( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > CallbackService; + typedef WithCallbackMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_CreateNvmeSubsystem : public BaseClass { @@ -1451,18 +1451,18 @@ class FrontendNvmeService final { } }; template - class WithGenericMethod_NvmeSubsystemStats : public BaseClass { + class WithGenericMethod_StatsNvmeSubsystem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NvmeSubsystemStats() { + WithGenericMethod_StatsNvmeSubsystem() { ::grpc::Service::MarkMethodGeneric(5); } - ~WithGenericMethod_NvmeSubsystemStats() override { + ~WithGenericMethod_StatsNvmeSubsystem() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1553,18 +1553,18 @@ class FrontendNvmeService final { } }; template - class WithGenericMethod_NvmeControllerStats : public BaseClass { + class WithGenericMethod_StatsNvmeController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NvmeControllerStats() { + WithGenericMethod_StatsNvmeController() { ::grpc::Service::MarkMethodGeneric(11); } - ~WithGenericMethod_NvmeControllerStats() override { + ~WithGenericMethod_StatsNvmeController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1655,18 +1655,18 @@ class FrontendNvmeService final { } }; template - class WithGenericMethod_NvmeNamespaceStats : public BaseClass { + class WithGenericMethod_StatsNvmeNamespace : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NvmeNamespaceStats() { + WithGenericMethod_StatsNvmeNamespace() { ::grpc::Service::MarkMethodGeneric(17); } - ~WithGenericMethod_NvmeNamespaceStats() override { + ~WithGenericMethod_StatsNvmeNamespace() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1772,22 +1772,22 @@ class FrontendNvmeService final { } }; template - class WithRawMethod_NvmeSubsystemStats : public BaseClass { + class WithRawMethod_StatsNvmeSubsystem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NvmeSubsystemStats() { + WithRawMethod_StatsNvmeSubsystem() { ::grpc::Service::MarkMethodRaw(5); } - ~WithRawMethod_NvmeSubsystemStats() override { + ~WithRawMethod_StatsNvmeSubsystem() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNvmeSubsystemStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsNvmeSubsystem(::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); } }; @@ -1892,22 +1892,22 @@ class FrontendNvmeService final { } }; template - class WithRawMethod_NvmeControllerStats : public BaseClass { + class WithRawMethod_StatsNvmeController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NvmeControllerStats() { + WithRawMethod_StatsNvmeController() { ::grpc::Service::MarkMethodRaw(11); } - ~WithRawMethod_NvmeControllerStats() override { + ~WithRawMethod_StatsNvmeController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNvmeControllerStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsNvmeController(::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(11, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -2012,22 +2012,22 @@ class FrontendNvmeService final { } }; template - class WithRawMethod_NvmeNamespaceStats : public BaseClass { + class WithRawMethod_StatsNvmeNamespace : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NvmeNamespaceStats() { + WithRawMethod_StatsNvmeNamespace() { ::grpc::Service::MarkMethodRaw(17); } - ~WithRawMethod_NvmeNamespaceStats() override { + ~WithRawMethod_StatsNvmeNamespace() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNvmeNamespaceStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsNvmeNamespace(::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(17, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -2142,25 +2142,25 @@ class FrontendNvmeService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NvmeSubsystemStats : public BaseClass { + class WithRawCallbackMethod_StatsNvmeSubsystem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NvmeSubsystemStats() { + WithRawCallbackMethod_StatsNvmeSubsystem() { ::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->NvmeSubsystemStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsNvmeSubsystem(context, request, response); })); } - ~WithRawCallbackMethod_NvmeSubsystemStats() override { + ~WithRawCallbackMethod_StatsNvmeSubsystem() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NvmeSubsystemStats( + virtual ::grpc::ServerUnaryReactor* StatsNvmeSubsystem( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -2274,25 +2274,25 @@ class FrontendNvmeService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NvmeControllerStats : public BaseClass { + class WithRawCallbackMethod_StatsNvmeController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NvmeControllerStats() { + WithRawCallbackMethod_StatsNvmeController() { ::grpc::Service::MarkMethodRawCallback(11, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NvmeControllerStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsNvmeController(context, request, response); })); } - ~WithRawCallbackMethod_NvmeControllerStats() override { + ~WithRawCallbackMethod_StatsNvmeController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NvmeControllerStats( + virtual ::grpc::ServerUnaryReactor* StatsNvmeController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -2406,25 +2406,25 @@ class FrontendNvmeService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NvmeNamespaceStats : public BaseClass { + class WithRawCallbackMethod_StatsNvmeNamespace : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NvmeNamespaceStats() { + WithRawCallbackMethod_StatsNvmeNamespace() { ::grpc::Service::MarkMethodRawCallback(17, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NvmeNamespaceStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsNvmeNamespace(context, request, response); })); } - ~WithRawCallbackMethod_NvmeNamespaceStats() override { + ~WithRawCallbackMethod_StatsNvmeNamespace() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NvmeNamespaceStats( + virtual ::grpc::ServerUnaryReactor* StatsNvmeNamespace( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -2563,31 +2563,31 @@ class FrontendNvmeService final { virtual ::grpc::Status StreamedGetNvmeSubsystem(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNvmeSubsystemRequest,::opi_api::storage::v1::NvmeSubsystem>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NvmeSubsystemStats : public BaseClass { + class WithStreamedUnaryMethod_StatsNvmeSubsystem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NvmeSubsystemStats() { + WithStreamedUnaryMethod_StatsNvmeSubsystem() { ::grpc::Service::MarkMethodStreamed(5, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse>( + ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NvmeSubsystemStatsRequest, ::opi_api::storage::v1::NvmeSubsystemStatsResponse>* streamer) { - return this->StreamedNvmeSubsystemStats(context, + ::opi_api::storage::v1::StatsNvmeSubsystemRequest, ::opi_api::storage::v1::StatsNvmeSubsystemResponse>* streamer) { + return this->StreamedStatsNvmeSubsystem(context, streamer); })); } - ~WithStreamedUnaryMethod_NvmeSubsystemStats() override { + ~WithStreamedUnaryMethod_StatsNvmeSubsystem() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NvmeSubsystemStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeSubsystemStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeSubsystemStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeSubsystem(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeSubsystemRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeSubsystemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNvmeSubsystemStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NvmeSubsystemStatsRequest,::opi_api::storage::v1::NvmeSubsystemStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsNvmeSubsystem(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsNvmeSubsystemRequest,::opi_api::storage::v1::StatsNvmeSubsystemResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_CreateNvmeController : public BaseClass { @@ -2725,31 +2725,31 @@ class FrontendNvmeService final { virtual ::grpc::Status StreamedGetNvmeController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNvmeControllerRequest,::opi_api::storage::v1::NvmeController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NvmeControllerStats : public BaseClass { + class WithStreamedUnaryMethod_StatsNvmeController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NvmeControllerStats() { + WithStreamedUnaryMethod_StatsNvmeController() { ::grpc::Service::MarkMethodStreamed(11, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse>( + ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NvmeControllerStatsRequest, ::opi_api::storage::v1::NvmeControllerStatsResponse>* streamer) { - return this->StreamedNvmeControllerStats(context, + ::opi_api::storage::v1::StatsNvmeControllerRequest, ::opi_api::storage::v1::StatsNvmeControllerResponse>* streamer) { + return this->StreamedStatsNvmeController(context, streamer); })); } - ~WithStreamedUnaryMethod_NvmeControllerStats() override { + ~WithStreamedUnaryMethod_StatsNvmeController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NvmeControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeControllerRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNvmeControllerStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NvmeControllerStatsRequest,::opi_api::storage::v1::NvmeControllerStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsNvmeController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsNvmeControllerRequest,::opi_api::storage::v1::StatsNvmeControllerResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_CreateNvmeNamespace : public BaseClass { @@ -2887,35 +2887,35 @@ class FrontendNvmeService final { virtual ::grpc::Status StreamedGetNvmeNamespace(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNvmeNamespaceRequest,::opi_api::storage::v1::NvmeNamespace>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NvmeNamespaceStats : public BaseClass { + class WithStreamedUnaryMethod_StatsNvmeNamespace : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NvmeNamespaceStats() { + WithStreamedUnaryMethod_StatsNvmeNamespace() { ::grpc::Service::MarkMethodStreamed(17, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse>( + ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NvmeNamespaceStatsRequest, ::opi_api::storage::v1::NvmeNamespaceStatsResponse>* streamer) { - return this->StreamedNvmeNamespaceStats(context, + ::opi_api::storage::v1::StatsNvmeNamespaceRequest, ::opi_api::storage::v1::StatsNvmeNamespaceResponse>* streamer) { + return this->StreamedStatsNvmeNamespace(context, streamer); })); } - ~WithStreamedUnaryMethod_NvmeNamespaceStats() override { + ~WithStreamedUnaryMethod_StatsNvmeNamespace() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NvmeNamespaceStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NvmeNamespaceStatsRequest* /*request*/, ::opi_api::storage::v1::NvmeNamespaceStatsResponse* /*response*/) override { + ::grpc::Status StatsNvmeNamespace(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsNvmeNamespaceRequest* /*request*/, ::opi_api::storage::v1::StatsNvmeNamespaceResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNvmeNamespaceStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NvmeNamespaceStatsRequest,::opi_api::storage::v1::NvmeNamespaceStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsNvmeNamespace(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsNvmeNamespaceRequest,::opi_api::storage::v1::StatsNvmeNamespaceResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateNvmeSubsystem > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc index fb63cc36..da7cd75b 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc @@ -233,30 +233,30 @@ struct GetNvmeSubsystemRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNvmeSubsystemRequestDefaultTypeInternal _GetNvmeSubsystemRequest_default_instance_; -constexpr NvmeSubsystemStatsRequest::NvmeSubsystemStatsRequest( +constexpr StatsNvmeSubsystemRequest::StatsNvmeSubsystemRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : subsystem_name_ref_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} -struct NvmeSubsystemStatsRequestDefaultTypeInternal { - constexpr NvmeSubsystemStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct StatsNvmeSubsystemRequestDefaultTypeInternal { + constexpr StatsNvmeSubsystemRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NvmeSubsystemStatsRequestDefaultTypeInternal() {} + ~StatsNvmeSubsystemRequestDefaultTypeInternal() {} union { - NvmeSubsystemStatsRequest _instance; + StatsNvmeSubsystemRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeSubsystemStatsRequestDefaultTypeInternal _NvmeSubsystemStatsRequest_default_instance_; -constexpr NvmeSubsystemStatsResponse::NvmeSubsystemStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeSubsystemRequestDefaultTypeInternal _StatsNvmeSubsystemRequest_default_instance_; +constexpr StatsNvmeSubsystemResponse::StatsNvmeSubsystemResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : stats_(nullptr){} -struct NvmeSubsystemStatsResponseDefaultTypeInternal { - constexpr NvmeSubsystemStatsResponseDefaultTypeInternal() +struct StatsNvmeSubsystemResponseDefaultTypeInternal { + constexpr StatsNvmeSubsystemResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NvmeSubsystemStatsResponseDefaultTypeInternal() {} + ~StatsNvmeSubsystemResponseDefaultTypeInternal() {} union { - NvmeSubsystemStatsResponse _instance; + StatsNvmeSubsystemResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeSubsystemStatsResponseDefaultTypeInternal _NvmeSubsystemStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeSubsystemResponseDefaultTypeInternal _StatsNvmeSubsystemResponse_default_instance_; constexpr CreateNvmeControllerRequest::CreateNvmeControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : nvme_controller_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) @@ -336,31 +336,30 @@ struct GetNvmeControllerRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNvmeControllerRequestDefaultTypeInternal _GetNvmeControllerRequest_default_instance_; -constexpr NvmeControllerStatsRequest::NvmeControllerStatsRequest( +constexpr StatsNvmeControllerRequest::StatsNvmeControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} -struct NvmeControllerStatsRequestDefaultTypeInternal { - constexpr NvmeControllerStatsRequestDefaultTypeInternal() +struct StatsNvmeControllerRequestDefaultTypeInternal { + constexpr StatsNvmeControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NvmeControllerStatsRequestDefaultTypeInternal() {} + ~StatsNvmeControllerRequestDefaultTypeInternal() {} union { - NvmeControllerStatsRequest _instance; + StatsNvmeControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeControllerStatsRequestDefaultTypeInternal _NvmeControllerStatsRequest_default_instance_; -constexpr NvmeControllerStatsResponse::NvmeControllerStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeControllerRequestDefaultTypeInternal _StatsNvmeControllerRequest_default_instance_; +constexpr StatsNvmeControllerResponse::StatsNvmeControllerResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , stats_(nullptr){} -struct NvmeControllerStatsResponseDefaultTypeInternal { - constexpr NvmeControllerStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsNvmeControllerResponseDefaultTypeInternal { + constexpr StatsNvmeControllerResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NvmeControllerStatsResponseDefaultTypeInternal() {} + ~StatsNvmeControllerResponseDefaultTypeInternal() {} union { - NvmeControllerStatsResponse _instance; + StatsNvmeControllerResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeControllerStatsResponseDefaultTypeInternal _NvmeControllerStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeControllerResponseDefaultTypeInternal _StatsNvmeControllerResponse_default_instance_; constexpr CreateNvmeNamespaceRequest::CreateNvmeNamespaceRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : nvme_namespace_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) @@ -440,31 +439,30 @@ struct GetNvmeNamespaceRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNvmeNamespaceRequestDefaultTypeInternal _GetNvmeNamespaceRequest_default_instance_; -constexpr NvmeNamespaceStatsRequest::NvmeNamespaceStatsRequest( +constexpr StatsNvmeNamespaceRequest::StatsNvmeNamespaceRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} -struct NvmeNamespaceStatsRequestDefaultTypeInternal { - constexpr NvmeNamespaceStatsRequestDefaultTypeInternal() +struct StatsNvmeNamespaceRequestDefaultTypeInternal { + constexpr StatsNvmeNamespaceRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NvmeNamespaceStatsRequestDefaultTypeInternal() {} + ~StatsNvmeNamespaceRequestDefaultTypeInternal() {} union { - NvmeNamespaceStatsRequest _instance; + StatsNvmeNamespaceRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeNamespaceStatsRequestDefaultTypeInternal _NvmeNamespaceStatsRequest_default_instance_; -constexpr NvmeNamespaceStatsResponse::NvmeNamespaceStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeNamespaceRequestDefaultTypeInternal _StatsNvmeNamespaceRequest_default_instance_; +constexpr StatsNvmeNamespaceResponse::StatsNvmeNamespaceResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , stats_(nullptr){} -struct NvmeNamespaceStatsResponseDefaultTypeInternal { - constexpr NvmeNamespaceStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsNvmeNamespaceResponseDefaultTypeInternal { + constexpr StatsNvmeNamespaceResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NvmeNamespaceStatsResponseDefaultTypeInternal() {} + ~StatsNvmeNamespaceResponseDefaultTypeInternal() {} union { - NvmeNamespaceStatsResponse _instance; + StatsNvmeNamespaceResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NvmeNamespaceStatsResponseDefaultTypeInternal _NvmeNamespaceStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsNvmeNamespaceResponseDefaultTypeInternal _StatsNvmeNamespaceResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -611,19 +609,19 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNvmeSubsystemRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeSubsystemStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeSubsystemRequest, _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::NvmeSubsystemStatsRequest, subsystem_name_ref_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeSubsystemRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeSubsystemStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeSubsystemResponse, _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::NvmeSubsystemStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeSubsystemResponse, stats_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNvmeControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -674,20 +672,19 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNvmeControllerRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeControllerStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeControllerRequest, _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::NvmeControllerStatsRequest, name_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeControllerRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeControllerStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeControllerResponse, _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::NvmeControllerStatsResponse, name_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeControllerStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeControllerResponse, stats_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNvmeNamespaceRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -738,20 +735,19 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNvmeNamespaceRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeNamespaceStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeNamespaceRequest, _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::NvmeNamespaceStatsRequest, name_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeNamespaceRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeNamespaceStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeNamespaceResponse, _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::NvmeNamespaceStatsResponse, name_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NvmeNamespaceStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsNvmeNamespaceResponse, stats_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::NvmeSubsystem)}, @@ -769,24 +765,24 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 113, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeSubsystemsRequest)}, { 122, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeSubsystemsResponse)}, { 130, -1, -1, sizeof(::opi_api::storage::v1::GetNvmeSubsystemRequest)}, - { 137, -1, -1, sizeof(::opi_api::storage::v1::NvmeSubsystemStatsRequest)}, - { 144, -1, -1, sizeof(::opi_api::storage::v1::NvmeSubsystemStatsResponse)}, + { 137, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeSubsystemRequest)}, + { 144, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeSubsystemResponse)}, { 151, -1, -1, sizeof(::opi_api::storage::v1::CreateNvmeControllerRequest)}, { 159, -1, -1, sizeof(::opi_api::storage::v1::DeleteNvmeControllerRequest)}, { 167, -1, -1, sizeof(::opi_api::storage::v1::UpdateNvmeControllerRequest)}, { 176, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeControllersRequest)}, { 185, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeControllersResponse)}, { 193, -1, -1, sizeof(::opi_api::storage::v1::GetNvmeControllerRequest)}, - { 200, -1, -1, sizeof(::opi_api::storage::v1::NvmeControllerStatsRequest)}, - { 207, -1, -1, sizeof(::opi_api::storage::v1::NvmeControllerStatsResponse)}, - { 215, -1, -1, sizeof(::opi_api::storage::v1::CreateNvmeNamespaceRequest)}, - { 223, -1, -1, sizeof(::opi_api::storage::v1::DeleteNvmeNamespaceRequest)}, - { 231, -1, -1, sizeof(::opi_api::storage::v1::UpdateNvmeNamespaceRequest)}, - { 240, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeNamespacesRequest)}, - { 249, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeNamespacesResponse)}, - { 257, -1, -1, sizeof(::opi_api::storage::v1::GetNvmeNamespaceRequest)}, - { 264, -1, -1, sizeof(::opi_api::storage::v1::NvmeNamespaceStatsRequest)}, - { 271, -1, -1, sizeof(::opi_api::storage::v1::NvmeNamespaceStatsResponse)}, + { 200, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeControllerRequest)}, + { 207, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeControllerResponse)}, + { 214, -1, -1, sizeof(::opi_api::storage::v1::CreateNvmeNamespaceRequest)}, + { 222, -1, -1, sizeof(::opi_api::storage::v1::DeleteNvmeNamespaceRequest)}, + { 230, -1, -1, sizeof(::opi_api::storage::v1::UpdateNvmeNamespaceRequest)}, + { 239, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeNamespacesRequest)}, + { 248, -1, -1, sizeof(::opi_api::storage::v1::ListNvmeNamespacesResponse)}, + { 256, -1, -1, sizeof(::opi_api::storage::v1::GetNvmeNamespaceRequest)}, + { 263, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeNamespaceRequest)}, + { 270, -1, -1, sizeof(::opi_api::storage::v1::StatsNvmeNamespaceResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -805,24 +801,24 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::opi_api::storage::v1::_ListNvmeSubsystemsRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListNvmeSubsystemsResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetNvmeSubsystemRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NvmeSubsystemStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NvmeSubsystemStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeSubsystemRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeSubsystemResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_CreateNvmeControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_DeleteNvmeControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_UpdateNvmeControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListNvmeControllersRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListNvmeControllersResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetNvmeControllerRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NvmeControllerStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NvmeControllerStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeControllerResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_CreateNvmeNamespaceRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_DeleteNvmeNamespaceRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_UpdateNvmeNamespaceRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListNvmeNamespacesRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListNvmeNamespacesResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetNvmeNamespaceRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NvmeNamespaceStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NvmeNamespaceStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeNamespaceRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsNvmeNamespaceResponse_default_instance_), }; const char descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -832,192 +828,202 @@ const char descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto[] PROTOBUF_S "e.proto\032\033google/protobuf/empty.proto\032\034go" "ogle/api/annotations.proto\032\037google/api/f" "ield_behavior.proto\032 google/protobuf/fie" - "ld_mask.proto\"\310\001\n\rNvmeSubsystem\022\014\n\004name\030" - "\001 \001(\t\0223\n\004spec\030\002 \001(\0132%.opi_api.storage.v1" - ".NvmeSubsystemSpec\0227\n\006status\030\003 \001(\0132\'.opi" - "_api.storage.v1.NvmeSubsystemStatus:;\352A8" - "\n$storage.opiproject.org/NvmeSubsystem\022\020" - "volumes/{volume}\"e\n\021NvmeSubsystemSpec\022\013\n" - "\003nqn\030\001 \001(\t\022\025\n\rserial_number\030\002 \001(\t\022\024\n\014mod" - "el_number\030\003 \001(\t\022\026\n\016max_namespaces\030\004 \001(\003\"" - "B\n\023NvmeSubsystemStatus\022\031\n\021firmware_revis" - "ion\030\001 \001(\t\022\020\n\010fru_guid\030\002 \001(\014\"\314\001\n\016NvmeCont" - "roller\022\014\n\004name\030\001 \001(\t\0224\n\004spec\030\002 \001(\0132&.opi" - "_api.storage.v1.NvmeControllerSpec\0228\n\006st" - "atus\030\003 \001(\0132(.opi_api.storage.v1.NvmeCont" - "rollerStatus:<\352A9\n%storage.opiproject.or" - "g/NvmeController\022\020volumes/{volume}\"\266\002\n\022N" - "vmeControllerSpec\022\032\n\022nvme_controller_id\030" - "\001 \001(\005\022\032\n\022subsystem_name_ref\030\002 \001(\t\0220\n\007pci" - "e_id\030\003 \001(\0132\037.opi_api.storage.v1.PciEndpo" - "int\022\017\n\007max_nsq\030\004 \001(\005\022\017\n\007max_ncq\030\005 \001(\005\022\014\n" - "\004sqes\030\006 \001(\005\022\014\n\004cqes\030\007 \001(\005\022\026\n\016max_namespa" - "ces\030\010 \001(\005\022/\n\tmin_limit\030\t \001(\0132\034.opi_api.s" - "torage.v1.QosLimit\022/\n\tmax_limit\030\n \001(\0132\034." - "opi_api.storage.v1.QosLimit\"&\n\024NvmeContr" - "ollerStatus\022\016\n\006active\030\001 \001(\010\"\310\001\n\rNvmeName" - "space\022\014\n\004name\030\001 \001(\t\0223\n\004spec\030\002 \001(\0132%.opi_" - "api.storage.v1.NvmeNamespaceSpec\0227\n\006stat" - "us\030\003 \001(\0132\'.opi_api.storage.v1.NvmeNamesp" - "aceStatus:;\352A8\n$storage.opiproject.org/N" - "vmeNamespace\022\020volumes/{volume}\"\240\001\n\021NvmeN" - "amespaceSpec\022\032\n\022subsystem_name_ref\030\001 \001(\t" - "\022\021\n\thost_nsid\030\002 \001(\005\022\r\n\005nguid\030\003 \001(\t\022\r\n\005eu" - "i64\030\004 \001(\003\022%\n\004uuid\030\005 \001(\0132\027.opi_api.common" - ".v1.Uuid\022\027\n\017volume_name_ref\030\006 \001(\t\"\232\001\n\023Nv" - "meNamespaceStatus\022<\n\tpci_state\030\001 \001(\0162).o" - "pi_api.storage.v1.NvmeNamespacePciState\022" - "E\n\016pci_oper_state\030\002 \001(\0162-.opi_api.storag" - "e.v1.NvmeNamespacePciOperState\"w\n\032Create" - "NvmeSubsystemRequest\022>\n\016nvme_subsystem\030\002" - " \001(\0132!.opi_api.storage.v1.NvmeSubsystemB" - "\003\340A\002\022\031\n\021nvme_subsystem_id\030\003 \001(\t\"k\n\032Delet" - "eNvmeSubsystemRequest\0226\n\004name\030\001 \001(\tB(\340A\002" - "\372A\"\n opi_api.storage.v1/NvmeSubsystem\022\025\n" - "\rallow_missing\030\002 \001(\010\"\237\001\n\032UpdateNvmeSubsy" - "stemRequest\0229\n\016nvme_subsystem\030\001 \001(\0132!.op" - "i_api.storage.v1.NvmeSubsystem\022/\n\013update" - "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022" - "\025\n\rallow_missing\030\003 \001(\010\"|\n\031ListNvmeSubsys" - "temsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi" - "_api.storage.v1/NvmeSubsystem\022\021\n\tpage_si" - "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListNvme" - "SubsystemsResponse\022:\n\017nvme_subsystems\030\001 " - "\003(\0132!.opi_api.storage.v1.NvmeSubsystem\022\027" - "\n\017next_page_token\030\002 \001(\t\"Q\n\027GetNvmeSubsys" - "temRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_ap" - "i.storage.v1/NvmeSubsystem\"7\n\031NvmeSubsys" - "temStatsRequest\022\032\n\022subsystem_name_ref\030\001 " - "\001(\t\"L\n\032NvmeSubsystemStatsResponse\022.\n\005sta" - "ts\030\001 \001(\0132\037.opi_api.storage.v1.VolumeStat" - "s\"{\n\033CreateNvmeControllerRequest\022@\n\017nvme" - "_controller\030\002 \001(\0132\".opi_api.storage.v1.N" - "vmeControllerB\003\340A\002\022\032\n\022nvme_controller_id" - "\030\003 \001(\t\"m\n\033DeleteNvmeControllerRequest\0227\n" - "\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/" - "NvmeController\022\025\n\rallow_missing\030\002 \001(\010\"\242\001" - "\n\033UpdateNvmeControllerRequest\022;\n\017nvme_co" - "ntroller\030\001 \001(\0132\".opi_api.storage.v1.Nvme" - "Controller\022/\n\013update_mask\030\002 \001(\0132\032.google" - ".protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001" - "(\010\"~\n\032ListNvmeControllersRequest\0229\n\006pare" - "nt\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/Nvm" - "eController\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - "oken\030\003 \001(\t\"t\n\033ListNvmeControllersRespons" - "e\022<\n\020nvme_controllers\030\001 \003(\0132\".opi_api.st" - "orage.v1.NvmeController\022\027\n\017next_page_tok" - "en\030\002 \001(\t\"S\n\030GetNvmeControllerRequest\0227\n\004" - "name\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/N" - "vmeController\"*\n\032NvmeControllerStatsRequ" - "est\022\014\n\004name\030\001 \001(\t\"[\n\033NvmeControllerStats" - "Response\022\014\n\004name\030\001 \001(\t\022.\n\005stats\030\002 \001(\0132\037." - "opi_api.storage.v1.VolumeStats\"w\n\032Create" - "NvmeNamespaceRequest\022>\n\016nvme_namespace\030\002" - " \001(\0132!.opi_api.storage.v1.NvmeNamespaceB" - "\003\340A\002\022\031\n\021nvme_namespace_id\030\003 \001(\t\"k\n\032Delet" - "eNvmeNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340A\002" - "\372A\"\n opi_api.storage.v1/NvmeNamespace\022\025\n" - "\rallow_missing\030\002 \001(\010\"\237\001\n\032UpdateNvmeNames" - "paceRequest\0229\n\016nvme_namespace\030\001 \001(\0132!.op" - "i_api.storage.v1.NvmeNamespace\022/\n\013update" - "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022" - "\025\n\rallow_missing\030\003 \001(\010\"|\n\031ListNvmeNamesp" - "acesRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi" - "_api.storage.v1/NvmeNamespace\022\021\n\tpage_si" - "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListNvme" - "NamespacesResponse\022:\n\017nvme_namespaces\030\001 " - "\003(\0132!.opi_api.storage.v1.NvmeNamespace\022\027" - "\n\017next_page_token\030\002 \001(\t\"Q\n\027GetNvmeNamesp" - "aceRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_ap" - "i.storage.v1/NvmeNamespace\")\n\031NvmeNamesp" - "aceStatsRequest\022\014\n\004name\030\001 \001(\t\"Z\n\032NvmeNam" - "espaceStatsResponse\022\014\n\004name\030\001 \001(\t\022.\n\005sta" - "ts\030\002 \001(\0132\037.opi_api.storage.v1.VolumeStat" - "s*\265\001\n\025NvmeNamespacePciState\022(\n$NVME_NAME" - "SPACE_PCI_STATE_UNSPECIFIED\020\000\022%\n!NVME_NA" - "MESPACE_PCI_STATE_DISABLED\020\001\022$\n NVME_NAM" - "ESPACE_PCI_STATE_ENABLED\020\002\022%\n!NVME_NAMES" - "PACE_PCI_STATE_DELETING\020\003*\237\001\n\031NvmeNamesp" - "acePciOperState\022-\n)NVME_NAMESPACE_PCI_OP" - "ER_STATE_UNSPECIFIED\020\000\022(\n$NVME_NAMESPACE" - "_PCI_OPER_STATE_ONLINE\020\001\022)\n%NVME_NAMESPA" - "CE_PCI_OPER_STATE_OFFLINE\020\0022\332\026\n\023Frontend" - "NvmeService\022\260\001\n\023CreateNvmeSubsystem\022..op" - "i_api.storage.v1.CreateNvmeSubsystemRequ" - "est\032!.opi_api.storage.v1.NvmeSubsystem\"F" - "\202\323\344\223\002\035\"\013/v1/volumes:\016nvme_subsystem\332A nv" - "me_subsystem,nvme_subsystem_id\022\217\001\n\023Delet" - "eNvmeSubsystem\022..opi_api.storage.v1.Dele" - "teNvmeSubsystemRequest\032\026.google.protobuf" - ".Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems}/{s" - "ubsystem}\332A\004name\022\303\001\n\023UpdateNvmeSubsystem" - "\022..opi_api.storage.v1.UpdateNvmeSubsyste" - "mRequest\032!.opi_api.storage.v1.NvmeSubsys" - "tem\"Y\202\323\344\223\00262$/v1/{nvme_subsystem.name=su" - "bsystems}:\016nvme_subsystem\332A\032nvme_subsyst" - "em,update_mask\022\235\001\n\022ListNvmeSubsystems\022-." - "opi_api.storage.v1.ListNvmeSubsystemsReq" - "uest\032..opi_api.storage.v1.ListNvmeSubsys" - "temsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsys" - "tems}\332A\006parent\022\224\001\n\020GetNvmeSubsystem\022+.op" - "i_api.storage.v1.GetNvmeSubsystemRequest" - "\032!.opi_api.storage.v1.NvmeSubsystem\"0\202\323\344" - "\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A" - "\004name\022u\n\022NvmeSubsystemStats\022-.opi_api.st" - "orage.v1.NvmeSubsystemStatsRequest\032..opi" - "_api.storage.v1.NvmeSubsystemStatsRespon" - "se\"\000\022\266\001\n\024CreateNvmeController\022/.opi_api." - "storage.v1.CreateNvmeControllerRequest\032\"" - ".opi_api.storage.v1.NvmeController\"I\202\323\344\223" - "\002\036\"\013/v1/volumes:\017nvme_controller\332A\"nvme_" - "controller,nvme_controller_id\022\223\001\n\024Delete" - "NvmeController\022/.opi_api.storage.v1.Dele" - "teNvmeControllerRequest\032\026.google.protobu" - "f.Empty\"2\202\323\344\223\002%*#/v1/{name=controllers}/" - "{controller}\332A\004name\022\311\001\n\024UpdateNvmeContro" - "ller\022/.opi_api.storage.v1.UpdateNvmeCont" - "rollerRequest\032\".opi_api.storage.v1.NvmeC" - "ontroller\"\\\202\323\344\223\00282%/v1/{nvme_controller." - "name=subsystems}:\017nvme_controller\332A\033nvme" - "_controller,update_mask\022\240\001\n\023ListNvmeCont" - "rollers\022..opi_api.storage.v1.ListNvmeCon" - "trollersRequest\032/.opi_api.storage.v1.Lis" - "tNvmeControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{p" - "arent=subsystems}\332A\006parent\022\230\001\n\021GetNvmeCo" - "ntroller\022,.opi_api.storage.v1.GetNvmeCon" - "trollerRequest\032\".opi_api.storage.v1.Nvme" - "Controller\"1\202\323\344\223\002$\022\"/v1/{name=subsystems" - "}/{controller}\332A\004name\022x\n\023NvmeControllerS" - "tats\022..opi_api.storage.v1.NvmeController" - "StatsRequest\032/.opi_api.storage.v1.NvmeCo" - "ntrollerStatsResponse\"\000\022\260\001\n\023CreateNvmeNa" - "mespace\022..opi_api.storage.v1.CreateNvmeN" - "amespaceRequest\032!.opi_api.storage.v1.Nvm" - "eNamespace\"F\202\323\344\223\002\035\"\013/v1/volumes:\016nvme_na" - "mespace\332A nvme_namespace,nvme_namespace_" - "id\022\217\001\n\023DeleteNvmeNamespace\022..opi_api.sto" - "rage.v1.DeleteNvmeNamespaceRequest\032\026.goo" - "gle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=na" - "mespaces}/{namespace}\332A\004name\022\303\001\n\023UpdateN" - "vmeNamespace\022..opi_api.storage.v1.Update" - "NvmeNamespaceRequest\032!.opi_api.storage.v" - "1.NvmeNamespace\"Y\202\323\344\223\00262$/v1/{nvme_names" - "pace.name=subsystems}:\016nvme_namespace\332A\032" - "nvme_namespace,update_mask\022\235\001\n\022ListNvmeN" - "amespaces\022-.opi_api.storage.v1.ListNvmeN" - "amespacesRequest\032..opi_api.storage.v1.Li" - "stNvmeNamespacesResponse\"(\202\323\344\223\002\031\022\027/v1/{p" - "arent=subsystems}\332A\006parent\022\224\001\n\020GetNvmeNa" - "mespace\022+.opi_api.storage.v1.GetNvmeName" - "spaceRequest\032!.opi_api.storage.v1.NvmeNa" - "mespace\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{" - "namespace}\332A\004name\022u\n\022NvmeNamespaceStats\022" - "-.opi_api.storage.v1.NvmeNamespaceStatsR" - "equest\032..opi_api.storage.v1.NvmeNamespac" - "eStatsResponse\"\000Bd\n\022opi_api.storage.v1B\025" - "FrontendNvmePcieProtoP\001Z5github.com/opip" - "roject/opi-api/storage/v1alpha1/gen/gob\006" - "proto3" + "ld_mask.proto\"\365\001\n\rNvmeSubsystem\0229\n\004name\030" + "\001 \001(\tB+\340A\003\340A\005\372A\"\n opi_api.storage.v1/Nvm" + "eSubsystem\0223\n\004spec\030\002 \001(\0132%.opi_api.stora" + "ge.v1.NvmeSubsystemSpec\0227\n\006status\030\003 \001(\0132" + "\'.opi_api.storage.v1.NvmeSubsystemStatus" + ":;\352A8\n$storage.opiproject.org/NvmeSubsys" + "tem\022\020volumes/{volume}\"e\n\021NvmeSubsystemSp" + "ec\022\013\n\003nqn\030\001 \001(\t\022\025\n\rserial_number\030\002 \001(\t\022\024" + "\n\014model_number\030\003 \001(\t\022\026\n\016max_namespaces\030\004" + " \001(\003\"B\n\023NvmeSubsystemStatus\022\031\n\021firmware_" + "revision\030\001 \001(\t\022\020\n\010fru_guid\030\002 \001(\014\"\372\001\n\016Nvm" + "eController\022:\n\004name\030\001 \001(\tB,\340A\003\340A\005\372A#\n!op" + "i_api.storage.v1/NvmeController\0224\n\004spec\030" + "\002 \001(\0132&.opi_api.storage.v1.NvmeControlle" + "rSpec\0228\n\006status\030\003 \001(\0132(.opi_api.storage." + "v1.NvmeControllerStatus:<\352A9\n%storage.op" + "iproject.org/NvmeController\022\020volumes/{vo" + "lume}\"\340\002\n\022NvmeControllerSpec\022\032\n\022nvme_con" + "troller_id\030\001 \001(\005\022D\n\022subsystem_name_ref\030\002" + " \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NvmeSub" + "system\0220\n\007pcie_id\030\003 \001(\0132\037.opi_api.storag" + "e.v1.PciEndpoint\022\017\n\007max_nsq\030\004 \001(\005\022\017\n\007max" + "_ncq\030\005 \001(\005\022\014\n\004sqes\030\006 \001(\005\022\014\n\004cqes\030\007 \001(\005\022\026" + "\n\016max_namespaces\030\010 \001(\005\022/\n\tmin_limit\030\t \001(" + "\0132\034.opi_api.storage.v1.QosLimit\022/\n\tmax_l" + "imit\030\n \001(\0132\034.opi_api.storage.v1.QosLimit" + "\"&\n\024NvmeControllerStatus\022\016\n\006active\030\001 \001(\010" + "\"\365\001\n\rNvmeNamespace\0229\n\004name\030\001 \001(\tB+\340A\003\340A\005" + "\372A\"\n opi_api.storage.v1/NvmeNamespace\0223\n" + "\004spec\030\002 \001(\0132%.opi_api.storage.v1.NvmeNam" + "espaceSpec\0227\n\006status\030\003 \001(\0132\'.opi_api.sto" + "rage.v1.NvmeNamespaceStatus:;\352A8\n$storag" + "e.opiproject.org/NvmeNamespace\022\020volumes/" + "{volume}\"\317\001\n\021NvmeNamespaceSpec\022D\n\022subsys" + "tem_name_ref\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stor" + "age.v1/NvmeSubsystem\022\021\n\thost_nsid\030\002 \001(\005\022" + "\r\n\005nguid\030\003 \001(\t\022\r\n\005eui64\030\004 \001(\003\022%\n\004uuid\030\005 " + "\001(\0132\027.opi_api.common.v1.Uuid\022\034\n\017volume_n" + "ame_ref\030\006 \001(\tB\003\340A\002\"\232\001\n\023NvmeNamespaceStat" + "us\022<\n\tpci_state\030\001 \001(\0162).opi_api.storage." + "v1.NvmeNamespacePciState\022E\n\016pci_oper_sta" + "te\030\002 \001(\0162-.opi_api.storage.v1.NvmeNamesp" + "acePciOperState\"w\n\032CreateNvmeSubsystemRe" + "quest\022>\n\016nvme_subsystem\030\001 \001(\0132!.opi_api." + "storage.v1.NvmeSubsystemB\003\340A\002\022\031\n\021nvme_su" + "bsystem_id\030\002 \001(\t\"k\n\032DeleteNvmeSubsystemR" + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.st" + "orage.v1/NvmeSubsystem\022\025\n\rallow_missing\030" + "\002 \001(\010\"\237\001\n\032UpdateNvmeSubsystemRequest\0229\n\016" + "nvme_subsystem\030\001 \001(\0132!.opi_api.storage.v" + "1.NvmeSubsystem\022/\n\013update_mask\030\002 \001(\0132\032.g" + "oogle.protobuf.FieldMask\022\025\n\rallow_missin" + "g\030\003 \001(\010\"|\n\031ListNvmeSubsystemsRequest\0228\n\006" + "parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1" + "/NvmeSubsystem\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + "e_token\030\003 \001(\t\"q\n\032ListNvmeSubsystemsRespo" + "nse\022:\n\017nvme_subsystems\030\001 \003(\0132!.opi_api.s" + "torage.v1.NvmeSubsystem\022\027\n\017next_page_tok" + "en\030\002 \001(\t\"Q\n\027GetNvmeSubsystemRequest\0226\n\004n" + "ame\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Nv" + "meSubsystem\"S\n\031StatsNvmeSubsystemRequest" + "\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage." + "v1/NvmeSubsystem\"L\n\032StatsNvmeSubsystemRe" + "sponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage." + "v1.VolumeStats\"{\n\033CreateNvmeControllerRe" + "quest\022@\n\017nvme_controller\030\001 \001(\0132\".opi_api" + ".storage.v1.NvmeControllerB\003\340A\002\022\032\n\022nvme_" + "controller_id\030\002 \001(\t\"m\n\033DeleteNvmeControl" + "lerRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_ap" + "i.storage.v1/NvmeController\022\025\n\rallow_mis" + "sing\030\002 \001(\010\"\242\001\n\033UpdateNvmeControllerReque" + "st\022;\n\017nvme_controller\030\001 \001(\0132\".opi_api.st" + "orage.v1.NvmeController\022/\n\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMask\022\025\n\rallo" + "w_missing\030\003 \001(\010\"~\n\032ListNvmeControllersRe" + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!opi_api.s" + "torage.v1/NvmeController\022\021\n\tpage_size\030\002 " + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\033ListNvmeContr" + "ollersResponse\022<\n\020nvme_controllers\030\001 \003(\013" + "2\".opi_api.storage.v1.NvmeController\022\027\n\017" + "next_page_token\030\002 \001(\t\"S\n\030GetNvmeControll" + "erRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_api" + ".storage.v1/NvmeController\"U\n\032StatsNvmeC" + "ontrollerRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!" + "opi_api.storage.v1/NvmeController\"M\n\033Sta" + "tsNvmeControllerResponse\022.\n\005stats\030\001 \001(\0132" + "\037.opi_api.storage.v1.VolumeStats\"w\n\032Crea" + "teNvmeNamespaceRequest\022>\n\016nvme_namespace" + "\030\001 \001(\0132!.opi_api.storage.v1.NvmeNamespac" + "eB\003\340A\002\022\031\n\021nvme_namespace_id\030\002 \001(\t\"k\n\032Del" + "eteNvmeNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340" + "A\002\372A\"\n opi_api.storage.v1/NvmeNamespace\022" + "\025\n\rallow_missing\030\002 \001(\010\"\237\001\n\032UpdateNvmeNam" + "espaceRequest\0229\n\016nvme_namespace\030\001 \001(\0132!." + "opi_api.storage.v1.NvmeNamespace\022/\n\013upda" + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + "k\022\025\n\rallow_missing\030\003 \001(\010\"|\n\031ListNvmeName" + "spacesRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n o" + "pi_api.storage.v1/NvmeNamespace\022\021\n\tpage_" + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListNv" + "meNamespacesResponse\022:\n\017nvme_namespaces\030" + "\001 \003(\0132!.opi_api.storage.v1.NvmeNamespace" + "\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\027GetNvmeName" + "spaceRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_" + "api.storage.v1/NvmeNamespace\"S\n\031StatsNvm" + "eNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n" + " opi_api.storage.v1/NvmeNamespace\"L\n\032Sta" + "tsNvmeNamespaceResponse\022.\n\005stats\030\001 \001(\0132\037" + ".opi_api.storage.v1.VolumeStats*\265\001\n\025Nvme" + "NamespacePciState\022(\n$NVME_NAMESPACE_PCI_" + "STATE_UNSPECIFIED\020\000\022%\n!NVME_NAMESPACE_PC" + "I_STATE_DISABLED\020\001\022$\n NVME_NAMESPACE_PCI" + "_STATE_ENABLED\020\002\022%\n!NVME_NAMESPACE_PCI_S" + "TATE_DELETING\020\003*\237\001\n\031NvmeNamespacePciOper" + "State\022-\n)NVME_NAMESPACE_PCI_OPER_STATE_U" + "NSPECIFIED\020\000\022(\n$NVME_NAMESPACE_PCI_OPER_" + "STATE_ONLINE\020\001\022)\n%NVME_NAMESPACE_PCI_OPE" + "R_STATE_OFFLINE\020\0022\311\027\n\023FrontendNvmeServic" + "e\022\260\001\n\023CreateNvmeSubsystem\022..opi_api.stor" + "age.v1.CreateNvmeSubsystemRequest\032!.opi_" + "api.storage.v1.NvmeSubsystem\"F\202\323\344\223\002\035\"\013/v" + "1/volumes:\016nvme_subsystem\332A nvme_subsyst" + "em,nvme_subsystem_id\022\211\001\n\023DeleteNvmeSubsy" + "stem\022..opi_api.storage.v1.DeleteNvmeSubs" + "ystemRequest\032\026.google.protobuf.Empty\"*\202\323" + "\344\223\002\035*\033/v1/{name=NvmeSubsystems/*}\332A\004name" + "\022\303\001\n\023UpdateNvmeSubsystem\022..opi_api.stora" + "ge.v1.UpdateNvmeSubsystemRequest\032!.opi_a" + "pi.storage.v1.NvmeSubsystem\"Y\202\323\344\223\00262$/v1" + "/{nvme_subsystem.name=subsystems}:\016nvme_" + "subsystem\332A\032nvme_subsystem,update_mask\022\235" + "\001\n\022ListNvmeSubsystems\022-.opi_api.storage." + "v1.ListNvmeSubsystemsRequest\032..opi_api.s" + "torage.v1.ListNvmeSubsystemsResponse\"(\202\323" + "\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022\216" + "\001\n\020GetNvmeSubsystem\022+.opi_api.storage.v1" + ".GetNvmeSubsystemRequest\032!.opi_api.stora" + "ge.v1.NvmeSubsystem\"*\202\323\344\223\002\035\022\033/v1/{name=N" + "vmeSubsystems/*}\332A\004name\022\245\001\n\022StatsNvmeSub" + "system\022-.opi_api.storage.v1.StatsNvmeSub" + "systemRequest\032..opi_api.storage.v1.Stats" + "NvmeSubsystemResponse\"0\202\323\344\223\002#\022!/v1/{name" + "=NvmeSubsystems/*}:stats\332A\004name\022\266\001\n\024Crea" + "teNvmeController\022/.opi_api.storage.v1.Cr" + "eateNvmeControllerRequest\032\".opi_api.stor" + "age.v1.NvmeController\"I\202\323\344\223\002\036\"\013/v1/volum" + "es:\017nvme_controller\332A\"nvme_controller,nv" + "me_controller_id\022\214\001\n\024DeleteNvmeControlle" + "r\022/.opi_api.storage.v1.DeleteNvmeControl" + "lerRequest\032\026.google.protobuf.Empty\"+\202\323\344\223" + "\002\036*\034/v1/{name=NvmeControllers/*}\332A\004name\022" + "\311\001\n\024UpdateNvmeController\022/.opi_api.stora" + "ge.v1.UpdateNvmeControllerRequest\032\".opi_" + "api.storage.v1.NvmeController\"\\\202\323\344\223\00282%/" + "v1/{nvme_controller.name=subsystems}:\017nv" + "me_controller\332A\033nvme_controller,update_m" + "ask\022\240\001\n\023ListNvmeControllers\022..opi_api.st" + "orage.v1.ListNvmeControllersRequest\032/.op" + "i_api.storage.v1.ListNvmeControllersResp" + "onse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006" + "parent\022\222\001\n\021GetNvmeController\022,.opi_api.s" + "torage.v1.GetNvmeControllerRequest\032\".opi" + "_api.storage.v1.NvmeController\"+\202\323\344\223\002\036\022\034" + "/v1/{name=NvmeControllers/*}\332A\004name\022\251\001\n\023" + "StatsNvmeController\022..opi_api.storage.v1" + ".StatsNvmeControllerRequest\032/.opi_api.st" + "orage.v1.StatsNvmeControllerResponse\"1\202\323" + "\344\223\002$\022\"/v1/{name=NvmeControllers/*}:stats" + "\332A\004name\022\260\001\n\023CreateNvmeNamespace\022..opi_ap" + "i.storage.v1.CreateNvmeNamespaceRequest\032" + "!.opi_api.storage.v1.NvmeNamespace\"F\202\323\344\223" + "\002\035\"\013/v1/volumes:\016nvme_namespace\332A nvme_n" + "amespace,nvme_namespace_id\022\211\001\n\023DeleteNvm" + "eNamespace\022..opi_api.storage.v1.DeleteNv" + "meNamespaceRequest\032\026.google.protobuf.Emp" + "ty\"*\202\323\344\223\002\035*\033/v1/{name=NvmeNamespaces/*}\332" + "A\004name\022\303\001\n\023UpdateNvmeNamespace\022..opi_api" + ".storage.v1.UpdateNvmeNamespaceRequest\032!" + ".opi_api.storage.v1.NvmeNamespace\"Y\202\323\344\223\002" + "62$/v1/{nvme_namespace.name=subsystems}:" + "\016nvme_namespace\332A\032nvme_namespace,update_" + "mask\022\235\001\n\022ListNvmeNamespaces\022-.opi_api.st" + "orage.v1.ListNvmeNamespacesRequest\032..opi" + "_api.storage.v1.ListNvmeNamespacesRespon" + "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa" + "rent\022\216\001\n\020GetNvmeNamespace\022+.opi_api.stor" + "age.v1.GetNvmeNamespaceRequest\032!.opi_api" + ".storage.v1.NvmeNamespace\"*\202\323\344\223\002\035\022\033/v1/{" + "name=NvmeNamespaces/*}\332A\004name\022\245\001\n\022StatsN" + "vmeNamespace\022-.opi_api.storage.v1.StatsN" + "vmeNamespaceRequest\032..opi_api.storage.v1" + ".StatsNvmeNamespaceResponse\"0\202\323\344\223\002#\022!/v1" + "/{name=NvmeNamespaces/*}:stats\332A\004nameBd\n" + "\022opi_api.storage.v1B\025FrontendNvmePciePro" + "toP\001Z5github.com/opiproject/opi-api/stor" + "age/v1alpha1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fnvme_5fpcie_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -1031,7 +1037,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_frontend_5fnvme_5fpcie_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frontend_5fnvme_5fpcie_2eproto = { - false, false, 7646, descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto, "frontend_nvme_pcie.proto", + false, false, 8067, descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto, "frontend_nvme_pcie.proto", &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, descriptor_table_frontend_5fnvme_5fpcie_2eproto_deps, 8, 33, schemas, file_default_instances, TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets, file_level_metadata_frontend_5fnvme_5fpcie_2eproto, file_level_enum_descriptors_frontend_5fnvme_5fpcie_2eproto, file_level_service_descriptors_frontend_5fnvme_5fpcie_2eproto, @@ -1185,7 +1191,7 @@ const char* NvmeSubsystem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ 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(); @@ -1240,7 +1246,7 @@ uint8_t* NvmeSubsystem::_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()), @@ -1282,7 +1288,7 @@ size_t NvmeSubsystem::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( @@ -2054,7 +2060,7 @@ const char* NvmeController::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE 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(); @@ -2109,7 +2115,7 @@ uint8_t* NvmeController::_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()), @@ -2151,7 +2157,7 @@ size_t NvmeController::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( @@ -2396,7 +2402,7 @@ const char* NvmeControllerSpec::_InternalParse(const char* ptr, ::PROTOBUF_NAMES } else goto handle_unusual; continue; - // string subsystem_name_ref = 2; + // string subsystem_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_subsystem_name_ref(); @@ -2505,7 +2511,7 @@ uint8_t* NvmeControllerSpec::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_nvme_controller_id(), target); } - // string subsystem_name_ref = 2; + // string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { if (!this->_internal_subsystem_name_ref().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_subsystem_name_ref().data(), static_cast(this->_internal_subsystem_name_ref().length()), @@ -2585,7 +2591,7 @@ size_t NvmeControllerSpec::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string subsystem_name_ref = 2; + // string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { if (!this->_internal_subsystem_name_ref().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( @@ -3019,7 +3025,7 @@ const char* NvmeNamespace::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ 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(); @@ -3074,7 +3080,7 @@ uint8_t* NvmeNamespace::_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()), @@ -3116,7 +3122,7 @@ size_t NvmeNamespace::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( @@ -3339,7 +3345,7 @@ const char* NvmeNamespaceSpec::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // string subsystem_name_ref = 1; + // string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_subsystem_name_ref(); @@ -3383,7 +3389,7 @@ const char* NvmeNamespaceSpec::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP } else goto handle_unusual; continue; - // string volume_name_ref = 6; + // string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { auto str = _internal_mutable_volume_name_ref(); @@ -3422,7 +3428,7 @@ uint8_t* NvmeNamespaceSpec::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string subsystem_name_ref = 1; + // string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { if (!this->_internal_subsystem_name_ref().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_subsystem_name_ref().data(), static_cast(this->_internal_subsystem_name_ref().length()), @@ -3462,7 +3468,7 @@ uint8_t* NvmeNamespaceSpec::_InternalSerialize( 5, _Internal::uuid(this), target, stream); } - // string volume_name_ref = 6; + // string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; if (!this->_internal_volume_name_ref().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_volume_name_ref().data(), static_cast(this->_internal_volume_name_ref().length()), @@ -3488,7 +3494,7 @@ size_t NvmeNamespaceSpec::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string subsystem_name_ref = 1; + // string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { if (!this->_internal_subsystem_name_ref().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( @@ -3502,7 +3508,7 @@ size_t NvmeNamespaceSpec::ByteSizeLong() const { this->_internal_nguid()); } - // string volume_name_ref = 6; + // string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; if (!this->_internal_volume_name_ref().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( @@ -3922,17 +3928,17 @@ const char* CreateNvmeSubsystemRequest::_InternalParse(const char* ptr, ::PROTOB uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_nvme_subsystem(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string nvme_subsystem_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string nvme_subsystem_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_nvme_subsystem_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateNvmeSubsystemRequest.nvme_subsystem_id")); @@ -3969,22 +3975,22 @@ uint8_t* CreateNvmeSubsystemRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_subsystem()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::nvme_subsystem(this), target, stream); + 1, _Internal::nvme_subsystem(this), target, stream); } - // string nvme_subsystem_id = 3; + // string nvme_subsystem_id = 2; if (!this->_internal_nvme_subsystem_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_nvme_subsystem_id().data(), static_cast(this->_internal_nvme_subsystem_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateNvmeSubsystemRequest.nvme_subsystem_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_nvme_subsystem_id(), target); + 2, this->_internal_nvme_subsystem_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -4003,14 +4009,14 @@ size_t CreateNvmeSubsystemRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string nvme_subsystem_id = 3; + // string nvme_subsystem_id = 2; if (!this->_internal_nvme_subsystem_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_nvme_subsystem_id()); } - // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_subsystem()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -5300,84 +5306,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNvmeSubsystemRequest::GetMetadata() const { // =================================================================== -class NvmeSubsystemStatsRequest::_Internal { +class StatsNvmeSubsystemRequest::_Internal { public: }; -NvmeSubsystemStatsRequest::NvmeSubsystemStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeSubsystemRequest::StatsNvmeSubsystemRequest(::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.NvmeSubsystemStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeSubsystemRequest) } -NvmeSubsystemStatsRequest::NvmeSubsystemStatsRequest(const NvmeSubsystemStatsRequest& from) +StatsNvmeSubsystemRequest::StatsNvmeSubsystemRequest(const StatsNvmeSubsystemRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - subsystem_name_ref_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - subsystem_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_subsystem_name_ref().empty()) { - subsystem_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_subsystem_name_ref(), + 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.NvmeSubsystemStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeSubsystemRequest) } -inline void NvmeSubsystemStatsRequest::SharedCtor() { -subsystem_name_ref_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +inline void StatsNvmeSubsystemRequest::SharedCtor() { +name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - subsystem_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -NvmeSubsystemStatsRequest::~NvmeSubsystemStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeSubsystemStatsRequest) +StatsNvmeSubsystemRequest::~StatsNvmeSubsystemRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeSubsystemRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeSubsystemStatsRequest::SharedDtor() { +inline void StatsNvmeSubsystemRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - subsystem_name_ref_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NvmeSubsystemStatsRequest::ArenaDtor(void* object) { - NvmeSubsystemStatsRequest* _this = reinterpret_cast< NvmeSubsystemStatsRequest* >(object); +void StatsNvmeSubsystemRequest::ArenaDtor(void* object) { + StatsNvmeSubsystemRequest* _this = reinterpret_cast< StatsNvmeSubsystemRequest* >(object); (void)_this; } -void NvmeSubsystemStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeSubsystemRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeSubsystemStatsRequest::SetCachedSize(int size) const { +void StatsNvmeSubsystemRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeSubsystemStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeSubsystemStatsRequest) +void StatsNvmeSubsystemRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeSubsystemRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - subsystem_name_ref_.ClearToEmpty(); + name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeSubsystemStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeSubsystemRequest::_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) { - // string subsystem_name_ref = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_subsystem_name_ref(); + 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.NvmeSubsystemStatsRequest.subsystem_name_ref")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsNvmeSubsystemRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -5405,97 +5411,97 @@ const char* NvmeSubsystemStatsRequest::_InternalParse(const char* ptr, ::PROTOBU #undef CHK_ } -uint8_t* NvmeSubsystemStatsRequest::_InternalSerialize( +uint8_t* StatsNvmeSubsystemRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeSubsystemStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeSubsystemRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string subsystem_name_ref = 1; - if (!this->_internal_subsystem_name_ref().empty()) { + // 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_subsystem_name_ref().data(), static_cast(this->_internal_subsystem_name_ref().length()), + this->_internal_name().data(), static_cast(this->_internal_name().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.NvmeSubsystemStatsRequest.subsystem_name_ref"); + "opi_api.storage.v1.StatsNvmeSubsystemRequest.name"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_subsystem_name_ref(), target); + 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.NvmeSubsystemStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeSubsystemRequest) return target; } -size_t NvmeSubsystemStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeSubsystemStatsRequest) +size_t StatsNvmeSubsystemRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeSubsystemRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string subsystem_name_ref = 1; - if (!this->_internal_subsystem_name_ref().empty()) { + // 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::StringSize( - this->_internal_subsystem_name_ref()); + this->_internal_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeSubsystemStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeSubsystemRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeSubsystemStatsRequest::MergeImpl + StatsNvmeSubsystemRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeSubsystemStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeSubsystemRequest::GetClassData() const { return &_class_data_; } -void NvmeSubsystemStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeSubsystemRequest::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 NvmeSubsystemStatsRequest::MergeFrom(const NvmeSubsystemStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeSubsystemStatsRequest) +void StatsNvmeSubsystemRequest::MergeFrom(const StatsNvmeSubsystemRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeSubsystemRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_subsystem_name_ref().empty()) { - _internal_set_subsystem_name_ref(from._internal_subsystem_name_ref()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeSubsystemStatsRequest::CopyFrom(const NvmeSubsystemStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeSubsystemStatsRequest) +void StatsNvmeSubsystemRequest::CopyFrom(const StatsNvmeSubsystemRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeSubsystemRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeSubsystemStatsRequest::IsInitialized() const { +bool StatsNvmeSubsystemRequest::IsInitialized() const { return true; } -void NvmeSubsystemStatsRequest::InternalSwap(NvmeSubsystemStatsRequest* other) { +void StatsNvmeSubsystemRequest::InternalSwap(StatsNvmeSubsystemRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - &subsystem_name_ref_, lhs_arena, - &other->subsystem_name_ref_, rhs_arena + &name_, lhs_arena, + &other->name_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeSubsystemStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeSubsystemRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fnvme_5fpcie_2eproto_getter, &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, file_level_metadata_frontend_5fnvme_5fpcie_2eproto[15]); @@ -5503,31 +5509,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NvmeSubsystemStatsRequest::GetMetadata() const // =================================================================== -class NvmeSubsystemStatsResponse::_Internal { +class StatsNvmeSubsystemResponse::_Internal { public: - static const ::opi_api::storage::v1::VolumeStats& stats(const NvmeSubsystemStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsNvmeSubsystemResponse* msg); }; const ::opi_api::storage::v1::VolumeStats& -NvmeSubsystemStatsResponse::_Internal::stats(const NvmeSubsystemStatsResponse* msg) { +StatsNvmeSubsystemResponse::_Internal::stats(const StatsNvmeSubsystemResponse* msg) { return *msg->stats_; } -void NvmeSubsystemStatsResponse::clear_stats() { +void StatsNvmeSubsystemResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -NvmeSubsystemStatsResponse::NvmeSubsystemStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeSubsystemResponse::StatsNvmeSubsystemResponse(::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.NvmeSubsystemStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeSubsystemResponse) } -NvmeSubsystemStatsResponse::NvmeSubsystemStatsResponse(const NvmeSubsystemStatsResponse& from) +StatsNvmeSubsystemResponse::StatsNvmeSubsystemResponse(const StatsNvmeSubsystemResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_stats()) { @@ -5535,37 +5541,37 @@ NvmeSubsystemStatsResponse::NvmeSubsystemStatsResponse(const NvmeSubsystemStatsR } else { stats_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmeSubsystemStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeSubsystemResponse) } -inline void NvmeSubsystemStatsResponse::SharedCtor() { +inline void StatsNvmeSubsystemResponse::SharedCtor() { stats_ = nullptr; } -NvmeSubsystemStatsResponse::~NvmeSubsystemStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeSubsystemStatsResponse) +StatsNvmeSubsystemResponse::~StatsNvmeSubsystemResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeSubsystemResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeSubsystemStatsResponse::SharedDtor() { +inline void StatsNvmeSubsystemResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete stats_; } -void NvmeSubsystemStatsResponse::ArenaDtor(void* object) { - NvmeSubsystemStatsResponse* _this = reinterpret_cast< NvmeSubsystemStatsResponse* >(object); +void StatsNvmeSubsystemResponse::ArenaDtor(void* object) { + StatsNvmeSubsystemResponse* _this = reinterpret_cast< StatsNvmeSubsystemResponse* >(object); (void)_this; } -void NvmeSubsystemStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeSubsystemResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeSubsystemStatsResponse::SetCachedSize(int size) const { +void StatsNvmeSubsystemResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeSubsystemStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeSubsystemStatsResponse) +void StatsNvmeSubsystemResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeSubsystemResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -5577,7 +5583,7 @@ void NvmeSubsystemStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeSubsystemStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeSubsystemResponse::_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; @@ -5614,9 +5620,9 @@ const char* NvmeSubsystemStatsResponse::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* NvmeSubsystemStatsResponse::_InternalSerialize( +uint8_t* StatsNvmeSubsystemResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeSubsystemStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeSubsystemResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -5632,12 +5638,12 @@ uint8_t* NvmeSubsystemStatsResponse::_InternalSerialize( 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.NvmeSubsystemStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeSubsystemResponse) return target; } -size_t NvmeSubsystemStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeSubsystemStatsResponse) +size_t StatsNvmeSubsystemResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeSubsystemResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -5654,21 +5660,21 @@ size_t NvmeSubsystemStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeSubsystemStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeSubsystemResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeSubsystemStatsResponse::MergeImpl + StatsNvmeSubsystemResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeSubsystemStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeSubsystemResponse::GetClassData() const { return &_class_data_; } -void NvmeSubsystemStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeSubsystemResponse::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 NvmeSubsystemStatsResponse::MergeFrom(const NvmeSubsystemStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeSubsystemStatsResponse) +void StatsNvmeSubsystemResponse::MergeFrom(const StatsNvmeSubsystemResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeSubsystemResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -5679,24 +5685,24 @@ void NvmeSubsystemStatsResponse::MergeFrom(const NvmeSubsystemStatsResponse& fro _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeSubsystemStatsResponse::CopyFrom(const NvmeSubsystemStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeSubsystemStatsResponse) +void StatsNvmeSubsystemResponse::CopyFrom(const StatsNvmeSubsystemResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeSubsystemResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeSubsystemStatsResponse::IsInitialized() const { +bool StatsNvmeSubsystemResponse::IsInitialized() const { return true; } -void NvmeSubsystemStatsResponse::InternalSwap(NvmeSubsystemStatsResponse* other) { +void StatsNvmeSubsystemResponse::InternalSwap(StatsNvmeSubsystemResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeSubsystemStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeSubsystemResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fnvme_5fpcie_2eproto_getter, &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, file_level_metadata_frontend_5fnvme_5fpcie_2eproto[16]); @@ -5792,17 +5798,17 @@ const char* CreateNvmeControllerRequest::_InternalParse(const char* ptr, ::PROTO uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_nvme_controller(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string nvme_controller_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string nvme_controller_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_nvme_controller_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateNvmeControllerRequest.nvme_controller_id")); @@ -5839,22 +5845,22 @@ uint8_t* CreateNvmeControllerRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_controller()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::nvme_controller(this), target, stream); + 1, _Internal::nvme_controller(this), target, stream); } - // string nvme_controller_id = 3; + // string nvme_controller_id = 2; if (!this->_internal_nvme_controller_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_nvme_controller_id().data(), static_cast(this->_internal_nvme_controller_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateNvmeControllerRequest.nvme_controller_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_nvme_controller_id(), target); + 2, this->_internal_nvme_controller_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -5873,14 +5879,14 @@ size_t CreateNvmeControllerRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string nvme_controller_id = 3; + // string nvme_controller_id = 2; if (!this->_internal_nvme_controller_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_nvme_controller_id()); } - // .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_controller()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -7170,20 +7176,20 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNvmeControllerRequest::GetMetadata() const // =================================================================== -class NvmeControllerStatsRequest::_Internal { +class StatsNvmeControllerRequest::_Internal { public: }; -NvmeControllerStatsRequest::NvmeControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeControllerRequest::StatsNvmeControllerRequest(::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.NvmeControllerStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeControllerRequest) } -NvmeControllerStatsRequest::NvmeControllerStatsRequest(const NvmeControllerStatsRequest& from) +StatsNvmeControllerRequest::StatsNvmeControllerRequest(const StatsNvmeControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -7194,40 +7200,40 @@ NvmeControllerStatsRequest::NvmeControllerStatsRequest(const NvmeControllerStats name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmeControllerStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeControllerRequest) } -inline void NvmeControllerStatsRequest::SharedCtor() { +inline void StatsNvmeControllerRequest::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 } -NvmeControllerStatsRequest::~NvmeControllerStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeControllerStatsRequest) +StatsNvmeControllerRequest::~StatsNvmeControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeControllerStatsRequest::SharedDtor() { +inline void StatsNvmeControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NvmeControllerStatsRequest::ArenaDtor(void* object) { - NvmeControllerStatsRequest* _this = reinterpret_cast< NvmeControllerStatsRequest* >(object); +void StatsNvmeControllerRequest::ArenaDtor(void* object) { + StatsNvmeControllerRequest* _this = reinterpret_cast< StatsNvmeControllerRequest* >(object); (void)_this; } -void NvmeControllerStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeControllerStatsRequest::SetCachedSize(int size) const { +void StatsNvmeControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeControllerStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeControllerStatsRequest) +void StatsNvmeControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7236,18 +7242,18 @@ void NvmeControllerStatsRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeControllerStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeControllerRequest::_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) { - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { 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.NvmeControllerStatsRequest.name")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsNvmeControllerRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -7275,18 +7281,18 @@ const char* NvmeControllerStatsRequest::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* NvmeControllerStatsRequest::_InternalSerialize( +uint8_t* StatsNvmeControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeControllerStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; + // 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.NvmeControllerStatsRequest.name"); + "opi_api.storage.v1.StatsNvmeControllerRequest.name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_name(), target); } @@ -7295,19 +7301,19 @@ uint8_t* NvmeControllerStatsRequest::_InternalSerialize( 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.NvmeControllerStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeControllerRequest) return target; } -size_t NvmeControllerStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeControllerStatsRequest) +size_t StatsNvmeControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; + // 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::StringSize( @@ -7317,21 +7323,21 @@ size_t NvmeControllerStatsRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeControllerStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeControllerStatsRequest::MergeImpl + StatsNvmeControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeControllerStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeControllerRequest::GetClassData() const { return &_class_data_; } -void NvmeControllerStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeControllerRequest::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 NvmeControllerStatsRequest::MergeFrom(const NvmeControllerStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeControllerStatsRequest) +void StatsNvmeControllerRequest::MergeFrom(const StatsNvmeControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -7342,18 +7348,18 @@ void NvmeControllerStatsRequest::MergeFrom(const NvmeControllerStatsRequest& fro _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeControllerStatsRequest::CopyFrom(const NvmeControllerStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeControllerStatsRequest) +void StatsNvmeControllerRequest::CopyFrom(const StatsNvmeControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeControllerStatsRequest::IsInitialized() const { +bool StatsNvmeControllerRequest::IsInitialized() const { return true; } -void NvmeControllerStatsRequest::InternalSwap(NvmeControllerStatsRequest* other) { +void StatsNvmeControllerRequest::InternalSwap(StatsNvmeControllerRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -7365,7 +7371,7 @@ void NvmeControllerStatsRequest::InternalSwap(NvmeControllerStatsRequest* other) ); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeControllerStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fnvme_5fpcie_2eproto_getter, &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, file_level_metadata_frontend_5fnvme_5fpcie_2eproto[23]); @@ -7373,87 +7379,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NvmeControllerStatsRequest::GetMetadata() cons // =================================================================== -class NvmeControllerStatsResponse::_Internal { +class StatsNvmeControllerResponse::_Internal { public: - static const ::opi_api::storage::v1::VolumeStats& stats(const NvmeControllerStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsNvmeControllerResponse* msg); }; const ::opi_api::storage::v1::VolumeStats& -NvmeControllerStatsResponse::_Internal::stats(const NvmeControllerStatsResponse* msg) { +StatsNvmeControllerResponse::_Internal::stats(const StatsNvmeControllerResponse* msg) { return *msg->stats_; } -void NvmeControllerStatsResponse::clear_stats() { +void StatsNvmeControllerResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -NvmeControllerStatsResponse::NvmeControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeControllerResponse::StatsNvmeControllerResponse(::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.NvmeControllerStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeControllerResponse) } -NvmeControllerStatsResponse::NvmeControllerStatsResponse(const NvmeControllerStatsResponse& from) +StatsNvmeControllerResponse::StatsNvmeControllerResponse(const StatsNvmeControllerResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - 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()); - } 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.NvmeControllerStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeControllerResponse) } -inline void NvmeControllerStatsResponse::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 +inline void StatsNvmeControllerResponse::SharedCtor() { stats_ = nullptr; } -NvmeControllerStatsResponse::~NvmeControllerStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeControllerStatsResponse) +StatsNvmeControllerResponse::~StatsNvmeControllerResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeControllerResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeControllerStatsResponse::SharedDtor() { +inline void StatsNvmeControllerResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete stats_; } -void NvmeControllerStatsResponse::ArenaDtor(void* object) { - NvmeControllerStatsResponse* _this = reinterpret_cast< NvmeControllerStatsResponse* >(object); +void StatsNvmeControllerResponse::ArenaDtor(void* object) { + StatsNvmeControllerResponse* _this = reinterpret_cast< StatsNvmeControllerResponse* >(object); (void)_this; } -void NvmeControllerStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeControllerResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeControllerStatsResponse::SetCachedSize(int size) const { +void StatsNvmeControllerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeControllerStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeControllerStatsResponse) +void StatsNvmeControllerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeControllerResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - name_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -7461,25 +7453,15 @@ void NvmeControllerStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeControllerStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeControllerResponse::_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) { - // string name = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - 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.NvmeControllerStatsResponse.name")); - 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 @@ -7508,54 +7490,37 @@ const char* NvmeControllerStatsResponse::_InternalParse(const char* ptr, ::PROTO #undef CHK_ } -uint8_t* NvmeControllerStatsResponse::_InternalSerialize( +uint8_t* StatsNvmeControllerResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeControllerStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeControllerResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; - 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.NvmeControllerStatsResponse.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // .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.NvmeControllerStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeControllerResponse) return target; } -size_t NvmeControllerStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeControllerStatsResponse) +size_t StatsNvmeControllerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeControllerResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // .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( @@ -7565,59 +7530,49 @@ size_t NvmeControllerStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeControllerStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeControllerResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeControllerStatsResponse::MergeImpl + StatsNvmeControllerResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeControllerStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeControllerResponse::GetClassData() const { return &_class_data_; } -void NvmeControllerStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeControllerResponse::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 NvmeControllerStatsResponse::MergeFrom(const NvmeControllerStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeControllerStatsResponse) +void StatsNvmeControllerResponse::MergeFrom(const StatsNvmeControllerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeControllerResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } 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 NvmeControllerStatsResponse::CopyFrom(const NvmeControllerStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeControllerStatsResponse) +void StatsNvmeControllerResponse::CopyFrom(const StatsNvmeControllerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeControllerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeControllerStatsResponse::IsInitialized() const { +bool StatsNvmeControllerResponse::IsInitialized() const { return true; } -void NvmeControllerStatsResponse::InternalSwap(NvmeControllerStatsResponse* other) { +void StatsNvmeControllerResponse::InternalSwap(StatsNvmeControllerResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - &name_, lhs_arena, - &other->name_, rhs_arena - ); swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeControllerStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeControllerResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fnvme_5fpcie_2eproto_getter, &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, file_level_metadata_frontend_5fnvme_5fpcie_2eproto[24]); @@ -7713,17 +7668,17 @@ const char* CreateNvmeNamespaceRequest::_InternalParse(const char* ptr, ::PROTOB uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_nvme_namespace(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string nvme_namespace_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string nvme_namespace_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_nvme_namespace_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateNvmeNamespaceRequest.nvme_namespace_id")); @@ -7760,22 +7715,22 @@ uint8_t* CreateNvmeNamespaceRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_namespace()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::nvme_namespace(this), target, stream); + 1, _Internal::nvme_namespace(this), target, stream); } - // string nvme_namespace_id = 3; + // string nvme_namespace_id = 2; if (!this->_internal_nvme_namespace_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_nvme_namespace_id().data(), static_cast(this->_internal_nvme_namespace_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateNvmeNamespaceRequest.nvme_namespace_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_nvme_namespace_id(), target); + 2, this->_internal_nvme_namespace_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -7794,14 +7749,14 @@ size_t CreateNvmeNamespaceRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string nvme_namespace_id = 3; + // string nvme_namespace_id = 2; if (!this->_internal_nvme_namespace_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_nvme_namespace_id()); } - // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_nvme_namespace()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -9091,20 +9046,20 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNvmeNamespaceRequest::GetMetadata() const { // =================================================================== -class NvmeNamespaceStatsRequest::_Internal { +class StatsNvmeNamespaceRequest::_Internal { public: }; -NvmeNamespaceStatsRequest::NvmeNamespaceStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeNamespaceRequest::StatsNvmeNamespaceRequest(::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.NvmeNamespaceStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeNamespaceRequest) } -NvmeNamespaceStatsRequest::NvmeNamespaceStatsRequest(const NvmeNamespaceStatsRequest& from) +StatsNvmeNamespaceRequest::StatsNvmeNamespaceRequest(const StatsNvmeNamespaceRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -9115,40 +9070,40 @@ NvmeNamespaceStatsRequest::NvmeNamespaceStatsRequest(const NvmeNamespaceStatsReq name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NvmeNamespaceStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeNamespaceRequest) } -inline void NvmeNamespaceStatsRequest::SharedCtor() { +inline void StatsNvmeNamespaceRequest::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 } -NvmeNamespaceStatsRequest::~NvmeNamespaceStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeNamespaceStatsRequest) +StatsNvmeNamespaceRequest::~StatsNvmeNamespaceRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeNamespaceRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeNamespaceStatsRequest::SharedDtor() { +inline void StatsNvmeNamespaceRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NvmeNamespaceStatsRequest::ArenaDtor(void* object) { - NvmeNamespaceStatsRequest* _this = reinterpret_cast< NvmeNamespaceStatsRequest* >(object); +void StatsNvmeNamespaceRequest::ArenaDtor(void* object) { + StatsNvmeNamespaceRequest* _this = reinterpret_cast< StatsNvmeNamespaceRequest* >(object); (void)_this; } -void NvmeNamespaceStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeNamespaceRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeNamespaceStatsRequest::SetCachedSize(int size) const { +void StatsNvmeNamespaceRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeNamespaceStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeNamespaceStatsRequest) +void StatsNvmeNamespaceRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeNamespaceRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9157,18 +9112,18 @@ void NvmeNamespaceStatsRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeNamespaceStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeNamespaceRequest::_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) { - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { 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.NvmeNamespaceStatsRequest.name")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.StatsNvmeNamespaceRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -9196,18 +9151,18 @@ const char* NvmeNamespaceStatsRequest::_InternalParse(const char* ptr, ::PROTOBU #undef CHK_ } -uint8_t* NvmeNamespaceStatsRequest::_InternalSerialize( +uint8_t* StatsNvmeNamespaceRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeNamespaceStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeNamespaceRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; + // 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.NvmeNamespaceStatsRequest.name"); + "opi_api.storage.v1.StatsNvmeNamespaceRequest.name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_name(), target); } @@ -9216,19 +9171,19 @@ uint8_t* NvmeNamespaceStatsRequest::_InternalSerialize( 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.NvmeNamespaceStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeNamespaceRequest) return target; } -size_t NvmeNamespaceStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeNamespaceStatsRequest) +size_t StatsNvmeNamespaceRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeNamespaceRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; + // 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::StringSize( @@ -9238,21 +9193,21 @@ size_t NvmeNamespaceStatsRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeNamespaceStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeNamespaceRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeNamespaceStatsRequest::MergeImpl + StatsNvmeNamespaceRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeNamespaceStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeNamespaceRequest::GetClassData() const { return &_class_data_; } -void NvmeNamespaceStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeNamespaceRequest::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 NvmeNamespaceStatsRequest::MergeFrom(const NvmeNamespaceStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeNamespaceStatsRequest) +void StatsNvmeNamespaceRequest::MergeFrom(const StatsNvmeNamespaceRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeNamespaceRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -9263,18 +9218,18 @@ void NvmeNamespaceStatsRequest::MergeFrom(const NvmeNamespaceStatsRequest& from) _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NvmeNamespaceStatsRequest::CopyFrom(const NvmeNamespaceStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeNamespaceStatsRequest) +void StatsNvmeNamespaceRequest::CopyFrom(const StatsNvmeNamespaceRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeNamespaceRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeNamespaceStatsRequest::IsInitialized() const { +bool StatsNvmeNamespaceRequest::IsInitialized() const { return true; } -void NvmeNamespaceStatsRequest::InternalSwap(NvmeNamespaceStatsRequest* other) { +void StatsNvmeNamespaceRequest::InternalSwap(StatsNvmeNamespaceRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -9286,7 +9241,7 @@ void NvmeNamespaceStatsRequest::InternalSwap(NvmeNamespaceStatsRequest* other) { ); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeNamespaceStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeNamespaceRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fnvme_5fpcie_2eproto_getter, &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, file_level_metadata_frontend_5fnvme_5fpcie_2eproto[31]); @@ -9294,87 +9249,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NvmeNamespaceStatsRequest::GetMetadata() const // =================================================================== -class NvmeNamespaceStatsResponse::_Internal { +class StatsNvmeNamespaceResponse::_Internal { public: - static const ::opi_api::storage::v1::VolumeStats& stats(const NvmeNamespaceStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsNvmeNamespaceResponse* msg); }; const ::opi_api::storage::v1::VolumeStats& -NvmeNamespaceStatsResponse::_Internal::stats(const NvmeNamespaceStatsResponse* msg) { +StatsNvmeNamespaceResponse::_Internal::stats(const StatsNvmeNamespaceResponse* msg) { return *msg->stats_; } -void NvmeNamespaceStatsResponse::clear_stats() { +void StatsNvmeNamespaceResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -NvmeNamespaceStatsResponse::NvmeNamespaceStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsNvmeNamespaceResponse::StatsNvmeNamespaceResponse(::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.NvmeNamespaceStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsNvmeNamespaceResponse) } -NvmeNamespaceStatsResponse::NvmeNamespaceStatsResponse(const NvmeNamespaceStatsResponse& from) +StatsNvmeNamespaceResponse::StatsNvmeNamespaceResponse(const StatsNvmeNamespaceResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - 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()); - } 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.NvmeNamespaceStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsNvmeNamespaceResponse) } -inline void NvmeNamespaceStatsResponse::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 +inline void StatsNvmeNamespaceResponse::SharedCtor() { stats_ = nullptr; } -NvmeNamespaceStatsResponse::~NvmeNamespaceStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NvmeNamespaceStatsResponse) +StatsNvmeNamespaceResponse::~StatsNvmeNamespaceResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsNvmeNamespaceResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NvmeNamespaceStatsResponse::SharedDtor() { +inline void StatsNvmeNamespaceResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete stats_; } -void NvmeNamespaceStatsResponse::ArenaDtor(void* object) { - NvmeNamespaceStatsResponse* _this = reinterpret_cast< NvmeNamespaceStatsResponse* >(object); +void StatsNvmeNamespaceResponse::ArenaDtor(void* object) { + StatsNvmeNamespaceResponse* _this = reinterpret_cast< StatsNvmeNamespaceResponse* >(object); (void)_this; } -void NvmeNamespaceStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsNvmeNamespaceResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NvmeNamespaceStatsResponse::SetCachedSize(int size) const { +void StatsNvmeNamespaceResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NvmeNamespaceStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NvmeNamespaceStatsResponse) +void StatsNvmeNamespaceResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsNvmeNamespaceResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - name_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -9382,25 +9323,15 @@ void NvmeNamespaceStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NvmeNamespaceStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsNvmeNamespaceResponse::_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) { - // string name = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - 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.NvmeNamespaceStatsResponse.name")); - 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 @@ -9429,54 +9360,37 @@ const char* NvmeNamespaceStatsResponse::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* NvmeNamespaceStatsResponse::_InternalSerialize( +uint8_t* StatsNvmeNamespaceResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NvmeNamespaceStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsNvmeNamespaceResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1; - 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.NvmeNamespaceStatsResponse.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // .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.NvmeNamespaceStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsNvmeNamespaceResponse) return target; } -size_t NvmeNamespaceStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NvmeNamespaceStatsResponse) +size_t StatsNvmeNamespaceResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsNvmeNamespaceResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // .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( @@ -9486,59 +9400,49 @@ size_t NvmeNamespaceStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NvmeNamespaceStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsNvmeNamespaceResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NvmeNamespaceStatsResponse::MergeImpl + StatsNvmeNamespaceResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NvmeNamespaceStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsNvmeNamespaceResponse::GetClassData() const { return &_class_data_; } -void NvmeNamespaceStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsNvmeNamespaceResponse::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 NvmeNamespaceStatsResponse::MergeFrom(const NvmeNamespaceStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NvmeNamespaceStatsResponse) +void StatsNvmeNamespaceResponse::MergeFrom(const StatsNvmeNamespaceResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsNvmeNamespaceResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } 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 NvmeNamespaceStatsResponse::CopyFrom(const NvmeNamespaceStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NvmeNamespaceStatsResponse) +void StatsNvmeNamespaceResponse::CopyFrom(const StatsNvmeNamespaceResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsNvmeNamespaceResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NvmeNamespaceStatsResponse::IsInitialized() const { +bool StatsNvmeNamespaceResponse::IsInitialized() const { return true; } -void NvmeNamespaceStatsResponse::InternalSwap(NvmeNamespaceStatsResponse* other) { +void StatsNvmeNamespaceResponse::InternalSwap(StatsNvmeNamespaceResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - &name_, lhs_arena, - &other->name_, rhs_arena - ); swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata NvmeNamespaceStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsNvmeNamespaceResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fnvme_5fpcie_2eproto_getter, &descriptor_table_frontend_5fnvme_5fpcie_2eproto_once, file_level_metadata_frontend_5fnvme_5fpcie_2eproto[32]); @@ -9594,11 +9498,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNvmeSubsystemsResponse* template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNvmeSubsystemRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNvmeSubsystemRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNvmeSubsystemRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeSubsystemStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeSubsystemStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeSubsystemStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeSubsystemRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeSubsystemRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeSubsystemRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeSubsystemStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeSubsystemStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeSubsystemStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeSubsystemResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeSubsystemResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeSubsystemResponse >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateNvmeControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateNvmeControllerRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateNvmeControllerRequest >(arena); @@ -9618,11 +9522,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNvmeControllersResponse template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNvmeControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNvmeControllerRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNvmeControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeControllerStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeControllerStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeControllerStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeControllerStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeControllerStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeControllerStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeControllerResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeControllerResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeControllerResponse >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateNvmeNamespaceRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateNvmeNamespaceRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateNvmeNamespaceRequest >(arena); @@ -9642,11 +9546,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNvmeNamespacesResponse* template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNvmeNamespaceRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNvmeNamespaceRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNvmeNamespaceRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeNamespaceStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeNamespaceStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeNamespaceStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeNamespaceRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeNamespaceRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeNamespaceRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NvmeNamespaceStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NvmeNamespaceStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NvmeNamespaceStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsNvmeNamespaceResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsNvmeNamespaceResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsNvmeNamespaceResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h index a7617e80..a3df5805 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h @@ -116,12 +116,6 @@ extern NvmeControllerDefaultTypeInternal _NvmeController_default_instance_; class NvmeControllerSpec; struct NvmeControllerSpecDefaultTypeInternal; extern NvmeControllerSpecDefaultTypeInternal _NvmeControllerSpec_default_instance_; -class NvmeControllerStatsRequest; -struct NvmeControllerStatsRequestDefaultTypeInternal; -extern NvmeControllerStatsRequestDefaultTypeInternal _NvmeControllerStatsRequest_default_instance_; -class NvmeControllerStatsResponse; -struct NvmeControllerStatsResponseDefaultTypeInternal; -extern NvmeControllerStatsResponseDefaultTypeInternal _NvmeControllerStatsResponse_default_instance_; class NvmeControllerStatus; struct NvmeControllerStatusDefaultTypeInternal; extern NvmeControllerStatusDefaultTypeInternal _NvmeControllerStatus_default_instance_; @@ -131,12 +125,6 @@ extern NvmeNamespaceDefaultTypeInternal _NvmeNamespace_default_instance_; class NvmeNamespaceSpec; struct NvmeNamespaceSpecDefaultTypeInternal; extern NvmeNamespaceSpecDefaultTypeInternal _NvmeNamespaceSpec_default_instance_; -class NvmeNamespaceStatsRequest; -struct NvmeNamespaceStatsRequestDefaultTypeInternal; -extern NvmeNamespaceStatsRequestDefaultTypeInternal _NvmeNamespaceStatsRequest_default_instance_; -class NvmeNamespaceStatsResponse; -struct NvmeNamespaceStatsResponseDefaultTypeInternal; -extern NvmeNamespaceStatsResponseDefaultTypeInternal _NvmeNamespaceStatsResponse_default_instance_; class NvmeNamespaceStatus; struct NvmeNamespaceStatusDefaultTypeInternal; extern NvmeNamespaceStatusDefaultTypeInternal _NvmeNamespaceStatus_default_instance_; @@ -146,15 +134,27 @@ extern NvmeSubsystemDefaultTypeInternal _NvmeSubsystem_default_instance_; class NvmeSubsystemSpec; struct NvmeSubsystemSpecDefaultTypeInternal; extern NvmeSubsystemSpecDefaultTypeInternal _NvmeSubsystemSpec_default_instance_; -class NvmeSubsystemStatsRequest; -struct NvmeSubsystemStatsRequestDefaultTypeInternal; -extern NvmeSubsystemStatsRequestDefaultTypeInternal _NvmeSubsystemStatsRequest_default_instance_; -class NvmeSubsystemStatsResponse; -struct NvmeSubsystemStatsResponseDefaultTypeInternal; -extern NvmeSubsystemStatsResponseDefaultTypeInternal _NvmeSubsystemStatsResponse_default_instance_; class NvmeSubsystemStatus; struct NvmeSubsystemStatusDefaultTypeInternal; extern NvmeSubsystemStatusDefaultTypeInternal _NvmeSubsystemStatus_default_instance_; +class StatsNvmeControllerRequest; +struct StatsNvmeControllerRequestDefaultTypeInternal; +extern StatsNvmeControllerRequestDefaultTypeInternal _StatsNvmeControllerRequest_default_instance_; +class StatsNvmeControllerResponse; +struct StatsNvmeControllerResponseDefaultTypeInternal; +extern StatsNvmeControllerResponseDefaultTypeInternal _StatsNvmeControllerResponse_default_instance_; +class StatsNvmeNamespaceRequest; +struct StatsNvmeNamespaceRequestDefaultTypeInternal; +extern StatsNvmeNamespaceRequestDefaultTypeInternal _StatsNvmeNamespaceRequest_default_instance_; +class StatsNvmeNamespaceResponse; +struct StatsNvmeNamespaceResponseDefaultTypeInternal; +extern StatsNvmeNamespaceResponseDefaultTypeInternal _StatsNvmeNamespaceResponse_default_instance_; +class StatsNvmeSubsystemRequest; +struct StatsNvmeSubsystemRequestDefaultTypeInternal; +extern StatsNvmeSubsystemRequestDefaultTypeInternal _StatsNvmeSubsystemRequest_default_instance_; +class StatsNvmeSubsystemResponse; +struct StatsNvmeSubsystemResponseDefaultTypeInternal; +extern StatsNvmeSubsystemResponseDefaultTypeInternal _StatsNvmeSubsystemResponse_default_instance_; class UpdateNvmeControllerRequest; struct UpdateNvmeControllerRequestDefaultTypeInternal; extern UpdateNvmeControllerRequestDefaultTypeInternal _UpdateNvmeControllerRequest_default_instance_; @@ -185,19 +185,19 @@ template<> ::opi_api::storage::v1::ListNvmeSubsystemsRequest* Arena::CreateMaybe template<> ::opi_api::storage::v1::ListNvmeSubsystemsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNvmeSubsystemsResponse>(Arena*); template<> ::opi_api::storage::v1::NvmeController* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeController>(Arena*); template<> ::opi_api::storage::v1::NvmeControllerSpec* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeControllerSpec>(Arena*); -template<> ::opi_api::storage::v1::NvmeControllerStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeControllerStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::NvmeControllerStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeControllerStatsResponse>(Arena*); template<> ::opi_api::storage::v1::NvmeControllerStatus* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeControllerStatus>(Arena*); template<> ::opi_api::storage::v1::NvmeNamespace* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeNamespace>(Arena*); template<> ::opi_api::storage::v1::NvmeNamespaceSpec* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeNamespaceSpec>(Arena*); -template<> ::opi_api::storage::v1::NvmeNamespaceStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeNamespaceStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::NvmeNamespaceStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeNamespaceStatsResponse>(Arena*); template<> ::opi_api::storage::v1::NvmeNamespaceStatus* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeNamespaceStatus>(Arena*); template<> ::opi_api::storage::v1::NvmeSubsystem* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeSubsystem>(Arena*); template<> ::opi_api::storage::v1::NvmeSubsystemSpec* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeSubsystemSpec>(Arena*); -template<> ::opi_api::storage::v1::NvmeSubsystemStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeSubsystemStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::NvmeSubsystemStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeSubsystemStatsResponse>(Arena*); template<> ::opi_api::storage::v1::NvmeSubsystemStatus* Arena::CreateMaybeMessage<::opi_api::storage::v1::NvmeSubsystemStatus>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeControllerResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeControllerResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeNamespaceRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeNamespaceRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeNamespaceResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeNamespaceResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeSubsystemRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeSubsystemRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsNvmeSubsystemResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsNvmeSubsystemResponse>(Arena*); template<> ::opi_api::storage::v1::UpdateNvmeControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNvmeControllerRequest>(Arena*); template<> ::opi_api::storage::v1::UpdateNvmeNamespaceRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNvmeNamespaceRequest>(Arena*); template<> ::opi_api::storage::v1::UpdateNvmeSubsystemRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNvmeSubsystemRequest>(Arena*); @@ -387,7 +387,7 @@ class NvmeSubsystem final : kSpecFieldNumber = 2, kStatusFieldNumber = 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 @@ -939,7 +939,7 @@ class NvmeController final : kSpecFieldNumber = 2, kStatusFieldNumber = 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 @@ -1137,7 +1137,7 @@ class NvmeControllerSpec final : kCqesFieldNumber = 7, kMaxNamespacesFieldNumber = 8, }; - // string subsystem_name_ref = 2; + // string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_subsystem_name_ref(); const std::string& subsystem_name_ref() const; template @@ -1553,7 +1553,7 @@ class NvmeNamespace final : kSpecFieldNumber = 2, kStatusFieldNumber = 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 @@ -1747,7 +1747,7 @@ class NvmeNamespaceSpec final : kEui64FieldNumber = 4, kHostNsidFieldNumber = 2, }; - // string subsystem_name_ref = 1; + // string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_subsystem_name_ref(); const std::string& subsystem_name_ref() const; template @@ -1775,7 +1775,7 @@ class NvmeNamespaceSpec final : std::string* _internal_mutable_nguid(); public: - // string volume_name_ref = 6; + // string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; void clear_volume_name_ref(); const std::string& volume_name_ref() const; template @@ -2122,10 +2122,10 @@ class CreateNvmeSubsystemRequest final : // accessors ------------------------------------------------------- enum : int { - kNvmeSubsystemIdFieldNumber = 3, - kNvmeSubsystemFieldNumber = 2, + kNvmeSubsystemIdFieldNumber = 2, + kNvmeSubsystemFieldNumber = 1, }; - // string nvme_subsystem_id = 3; + // string nvme_subsystem_id = 2; void clear_nvme_subsystem_id(); const std::string& nvme_subsystem_id() const; template @@ -2139,7 +2139,7 @@ class CreateNvmeSubsystemRequest final : std::string* _internal_mutable_nvme_subsystem_id(); public: - // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_nvme_subsystem() const; private: bool _internal_has_nvme_subsystem() const; @@ -3019,24 +3019,24 @@ class GetNvmeSubsystemRequest final : }; // ------------------------------------------------------------------- -class NvmeSubsystemStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeSubsystemStatsRequest) */ { +class StatsNvmeSubsystemRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeSubsystemRequest) */ { public: - inline NvmeSubsystemStatsRequest() : NvmeSubsystemStatsRequest(nullptr) {} - ~NvmeSubsystemStatsRequest() override; - explicit constexpr NvmeSubsystemStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeSubsystemRequest() : StatsNvmeSubsystemRequest(nullptr) {} + ~StatsNvmeSubsystemRequest() override; + explicit constexpr StatsNvmeSubsystemRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeSubsystemStatsRequest(const NvmeSubsystemStatsRequest& from); - NvmeSubsystemStatsRequest(NvmeSubsystemStatsRequest&& from) noexcept - : NvmeSubsystemStatsRequest() { + StatsNvmeSubsystemRequest(const StatsNvmeSubsystemRequest& from); + StatsNvmeSubsystemRequest(StatsNvmeSubsystemRequest&& from) noexcept + : StatsNvmeSubsystemRequest() { *this = ::std::move(from); } - inline NvmeSubsystemStatsRequest& operator=(const NvmeSubsystemStatsRequest& from) { + inline StatsNvmeSubsystemRequest& operator=(const StatsNvmeSubsystemRequest& from) { CopyFrom(from); return *this; } - inline NvmeSubsystemStatsRequest& operator=(NvmeSubsystemStatsRequest&& from) noexcept { + inline StatsNvmeSubsystemRequest& operator=(StatsNvmeSubsystemRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -3059,20 +3059,20 @@ class NvmeSubsystemStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeSubsystemStatsRequest& default_instance() { + static const StatsNvmeSubsystemRequest& default_instance() { return *internal_default_instance(); } - static inline const NvmeSubsystemStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_NvmeSubsystemStatsRequest_default_instance_); + static inline const StatsNvmeSubsystemRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeSubsystemRequest_default_instance_); } static constexpr int kIndexInFileMessages = 15; - friend void swap(NvmeSubsystemStatsRequest& a, NvmeSubsystemStatsRequest& b) { + friend void swap(StatsNvmeSubsystemRequest& a, StatsNvmeSubsystemRequest& b) { a.Swap(&b); } - inline void Swap(NvmeSubsystemStatsRequest* other) { + inline void Swap(StatsNvmeSubsystemRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -3085,7 +3085,7 @@ class NvmeSubsystemStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeSubsystemStatsRequest* other) { + void UnsafeArenaSwap(StatsNvmeSubsystemRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -3093,13 +3093,13 @@ class NvmeSubsystemStatsRequest final : // implements Message ---------------------------------------------- - NvmeSubsystemStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeSubsystemRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeSubsystemStatsRequest& from); + void CopyFrom(const StatsNvmeSubsystemRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeSubsystemStatsRequest& from); + void MergeFrom(const StatsNvmeSubsystemRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -3116,15 +3116,15 @@ class NvmeSubsystemStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeSubsystemStatsRequest* other); + void InternalSwap(StatsNvmeSubsystemRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeSubsystemStatsRequest"; + return "opi_api.storage.v1.StatsNvmeSubsystemRequest"; } protected: - explicit NvmeSubsystemStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeSubsystemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -3141,53 +3141,53 @@ class NvmeSubsystemStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kSubsystemNameRefFieldNumber = 1, + kNameFieldNumber = 1, }; - // string subsystem_name_ref = 1; - void clear_subsystem_name_ref(); - const std::string& subsystem_name_ref() const; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + void clear_name(); + const std::string& name() const; template - void set_subsystem_name_ref(ArgT0&& arg0, ArgT... args); - std::string* mutable_subsystem_name_ref(); - PROTOBUF_NODISCARD std::string* release_subsystem_name_ref(); - void set_allocated_subsystem_name_ref(std::string* subsystem_name_ref); + 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 std::string& _internal_subsystem_name_ref() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_subsystem_name_ref(const std::string& value); - std::string* _internal_mutable_subsystem_name_ref(); + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeSubsystemStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeSubsystemRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subsystem_name_ref_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; // ------------------------------------------------------------------- -class NvmeSubsystemStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeSubsystemStatsResponse) */ { +class StatsNvmeSubsystemResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeSubsystemResponse) */ { public: - inline NvmeSubsystemStatsResponse() : NvmeSubsystemStatsResponse(nullptr) {} - ~NvmeSubsystemStatsResponse() override; - explicit constexpr NvmeSubsystemStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeSubsystemResponse() : StatsNvmeSubsystemResponse(nullptr) {} + ~StatsNvmeSubsystemResponse() override; + explicit constexpr StatsNvmeSubsystemResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeSubsystemStatsResponse(const NvmeSubsystemStatsResponse& from); - NvmeSubsystemStatsResponse(NvmeSubsystemStatsResponse&& from) noexcept - : NvmeSubsystemStatsResponse() { + StatsNvmeSubsystemResponse(const StatsNvmeSubsystemResponse& from); + StatsNvmeSubsystemResponse(StatsNvmeSubsystemResponse&& from) noexcept + : StatsNvmeSubsystemResponse() { *this = ::std::move(from); } - inline NvmeSubsystemStatsResponse& operator=(const NvmeSubsystemStatsResponse& from) { + inline StatsNvmeSubsystemResponse& operator=(const StatsNvmeSubsystemResponse& from) { CopyFrom(from); return *this; } - inline NvmeSubsystemStatsResponse& operator=(NvmeSubsystemStatsResponse&& from) noexcept { + inline StatsNvmeSubsystemResponse& operator=(StatsNvmeSubsystemResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -3210,20 +3210,20 @@ class NvmeSubsystemStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeSubsystemStatsResponse& default_instance() { + static const StatsNvmeSubsystemResponse& default_instance() { return *internal_default_instance(); } - static inline const NvmeSubsystemStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_NvmeSubsystemStatsResponse_default_instance_); + static inline const StatsNvmeSubsystemResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeSubsystemResponse_default_instance_); } static constexpr int kIndexInFileMessages = 16; - friend void swap(NvmeSubsystemStatsResponse& a, NvmeSubsystemStatsResponse& b) { + friend void swap(StatsNvmeSubsystemResponse& a, StatsNvmeSubsystemResponse& b) { a.Swap(&b); } - inline void Swap(NvmeSubsystemStatsResponse* other) { + inline void Swap(StatsNvmeSubsystemResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -3236,7 +3236,7 @@ class NvmeSubsystemStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeSubsystemStatsResponse* other) { + void UnsafeArenaSwap(StatsNvmeSubsystemResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -3244,13 +3244,13 @@ class NvmeSubsystemStatsResponse final : // implements Message ---------------------------------------------- - NvmeSubsystemStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeSubsystemResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeSubsystemStatsResponse& from); + void CopyFrom(const StatsNvmeSubsystemResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeSubsystemStatsResponse& from); + void MergeFrom(const StatsNvmeSubsystemResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -3267,15 +3267,15 @@ class NvmeSubsystemStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeSubsystemStatsResponse* other); + void InternalSwap(StatsNvmeSubsystemResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeSubsystemStatsResponse"; + return "opi_api.storage.v1.StatsNvmeSubsystemResponse"; } protected: - explicit NvmeSubsystemStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeSubsystemResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -3312,7 +3312,7 @@ class NvmeSubsystemStatsResponse 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.NvmeSubsystemStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeSubsystemResponse) private: class _Internal; @@ -3447,10 +3447,10 @@ class CreateNvmeControllerRequest final : // accessors ------------------------------------------------------- enum : int { - kNvmeControllerIdFieldNumber = 3, - kNvmeControllerFieldNumber = 2, + kNvmeControllerIdFieldNumber = 2, + kNvmeControllerFieldNumber = 1, }; - // string nvme_controller_id = 3; + // string nvme_controller_id = 2; void clear_nvme_controller_id(); const std::string& nvme_controller_id() const; template @@ -3464,7 +3464,7 @@ class CreateNvmeControllerRequest final : std::string* _internal_mutable_nvme_controller_id(); public: - // .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_nvme_controller() const; private: bool _internal_has_nvme_controller() const; @@ -4344,24 +4344,24 @@ class GetNvmeControllerRequest final : }; // ------------------------------------------------------------------- -class NvmeControllerStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeControllerStatsRequest) */ { +class StatsNvmeControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeControllerRequest) */ { public: - inline NvmeControllerStatsRequest() : NvmeControllerStatsRequest(nullptr) {} - ~NvmeControllerStatsRequest() override; - explicit constexpr NvmeControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeControllerRequest() : StatsNvmeControllerRequest(nullptr) {} + ~StatsNvmeControllerRequest() override; + explicit constexpr StatsNvmeControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeControllerStatsRequest(const NvmeControllerStatsRequest& from); - NvmeControllerStatsRequest(NvmeControllerStatsRequest&& from) noexcept - : NvmeControllerStatsRequest() { + StatsNvmeControllerRequest(const StatsNvmeControllerRequest& from); + StatsNvmeControllerRequest(StatsNvmeControllerRequest&& from) noexcept + : StatsNvmeControllerRequest() { *this = ::std::move(from); } - inline NvmeControllerStatsRequest& operator=(const NvmeControllerStatsRequest& from) { + inline StatsNvmeControllerRequest& operator=(const StatsNvmeControllerRequest& from) { CopyFrom(from); return *this; } - inline NvmeControllerStatsRequest& operator=(NvmeControllerStatsRequest&& from) noexcept { + inline StatsNvmeControllerRequest& operator=(StatsNvmeControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -4384,20 +4384,20 @@ class NvmeControllerStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeControllerStatsRequest& default_instance() { + static const StatsNvmeControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NvmeControllerStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_NvmeControllerStatsRequest_default_instance_); + static inline const StatsNvmeControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 23; - friend void swap(NvmeControllerStatsRequest& a, NvmeControllerStatsRequest& b) { + friend void swap(StatsNvmeControllerRequest& a, StatsNvmeControllerRequest& b) { a.Swap(&b); } - inline void Swap(NvmeControllerStatsRequest* other) { + inline void Swap(StatsNvmeControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -4410,7 +4410,7 @@ class NvmeControllerStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeControllerStatsRequest* other) { + void UnsafeArenaSwap(StatsNvmeControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -4418,13 +4418,13 @@ class NvmeControllerStatsRequest final : // implements Message ---------------------------------------------- - NvmeControllerStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeControllerStatsRequest& from); + void CopyFrom(const StatsNvmeControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeControllerStatsRequest& from); + void MergeFrom(const StatsNvmeControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -4441,15 +4441,15 @@ class NvmeControllerStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeControllerStatsRequest* other); + void InternalSwap(StatsNvmeControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeControllerStatsRequest"; + return "opi_api.storage.v1.StatsNvmeControllerRequest"; } protected: - explicit NvmeControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -4468,7 +4468,7 @@ class NvmeControllerStatsRequest final : enum : int { kNameFieldNumber = 1, }; - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_name(); const std::string& name() const; template @@ -4482,7 +4482,7 @@ class NvmeControllerStatsRequest final : std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeControllerStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeControllerRequest) private: class _Internal; @@ -4495,24 +4495,24 @@ class NvmeControllerStatsRequest final : }; // ------------------------------------------------------------------- -class NvmeControllerStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeControllerStatsResponse) */ { +class StatsNvmeControllerResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeControllerResponse) */ { public: - inline NvmeControllerStatsResponse() : NvmeControllerStatsResponse(nullptr) {} - ~NvmeControllerStatsResponse() override; - explicit constexpr NvmeControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeControllerResponse() : StatsNvmeControllerResponse(nullptr) {} + ~StatsNvmeControllerResponse() override; + explicit constexpr StatsNvmeControllerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeControllerStatsResponse(const NvmeControllerStatsResponse& from); - NvmeControllerStatsResponse(NvmeControllerStatsResponse&& from) noexcept - : NvmeControllerStatsResponse() { + StatsNvmeControllerResponse(const StatsNvmeControllerResponse& from); + StatsNvmeControllerResponse(StatsNvmeControllerResponse&& from) noexcept + : StatsNvmeControllerResponse() { *this = ::std::move(from); } - inline NvmeControllerStatsResponse& operator=(const NvmeControllerStatsResponse& from) { + inline StatsNvmeControllerResponse& operator=(const StatsNvmeControllerResponse& from) { CopyFrom(from); return *this; } - inline NvmeControllerStatsResponse& operator=(NvmeControllerStatsResponse&& from) noexcept { + inline StatsNvmeControllerResponse& operator=(StatsNvmeControllerResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -4535,20 +4535,20 @@ class NvmeControllerStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeControllerStatsResponse& default_instance() { + static const StatsNvmeControllerResponse& default_instance() { return *internal_default_instance(); } - static inline const NvmeControllerStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_NvmeControllerStatsResponse_default_instance_); + static inline const StatsNvmeControllerResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeControllerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 24; - friend void swap(NvmeControllerStatsResponse& a, NvmeControllerStatsResponse& b) { + friend void swap(StatsNvmeControllerResponse& a, StatsNvmeControllerResponse& b) { a.Swap(&b); } - inline void Swap(NvmeControllerStatsResponse* other) { + inline void Swap(StatsNvmeControllerResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -4561,7 +4561,7 @@ class NvmeControllerStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeControllerStatsResponse* other) { + void UnsafeArenaSwap(StatsNvmeControllerResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -4569,13 +4569,13 @@ class NvmeControllerStatsResponse final : // implements Message ---------------------------------------------- - NvmeControllerStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeControllerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeControllerStatsResponse& from); + void CopyFrom(const StatsNvmeControllerResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeControllerStatsResponse& from); + void MergeFrom(const StatsNvmeControllerResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -4592,15 +4592,15 @@ class NvmeControllerStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeControllerStatsResponse* other); + void InternalSwap(StatsNvmeControllerResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeControllerStatsResponse"; + return "opi_api.storage.v1.StatsNvmeControllerResponse"; } protected: - explicit NvmeControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -4617,24 +4617,9 @@ class NvmeControllerStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kNameFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // string name = 1; - 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 std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -4652,14 +4637,13 @@ class NvmeControllerStatsResponse 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.NvmeControllerStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeControllerResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; @@ -4788,10 +4772,10 @@ class CreateNvmeNamespaceRequest final : // accessors ------------------------------------------------------- enum : int { - kNvmeNamespaceIdFieldNumber = 3, - kNvmeNamespaceFieldNumber = 2, + kNvmeNamespaceIdFieldNumber = 2, + kNvmeNamespaceFieldNumber = 1, }; - // string nvme_namespace_id = 3; + // string nvme_namespace_id = 2; void clear_nvme_namespace_id(); const std::string& nvme_namespace_id() const; template @@ -4805,7 +4789,7 @@ class CreateNvmeNamespaceRequest final : std::string* _internal_mutable_nvme_namespace_id(); public: - // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_nvme_namespace() const; private: bool _internal_has_nvme_namespace() const; @@ -5685,24 +5669,24 @@ class GetNvmeNamespaceRequest final : }; // ------------------------------------------------------------------- -class NvmeNamespaceStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeNamespaceStatsRequest) */ { +class StatsNvmeNamespaceRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeNamespaceRequest) */ { public: - inline NvmeNamespaceStatsRequest() : NvmeNamespaceStatsRequest(nullptr) {} - ~NvmeNamespaceStatsRequest() override; - explicit constexpr NvmeNamespaceStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeNamespaceRequest() : StatsNvmeNamespaceRequest(nullptr) {} + ~StatsNvmeNamespaceRequest() override; + explicit constexpr StatsNvmeNamespaceRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeNamespaceStatsRequest(const NvmeNamespaceStatsRequest& from); - NvmeNamespaceStatsRequest(NvmeNamespaceStatsRequest&& from) noexcept - : NvmeNamespaceStatsRequest() { + StatsNvmeNamespaceRequest(const StatsNvmeNamespaceRequest& from); + StatsNvmeNamespaceRequest(StatsNvmeNamespaceRequest&& from) noexcept + : StatsNvmeNamespaceRequest() { *this = ::std::move(from); } - inline NvmeNamespaceStatsRequest& operator=(const NvmeNamespaceStatsRequest& from) { + inline StatsNvmeNamespaceRequest& operator=(const StatsNvmeNamespaceRequest& from) { CopyFrom(from); return *this; } - inline NvmeNamespaceStatsRequest& operator=(NvmeNamespaceStatsRequest&& from) noexcept { + inline StatsNvmeNamespaceRequest& operator=(StatsNvmeNamespaceRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -5725,20 +5709,20 @@ class NvmeNamespaceStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeNamespaceStatsRequest& default_instance() { + static const StatsNvmeNamespaceRequest& default_instance() { return *internal_default_instance(); } - static inline const NvmeNamespaceStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_NvmeNamespaceStatsRequest_default_instance_); + static inline const StatsNvmeNamespaceRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeNamespaceRequest_default_instance_); } static constexpr int kIndexInFileMessages = 31; - friend void swap(NvmeNamespaceStatsRequest& a, NvmeNamespaceStatsRequest& b) { + friend void swap(StatsNvmeNamespaceRequest& a, StatsNvmeNamespaceRequest& b) { a.Swap(&b); } - inline void Swap(NvmeNamespaceStatsRequest* other) { + inline void Swap(StatsNvmeNamespaceRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -5751,7 +5735,7 @@ class NvmeNamespaceStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeNamespaceStatsRequest* other) { + void UnsafeArenaSwap(StatsNvmeNamespaceRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -5759,13 +5743,13 @@ class NvmeNamespaceStatsRequest final : // implements Message ---------------------------------------------- - NvmeNamespaceStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeNamespaceRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeNamespaceStatsRequest& from); + void CopyFrom(const StatsNvmeNamespaceRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeNamespaceStatsRequest& from); + void MergeFrom(const StatsNvmeNamespaceRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -5782,15 +5766,15 @@ class NvmeNamespaceStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeNamespaceStatsRequest* other); + void InternalSwap(StatsNvmeNamespaceRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeNamespaceStatsRequest"; + return "opi_api.storage.v1.StatsNvmeNamespaceRequest"; } protected: - explicit NvmeNamespaceStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeNamespaceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -5809,7 +5793,7 @@ class NvmeNamespaceStatsRequest final : enum : int { kNameFieldNumber = 1, }; - // string name = 1; + // string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { void clear_name(); const std::string& name() const; template @@ -5823,7 +5807,7 @@ class NvmeNamespaceStatsRequest final : std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeNamespaceStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeNamespaceRequest) private: class _Internal; @@ -5836,24 +5820,24 @@ class NvmeNamespaceStatsRequest final : }; // ------------------------------------------------------------------- -class NvmeNamespaceStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NvmeNamespaceStatsResponse) */ { +class StatsNvmeNamespaceResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsNvmeNamespaceResponse) */ { public: - inline NvmeNamespaceStatsResponse() : NvmeNamespaceStatsResponse(nullptr) {} - ~NvmeNamespaceStatsResponse() override; - explicit constexpr NvmeNamespaceStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsNvmeNamespaceResponse() : StatsNvmeNamespaceResponse(nullptr) {} + ~StatsNvmeNamespaceResponse() override; + explicit constexpr StatsNvmeNamespaceResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NvmeNamespaceStatsResponse(const NvmeNamespaceStatsResponse& from); - NvmeNamespaceStatsResponse(NvmeNamespaceStatsResponse&& from) noexcept - : NvmeNamespaceStatsResponse() { + StatsNvmeNamespaceResponse(const StatsNvmeNamespaceResponse& from); + StatsNvmeNamespaceResponse(StatsNvmeNamespaceResponse&& from) noexcept + : StatsNvmeNamespaceResponse() { *this = ::std::move(from); } - inline NvmeNamespaceStatsResponse& operator=(const NvmeNamespaceStatsResponse& from) { + inline StatsNvmeNamespaceResponse& operator=(const StatsNvmeNamespaceResponse& from) { CopyFrom(from); return *this; } - inline NvmeNamespaceStatsResponse& operator=(NvmeNamespaceStatsResponse&& from) noexcept { + inline StatsNvmeNamespaceResponse& operator=(StatsNvmeNamespaceResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -5876,20 +5860,20 @@ class NvmeNamespaceStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NvmeNamespaceStatsResponse& default_instance() { + static const StatsNvmeNamespaceResponse& default_instance() { return *internal_default_instance(); } - static inline const NvmeNamespaceStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_NvmeNamespaceStatsResponse_default_instance_); + static inline const StatsNvmeNamespaceResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsNvmeNamespaceResponse_default_instance_); } static constexpr int kIndexInFileMessages = 32; - friend void swap(NvmeNamespaceStatsResponse& a, NvmeNamespaceStatsResponse& b) { + friend void swap(StatsNvmeNamespaceResponse& a, StatsNvmeNamespaceResponse& b) { a.Swap(&b); } - inline void Swap(NvmeNamespaceStatsResponse* other) { + inline void Swap(StatsNvmeNamespaceResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -5902,7 +5886,7 @@ class NvmeNamespaceStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NvmeNamespaceStatsResponse* other) { + void UnsafeArenaSwap(StatsNvmeNamespaceResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -5910,13 +5894,13 @@ class NvmeNamespaceStatsResponse final : // implements Message ---------------------------------------------- - NvmeNamespaceStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsNvmeNamespaceResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NvmeNamespaceStatsResponse& from); + void CopyFrom(const StatsNvmeNamespaceResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NvmeNamespaceStatsResponse& from); + void MergeFrom(const StatsNvmeNamespaceResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -5933,15 +5917,15 @@ class NvmeNamespaceStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NvmeNamespaceStatsResponse* other); + void InternalSwap(StatsNvmeNamespaceResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NvmeNamespaceStatsResponse"; + return "opi_api.storage.v1.StatsNvmeNamespaceResponse"; } protected: - explicit NvmeNamespaceStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsNvmeNamespaceResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -5958,24 +5942,9 @@ class NvmeNamespaceStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kNameFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // string name = 1; - 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 std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -5993,14 +5962,13 @@ class NvmeNamespaceStatsResponse 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.NvmeNamespaceStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeNamespaceResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; @@ -6016,7 +5984,7 @@ class NvmeNamespaceStatsResponse final : #endif // __GNUC__ // NvmeSubsystem -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void NvmeSubsystem::clear_name() { name_.ClearToEmpty(); } @@ -6534,7 +6502,7 @@ inline void NvmeSubsystemStatus::set_allocated_fru_guid(std::string* fru_guid) { // NvmeController -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void NvmeController::clear_name() { name_.ClearToEmpty(); } @@ -6789,7 +6757,7 @@ inline void NvmeControllerSpec::set_nvme_controller_id(int32_t value) { // @@protoc_insertion_point(field_set:opi_api.storage.v1.NvmeControllerSpec.nvme_controller_id) } -// string subsystem_name_ref = 2; +// string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { inline void NvmeControllerSpec::clear_subsystem_name_ref() { subsystem_name_ref_.ClearToEmpty(); } @@ -7226,7 +7194,7 @@ inline void NvmeControllerStatus::set_active(bool value) { // NvmeNamespace -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void NvmeNamespace::clear_name() { name_.ClearToEmpty(); } @@ -7461,7 +7429,7 @@ inline void NvmeNamespace::set_allocated_status(::opi_api::storage::v1::NvmeName // NvmeNamespaceSpec -// string subsystem_name_ref = 1; +// string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { inline void NvmeNamespaceSpec::clear_subsystem_name_ref() { subsystem_name_ref_.ClearToEmpty(); } @@ -7689,7 +7657,7 @@ inline void NvmeNamespaceSpec::set_allocated_uuid(::opi_api::common::v1::Uuid* u // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeNamespaceSpec.uuid) } -// string volume_name_ref = 6; +// string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; inline void NvmeNamespaceSpec::clear_volume_name_ref() { volume_name_ref_.ClearToEmpty(); } @@ -7788,7 +7756,7 @@ inline void NvmeNamespaceStatus::set_pci_oper_state(::opi_api::storage::v1::Nvme // CreateNvmeSubsystemRequest -// .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateNvmeSubsystemRequest::_internal_has_nvme_subsystem() const { return this != internal_default_instance() && nvme_subsystem_ != nullptr; } @@ -7878,7 +7846,7 @@ inline void CreateNvmeSubsystemRequest::set_allocated_nvme_subsystem(::opi_api:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNvmeSubsystemRequest.nvme_subsystem) } -// string nvme_subsystem_id = 3; +// string nvme_subsystem_id = 2; inline void CreateNvmeSubsystemRequest::clear_nvme_subsystem_id() { nvme_subsystem_id_.ClearToEmpty(); } @@ -8482,80 +8450,80 @@ inline void GetNvmeSubsystemRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// NvmeSubsystemStatsRequest +// StatsNvmeSubsystemRequest -// string subsystem_name_ref = 1; -inline void NvmeSubsystemStatsRequest::clear_subsystem_name_ref() { - subsystem_name_ref_.ClearToEmpty(); +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsNvmeSubsystemRequest::clear_name() { + name_.ClearToEmpty(); } -inline const std::string& NvmeSubsystemStatsRequest::subsystem_name_ref() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeSubsystemStatsRequest.subsystem_name_ref) - return _internal_subsystem_name_ref(); +inline const std::string& StatsNvmeSubsystemRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeSubsystemRequest.name) + return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE -void NvmeSubsystemStatsRequest::set_subsystem_name_ref(ArgT0&& arg0, ArgT... args) { +void StatsNvmeSubsystemRequest::set_name(ArgT0&& arg0, ArgT... args) { - subsystem_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NvmeSubsystemStatsRequest.subsystem_name_ref) + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsNvmeSubsystemRequest.name) } -inline std::string* NvmeSubsystemStatsRequest::mutable_subsystem_name_ref() { - std::string* _s = _internal_mutable_subsystem_name_ref(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeSubsystemStatsRequest.subsystem_name_ref) +inline std::string* StatsNvmeSubsystemRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeSubsystemRequest.name) return _s; } -inline const std::string& NvmeSubsystemStatsRequest::_internal_subsystem_name_ref() const { - return subsystem_name_ref_.Get(); +inline const std::string& StatsNvmeSubsystemRequest::_internal_name() const { + return name_.Get(); } -inline void NvmeSubsystemStatsRequest::_internal_set_subsystem_name_ref(const std::string& value) { +inline void StatsNvmeSubsystemRequest::_internal_set_name(const std::string& value) { - subsystem_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* NvmeSubsystemStatsRequest::_internal_mutable_subsystem_name_ref() { +inline std::string* StatsNvmeSubsystemRequest::_internal_mutable_name() { - return subsystem_name_ref_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* NvmeSubsystemStatsRequest::release_subsystem_name_ref() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeSubsystemStatsRequest.subsystem_name_ref) - return subsystem_name_ref_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline std::string* StatsNvmeSubsystemRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeSubsystemRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NvmeSubsystemStatsRequest::set_allocated_subsystem_name_ref(std::string* subsystem_name_ref) { - if (subsystem_name_ref != nullptr) { +inline void StatsNvmeSubsystemRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { } else { } - subsystem_name_ref_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), subsystem_name_ref, + name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (subsystem_name_ref_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - subsystem_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + 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.NvmeSubsystemStatsRequest.subsystem_name_ref) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeSubsystemRequest.name) } // ------------------------------------------------------------------- -// NvmeSubsystemStatsResponse +// StatsNvmeSubsystemResponse // .opi_api.storage.v1.VolumeStats stats = 1; -inline bool NvmeSubsystemStatsResponse::_internal_has_stats() const { +inline bool StatsNvmeSubsystemResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool NvmeSubsystemStatsResponse::has_stats() const { +inline bool StatsNvmeSubsystemResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& NvmeSubsystemStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeSubsystemResponse::_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& NvmeSubsystemStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeSubsystemStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeSubsystemResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeSubsystemResponse.stats) return _internal_stats(); } -inline void NvmeSubsystemStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsNvmeSubsystemResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -8566,9 +8534,9 @@ inline void NvmeSubsystemStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NvmeSubsystemStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsNvmeSubsystemResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* NvmeSubsystemStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeSubsystemResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -8583,14 +8551,14 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeSubsystemStatsResponse::release_ #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeSubsystemStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeSubsystemStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeSubsystemResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeSubsystemResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeSubsystemStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeSubsystemResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -8598,12 +8566,12 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeSubsystemStatsResponse::_interna } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* NvmeSubsystemStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeSubsystemResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeSubsystemStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeSubsystemResponse.stats) return _msg; } -inline void NvmeSubsystemStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsNvmeSubsystemResponse::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_); @@ -8622,14 +8590,14 @@ inline void NvmeSubsystemStatsResponse::set_allocated_stats(::opi_api::storage:: } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeSubsystemStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeSubsystemResponse.stats) } // ------------------------------------------------------------------- // CreateNvmeControllerRequest -// .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateNvmeControllerRequest::_internal_has_nvme_controller() const { return this != internal_default_instance() && nvme_controller_ != nullptr; } @@ -8719,7 +8687,7 @@ inline void CreateNvmeControllerRequest::set_allocated_nvme_controller(::opi_api // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNvmeControllerRequest.nvme_controller) } -// string nvme_controller_id = 3; +// string nvme_controller_id = 2; inline void CreateNvmeControllerRequest::clear_nvme_controller_id() { nvme_controller_id_.ClearToEmpty(); } @@ -9323,44 +9291,44 @@ inline void GetNvmeControllerRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// NvmeControllerStatsRequest +// StatsNvmeControllerRequest -// string name = 1; -inline void NvmeControllerStatsRequest::clear_name() { +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsNvmeControllerRequest::clear_name() { name_.ClearToEmpty(); } -inline const std::string& NvmeControllerStatsRequest::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeControllerStatsRequest.name) +inline const std::string& StatsNvmeControllerRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeControllerRequest.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE -void NvmeControllerStatsRequest::set_name(ArgT0&& arg0, ArgT... args) { +void StatsNvmeControllerRequest::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.NvmeControllerStatsRequest.name) + // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsNvmeControllerRequest.name) } -inline std::string* NvmeControllerStatsRequest::mutable_name() { +inline std::string* StatsNvmeControllerRequest::mutable_name() { std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeControllerStatsRequest.name) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeControllerRequest.name) return _s; } -inline const std::string& NvmeControllerStatsRequest::_internal_name() const { +inline const std::string& StatsNvmeControllerRequest::_internal_name() const { return name_.Get(); } -inline void NvmeControllerStatsRequest::_internal_set_name(const std::string& value) { +inline void StatsNvmeControllerRequest::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* NvmeControllerStatsRequest::_internal_mutable_name() { +inline std::string* StatsNvmeControllerRequest::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* NvmeControllerStatsRequest::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeControllerStatsRequest.name) +inline std::string* StatsNvmeControllerRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeControllerRequest.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NvmeControllerStatsRequest::set_allocated_name(std::string* name) { +inline void StatsNvmeControllerRequest::set_allocated_name(std::string* name) { if (name != nullptr) { } else { @@ -9373,81 +9341,30 @@ inline void NvmeControllerStatsRequest::set_allocated_name(std::string* name) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeControllerStatsRequest.name) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeControllerRequest.name) } // ------------------------------------------------------------------- -// NvmeControllerStatsResponse +// StatsNvmeControllerResponse -// string name = 1; -inline void NvmeControllerStatsResponse::clear_name() { - name_.ClearToEmpty(); -} -inline const std::string& NvmeControllerStatsResponse::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeControllerStatsResponse.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void NvmeControllerStatsResponse::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.NvmeControllerStatsResponse.name) -} -inline std::string* NvmeControllerStatsResponse::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeControllerStatsResponse.name) - return _s; -} -inline const std::string& NvmeControllerStatsResponse::_internal_name() const { - return name_.Get(); -} -inline void NvmeControllerStatsResponse::_internal_set_name(const std::string& value) { - - name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); -} -inline std::string* NvmeControllerStatsResponse::_internal_mutable_name() { - - return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); -} -inline std::string* NvmeControllerStatsResponse::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeControllerStatsResponse.name) - return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); -} -inline void NvmeControllerStatsResponse::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - 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.NvmeControllerStatsResponse.name) -} - -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool NvmeControllerStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsNvmeControllerResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool NvmeControllerStatsResponse::has_stats() const { +inline bool StatsNvmeControllerResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& NvmeControllerStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeControllerResponse::_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& NvmeControllerStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeControllerStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeControllerResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeControllerResponse.stats) return _internal_stats(); } -inline void NvmeControllerStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsNvmeControllerResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -9458,9 +9375,9 @@ inline void NvmeControllerStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NvmeControllerStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsNvmeControllerResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* NvmeControllerStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeControllerResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -9475,14 +9392,14 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeControllerStatsResponse::release #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeControllerStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeControllerStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeControllerResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeControllerResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeControllerResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -9490,12 +9407,12 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeControllerStatsResponse::_intern } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* NvmeControllerStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeControllerResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeControllerStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeControllerResponse.stats) return _msg; } -inline void NvmeControllerStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsNvmeControllerResponse::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_); @@ -9514,14 +9431,14 @@ inline void NvmeControllerStatsResponse::set_allocated_stats(::opi_api::storage: } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeControllerStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeControllerResponse.stats) } // ------------------------------------------------------------------- // CreateNvmeNamespaceRequest -// .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateNvmeNamespaceRequest::_internal_has_nvme_namespace() const { return this != internal_default_instance() && nvme_namespace_ != nullptr; } @@ -9611,7 +9528,7 @@ inline void CreateNvmeNamespaceRequest::set_allocated_nvme_namespace(::opi_api:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNvmeNamespaceRequest.nvme_namespace) } -// string nvme_namespace_id = 3; +// string nvme_namespace_id = 2; inline void CreateNvmeNamespaceRequest::clear_nvme_namespace_id() { nvme_namespace_id_.ClearToEmpty(); } @@ -10215,44 +10132,44 @@ inline void GetNvmeNamespaceRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// NvmeNamespaceStatsRequest +// StatsNvmeNamespaceRequest -// string name = 1; -inline void NvmeNamespaceStatsRequest::clear_name() { +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsNvmeNamespaceRequest::clear_name() { name_.ClearToEmpty(); } -inline const std::string& NvmeNamespaceStatsRequest::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeNamespaceStatsRequest.name) +inline const std::string& StatsNvmeNamespaceRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeNamespaceRequest.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE -void NvmeNamespaceStatsRequest::set_name(ArgT0&& arg0, ArgT... args) { +void StatsNvmeNamespaceRequest::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.NvmeNamespaceStatsRequest.name) + // @@protoc_insertion_point(field_set:opi_api.storage.v1.StatsNvmeNamespaceRequest.name) } -inline std::string* NvmeNamespaceStatsRequest::mutable_name() { +inline std::string* StatsNvmeNamespaceRequest::mutable_name() { std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeNamespaceStatsRequest.name) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeNamespaceRequest.name) return _s; } -inline const std::string& NvmeNamespaceStatsRequest::_internal_name() const { +inline const std::string& StatsNvmeNamespaceRequest::_internal_name() const { return name_.Get(); } -inline void NvmeNamespaceStatsRequest::_internal_set_name(const std::string& value) { +inline void StatsNvmeNamespaceRequest::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* NvmeNamespaceStatsRequest::_internal_mutable_name() { +inline std::string* StatsNvmeNamespaceRequest::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* NvmeNamespaceStatsRequest::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeNamespaceStatsRequest.name) +inline std::string* StatsNvmeNamespaceRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeNamespaceRequest.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NvmeNamespaceStatsRequest::set_allocated_name(std::string* name) { +inline void StatsNvmeNamespaceRequest::set_allocated_name(std::string* name) { if (name != nullptr) { } else { @@ -10265,81 +10182,30 @@ inline void NvmeNamespaceStatsRequest::set_allocated_name(std::string* name) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeNamespaceStatsRequest.name) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeNamespaceRequest.name) } // ------------------------------------------------------------------- -// NvmeNamespaceStatsResponse - -// string name = 1; -inline void NvmeNamespaceStatsResponse::clear_name() { - name_.ClearToEmpty(); -} -inline const std::string& NvmeNamespaceStatsResponse::name() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeNamespaceStatsResponse.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void NvmeNamespaceStatsResponse::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.NvmeNamespaceStatsResponse.name) -} -inline std::string* NvmeNamespaceStatsResponse::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeNamespaceStatsResponse.name) - return _s; -} -inline const std::string& NvmeNamespaceStatsResponse::_internal_name() const { - return name_.Get(); -} -inline void NvmeNamespaceStatsResponse::_internal_set_name(const std::string& value) { - - name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); -} -inline std::string* NvmeNamespaceStatsResponse::_internal_mutable_name() { - - return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); -} -inline std::string* NvmeNamespaceStatsResponse::release_name() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeNamespaceStatsResponse.name) - return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); -} -inline void NvmeNamespaceStatsResponse::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - 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.NvmeNamespaceStatsResponse.name) -} +// StatsNvmeNamespaceResponse -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool NvmeNamespaceStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsNvmeNamespaceResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool NvmeNamespaceStatsResponse::has_stats() const { +inline bool StatsNvmeNamespaceResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& NvmeNamespaceStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeNamespaceResponse::_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& NvmeNamespaceStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NvmeNamespaceStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsNvmeNamespaceResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsNvmeNamespaceResponse.stats) return _internal_stats(); } -inline void NvmeNamespaceStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsNvmeNamespaceResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -10350,9 +10216,9 @@ inline void NvmeNamespaceStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NvmeNamespaceStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsNvmeNamespaceResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* NvmeNamespaceStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeNamespaceResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -10367,14 +10233,14 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeNamespaceStatsResponse::release_ #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeNamespaceStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NvmeNamespaceStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeNamespaceResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsNvmeNamespaceResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* NvmeNamespaceStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeNamespaceResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -10382,12 +10248,12 @@ inline ::opi_api::storage::v1::VolumeStats* NvmeNamespaceStatsResponse::_interna } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* NvmeNamespaceStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsNvmeNamespaceResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NvmeNamespaceStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsNvmeNamespaceResponse.stats) return _msg; } -inline void NvmeNamespaceStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsNvmeNamespaceResponse::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_); @@ -10406,7 +10272,7 @@ inline void NvmeNamespaceStatsResponse::set_allocated_stats(::opi_api::storage:: } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NvmeNamespaceStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsNvmeNamespaceResponse.stats) } #ifdef __GNUC__ diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.cc index 8c622d3a..2de34595 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.cc @@ -29,7 +29,7 @@ static const char* FrontendVirtioBlkService_method_names[] = { "/opi_api.storage.v1.FrontendVirtioBlkService/UpdateVirtioBlk", "/opi_api.storage.v1.FrontendVirtioBlkService/ListVirtioBlks", "/opi_api.storage.v1.FrontendVirtioBlkService/GetVirtioBlk", - "/opi_api.storage.v1.FrontendVirtioBlkService/VirtioBlkStats", + "/opi_api.storage.v1.FrontendVirtioBlkService/StatsVirtioBlk", }; std::unique_ptr< FrontendVirtioBlkService::Stub> FrontendVirtioBlkService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -44,7 +44,7 @@ FrontendVirtioBlkService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInter , rpcmethod_UpdateVirtioBlk_(FrontendVirtioBlkService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListVirtioBlks_(FrontendVirtioBlkService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetVirtioBlk_(FrontendVirtioBlkService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_VirtioBlkStats_(FrontendVirtioBlkService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsVirtioBlk_(FrontendVirtioBlkService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status FrontendVirtioBlkService::Stub::CreateVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioBlkRequest& request, ::opi_api::storage::v1::VirtioBlk* response) { @@ -162,25 +162,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlk>* FrontendV return result; } -::grpc::Status FrontendVirtioBlkService::Stub::VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_VirtioBlkStats_, context, request, response); +::grpc::Status FrontendVirtioBlkService::Stub::StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsVirtioBlk_, context, request, response); } -void FrontendVirtioBlkService::Stub::async::VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioBlkStats_, context, request, response, std::move(f)); +void FrontendVirtioBlkService::Stub::async::StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioBlk_, context, request, response, std::move(f)); } -void FrontendVirtioBlkService::Stub::async::VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioBlkStats_, context, request, response, reactor); +void FrontendVirtioBlkService::Stub::async::StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioBlk_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>* FrontendVirtioBlkService::Stub::PrepareAsyncVirtioBlkStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::VirtioBlkStatsResponse, ::opi_api::storage::v1::VirtioBlkStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_VirtioBlkStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>* FrontendVirtioBlkService::Stub::PrepareAsyncStatsVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsVirtioBlkResponse, ::opi_api::storage::v1::StatsVirtioBlkRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsVirtioBlk_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>* FrontendVirtioBlkService::Stub::AsyncVirtioBlkStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>* FrontendVirtioBlkService::Stub::AsyncStatsVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncVirtioBlkStatsRaw(context, request, cq); + this->PrepareAsyncStatsVirtioBlkRaw(context, request, cq); result->StartCall(); return result; } @@ -239,12 +239,12 @@ FrontendVirtioBlkService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendVirtioBlkService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendVirtioBlkService::Service, ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendVirtioBlkService::Service, ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendVirtioBlkService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::VirtioBlkStatsRequest* req, - ::opi_api::storage::v1::VirtioBlkStatsResponse* resp) { - return service->VirtioBlkStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsVirtioBlkRequest* req, + ::opi_api::storage::v1::StatsVirtioBlkResponse* resp) { + return service->StatsVirtioBlk(ctx, req, resp); }, this))); } @@ -286,7 +286,7 @@ ::grpc::Status FrontendVirtioBlkService::Service::GetVirtioBlk(::grpc::ServerCon return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendVirtioBlkService::Service::VirtioBlkStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response) { +::grpc::Status FrontendVirtioBlkService::Service::StatsVirtioBlk(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.h b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.h index bb074dbd..abbe538d 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.grpc.pb.h @@ -78,12 +78,12 @@ class FrontendVirtioBlkService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlk>> PrepareAsyncGetVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlk>>(PrepareAsyncGetVirtioBlkRaw(context, request, cq)); } - virtual ::grpc::Status VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlkStatsResponse>> AsyncVirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlkStatsResponse>>(AsyncVirtioBlkStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioBlkResponse>> AsyncStatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioBlkResponse>>(AsyncStatsVirtioBlkRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlkStatsResponse>> PrepareAsyncVirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlkStatsResponse>>(PrepareAsyncVirtioBlkStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioBlkResponse>> PrepareAsyncStatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioBlkResponse>>(PrepareAsyncStatsVirtioBlkRaw(context, request, cq)); } class async_interface { public: @@ -98,8 +98,8 @@ class FrontendVirtioBlkService final { virtual void ListVirtioBlks(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioBlksRequest* request, ::opi_api::storage::v1::ListVirtioBlksResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest* request, ::opi_api::storage::v1::VirtioBlk* response, std::function) = 0; virtual void GetVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest* request, ::opi_api::storage::v1::VirtioBlk* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response, std::function) = 0; - virtual void VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response, std::function) = 0; + virtual void StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -115,8 +115,8 @@ class FrontendVirtioBlkService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListVirtioBlksResponse>* PrepareAsyncListVirtioBlksRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioBlksRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlk>* AsyncGetVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlk>* PrepareAsyncGetVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlkStatsResponse>* AsyncVirtioBlkStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioBlkStatsResponse>* PrepareAsyncVirtioBlkStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioBlkResponse>* AsyncStatsVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioBlkResponse>* PrepareAsyncStatsVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -156,12 +156,12 @@ class FrontendVirtioBlkService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlk>> PrepareAsyncGetVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlk>>(PrepareAsyncGetVirtioBlkRaw(context, request, cq)); } - ::grpc::Status VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>> AsyncVirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>>(AsyncVirtioBlkStatsRaw(context, request, cq)); + ::grpc::Status StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>> AsyncStatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>>(AsyncStatsVirtioBlkRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>> PrepareAsyncVirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>>(PrepareAsyncVirtioBlkStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>> PrepareAsyncStatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>>(PrepareAsyncStatsVirtioBlkRaw(context, request, cq)); } class async final : public StubInterface::async_interface { @@ -176,8 +176,8 @@ class FrontendVirtioBlkService final { void ListVirtioBlks(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioBlksRequest* request, ::opi_api::storage::v1::ListVirtioBlksResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest* request, ::opi_api::storage::v1::VirtioBlk* response, std::function) override; void GetVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest* request, ::opi_api::storage::v1::VirtioBlk* response, ::grpc::ClientUnaryReactor* reactor) override; - void VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response, std::function) override; - void VirtioBlkStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response, std::function) override; + void StatsVirtioBlk(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -199,14 +199,14 @@ class FrontendVirtioBlkService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListVirtioBlksResponse>* PrepareAsyncListVirtioBlksRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioBlksRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlk>* AsyncGetVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlk>* PrepareAsyncGetVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>* AsyncVirtioBlkStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioBlkStatsResponse>* PrepareAsyncVirtioBlkStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>* AsyncStatsVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioBlkResponse>* PrepareAsyncStatsVirtioBlkRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateVirtioBlk_; const ::grpc::internal::RpcMethod rpcmethod_DeleteVirtioBlk_; const ::grpc::internal::RpcMethod rpcmethod_UpdateVirtioBlk_; const ::grpc::internal::RpcMethod rpcmethod_ListVirtioBlks_; const ::grpc::internal::RpcMethod rpcmethod_GetVirtioBlk_; - const ::grpc::internal::RpcMethod rpcmethod_VirtioBlkStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsVirtioBlk_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -219,7 +219,7 @@ class FrontendVirtioBlkService final { virtual ::grpc::Status UpdateVirtioBlk(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateVirtioBlkRequest* request, ::opi_api::storage::v1::VirtioBlk* response); virtual ::grpc::Status ListVirtioBlks(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListVirtioBlksRequest* request, ::opi_api::storage::v1::ListVirtioBlksResponse* response); virtual ::grpc::Status GetVirtioBlk(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetVirtioBlkRequest* request, ::opi_api::storage::v1::VirtioBlk* response); - virtual ::grpc::Status VirtioBlkStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response); + virtual ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response); }; template class WithAsyncMethod_CreateVirtioBlk : public BaseClass { @@ -322,26 +322,26 @@ class FrontendVirtioBlkService final { } }; template - class WithAsyncMethod_VirtioBlkStats : public BaseClass { + class WithAsyncMethod_StatsVirtioBlk : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_VirtioBlkStats() { + WithAsyncMethod_StatsVirtioBlk() { ::grpc::Service::MarkMethodAsync(5); } - ~WithAsyncMethod_VirtioBlkStats() override { + ~WithAsyncMethod_StatsVirtioBlk() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioBlkStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioBlkStats(::grpc::ServerContext* context, ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::VirtioBlkStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioBlk(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsVirtioBlkResponse>* 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_CreateVirtioBlk > > > > > AsyncService; + typedef WithAsyncMethod_CreateVirtioBlk > > > > > AsyncService; template class WithCallbackMethod_CreateVirtioBlk : public BaseClass { private: @@ -478,33 +478,33 @@ class FrontendVirtioBlkService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::VirtioBlk* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_VirtioBlkStats : public BaseClass { + class WithCallbackMethod_StatsVirtioBlk : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_VirtioBlkStats() { + WithCallbackMethod_StatsVirtioBlk() { ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::VirtioBlkStatsRequest* request, ::opi_api::storage::v1::VirtioBlkStatsResponse* response) { return this->VirtioBlkStats(context, request, response); }));} - void SetMessageAllocatorFor_VirtioBlkStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsVirtioBlkRequest* request, ::opi_api::storage::v1::StatsVirtioBlkResponse* response) { return this->StatsVirtioBlk(context, request, response); }));} + void SetMessageAllocatorFor_StatsVirtioBlk( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_VirtioBlkStats() override { + ~WithCallbackMethod_StatsVirtioBlk() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioBlkStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioBlkStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsVirtioBlk( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_CreateVirtioBlk > > > > > CallbackService; + typedef WithCallbackMethod_CreateVirtioBlk > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_CreateVirtioBlk : public BaseClass { @@ -592,18 +592,18 @@ class FrontendVirtioBlkService final { } }; template - class WithGenericMethod_VirtioBlkStats : public BaseClass { + class WithGenericMethod_StatsVirtioBlk : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_VirtioBlkStats() { + WithGenericMethod_StatsVirtioBlk() { ::grpc::Service::MarkMethodGeneric(5); } - ~WithGenericMethod_VirtioBlkStats() override { + ~WithGenericMethod_StatsVirtioBlk() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioBlkStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -709,22 +709,22 @@ class FrontendVirtioBlkService final { } }; template - class WithRawMethod_VirtioBlkStats : public BaseClass { + class WithRawMethod_StatsVirtioBlk : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_VirtioBlkStats() { + WithRawMethod_StatsVirtioBlk() { ::grpc::Service::MarkMethodRaw(5); } - ~WithRawMethod_VirtioBlkStats() override { + ~WithRawMethod_StatsVirtioBlk() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioBlkStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioBlkStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioBlk(::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); } }; @@ -839,25 +839,25 @@ class FrontendVirtioBlkService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_VirtioBlkStats : public BaseClass { + class WithRawCallbackMethod_StatsVirtioBlk : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_VirtioBlkStats() { + WithRawCallbackMethod_StatsVirtioBlk() { ::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->VirtioBlkStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsVirtioBlk(context, request, response); })); } - ~WithRawCallbackMethod_VirtioBlkStats() override { + ~WithRawCallbackMethod_StatsVirtioBlk() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioBlkStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioBlkStats( + virtual ::grpc::ServerUnaryReactor* StatsVirtioBlk( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -996,35 +996,35 @@ class FrontendVirtioBlkService final { virtual ::grpc::Status StreamedGetVirtioBlk(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetVirtioBlkRequest,::opi_api::storage::v1::VirtioBlk>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_VirtioBlkStats : public BaseClass { + class WithStreamedUnaryMethod_StatsVirtioBlk : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_VirtioBlkStats() { + WithStreamedUnaryMethod_StatsVirtioBlk() { ::grpc::Service::MarkMethodStreamed(5, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse>( + ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::VirtioBlkStatsRequest, ::opi_api::storage::v1::VirtioBlkStatsResponse>* streamer) { - return this->StreamedVirtioBlkStats(context, + ::opi_api::storage::v1::StatsVirtioBlkRequest, ::opi_api::storage::v1::StatsVirtioBlkResponse>* streamer) { + return this->StreamedStatsVirtioBlk(context, streamer); })); } - ~WithStreamedUnaryMethod_VirtioBlkStats() override { + ~WithStreamedUnaryMethod_StatsVirtioBlk() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status VirtioBlkStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioBlkStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioBlkStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioBlk(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioBlkRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioBlkResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedVirtioBlkStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::VirtioBlkStatsRequest,::opi_api::storage::v1::VirtioBlkStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsVirtioBlk(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsVirtioBlkRequest,::opi_api::storage::v1::StatsVirtioBlkResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateVirtioBlk > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateVirtioBlk > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateVirtioBlk > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateVirtioBlk > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc index dfa59fab..c9dba822 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc @@ -22,8 +22,8 @@ namespace v1 { constexpr VirtioBlk::VirtioBlk( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , volume_name_ref_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , pcie_id_(nullptr) - , volume_id_(nullptr) , min_limit_(nullptr) , max_limit_(nullptr) , max_io_qps_(int64_t{0}){} @@ -115,31 +115,30 @@ struct GetVirtioBlkRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetVirtioBlkRequestDefaultTypeInternal _GetVirtioBlkRequest_default_instance_; -constexpr VirtioBlkStatsRequest::VirtioBlkStatsRequest( +constexpr StatsVirtioBlkRequest::StatsVirtioBlkRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_id_(nullptr){} -struct VirtioBlkStatsRequestDefaultTypeInternal { - constexpr VirtioBlkStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct StatsVirtioBlkRequestDefaultTypeInternal { + constexpr StatsVirtioBlkRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioBlkStatsRequestDefaultTypeInternal() {} + ~StatsVirtioBlkRequestDefaultTypeInternal() {} union { - VirtioBlkStatsRequest _instance; + StatsVirtioBlkRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioBlkStatsRequestDefaultTypeInternal _VirtioBlkStatsRequest_default_instance_; -constexpr VirtioBlkStatsResponse::VirtioBlkStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioBlkRequestDefaultTypeInternal _StatsVirtioBlkRequest_default_instance_; +constexpr StatsVirtioBlkResponse::StatsVirtioBlkResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(nullptr) - , stats_(nullptr){} -struct VirtioBlkStatsResponseDefaultTypeInternal { - constexpr VirtioBlkStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsVirtioBlkResponseDefaultTypeInternal { + constexpr StatsVirtioBlkResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioBlkStatsResponseDefaultTypeInternal() {} + ~StatsVirtioBlkResponseDefaultTypeInternal() {} union { - VirtioBlkStatsResponse _instance; + StatsVirtioBlkResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioBlkStatsResponseDefaultTypeInternal _VirtioBlkStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioBlkResponseDefaultTypeInternal _StatsVirtioBlkResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -156,7 +155,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets[] PROTOBUF_S ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, name_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, pcie_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, volume_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, volume_name_ref_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, max_io_qps_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, min_limit_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlk, max_limit_), @@ -210,20 +209,19 @@ const uint32_t TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets[] PROTOBUF_S ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetVirtioBlkRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlkStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioBlkRequest, _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::VirtioBlkStatsRequest, controller_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioBlkRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlkStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioBlkResponse, _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::VirtioBlkStatsResponse, id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioBlkStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioBlkResponse, stats_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlk)}, @@ -233,8 +231,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 37, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioBlksRequest)}, { 46, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioBlksResponse)}, { 54, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioBlkRequest)}, - { 61, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlkStatsRequest)}, - { 68, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlkStatsResponse)}, + { 61, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioBlkRequest)}, + { 68, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioBlkResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -245,87 +243,85 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::opi_api::storage::v1::_ListVirtioBlksRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListVirtioBlksResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetVirtioBlkRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioBlkStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioBlkStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioBlkRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioBlkResponse_default_instance_), }; const char descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\031frontend_virtio_blk.proto\022\022opi_api.sto" - "rage.v1\032\017opicommon.proto\032\020object_key.pro" - "to\032\027google/api/client.proto\032\031google/api/" - "resource.proto\032\033google/protobuf/empty.pr" - "oto\032\034google/api/annotations.proto\032\037googl" - "e/api/field_behavior.proto\032 google/proto" - "buf/field_mask.proto\"\253\002\n\tVirtioBlk\022\014\n\004na" - "me\030\001 \001(\t\0220\n\007pcie_id\030\002 \001(\0132\037.opi_api.stor" - "age.v1.PciEndpoint\022/\n\tvolume_id\030\003 \001(\0132\034." - "opi_api.common.v1.ObjectKey\022\022\n\nmax_io_qp" - "s\030\004 \001(\003\022/\n\tmin_limit\030\005 \001(\0132\034.opi_api.sto" - "rage.v1.QosLimit\022/\n\tmax_limit\030\006 \001(\0132\034.op" - "i_api.storage.v1.QosLimit:7\352A4\n storage." - "opiproject.org/VirtioBlk\022\020volumes/{volum" - "e}\"g\n\026CreateVirtioBlkRequest\0226\n\nvirtio_b" - "lk\030\002 \001(\0132\035.opi_api.storage.v1.VirtioBlkB" - "\003\340A\002\022\025\n\rvirtio_blk_id\030\003 \001(\t\"c\n\026DeleteVir" - "tioBlkRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi" - "_api.storage.v1/VirtioBlk\022\025\n\rallow_missi" - "ng\030\002 \001(\010\"\223\001\n\026UpdateVirtioBlkRequest\0221\n\nv" - "irtio_blk\030\001 \001(\0132\035.opi_api.storage.v1.Vir" - "tioBlk\022/\n\013update_mask\030\002 \001(\0132\032.google.pro" - "tobuf.FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"t" - "\n\025ListVirtioBlksRequest\0224\n\006parent\030\001 \001(\tB" - "$\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBlk\022\021\n" - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\026" - "ListVirtioBlksResponse\0222\n\013virtio_blks\030\001 " - "\003(\0132\035.opi_api.storage.v1.VirtioBlk\022\027\n\017ne" - "xt_page_token\030\002 \001(\t\"I\n\023GetVirtioBlkReque" - "st\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storag" - "e.v1/VirtioBlk\"L\n\025VirtioBlkStatsRequest\022" - "3\n\rcontroller_id\030\001 \001(\0132\034.opi_api.common." - "v1.ObjectKey\"r\n\026VirtioBlkStatsResponse\022(" - "\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" - "\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.Vol" - "umeStats2\367\006\n\030FrontendVirtioBlkService\022\230\001" - "\n\017CreateVirtioBlk\022*.opi_api.storage.v1.C" - "reateVirtioBlkRequest\032\035.opi_api.storage." - "v1.VirtioBlk\":\202\323\344\223\002\031\"\013/v1/volumes:\nvirti" - "o_blk\332A\030virtio_blk,virtio_blk_id\022\207\001\n\017Del" + "rage.v1\032\017opicommon.proto\032\027google/api/cli" + "ent.proto\032\031google/api/resource.proto\032\033go" + "ogle/protobuf/empty.proto\032\034google/api/an" + "notations.proto\032\037google/api/field_behavi" + "or.proto\032 google/protobuf/field_mask.pro" + "to\"\301\002\n\tVirtioBlk\0225\n\004name\030\001 \001(\tB\'\340A\003\340A\005\372A" + "\036\n\034opi_api.storage.v1/VirtioBlk\0220\n\007pcie_" + "id\030\002 \001(\0132\037.opi_api.storage.v1.PciEndpoin" + "t\022\034\n\017volume_name_ref\030\003 \001(\tB\003\340A\002\022\022\n\nmax_i" + "o_qps\030\004 \001(\003\022/\n\tmin_limit\030\005 \001(\0132\034.opi_api" + ".storage.v1.QosLimit\022/\n\tmax_limit\030\006 \001(\0132" + "\034.opi_api.storage.v1.QosLimit:7\352A4\n stor" + "age.opiproject.org/VirtioBlk\022\020volumes/{v" + "olume}\"g\n\026CreateVirtioBlkRequest\0226\n\nvirt" + "io_blk\030\001 \001(\0132\035.opi_api.storage.v1.Virtio" + "BlkB\003\340A\002\022\025\n\rvirtio_blk_id\030\002 \001(\t\"c\n\026Delet" + "eVirtioBlkRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n" + "\034opi_api.storage.v1/VirtioBlk\022\025\n\rallow_m" + "issing\030\002 \001(\010\"\223\001\n\026UpdateVirtioBlkRequest\022" + "1\n\nvirtio_blk\030\001 \001(\0132\035.opi_api.storage.v1" + ".VirtioBlk\022/\n\013update_mask\030\002 \001(\0132\032.google" + ".protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001" + "(\010\"t\n\025ListVirtioBlksRequest\0224\n\006parent\030\001 " + "\001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBl" + "k\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + "\"e\n\026ListVirtioBlksResponse\0222\n\013virtio_blk" + "s\030\001 \003(\0132\035.opi_api.storage.v1.VirtioBlk\022\027" + "\n\017next_page_token\030\002 \001(\t\"I\n\023GetVirtioBlkR" + "equest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.st" + "orage.v1/VirtioBlk\"K\n\025StatsVirtioBlkRequ" + "est\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.stora" + "ge.v1/VirtioBlk\"H\n\026StatsVirtioBlkRespons" + "e\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1.Vo" + "lumeStats2\216\007\n\030FrontendVirtioBlkService\022\230" + "\001\n\017CreateVirtioBlk\022*.opi_api.storage.v1." + "CreateVirtioBlkRequest\032\035.opi_api.storage" + ".v1.VirtioBlk\":\202\323\344\223\002\031\"\013/v1/volumes:\nvirt" + "io_blk\332A\030virtio_blk,virtio_blk_id\022}\n\017Del" "eteVirtioBlk\022*.opi_api.storage.v1.Delete" "VirtioBlkRequest\032\026.google.protobuf.Empty" - "\"0\202\323\344\223\002#*!/v1/{name=virtioblks}/{virtiob" - "lk}\332A\004name\022\253\001\n\017UpdateVirtioBlk\022*.opi_api" - ".storage.v1.UpdateVirtioBlkRequest\032\035.opi" - "_api.storage.v1.VirtioBlk\"M\202\323\344\223\002.2 /v1/{" - "virtio_blk.name=subsystems}:\nvirtio_blk\332" - "A\026virtio_blk,update_mask\022\221\001\n\016ListVirtioB" - "lks\022).opi_api.storage.v1.ListVirtioBlksR" - "equest\032*.opi_api.storage.v1.ListVirtioBl" - "ksResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsyste" - "ms}\332A\006parent\022\210\001\n\014GetVirtioBlk\022\'.opi_api." - "storage.v1.GetVirtioBlkRequest\032\035.opi_api" - ".storage.v1.VirtioBlk\"0\202\323\344\223\002#\022!/v1/{name" - "=subsystems}/{virtioblk}\332A\004name\022i\n\016Virti" - "oBlkStats\022).opi_api.storage.v1.VirtioBlk" - "StatsRequest\032*.opi_api.storage.v1.Virtio" - "BlkStatsResponse\"\000Be\n\022opi_api.storage.v1" - "B\026FrontendVirtioBlkProtoP\001Z5github.com/o" - "piproject/opi-api/storage/v1alpha1/gen/g" - "ob\006proto3" + "\"&\202\323\344\223\002\031*\027/v1/{name=VirtioBlks/*}\332A\004name" + "\022\253\001\n\017UpdateVirtioBlk\022*.opi_api.storage.v" + "1.UpdateVirtioBlkRequest\032\035.opi_api.stora" + "ge.v1.VirtioBlk\"M\202\323\344\223\002.2 /v1/{virtio_blk" + ".name=subsystems}:\nvirtio_blk\332A\026virtio_b" + "lk,update_mask\022\221\001\n\016ListVirtioBlks\022).opi_" + "api.storage.v1.ListVirtioBlksRequest\032*.o" + "pi_api.storage.v1.ListVirtioBlksResponse" + "\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pare" + "nt\022~\n\014GetVirtioBlk\022\'.opi_api.storage.v1." + "GetVirtioBlkRequest\032\035.opi_api.storage.v1" + ".VirtioBlk\"&\202\323\344\223\002\031\022\027/v1/{name=VirtioBlks" + "/*}\332A\004name\022\225\001\n\016StatsVirtioBlk\022).opi_api." + "storage.v1.StatsVirtioBlkRequest\032*.opi_a" + "pi.storage.v1.StatsVirtioBlkResponse\",\202\323" + "\344\223\002\037\022\035/v1/{name=VirtioBlks/*}:stats\332A\004na" + "meBe\n\022opi_api.storage.v1B\026FrontendVirtio" + "BlkProtoP\001Z5github.com/opiproject/opi-ap" + "i/storage/v1alpha1/gen/gob\006proto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fblk_2eproto_deps[8] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fblk_2eproto_deps[7] = { &::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, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_frontend_5fvirtio_5fblk_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frontend_5fvirtio_5fblk_2eproto = { - false, false, 2409, descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto, "frontend_virtio_blk.proto", - &descriptor_table_frontend_5fvirtio_5fblk_2eproto_once, descriptor_table_frontend_5fvirtio_5fblk_2eproto_deps, 8, 9, + false, false, 2393, descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto, "frontend_virtio_blk.proto", + &descriptor_table_frontend_5fvirtio_5fblk_2eproto_once, descriptor_table_frontend_5fvirtio_5fblk_2eproto_deps, 7, 9, schemas, file_default_instances, TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets, file_level_metadata_frontend_5fvirtio_5fblk_2eproto, file_level_enum_descriptors_frontend_5fvirtio_5fblk_2eproto, file_level_service_descriptors_frontend_5fvirtio_5fblk_2eproto, }; @@ -344,7 +340,6 @@ namespace v1 { class VirtioBlk::_Internal { public: static const ::opi_api::storage::v1::PciEndpoint& pcie_id(const VirtioBlk* msg); - static const ::opi_api::common::v1::ObjectKey& volume_id(const VirtioBlk* msg); static const ::opi_api::storage::v1::QosLimit& min_limit(const VirtioBlk* msg); static const ::opi_api::storage::v1::QosLimit& max_limit(const VirtioBlk* msg); }; @@ -353,10 +348,6 @@ const ::opi_api::storage::v1::PciEndpoint& VirtioBlk::_Internal::pcie_id(const VirtioBlk* msg) { return *msg->pcie_id_; } -const ::opi_api::common::v1::ObjectKey& -VirtioBlk::_Internal::volume_id(const VirtioBlk* msg) { - return *msg->volume_id_; -} const ::opi_api::storage::v1::QosLimit& VirtioBlk::_Internal::min_limit(const VirtioBlk* msg) { return *msg->min_limit_; @@ -371,12 +362,6 @@ void VirtioBlk::clear_pcie_id() { } pcie_id_ = nullptr; } -void VirtioBlk::clear_volume_id() { - if (GetArenaForAllocation() == nullptr && volume_id_ != nullptr) { - delete volume_id_; - } - volume_id_ = nullptr; -} void VirtioBlk::clear_min_limit() { if (GetArenaForAllocation() == nullptr && min_limit_ != nullptr) { delete min_limit_; @@ -409,16 +394,19 @@ VirtioBlk::VirtioBlk(const VirtioBlk& from) name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } + volume_name_ref_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + volume_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_volume_name_ref().empty()) { + volume_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_volume_name_ref(), + GetArenaForAllocation()); + } if (from._internal_has_pcie_id()) { pcie_id_ = new ::opi_api::storage::v1::PciEndpoint(*from.pcie_id_); } else { pcie_id_ = nullptr; } - if (from._internal_has_volume_id()) { - volume_id_ = new ::opi_api::common::v1::ObjectKey(*from.volume_id_); - } else { - volume_id_ = nullptr; - } if (from._internal_has_min_limit()) { min_limit_ = new ::opi_api::storage::v1::QosLimit(*from.min_limit_); } else { @@ -438,6 +426,10 @@ name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlready #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +volume_name_ref_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + volume_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&pcie_id_) - reinterpret_cast(this)), 0, static_cast(reinterpret_cast(&max_io_qps_) - @@ -454,8 +446,8 @@ VirtioBlk::~VirtioBlk() { inline void VirtioBlk::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + volume_name_ref_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete pcie_id_; - if (this != internal_default_instance()) delete volume_id_; if (this != internal_default_instance()) delete min_limit_; if (this != internal_default_instance()) delete max_limit_; } @@ -477,14 +469,11 @@ void VirtioBlk::Clear() { (void) cached_has_bits; name_.ClearToEmpty(); + volume_name_ref_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && pcie_id_ != nullptr) { delete pcie_id_; } pcie_id_ = nullptr; - if (GetArenaForAllocation() == nullptr && volume_id_ != nullptr) { - delete volume_id_; - } - volume_id_ = nullptr; if (GetArenaForAllocation() == nullptr && min_limit_ != nullptr) { delete min_limit_; } @@ -503,7 +492,7 @@ const char* VirtioBlk::_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(); @@ -521,10 +510,12 @@ const char* VirtioBlk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:: } else goto handle_unusual; continue; - // .opi_api.common.v1.ObjectKey volume_id = 3; + // string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_volume_id(), ptr); + auto str = _internal_mutable_volume_name_ref(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.VirtioBlk.volume_name_ref")); CHK_(ptr); } else goto handle_unusual; @@ -582,7 +573,7 @@ uint8_t* VirtioBlk::_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()), @@ -600,12 +591,14 @@ uint8_t* VirtioBlk::_InternalSerialize( 2, _Internal::pcie_id(this), target, stream); } - // .opi_api.common.v1.ObjectKey volume_id = 3; - if (this->_internal_has_volume_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 3, _Internal::volume_id(this), target, stream); + // string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + if (!this->_internal_volume_name_ref().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_volume_name_ref().data(), static_cast(this->_internal_volume_name_ref().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.VirtioBlk.volume_name_ref"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_volume_name_ref(), target); } // int64 max_io_qps = 4; @@ -646,25 +639,25 @@ size_t VirtioBlk::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()); } - // .opi_api.storage.v1.PciEndpoint pcie_id = 2; - if (this->_internal_has_pcie_id()) { + // string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + if (!this->_internal_volume_name_ref().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *pcie_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_volume_name_ref()); } - // .opi_api.common.v1.ObjectKey volume_id = 3; - if (this->_internal_has_volume_id()) { + // .opi_api.storage.v1.PciEndpoint pcie_id = 2; + if (this->_internal_has_pcie_id()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *volume_id_); + *pcie_id_); } // .opi_api.storage.v1.QosLimit min_limit = 5; @@ -711,12 +704,12 @@ void VirtioBlk::MergeFrom(const VirtioBlk& from) { if (!from._internal_name().empty()) { _internal_set_name(from._internal_name()); } + if (!from._internal_volume_name_ref().empty()) { + _internal_set_volume_name_ref(from._internal_volume_name_ref()); + } if (from._internal_has_pcie_id()) { _internal_mutable_pcie_id()->::opi_api::storage::v1::PciEndpoint::MergeFrom(from._internal_pcie_id()); } - if (from._internal_has_volume_id()) { - _internal_mutable_volume_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_volume_id()); - } if (from._internal_has_min_limit()) { _internal_mutable_min_limit()->::opi_api::storage::v1::QosLimit::MergeFrom(from._internal_min_limit()); } @@ -750,6 +743,11 @@ void VirtioBlk::InternalSwap(VirtioBlk* other) { &name_, lhs_arena, &other->name_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &volume_name_ref_, lhs_arena, + &other->volume_name_ref_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(VirtioBlk, max_io_qps_) + sizeof(VirtioBlk::max_io_qps_) @@ -854,17 +852,17 @@ const char* CreateVirtioBlkRequest::_InternalParse(const char* ptr, ::PROTOBUF_N uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_virtio_blk(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string virtio_blk_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string virtio_blk_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_virtio_blk_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateVirtioBlkRequest.virtio_blk_id")); @@ -901,22 +899,22 @@ uint8_t* CreateVirtioBlkRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_blk()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::virtio_blk(this), target, stream); + 1, _Internal::virtio_blk(this), target, stream); } - // string virtio_blk_id = 3; + // string virtio_blk_id = 2; if (!this->_internal_virtio_blk_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_virtio_blk_id().data(), static_cast(this->_internal_virtio_blk_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateVirtioBlkRequest.virtio_blk_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_virtio_blk_id(), target); + 2, this->_internal_virtio_blk_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -935,14 +933,14 @@ size_t CreateVirtioBlkRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string virtio_blk_id = 3; + // string virtio_blk_id = 2; if (!this->_internal_virtio_blk_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_virtio_blk_id()); } - // .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_blk()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -2232,90 +2230,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetVirtioBlkRequest::GetMetadata() const { // =================================================================== -class VirtioBlkStatsRequest::_Internal { +class StatsVirtioBlkRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& controller_id(const VirtioBlkStatsRequest* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioBlkStatsRequest::_Internal::controller_id(const VirtioBlkStatsRequest* msg) { - return *msg->controller_id_; -} -void VirtioBlkStatsRequest::clear_controller_id() { - if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { - delete controller_id_; - } - controller_id_ = nullptr; -} -VirtioBlkStatsRequest::VirtioBlkStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioBlkRequest::StatsVirtioBlkRequest(::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.VirtioBlkStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioBlkRequest) } -VirtioBlkStatsRequest::VirtioBlkStatsRequest(const VirtioBlkStatsRequest& from) +StatsVirtioBlkRequest::StatsVirtioBlkRequest(const StatsVirtioBlkRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_controller_id()) { - controller_id_ = new ::opi_api::common::v1::ObjectKey(*from.controller_id_); - } else { - controller_id_ = 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.VirtioBlkStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioBlkRequest) } -inline void VirtioBlkStatsRequest::SharedCtor() { -controller_id_ = nullptr; +inline void StatsVirtioBlkRequest::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 } -VirtioBlkStatsRequest::~VirtioBlkStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioBlkStatsRequest) +StatsVirtioBlkRequest::~StatsVirtioBlkRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioBlkRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioBlkStatsRequest::SharedDtor() { +inline void StatsVirtioBlkRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete controller_id_; + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void VirtioBlkStatsRequest::ArenaDtor(void* object) { - VirtioBlkStatsRequest* _this = reinterpret_cast< VirtioBlkStatsRequest* >(object); +void StatsVirtioBlkRequest::ArenaDtor(void* object) { + StatsVirtioBlkRequest* _this = reinterpret_cast< StatsVirtioBlkRequest* >(object); (void)_this; } -void VirtioBlkStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioBlkRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioBlkStatsRequest::SetCachedSize(int size) const { +void StatsVirtioBlkRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioBlkStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioBlkStatsRequest) +void StatsVirtioBlkRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioBlkRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { - delete controller_id_; - } - controller_id_ = nullptr; + name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioBlkStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioBlkRequest::_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 controller_id = 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_controller_id(), 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.StatsVirtioBlkRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -2343,89 +2335,97 @@ const char* VirtioBlkStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NA #undef CHK_ } -uint8_t* VirtioBlkStatsRequest::_InternalSerialize( +uint8_t* StatsVirtioBlkRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioBlkStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioBlkRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey controller_id = 1; - if (this->_internal_has_controller_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::controller_id(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.StatsVirtioBlkRequest.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.VirtioBlkStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioBlkRequest) return target; } -size_t VirtioBlkStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioBlkStatsRequest) +size_t StatsVirtioBlkRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioBlkRequest) 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 controller_id = 1; - if (this->_internal_has_controller_id()) { + // 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( - *controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioBlkStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioBlkRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioBlkStatsRequest::MergeImpl + StatsVirtioBlkRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioBlkStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioBlkRequest::GetClassData() const { return &_class_data_; } -void VirtioBlkStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioBlkRequest::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 VirtioBlkStatsRequest::MergeFrom(const VirtioBlkStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioBlkStatsRequest) +void StatsVirtioBlkRequest::MergeFrom(const StatsVirtioBlkRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioBlkRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_controller_id()) { - _internal_mutable_controller_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_controller_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void VirtioBlkStatsRequest::CopyFrom(const VirtioBlkStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioBlkStatsRequest) +void StatsVirtioBlkRequest::CopyFrom(const StatsVirtioBlkRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioBlkRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioBlkStatsRequest::IsInitialized() const { +bool StatsVirtioBlkRequest::IsInitialized() const { return true; } -void VirtioBlkStatsRequest::InternalSwap(VirtioBlkStatsRequest* other) { +void StatsVirtioBlkRequest::InternalSwap(StatsVirtioBlkRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_id_, other->controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &name_, lhs_arena, + &other->name_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioBlkStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioBlkRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fblk_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fblk_2eproto_once, file_level_metadata_frontend_5fvirtio_5fblk_2eproto[7]); @@ -2433,97 +2433,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioBlkStatsRequest::GetMetadata() const { // =================================================================== -class VirtioBlkStatsResponse::_Internal { +class StatsVirtioBlkResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& id(const VirtioBlkStatsResponse* msg); - static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioBlkStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsVirtioBlkResponse* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioBlkStatsResponse::_Internal::id(const VirtioBlkStatsResponse* msg) { - return *msg->id_; -} const ::opi_api::storage::v1::VolumeStats& -VirtioBlkStatsResponse::_Internal::stats(const VirtioBlkStatsResponse* msg) { +StatsVirtioBlkResponse::_Internal::stats(const StatsVirtioBlkResponse* msg) { return *msg->stats_; } -void VirtioBlkStatsResponse::clear_id() { - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void VirtioBlkStatsResponse::clear_stats() { +void StatsVirtioBlkResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -VirtioBlkStatsResponse::VirtioBlkStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioBlkResponse::StatsVirtioBlkResponse(::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.VirtioBlkStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioBlkResponse) } -VirtioBlkStatsResponse::VirtioBlkStatsResponse(const VirtioBlkStatsResponse& from) +StatsVirtioBlkResponse::StatsVirtioBlkResponse(const StatsVirtioBlkResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_id()) { - id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); - } else { - id_ = 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.VirtioBlkStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioBlkResponse) } -inline void VirtioBlkStatsResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&stats_) - - reinterpret_cast(&id_)) + sizeof(stats_)); +inline void StatsVirtioBlkResponse::SharedCtor() { +stats_ = nullptr; } -VirtioBlkStatsResponse::~VirtioBlkStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioBlkStatsResponse) +StatsVirtioBlkResponse::~StatsVirtioBlkResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioBlkResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioBlkStatsResponse::SharedDtor() { +inline void StatsVirtioBlkResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete stats_; } -void VirtioBlkStatsResponse::ArenaDtor(void* object) { - VirtioBlkStatsResponse* _this = reinterpret_cast< VirtioBlkStatsResponse* >(object); +void StatsVirtioBlkResponse::ArenaDtor(void* object) { + StatsVirtioBlkResponse* _this = reinterpret_cast< StatsVirtioBlkResponse* >(object); (void)_this; } -void VirtioBlkStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioBlkResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioBlkStatsResponse::SetCachedSize(int size) const { +void StatsVirtioBlkResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioBlkStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioBlkStatsResponse) +void StatsVirtioBlkResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioBlkResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -2531,23 +2507,15 @@ void VirtioBlkStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioBlkStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioBlkResponse::_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 id = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_id(), 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 @@ -2576,52 +2544,37 @@ const char* VirtioBlkStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_N #undef CHK_ } -uint8_t* VirtioBlkStatsResponse::_InternalSerialize( +uint8_t* StatsVirtioBlkResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioBlkStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioBlkResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey id = 1; - if (this->_internal_has_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::id(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.VirtioBlkStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioBlkResponse) return target; } -size_t VirtioBlkStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioBlkStatsResponse) +size_t StatsVirtioBlkResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioBlkResponse) 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 id = 1; - if (this->_internal_has_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *id_); - } - - // .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( @@ -2631,57 +2584,49 @@ size_t VirtioBlkStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioBlkStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioBlkResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioBlkStatsResponse::MergeImpl + StatsVirtioBlkResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioBlkStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioBlkResponse::GetClassData() const { return &_class_data_; } -void VirtioBlkStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioBlkResponse::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 VirtioBlkStatsResponse::MergeFrom(const VirtioBlkStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioBlkStatsResponse) +void StatsVirtioBlkResponse::MergeFrom(const StatsVirtioBlkResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioBlkResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_id()) { - _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); - } 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 VirtioBlkStatsResponse::CopyFrom(const VirtioBlkStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioBlkStatsResponse) +void StatsVirtioBlkResponse::CopyFrom(const StatsVirtioBlkResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioBlkResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioBlkStatsResponse::IsInitialized() const { +bool StatsVirtioBlkResponse::IsInitialized() const { return true; } -void VirtioBlkStatsResponse::InternalSwap(VirtioBlkStatsResponse* other) { +void StatsVirtioBlkResponse::InternalSwap(StatsVirtioBlkResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(VirtioBlkStatsResponse, stats_) - + sizeof(VirtioBlkStatsResponse::stats_) - - PROTOBUF_FIELD_OFFSET(VirtioBlkStatsResponse, id_)>( - reinterpret_cast(&id_), - reinterpret_cast(&other->id_)); + swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioBlkStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioBlkResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fblk_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fblk_2eproto_once, file_level_metadata_frontend_5fvirtio_5fblk_2eproto[8]); @@ -2713,11 +2658,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListVirtioBlksResponse* Are template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetVirtioBlkRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetVirtioBlkRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetVirtioBlkRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioBlkStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioBlkStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioBlkStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioBlkRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioBlkRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioBlkRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioBlkStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioBlkStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioBlkStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioBlkResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioBlkResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioBlkResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h index 97a72e9a..2e90eb80 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h @@ -32,7 +32,6 @@ #include // IWYU pragma: export #include #include "opicommon.pb.h" -#include "object_key.pb.h" #include "google/api/client.pb.h" #include "google/api/resource.pb.h" #include @@ -79,18 +78,18 @@ extern ListVirtioBlksRequestDefaultTypeInternal _ListVirtioBlksRequest_default_i class ListVirtioBlksResponse; struct ListVirtioBlksResponseDefaultTypeInternal; extern ListVirtioBlksResponseDefaultTypeInternal _ListVirtioBlksResponse_default_instance_; +class StatsVirtioBlkRequest; +struct StatsVirtioBlkRequestDefaultTypeInternal; +extern StatsVirtioBlkRequestDefaultTypeInternal _StatsVirtioBlkRequest_default_instance_; +class StatsVirtioBlkResponse; +struct StatsVirtioBlkResponseDefaultTypeInternal; +extern StatsVirtioBlkResponseDefaultTypeInternal _StatsVirtioBlkResponse_default_instance_; class UpdateVirtioBlkRequest; struct UpdateVirtioBlkRequestDefaultTypeInternal; extern UpdateVirtioBlkRequestDefaultTypeInternal _UpdateVirtioBlkRequest_default_instance_; class VirtioBlk; struct VirtioBlkDefaultTypeInternal; extern VirtioBlkDefaultTypeInternal _VirtioBlk_default_instance_; -class VirtioBlkStatsRequest; -struct VirtioBlkStatsRequestDefaultTypeInternal; -extern VirtioBlkStatsRequestDefaultTypeInternal _VirtioBlkStatsRequest_default_instance_; -class VirtioBlkStatsResponse; -struct VirtioBlkStatsResponseDefaultTypeInternal; -extern VirtioBlkStatsResponseDefaultTypeInternal _VirtioBlkStatsResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -100,10 +99,10 @@ template<> ::opi_api::storage::v1::DeleteVirtioBlkRequest* Arena::CreateMaybeMes template<> ::opi_api::storage::v1::GetVirtioBlkRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::GetVirtioBlkRequest>(Arena*); template<> ::opi_api::storage::v1::ListVirtioBlksRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListVirtioBlksRequest>(Arena*); template<> ::opi_api::storage::v1::ListVirtioBlksResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListVirtioBlksResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioBlkRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioBlkRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioBlkResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioBlkResponse>(Arena*); template<> ::opi_api::storage::v1::UpdateVirtioBlkRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateVirtioBlkRequest>(Arena*); template<> ::opi_api::storage::v1::VirtioBlk* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioBlk>(Arena*); -template<> ::opi_api::storage::v1::VirtioBlkStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioBlkStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::VirtioBlkStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioBlkStatsResponse>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { namespace storage { @@ -234,13 +233,13 @@ class VirtioBlk final : enum : int { kNameFieldNumber = 1, + kVolumeNameRefFieldNumber = 3, kPcieIdFieldNumber = 2, - kVolumeIdFieldNumber = 3, kMinLimitFieldNumber = 5, kMaxLimitFieldNumber = 6, kMaxIoQpsFieldNumber = 4, }; - // 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 @@ -254,6 +253,20 @@ class VirtioBlk final : std::string* _internal_mutable_name(); public: + // string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + void clear_volume_name_ref(); + const std::string& volume_name_ref() const; + template + void set_volume_name_ref(ArgT0&& arg0, ArgT... args); + std::string* mutable_volume_name_ref(); + PROTOBUF_NODISCARD std::string* release_volume_name_ref(); + void set_allocated_volume_name_ref(std::string* volume_name_ref); + private: + const std::string& _internal_volume_name_ref() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_volume_name_ref(const std::string& value); + std::string* _internal_mutable_volume_name_ref(); + public: + // .opi_api.storage.v1.PciEndpoint pcie_id = 2; bool has_pcie_id() const; private: @@ -272,24 +285,6 @@ class VirtioBlk final : ::opi_api::storage::v1::PciEndpoint* pcie_id); ::opi_api::storage::v1::PciEndpoint* unsafe_arena_release_pcie_id(); - // .opi_api.common.v1.ObjectKey volume_id = 3; - bool has_volume_id() const; - private: - bool _internal_has_volume_id() const; - public: - void clear_volume_id(); - const ::opi_api::common::v1::ObjectKey& volume_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_volume_id(); - ::opi_api::common::v1::ObjectKey* mutable_volume_id(); - void set_allocated_volume_id(::opi_api::common::v1::ObjectKey* volume_id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_volume_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_volume_id(); - public: - void unsafe_arena_set_allocated_volume_id( - ::opi_api::common::v1::ObjectKey* volume_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_volume_id(); - // .opi_api.storage.v1.QosLimit min_limit = 5; bool has_min_limit() const; private: @@ -343,8 +338,8 @@ class VirtioBlk final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr volume_name_ref_; ::opi_api::storage::v1::PciEndpoint* pcie_id_; - ::opi_api::common::v1::ObjectKey* volume_id_; ::opi_api::storage::v1::QosLimit* min_limit_; ::opi_api::storage::v1::QosLimit* max_limit_; int64_t max_io_qps_; @@ -475,10 +470,10 @@ class CreateVirtioBlkRequest final : // accessors ------------------------------------------------------- enum : int { - kVirtioBlkIdFieldNumber = 3, - kVirtioBlkFieldNumber = 2, + kVirtioBlkIdFieldNumber = 2, + kVirtioBlkFieldNumber = 1, }; - // string virtio_blk_id = 3; + // string virtio_blk_id = 2; void clear_virtio_blk_id(); const std::string& virtio_blk_id() const; template @@ -492,7 +487,7 @@ class CreateVirtioBlkRequest final : std::string* _internal_mutable_virtio_blk_id(); public: - // .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_virtio_blk() const; private: bool _internal_has_virtio_blk() const; @@ -1372,24 +1367,24 @@ class GetVirtioBlkRequest final : }; // ------------------------------------------------------------------- -class VirtioBlkStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioBlkStatsRequest) */ { +class StatsVirtioBlkRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioBlkRequest) */ { public: - inline VirtioBlkStatsRequest() : VirtioBlkStatsRequest(nullptr) {} - ~VirtioBlkStatsRequest() override; - explicit constexpr VirtioBlkStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioBlkRequest() : StatsVirtioBlkRequest(nullptr) {} + ~StatsVirtioBlkRequest() override; + explicit constexpr StatsVirtioBlkRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioBlkStatsRequest(const VirtioBlkStatsRequest& from); - VirtioBlkStatsRequest(VirtioBlkStatsRequest&& from) noexcept - : VirtioBlkStatsRequest() { + StatsVirtioBlkRequest(const StatsVirtioBlkRequest& from); + StatsVirtioBlkRequest(StatsVirtioBlkRequest&& from) noexcept + : StatsVirtioBlkRequest() { *this = ::std::move(from); } - inline VirtioBlkStatsRequest& operator=(const VirtioBlkStatsRequest& from) { + inline StatsVirtioBlkRequest& operator=(const StatsVirtioBlkRequest& from) { CopyFrom(from); return *this; } - inline VirtioBlkStatsRequest& operator=(VirtioBlkStatsRequest&& from) noexcept { + inline StatsVirtioBlkRequest& operator=(StatsVirtioBlkRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1412,20 +1407,20 @@ class VirtioBlkStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioBlkStatsRequest& default_instance() { + static const StatsVirtioBlkRequest& default_instance() { return *internal_default_instance(); } - static inline const VirtioBlkStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_VirtioBlkStatsRequest_default_instance_); + static inline const StatsVirtioBlkRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioBlkRequest_default_instance_); } static constexpr int kIndexInFileMessages = 7; - friend void swap(VirtioBlkStatsRequest& a, VirtioBlkStatsRequest& b) { + friend void swap(StatsVirtioBlkRequest& a, StatsVirtioBlkRequest& b) { a.Swap(&b); } - inline void Swap(VirtioBlkStatsRequest* other) { + inline void Swap(StatsVirtioBlkRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1438,7 +1433,7 @@ class VirtioBlkStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioBlkStatsRequest* other) { + void UnsafeArenaSwap(StatsVirtioBlkRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1446,13 +1441,13 @@ class VirtioBlkStatsRequest final : // implements Message ---------------------------------------------- - VirtioBlkStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioBlkRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioBlkStatsRequest& from); + void CopyFrom(const StatsVirtioBlkRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioBlkStatsRequest& from); + void MergeFrom(const StatsVirtioBlkRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1469,15 +1464,15 @@ class VirtioBlkStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioBlkStatsRequest* other); + void InternalSwap(StatsVirtioBlkRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioBlkStatsRequest"; + return "opi_api.storage.v1.StatsVirtioBlkRequest"; } protected: - explicit VirtioBlkStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioBlkRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1494,57 +1489,53 @@ class VirtioBlkStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kControllerIdFieldNumber = 1, + kNameFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey controller_id = 1; - bool has_controller_id() const; + // 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: - bool _internal_has_controller_id() const; - public: - void clear_controller_id(); - const ::opi_api::common::v1::ObjectKey& controller_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_controller_id(); - ::opi_api::common::v1::ObjectKey* mutable_controller_id(); - void set_allocated_controller_id(::opi_api::common::v1::ObjectKey* controller_id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_controller_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_controller_id(); + 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_controller_id( - ::opi_api::common::v1::ObjectKey* controller_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_controller_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioBlkStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioBlkRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* controller_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fblk_2eproto; }; // ------------------------------------------------------------------- -class VirtioBlkStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioBlkStatsResponse) */ { +class StatsVirtioBlkResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioBlkResponse) */ { public: - inline VirtioBlkStatsResponse() : VirtioBlkStatsResponse(nullptr) {} - ~VirtioBlkStatsResponse() override; - explicit constexpr VirtioBlkStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioBlkResponse() : StatsVirtioBlkResponse(nullptr) {} + ~StatsVirtioBlkResponse() override; + explicit constexpr StatsVirtioBlkResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioBlkStatsResponse(const VirtioBlkStatsResponse& from); - VirtioBlkStatsResponse(VirtioBlkStatsResponse&& from) noexcept - : VirtioBlkStatsResponse() { + StatsVirtioBlkResponse(const StatsVirtioBlkResponse& from); + StatsVirtioBlkResponse(StatsVirtioBlkResponse&& from) noexcept + : StatsVirtioBlkResponse() { *this = ::std::move(from); } - inline VirtioBlkStatsResponse& operator=(const VirtioBlkStatsResponse& from) { + inline StatsVirtioBlkResponse& operator=(const StatsVirtioBlkResponse& from) { CopyFrom(from); return *this; } - inline VirtioBlkStatsResponse& operator=(VirtioBlkStatsResponse&& from) noexcept { + inline StatsVirtioBlkResponse& operator=(StatsVirtioBlkResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1567,20 +1558,20 @@ class VirtioBlkStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioBlkStatsResponse& default_instance() { + static const StatsVirtioBlkResponse& default_instance() { return *internal_default_instance(); } - static inline const VirtioBlkStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_VirtioBlkStatsResponse_default_instance_); + static inline const StatsVirtioBlkResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioBlkResponse_default_instance_); } static constexpr int kIndexInFileMessages = 8; - friend void swap(VirtioBlkStatsResponse& a, VirtioBlkStatsResponse& b) { + friend void swap(StatsVirtioBlkResponse& a, StatsVirtioBlkResponse& b) { a.Swap(&b); } - inline void Swap(VirtioBlkStatsResponse* other) { + inline void Swap(StatsVirtioBlkResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1593,7 +1584,7 @@ class VirtioBlkStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioBlkStatsResponse* other) { + void UnsafeArenaSwap(StatsVirtioBlkResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1601,13 +1592,13 @@ class VirtioBlkStatsResponse final : // implements Message ---------------------------------------------- - VirtioBlkStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioBlkResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioBlkStatsResponse& from); + void CopyFrom(const StatsVirtioBlkResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioBlkStatsResponse& from); + void MergeFrom(const StatsVirtioBlkResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1624,15 +1615,15 @@ class VirtioBlkStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioBlkStatsResponse* other); + void InternalSwap(StatsVirtioBlkResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioBlkStatsResponse"; + return "opi_api.storage.v1.StatsVirtioBlkResponse"; } protected: - explicit VirtioBlkStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioBlkResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1649,28 +1640,9 @@ class VirtioBlkStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const ::opi_api::common::v1::ObjectKey& id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); - ::opi_api::common::v1::ObjectKey* mutable_id(); - void set_allocated_id(::opi_api::common::v1::ObjectKey* id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); - public: - void unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -1688,14 +1660,13 @@ class VirtioBlkStatsResponse 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.VirtioBlkStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioBlkResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* id_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fblk_2eproto; @@ -1711,7 +1682,7 @@ class VirtioBlkStatsResponse final : #endif // __GNUC__ // VirtioBlk -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void VirtioBlk::clear_name() { name_.ClearToEmpty(); } @@ -1848,90 +1819,55 @@ inline void VirtioBlk::set_allocated_pcie_id(::opi_api::storage::v1::PciEndpoint // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlk.pcie_id) } -// .opi_api.common.v1.ObjectKey volume_id = 3; -inline bool VirtioBlk::_internal_has_volume_id() const { - return this != internal_default_instance() && volume_id_ != nullptr; +// string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; +inline void VirtioBlk::clear_volume_name_ref() { + volume_name_ref_.ClearToEmpty(); } -inline bool VirtioBlk::has_volume_id() const { - return _internal_has_volume_id(); +inline const std::string& VirtioBlk::volume_name_ref() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioBlk.volume_name_ref) + return _internal_volume_name_ref(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioBlk::_internal_volume_id() const { - const ::opi_api::common::v1::ObjectKey* p = volume_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +template +inline PROTOBUF_ALWAYS_INLINE +void VirtioBlk::set_volume_name_ref(ArgT0&& arg0, ArgT... args) { + + volume_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VirtioBlk.volume_name_ref) } -inline const ::opi_api::common::v1::ObjectKey& VirtioBlk::volume_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioBlk.volume_id) - return _internal_volume_id(); +inline std::string* VirtioBlk::mutable_volume_name_ref() { + std::string* _s = _internal_mutable_volume_name_ref(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlk.volume_name_ref) + return _s; } -inline void VirtioBlk::unsafe_arena_set_allocated_volume_id( - ::opi_api::common::v1::ObjectKey* volume_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id_); - } - volume_id_ = volume_id; - if (volume_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioBlk.volume_id) +inline const std::string& VirtioBlk::_internal_volume_name_ref() const { + return volume_name_ref_.Get(); } -inline ::opi_api::common::v1::ObjectKey* VirtioBlk::release_volume_id() { +inline void VirtioBlk::_internal_set_volume_name_ref(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = volume_id_; - volume_id_ = 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; + volume_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioBlk::unsafe_arena_release_volume_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlk.volume_id) +inline std::string* VirtioBlk::_internal_mutable_volume_name_ref() { - ::opi_api::common::v1::ObjectKey* temp = volume_id_; - volume_id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* VirtioBlk::_internal_mutable_volume_id() { - - if (volume_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - volume_id_ = p; - } - return volume_id_; + return volume_name_ref_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioBlk::mutable_volume_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_volume_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlk.volume_id) - return _msg; +inline std::string* VirtioBlk::release_volume_name_ref() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlk.volume_name_ref) + return volume_name_ref_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void VirtioBlk::set_allocated_volume_id(::opi_api::common::v1::ObjectKey* volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id_); - } - if (volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id)); - if (message_arena != submessage_arena) { - volume_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, volume_id, submessage_arena); - } +inline void VirtioBlk::set_allocated_volume_name_ref(std::string* volume_name_ref) { + if (volume_name_ref != nullptr) { } else { } - volume_id_ = volume_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlk.volume_id) + volume_name_ref_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), volume_name_ref, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (volume_name_ref_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + volume_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlk.volume_name_ref) } // int64 max_io_qps = 4; @@ -2130,7 +2066,7 @@ inline void VirtioBlk::set_allocated_max_limit(::opi_api::storage::v1::QosLimit* // CreateVirtioBlkRequest -// .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateVirtioBlkRequest::_internal_has_virtio_blk() const { return this != internal_default_instance() && virtio_blk_ != nullptr; } @@ -2220,7 +2156,7 @@ inline void CreateVirtioBlkRequest::set_allocated_virtio_blk(::opi_api::storage: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioBlkRequest.virtio_blk) } -// string virtio_blk_id = 3; +// string virtio_blk_id = 2; inline void CreateVirtioBlkRequest::clear_virtio_blk_id() { virtio_blk_id_.ClearToEmpty(); } @@ -2824,201 +2760,80 @@ inline void GetVirtioBlkRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// VirtioBlkStatsRequest +// StatsVirtioBlkRequest -// .opi_api.common.v1.ObjectKey controller_id = 1; -inline bool VirtioBlkStatsRequest::_internal_has_controller_id() const { - return this != internal_default_instance() && controller_id_ != nullptr; -} -inline bool VirtioBlkStatsRequest::has_controller_id() const { - return _internal_has_controller_id(); +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsVirtioBlkRequest::clear_name() { + name_.ClearToEmpty(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioBlkStatsRequest::_internal_controller_id() const { - const ::opi_api::common::v1::ObjectKey* p = controller_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +inline const std::string& StatsVirtioBlkRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioBlkRequest.name) + return _internal_name(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioBlkStatsRequest::controller_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioBlkStatsRequest.controller_id) - return _internal_controller_id(); +template +inline PROTOBUF_ALWAYS_INLINE +void StatsVirtioBlkRequest::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.StatsVirtioBlkRequest.name) } -inline void VirtioBlkStatsRequest::unsafe_arena_set_allocated_controller_id( - ::opi_api::common::v1::ObjectKey* controller_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id_); - } - controller_id_ = controller_id; - if (controller_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioBlkStatsRequest.controller_id) +inline std::string* StatsVirtioBlkRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioBlkRequest.name) + return _s; } -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsRequest::release_controller_id() { - - ::opi_api::common::v1::ObjectKey* temp = controller_id_; - controller_id_ = 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& StatsVirtioBlkRequest::_internal_name() const { + return name_.Get(); } -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsRequest::unsafe_arena_release_controller_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlkStatsRequest.controller_id) +inline void StatsVirtioBlkRequest::_internal_set_name(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = controller_id_; - controller_id_ = nullptr; - return temp; + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsRequest::_internal_mutable_controller_id() { +inline std::string* StatsVirtioBlkRequest::_internal_mutable_name() { - if (controller_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - controller_id_ = p; - } - return controller_id_; + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsRequest::mutable_controller_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_controller_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlkStatsRequest.controller_id) - return _msg; +inline std::string* StatsVirtioBlkRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioBlkRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void VirtioBlkStatsRequest::set_allocated_controller_id(::opi_api::common::v1::ObjectKey* controller_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id_); - } - if (controller_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id)); - if (message_arena != submessage_arena) { - controller_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, controller_id, submessage_arena); - } +inline void StatsVirtioBlkRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { } else { } - controller_id_ = controller_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlkStatsRequest.controller_id) + 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.StatsVirtioBlkRequest.name) } // ------------------------------------------------------------------- -// VirtioBlkStatsResponse - -// .opi_api.common.v1.ObjectKey id = 1; -inline bool VirtioBlkStatsResponse::_internal_has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline bool VirtioBlkStatsResponse::has_id() const { - return _internal_has_id(); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioBlkStatsResponse::_internal_id() const { - const ::opi_api::common::v1::ObjectKey* p = id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioBlkStatsResponse::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioBlkStatsResponse.id) - return _internal_id(); -} -inline void VirtioBlkStatsResponse::unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - id_ = id; - if (id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.id) -} -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsResponse::release_id() { - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = 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* VirtioBlkStatsResponse::unsafe_arena_release_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlkStatsResponse.id) - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsResponse::_internal_mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - id_ = p; - } - return id_; -} -inline ::opi_api::common::v1::ObjectKey* VirtioBlkStatsResponse::mutable_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlkStatsResponse.id) - return _msg; -} -inline void VirtioBlkStatsResponse::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - if (id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); - if (message_arena != submessage_arena) { - id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.id) -} +// StatsVirtioBlkResponse -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool VirtioBlkStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsVirtioBlkResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool VirtioBlkStatsResponse::has_stats() const { +inline bool StatsVirtioBlkResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& VirtioBlkStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioBlkResponse::_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& VirtioBlkStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioBlkStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioBlkResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioBlkResponse.stats) return _internal_stats(); } -inline void VirtioBlkStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsVirtioBlkResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -3029,9 +2844,9 @@ inline void VirtioBlkStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsVirtioBlkResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioBlkResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -3046,14 +2861,14 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::release_stat #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlkStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioBlkResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioBlkResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioBlkResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -3061,12 +2876,12 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::_internal_mu } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioBlkResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlkStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioBlkResponse.stats) return _msg; } -inline void VirtioBlkStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsVirtioBlkResponse::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_); @@ -3085,7 +2900,7 @@ inline void VirtioBlkStatsResponse::set_allocated_stats(::opi_api::storage::v1:: } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsVirtioBlkResponse.stats) } #ifdef __GNUC__ diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.cc index 6a600d72..e195b8a3 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.cc @@ -29,19 +29,19 @@ static const char* FrontendVirtioScsiService_method_names[] = { "/opi_api.storage.v1.FrontendVirtioScsiService/UpdateVirtioScsiTarget", "/opi_api.storage.v1.FrontendVirtioScsiService/ListVirtioScsiTargets", "/opi_api.storage.v1.FrontendVirtioScsiService/GetVirtioScsiTarget", - "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiTargetStats", + "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiTarget", "/opi_api.storage.v1.FrontendVirtioScsiService/CreateVirtioScsiController", "/opi_api.storage.v1.FrontendVirtioScsiService/DeleteVirtioScsiController", "/opi_api.storage.v1.FrontendVirtioScsiService/UpdateVirtioScsiController", "/opi_api.storage.v1.FrontendVirtioScsiService/ListVirtioScsiControllers", "/opi_api.storage.v1.FrontendVirtioScsiService/GetVirtioScsiController", - "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiControllerStats", + "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiController", "/opi_api.storage.v1.FrontendVirtioScsiService/CreateVirtioScsiLun", "/opi_api.storage.v1.FrontendVirtioScsiService/DeleteVirtioScsiLun", "/opi_api.storage.v1.FrontendVirtioScsiService/UpdateVirtioScsiLun", "/opi_api.storage.v1.FrontendVirtioScsiService/ListVirtioScsiLuns", "/opi_api.storage.v1.FrontendVirtioScsiService/GetVirtioScsiLun", - "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiLunStats", + "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiLun", }; std::unique_ptr< FrontendVirtioScsiService::Stub> FrontendVirtioScsiService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -56,19 +56,19 @@ FrontendVirtioScsiService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInte , rpcmethod_UpdateVirtioScsiTarget_(FrontendVirtioScsiService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListVirtioScsiTargets_(FrontendVirtioScsiService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetVirtioScsiTarget_(FrontendVirtioScsiService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_VirtioScsiTargetStats_(FrontendVirtioScsiService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsVirtioScsiTarget_(FrontendVirtioScsiService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateVirtioScsiController_(FrontendVirtioScsiService_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteVirtioScsiController_(FrontendVirtioScsiService_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateVirtioScsiController_(FrontendVirtioScsiService_method_names[8], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListVirtioScsiControllers_(FrontendVirtioScsiService_method_names[9], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetVirtioScsiController_(FrontendVirtioScsiService_method_names[10], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_VirtioScsiControllerStats_(FrontendVirtioScsiService_method_names[11], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsVirtioScsiController_(FrontendVirtioScsiService_method_names[11], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateVirtioScsiLun_(FrontendVirtioScsiService_method_names[12], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteVirtioScsiLun_(FrontendVirtioScsiService_method_names[13], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateVirtioScsiLun_(FrontendVirtioScsiService_method_names[14], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListVirtioScsiLuns_(FrontendVirtioScsiService_method_names[15], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetVirtioScsiLun_(FrontendVirtioScsiService_method_names[16], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_VirtioScsiLunStats_(FrontendVirtioScsiService_method_names[17], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsVirtioScsiLun_(FrontendVirtioScsiService_method_names[17], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status FrontendVirtioScsiService::Stub::CreateVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiTargetRequest& request, ::opi_api::storage::v1::VirtioScsiTarget* response) { @@ -186,25 +186,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTarget>* Fr return result; } -::grpc::Status FrontendVirtioScsiService::Stub::VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_VirtioScsiTargetStats_, context, request, response); +::grpc::Status FrontendVirtioScsiService::Stub::StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsVirtioScsiTarget_, context, request, response); } -void FrontendVirtioScsiService::Stub::async::VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioScsiTargetStats_, context, request, response, std::move(f)); +void FrontendVirtioScsiService::Stub::async::StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioScsiTarget_, context, request, response, std::move(f)); } -void FrontendVirtioScsiService::Stub::async::VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioScsiTargetStats_, context, request, response, reactor); +void FrontendVirtioScsiService::Stub::async::StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioScsiTarget_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* FrontendVirtioScsiService::Stub::PrepareAsyncVirtioScsiTargetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse, ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_VirtioScsiTargetStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* FrontendVirtioScsiService::Stub::PrepareAsyncStatsVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse, ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsVirtioScsiTarget_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* FrontendVirtioScsiService::Stub::AsyncVirtioScsiTargetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* FrontendVirtioScsiService::Stub::AsyncStatsVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncVirtioScsiTargetStatsRaw(context, request, cq); + this->PrepareAsyncStatsVirtioScsiTargetRaw(context, request, cq); result->StartCall(); return result; } @@ -324,25 +324,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController> return result; } -::grpc::Status FrontendVirtioScsiService::Stub::VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_VirtioScsiControllerStats_, context, request, response); +::grpc::Status FrontendVirtioScsiService::Stub::StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsVirtioScsiController_, context, request, response); } -void FrontendVirtioScsiService::Stub::async::VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioScsiControllerStats_, context, request, response, std::move(f)); +void FrontendVirtioScsiService::Stub::async::StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioScsiController_, context, request, response, std::move(f)); } -void FrontendVirtioScsiService::Stub::async::VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioScsiControllerStats_, context, request, response, reactor); +void FrontendVirtioScsiService::Stub::async::StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioScsiController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* FrontendVirtioScsiService::Stub::PrepareAsyncVirtioScsiControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse, ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_VirtioScsiControllerStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* FrontendVirtioScsiService::Stub::PrepareAsyncStatsVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse, ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsVirtioScsiController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* FrontendVirtioScsiService::Stub::AsyncVirtioScsiControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* FrontendVirtioScsiService::Stub::AsyncStatsVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncVirtioScsiControllerStatsRaw(context, request, cq); + this->PrepareAsyncStatsVirtioScsiControllerRaw(context, request, cq); result->StartCall(); return result; } @@ -462,25 +462,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>* Front return result; } -::grpc::Status FrontendVirtioScsiService::Stub::VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_VirtioScsiLunStats_, context, request, response); +::grpc::Status FrontendVirtioScsiService::Stub::StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsVirtioScsiLun_, context, request, response); } -void FrontendVirtioScsiService::Stub::async::VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioScsiLunStats_, context, request, response, std::move(f)); +void FrontendVirtioScsiService::Stub::async::StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioScsiLun_, context, request, response, std::move(f)); } -void FrontendVirtioScsiService::Stub::async::VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_VirtioScsiLunStats_, context, request, response, reactor); +void FrontendVirtioScsiService::Stub::async::StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsVirtioScsiLun_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* FrontendVirtioScsiService::Stub::PrepareAsyncVirtioScsiLunStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::VirtioScsiLunStatsResponse, ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_VirtioScsiLunStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* FrontendVirtioScsiService::Stub::PrepareAsyncStatsVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsVirtioScsiLunResponse, ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsVirtioScsiLun_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* FrontendVirtioScsiService::Stub::AsyncVirtioScsiLunStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* FrontendVirtioScsiService::Stub::AsyncStatsVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncVirtioScsiLunStatsRaw(context, request, cq); + this->PrepareAsyncStatsVirtioScsiLunRaw(context, request, cq); result->StartCall(); return result; } @@ -539,12 +539,12 @@ FrontendVirtioScsiService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendVirtioScsiService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendVirtioScsiService::Service, ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendVirtioScsiService::Service, ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendVirtioScsiService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* req, - ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* resp) { - return service->VirtioScsiTargetStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* req, + ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* resp) { + return service->StatsVirtioScsiTarget(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendVirtioScsiService_method_names[6], @@ -599,12 +599,12 @@ FrontendVirtioScsiService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendVirtioScsiService_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendVirtioScsiService::Service, ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendVirtioScsiService::Service, ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendVirtioScsiService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* req, - ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* resp) { - return service->VirtioScsiControllerStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* req, + ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* resp) { + return service->StatsVirtioScsiController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendVirtioScsiService_method_names[12], @@ -659,12 +659,12 @@ FrontendVirtioScsiService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( FrontendVirtioScsiService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< FrontendVirtioScsiService::Service, ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< FrontendVirtioScsiService::Service, ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](FrontendVirtioScsiService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* req, - ::opi_api::storage::v1::VirtioScsiLunStatsResponse* resp) { - return service->VirtioScsiLunStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* req, + ::opi_api::storage::v1::StatsVirtioScsiLunResponse* resp) { + return service->StatsVirtioScsiLun(ctx, req, resp); }, this))); } @@ -706,7 +706,7 @@ ::grpc::Status FrontendVirtioScsiService::Service::GetVirtioScsiTarget(::grpc::S return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendVirtioScsiService::Service::VirtioScsiTargetStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response) { +::grpc::Status FrontendVirtioScsiService::Service::StatsVirtioScsiTarget(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response) { (void) context; (void) request; (void) response; @@ -748,7 +748,7 @@ ::grpc::Status FrontendVirtioScsiService::Service::GetVirtioScsiController(::grp return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendVirtioScsiService::Service::VirtioScsiControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response) { +::grpc::Status FrontendVirtioScsiService::Service::StatsVirtioScsiController(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response) { (void) context; (void) request; (void) response; @@ -790,7 +790,7 @@ ::grpc::Status FrontendVirtioScsiService::Service::GetVirtioScsiLun(::grpc::Serv return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status FrontendVirtioScsiService::Service::VirtioScsiLunStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response) { +::grpc::Status FrontendVirtioScsiService::Service::StatsVirtioScsiLun(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.h b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.h index 02a1f1b8..0475b502 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.grpc.pb.h @@ -78,12 +78,12 @@ class FrontendVirtioScsiService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTarget>> PrepareAsyncGetVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTarget>>(PrepareAsyncGetVirtioScsiTargetRaw(context, request, cq)); } - virtual ::grpc::Status VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>> AsyncVirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>>(AsyncVirtioScsiTargetStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>> AsyncStatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>>(AsyncStatsVirtioScsiTargetRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>> PrepareAsyncVirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>>(PrepareAsyncVirtioScsiTargetStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>> PrepareAsyncStatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>>(PrepareAsyncStatsVirtioScsiTargetRaw(context, request, cq)); } virtual ::grpc::Status CreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::opi_api::storage::v1::VirtioScsiController* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>> AsyncCreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { @@ -120,12 +120,12 @@ class FrontendVirtioScsiService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>> PrepareAsyncGetVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>>(PrepareAsyncGetVirtioScsiControllerRaw(context, request, cq)); } - virtual ::grpc::Status VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>> AsyncVirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>>(AsyncVirtioScsiControllerStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>> AsyncStatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>>(AsyncStatsVirtioScsiControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>> PrepareAsyncVirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>>(PrepareAsyncVirtioScsiControllerStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>> PrepareAsyncStatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>>(PrepareAsyncStatsVirtioScsiControllerRaw(context, request, cq)); } virtual ::grpc::Status CreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::opi_api::storage::v1::VirtioScsiLun* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>> AsyncCreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { @@ -162,12 +162,12 @@ class FrontendVirtioScsiService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>> PrepareAsyncGetVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>>(PrepareAsyncGetVirtioScsiLunRaw(context, request, cq)); } - virtual ::grpc::Status VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>> AsyncVirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>>(AsyncVirtioScsiLunStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>> AsyncStatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>>(AsyncStatsVirtioScsiLunRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>> PrepareAsyncVirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>>(PrepareAsyncVirtioScsiLunStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>> PrepareAsyncStatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>>(PrepareAsyncStatsVirtioScsiLunRaw(context, request, cq)); } class async_interface { public: @@ -182,8 +182,8 @@ class FrontendVirtioScsiService final { virtual void ListVirtioScsiTargets(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiTargetsRequest* request, ::opi_api::storage::v1::ListVirtioScsiTargetsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest* request, ::opi_api::storage::v1::VirtioScsiTarget* response, std::function) = 0; virtual void GetVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest* request, ::opi_api::storage::v1::VirtioScsiTarget* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response, std::function) = 0; - virtual void VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response, std::function) = 0; + virtual void StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void CreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, std::function) = 0; virtual void CreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void DeleteVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiControllerRequest* request, ::google::protobuf::Empty* response, std::function) = 0; @@ -194,8 +194,8 @@ class FrontendVirtioScsiService final { virtual void ListVirtioScsiControllers(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiControllersRequest* request, ::opi_api::storage::v1::ListVirtioScsiControllersResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, std::function) = 0; virtual void GetVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response, std::function) = 0; - virtual void VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response, std::function) = 0; + virtual void StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void CreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, std::function) = 0; virtual void CreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void DeleteVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiLunRequest* request, ::google::protobuf::Empty* response, std::function) = 0; @@ -206,8 +206,8 @@ class FrontendVirtioScsiService final { virtual void ListVirtioScsiLuns(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiLunsRequest* request, ::opi_api::storage::v1::ListVirtioScsiLunsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, std::function) = 0; virtual void GetVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response, std::function) = 0; - virtual void VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response, std::function) = 0; + virtual void StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -223,8 +223,8 @@ class FrontendVirtioScsiService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListVirtioScsiTargetsResponse>* PrepareAsyncListVirtioScsiTargetsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiTargetsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTarget>* AsyncGetVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTarget>* PrepareAsyncGetVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* AsyncVirtioScsiTargetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* PrepareAsyncVirtioScsiTargetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* AsyncStatsVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* PrepareAsyncStatsVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>* AsyncCreateVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>* PrepareAsyncCreateVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -235,8 +235,8 @@ class FrontendVirtioScsiService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListVirtioScsiControllersResponse>* PrepareAsyncListVirtioScsiControllersRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiControllersRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>* AsyncGetVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiController>* PrepareAsyncGetVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* AsyncVirtioScsiControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* PrepareAsyncVirtioScsiControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* AsyncStatsVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* PrepareAsyncStatsVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>* AsyncCreateVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>* PrepareAsyncCreateVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -247,8 +247,8 @@ class FrontendVirtioScsiService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListVirtioScsiLunsResponse>* PrepareAsyncListVirtioScsiLunsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiLunsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>* AsyncGetVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLun>* PrepareAsyncGetVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* AsyncVirtioScsiLunStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* PrepareAsyncVirtioScsiLunStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* AsyncStatsVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* PrepareAsyncStatsVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -288,12 +288,12 @@ class FrontendVirtioScsiService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTarget>> PrepareAsyncGetVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTarget>>(PrepareAsyncGetVirtioScsiTargetRaw(context, request, cq)); } - ::grpc::Status VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>> AsyncVirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>>(AsyncVirtioScsiTargetStatsRaw(context, request, cq)); + ::grpc::Status StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>> AsyncStatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>>(AsyncStatsVirtioScsiTargetRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>> PrepareAsyncVirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>>(PrepareAsyncVirtioScsiTargetStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>> PrepareAsyncStatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>>(PrepareAsyncStatsVirtioScsiTargetRaw(context, request, cq)); } ::grpc::Status CreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::opi_api::storage::v1::VirtioScsiController* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>> AsyncCreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { @@ -330,12 +330,12 @@ class FrontendVirtioScsiService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>> PrepareAsyncGetVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>>(PrepareAsyncGetVirtioScsiControllerRaw(context, request, cq)); } - ::grpc::Status VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>> AsyncVirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>>(AsyncVirtioScsiControllerStatsRaw(context, request, cq)); + ::grpc::Status StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>> AsyncStatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>>(AsyncStatsVirtioScsiControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>> PrepareAsyncVirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>>(PrepareAsyncVirtioScsiControllerStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>> PrepareAsyncStatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>>(PrepareAsyncStatsVirtioScsiControllerRaw(context, request, cq)); } ::grpc::Status CreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::opi_api::storage::v1::VirtioScsiLun* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>> AsyncCreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { @@ -372,12 +372,12 @@ class FrontendVirtioScsiService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>> PrepareAsyncGetVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>>(PrepareAsyncGetVirtioScsiLunRaw(context, request, cq)); } - ::grpc::Status VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>> AsyncVirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>>(AsyncVirtioScsiLunStatsRaw(context, request, cq)); + ::grpc::Status StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>> AsyncStatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>>(AsyncStatsVirtioScsiLunRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>> PrepareAsyncVirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>>(PrepareAsyncVirtioScsiLunStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>> PrepareAsyncStatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>>(PrepareAsyncStatsVirtioScsiLunRaw(context, request, cq)); } class async final : public StubInterface::async_interface { @@ -392,8 +392,8 @@ class FrontendVirtioScsiService final { void ListVirtioScsiTargets(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiTargetsRequest* request, ::opi_api::storage::v1::ListVirtioScsiTargetsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest* request, ::opi_api::storage::v1::VirtioScsiTarget* response, std::function) override; void GetVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest* request, ::opi_api::storage::v1::VirtioScsiTarget* response, ::grpc::ClientUnaryReactor* reactor) override; - void VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response, std::function) override; - void VirtioScsiTargetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response, std::function) override; + void StatsVirtioScsiTarget(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void CreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, std::function) override; void CreateVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, ::grpc::ClientUnaryReactor* reactor) override; void DeleteVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiControllerRequest* request, ::google::protobuf::Empty* response, std::function) override; @@ -404,8 +404,8 @@ class FrontendVirtioScsiService final { void ListVirtioScsiControllers(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiControllersRequest* request, ::opi_api::storage::v1::ListVirtioScsiControllersResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, std::function) override; void GetVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response, ::grpc::ClientUnaryReactor* reactor) override; - void VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response, std::function) override; - void VirtioScsiControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response, std::function) override; + void StatsVirtioScsiController(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void CreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, std::function) override; void CreateVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, ::grpc::ClientUnaryReactor* reactor) override; void DeleteVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiLunRequest* request, ::google::protobuf::Empty* response, std::function) override; @@ -416,8 +416,8 @@ class FrontendVirtioScsiService final { void ListVirtioScsiLuns(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiLunsRequest* request, ::opi_api::storage::v1::ListVirtioScsiLunsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, std::function) override; void GetVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response, ::grpc::ClientUnaryReactor* reactor) override; - void VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response, std::function) override; - void VirtioScsiLunStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response, std::function) override; + void StatsVirtioScsiLun(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -439,8 +439,8 @@ class FrontendVirtioScsiService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListVirtioScsiTargetsResponse>* PrepareAsyncListVirtioScsiTargetsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiTargetsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTarget>* AsyncGetVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTarget>* PrepareAsyncGetVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* AsyncVirtioScsiTargetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* PrepareAsyncVirtioScsiTargetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* AsyncStatsVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* PrepareAsyncStatsVirtioScsiTargetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>* AsyncCreateVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>* PrepareAsyncCreateVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; @@ -451,8 +451,8 @@ class FrontendVirtioScsiService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListVirtioScsiControllersResponse>* PrepareAsyncListVirtioScsiControllersRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiControllersRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>* AsyncGetVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiController>* PrepareAsyncGetVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* AsyncVirtioScsiControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* PrepareAsyncVirtioScsiControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* AsyncStatsVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* PrepareAsyncStatsVirtioScsiControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>* AsyncCreateVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>* PrepareAsyncCreateVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; @@ -463,26 +463,26 @@ class FrontendVirtioScsiService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListVirtioScsiLunsResponse>* PrepareAsyncListVirtioScsiLunsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListVirtioScsiLunsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>* AsyncGetVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLun>* PrepareAsyncGetVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* AsyncVirtioScsiLunStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* PrepareAsyncVirtioScsiLunStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* AsyncStatsVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* PrepareAsyncStatsVirtioScsiLunRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateVirtioScsiTarget_; const ::grpc::internal::RpcMethod rpcmethod_DeleteVirtioScsiTarget_; const ::grpc::internal::RpcMethod rpcmethod_UpdateVirtioScsiTarget_; const ::grpc::internal::RpcMethod rpcmethod_ListVirtioScsiTargets_; const ::grpc::internal::RpcMethod rpcmethod_GetVirtioScsiTarget_; - const ::grpc::internal::RpcMethod rpcmethod_VirtioScsiTargetStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsVirtioScsiTarget_; const ::grpc::internal::RpcMethod rpcmethod_CreateVirtioScsiController_; const ::grpc::internal::RpcMethod rpcmethod_DeleteVirtioScsiController_; const ::grpc::internal::RpcMethod rpcmethod_UpdateVirtioScsiController_; const ::grpc::internal::RpcMethod rpcmethod_ListVirtioScsiControllers_; const ::grpc::internal::RpcMethod rpcmethod_GetVirtioScsiController_; - const ::grpc::internal::RpcMethod rpcmethod_VirtioScsiControllerStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsVirtioScsiController_; const ::grpc::internal::RpcMethod rpcmethod_CreateVirtioScsiLun_; const ::grpc::internal::RpcMethod rpcmethod_DeleteVirtioScsiLun_; const ::grpc::internal::RpcMethod rpcmethod_UpdateVirtioScsiLun_; const ::grpc::internal::RpcMethod rpcmethod_ListVirtioScsiLuns_; const ::grpc::internal::RpcMethod rpcmethod_GetVirtioScsiLun_; - const ::grpc::internal::RpcMethod rpcmethod_VirtioScsiLunStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsVirtioScsiLun_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -495,19 +495,19 @@ class FrontendVirtioScsiService final { virtual ::grpc::Status UpdateVirtioScsiTarget(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateVirtioScsiTargetRequest* request, ::opi_api::storage::v1::VirtioScsiTarget* response); virtual ::grpc::Status ListVirtioScsiTargets(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListVirtioScsiTargetsRequest* request, ::opi_api::storage::v1::ListVirtioScsiTargetsResponse* response); virtual ::grpc::Status GetVirtioScsiTarget(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest* request, ::opi_api::storage::v1::VirtioScsiTarget* response); - virtual ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response); + virtual ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response); virtual ::grpc::Status CreateVirtioScsiController(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response); virtual ::grpc::Status DeleteVirtioScsiController(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiControllerRequest* request, ::google::protobuf::Empty* response); virtual ::grpc::Status UpdateVirtioScsiController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response); virtual ::grpc::Status ListVirtioScsiControllers(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListVirtioScsiControllersRequest* request, ::opi_api::storage::v1::ListVirtioScsiControllersResponse* response); virtual ::grpc::Status GetVirtioScsiController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest* request, ::opi_api::storage::v1::VirtioScsiController* response); - virtual ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response); + virtual ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response); virtual ::grpc::Status CreateVirtioScsiLun(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response); virtual ::grpc::Status DeleteVirtioScsiLun(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteVirtioScsiLunRequest* request, ::google::protobuf::Empty* response); virtual ::grpc::Status UpdateVirtioScsiLun(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response); virtual ::grpc::Status ListVirtioScsiLuns(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListVirtioScsiLunsRequest* request, ::opi_api::storage::v1::ListVirtioScsiLunsResponse* response); virtual ::grpc::Status GetVirtioScsiLun(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetVirtioScsiLunRequest* request, ::opi_api::storage::v1::VirtioScsiLun* response); - virtual ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response); + virtual ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response); }; template class WithAsyncMethod_CreateVirtioScsiTarget : public BaseClass { @@ -610,22 +610,22 @@ class FrontendVirtioScsiService final { } }; template - class WithAsyncMethod_VirtioScsiTargetStats : public BaseClass { + class WithAsyncMethod_StatsVirtioScsiTarget : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_VirtioScsiTargetStats() { + WithAsyncMethod_StatsVirtioScsiTarget() { ::grpc::Service::MarkMethodAsync(5); } - ~WithAsyncMethod_VirtioScsiTargetStats() override { + ~WithAsyncMethod_StatsVirtioScsiTarget() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioScsiTargetStats(::grpc::ServerContext* context, ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioScsiTarget(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* 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); } }; @@ -730,22 +730,22 @@ class FrontendVirtioScsiService final { } }; template - class WithAsyncMethod_VirtioScsiControllerStats : public BaseClass { + class WithAsyncMethod_StatsVirtioScsiController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_VirtioScsiControllerStats() { + WithAsyncMethod_StatsVirtioScsiController() { ::grpc::Service::MarkMethodAsync(11); } - ~WithAsyncMethod_VirtioScsiControllerStats() override { + ~WithAsyncMethod_StatsVirtioScsiController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioScsiControllerStats(::grpc::ServerContext* context, ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioScsiController(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -850,26 +850,26 @@ class FrontendVirtioScsiService final { } }; template - class WithAsyncMethod_VirtioScsiLunStats : public BaseClass { + class WithAsyncMethod_StatsVirtioScsiLun : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_VirtioScsiLunStats() { + WithAsyncMethod_StatsVirtioScsiLun() { ::grpc::Service::MarkMethodAsync(17); } - ~WithAsyncMethod_VirtioScsiLunStats() override { + ~WithAsyncMethod_StatsVirtioScsiLun() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioScsiLunStats(::grpc::ServerContext* context, ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioScsiLun(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_CreateVirtioScsiTarget : public BaseClass { private: @@ -1006,31 +1006,31 @@ class FrontendVirtioScsiService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTarget* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_VirtioScsiTargetStats : public BaseClass { + class WithCallbackMethod_StatsVirtioScsiTarget : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_VirtioScsiTargetStats() { + WithCallbackMethod_StatsVirtioScsiTarget() { ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* request, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* response) { return this->VirtioScsiTargetStats(context, request, response); }));} - void SetMessageAllocatorFor_VirtioScsiTargetStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* request, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* response) { return this->StatsVirtioScsiTarget(context, request, response); }));} + void SetMessageAllocatorFor_StatsVirtioScsiTarget( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_VirtioScsiTargetStats() override { + ~WithCallbackMethod_StatsVirtioScsiTarget() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioScsiTargetStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsVirtioScsiTarget( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) { return nullptr; } }; template class WithCallbackMethod_CreateVirtioScsiController : public BaseClass { @@ -1168,31 +1168,31 @@ class FrontendVirtioScsiService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_VirtioScsiControllerStats : public BaseClass { + class WithCallbackMethod_StatsVirtioScsiController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_VirtioScsiControllerStats() { + WithCallbackMethod_StatsVirtioScsiController() { ::grpc::Service::MarkMethodCallback(11, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* request, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* response) { return this->VirtioScsiControllerStats(context, request, response); }));} - void SetMessageAllocatorFor_VirtioScsiControllerStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* request, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* response) { return this->StatsVirtioScsiController(context, request, response); }));} + void SetMessageAllocatorFor_StatsVirtioScsiController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(11); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_VirtioScsiControllerStats() override { + ~WithCallbackMethod_StatsVirtioScsiController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioScsiControllerStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsVirtioScsiController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) { return nullptr; } }; template class WithCallbackMethod_CreateVirtioScsiLun : public BaseClass { @@ -1330,33 +1330,33 @@ class FrontendVirtioScsiService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLun* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_VirtioScsiLunStats : public BaseClass { + class WithCallbackMethod_StatsVirtioScsiLun : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_VirtioScsiLunStats() { + WithCallbackMethod_StatsVirtioScsiLun() { ::grpc::Service::MarkMethodCallback(17, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* request, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* response) { return this->VirtioScsiLunStats(context, request, response); }));} - void SetMessageAllocatorFor_VirtioScsiLunStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* request, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* response) { return this->StatsVirtioScsiLun(context, request, response); }));} + void SetMessageAllocatorFor_StatsVirtioScsiLun( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(17); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_VirtioScsiLunStats() override { + ~WithCallbackMethod_StatsVirtioScsiLun() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioScsiLunStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsVirtioScsiLun( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > CallbackService; + typedef WithCallbackMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_CreateVirtioScsiTarget : public BaseClass { @@ -1444,18 +1444,18 @@ class FrontendVirtioScsiService final { } }; template - class WithGenericMethod_VirtioScsiTargetStats : public BaseClass { + class WithGenericMethod_StatsVirtioScsiTarget : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_VirtioScsiTargetStats() { + WithGenericMethod_StatsVirtioScsiTarget() { ::grpc::Service::MarkMethodGeneric(5); } - ~WithGenericMethod_VirtioScsiTargetStats() override { + ~WithGenericMethod_StatsVirtioScsiTarget() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1546,18 +1546,18 @@ class FrontendVirtioScsiService final { } }; template - class WithGenericMethod_VirtioScsiControllerStats : public BaseClass { + class WithGenericMethod_StatsVirtioScsiController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_VirtioScsiControllerStats() { + WithGenericMethod_StatsVirtioScsiController() { ::grpc::Service::MarkMethodGeneric(11); } - ~WithGenericMethod_VirtioScsiControllerStats() override { + ~WithGenericMethod_StatsVirtioScsiController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1648,18 +1648,18 @@ class FrontendVirtioScsiService final { } }; template - class WithGenericMethod_VirtioScsiLunStats : public BaseClass { + class WithGenericMethod_StatsVirtioScsiLun : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_VirtioScsiLunStats() { + WithGenericMethod_StatsVirtioScsiLun() { ::grpc::Service::MarkMethodGeneric(17); } - ~WithGenericMethod_VirtioScsiLunStats() override { + ~WithGenericMethod_StatsVirtioScsiLun() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1765,22 +1765,22 @@ class FrontendVirtioScsiService final { } }; template - class WithRawMethod_VirtioScsiTargetStats : public BaseClass { + class WithRawMethod_StatsVirtioScsiTarget : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_VirtioScsiTargetStats() { + WithRawMethod_StatsVirtioScsiTarget() { ::grpc::Service::MarkMethodRaw(5); } - ~WithRawMethod_VirtioScsiTargetStats() override { + ~WithRawMethod_StatsVirtioScsiTarget() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioScsiTargetStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioScsiTarget(::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); } }; @@ -1885,22 +1885,22 @@ class FrontendVirtioScsiService final { } }; template - class WithRawMethod_VirtioScsiControllerStats : public BaseClass { + class WithRawMethod_StatsVirtioScsiController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_VirtioScsiControllerStats() { + WithRawMethod_StatsVirtioScsiController() { ::grpc::Service::MarkMethodRaw(11); } - ~WithRawMethod_VirtioScsiControllerStats() override { + ~WithRawMethod_StatsVirtioScsiController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioScsiControllerStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioScsiController(::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(11, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -2005,22 +2005,22 @@ class FrontendVirtioScsiService final { } }; template - class WithRawMethod_VirtioScsiLunStats : public BaseClass { + class WithRawMethod_StatsVirtioScsiLun : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_VirtioScsiLunStats() { + WithRawMethod_StatsVirtioScsiLun() { ::grpc::Service::MarkMethodRaw(17); } - ~WithRawMethod_VirtioScsiLunStats() override { + ~WithRawMethod_StatsVirtioScsiLun() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestVirtioScsiLunStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsVirtioScsiLun(::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(17, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -2135,25 +2135,25 @@ class FrontendVirtioScsiService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_VirtioScsiTargetStats : public BaseClass { + class WithRawCallbackMethod_StatsVirtioScsiTarget : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_VirtioScsiTargetStats() { + WithRawCallbackMethod_StatsVirtioScsiTarget() { ::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->VirtioScsiTargetStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsVirtioScsiTarget(context, request, response); })); } - ~WithRawCallbackMethod_VirtioScsiTargetStats() override { + ~WithRawCallbackMethod_StatsVirtioScsiTarget() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioScsiTargetStats( + virtual ::grpc::ServerUnaryReactor* StatsVirtioScsiTarget( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -2267,25 +2267,25 @@ class FrontendVirtioScsiService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_VirtioScsiControllerStats : public BaseClass { + class WithRawCallbackMethod_StatsVirtioScsiController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_VirtioScsiControllerStats() { + WithRawCallbackMethod_StatsVirtioScsiController() { ::grpc::Service::MarkMethodRawCallback(11, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->VirtioScsiControllerStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsVirtioScsiController(context, request, response); })); } - ~WithRawCallbackMethod_VirtioScsiControllerStats() override { + ~WithRawCallbackMethod_StatsVirtioScsiController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioScsiControllerStats( + virtual ::grpc::ServerUnaryReactor* StatsVirtioScsiController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -2399,25 +2399,25 @@ class FrontendVirtioScsiService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_VirtioScsiLunStats : public BaseClass { + class WithRawCallbackMethod_StatsVirtioScsiLun : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_VirtioScsiLunStats() { + WithRawCallbackMethod_StatsVirtioScsiLun() { ::grpc::Service::MarkMethodRawCallback(17, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->VirtioScsiLunStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsVirtioScsiLun(context, request, response); })); } - ~WithRawCallbackMethod_VirtioScsiLunStats() override { + ~WithRawCallbackMethod_StatsVirtioScsiLun() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* VirtioScsiLunStats( + virtual ::grpc::ServerUnaryReactor* StatsVirtioScsiLun( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -2556,31 +2556,31 @@ class FrontendVirtioScsiService final { virtual ::grpc::Status StreamedGetVirtioScsiTarget(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetVirtioScsiTargetRequest,::opi_api::storage::v1::VirtioScsiTarget>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_VirtioScsiTargetStats : public BaseClass { + class WithStreamedUnaryMethod_StatsVirtioScsiTarget : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_VirtioScsiTargetStats() { + WithStreamedUnaryMethod_StatsVirtioScsiTarget() { ::grpc::Service::MarkMethodStreamed(5, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>( + ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::VirtioScsiTargetStatsRequest, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* streamer) { - return this->StreamedVirtioScsiTargetStats(context, + ::opi_api::storage::v1::StatsVirtioScsiTargetRequest, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* streamer) { + return this->StreamedStatsVirtioScsiTarget(context, streamer); })); } - ~WithStreamedUnaryMethod_VirtioScsiTargetStats() override { + ~WithStreamedUnaryMethod_StatsVirtioScsiTarget() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status VirtioScsiTargetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiTarget(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedVirtioScsiTargetStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest,::opi_api::storage::v1::VirtioScsiTargetStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsVirtioScsiTarget(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest,::opi_api::storage::v1::StatsVirtioScsiTargetResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_CreateVirtioScsiController : public BaseClass { @@ -2718,31 +2718,31 @@ class FrontendVirtioScsiService final { virtual ::grpc::Status StreamedGetVirtioScsiController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetVirtioScsiControllerRequest,::opi_api::storage::v1::VirtioScsiController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_VirtioScsiControllerStats : public BaseClass { + class WithStreamedUnaryMethod_StatsVirtioScsiController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_VirtioScsiControllerStats() { + WithStreamedUnaryMethod_StatsVirtioScsiController() { ::grpc::Service::MarkMethodStreamed(11, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>( + ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::VirtioScsiControllerStatsRequest, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* streamer) { - return this->StreamedVirtioScsiControllerStats(context, + ::opi_api::storage::v1::StatsVirtioScsiControllerRequest, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* streamer) { + return this->StreamedStatsVirtioScsiController(context, streamer); })); } - ~WithStreamedUnaryMethod_VirtioScsiControllerStats() override { + ~WithStreamedUnaryMethod_StatsVirtioScsiController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status VirtioScsiControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedVirtioScsiControllerStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest,::opi_api::storage::v1::VirtioScsiControllerStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsVirtioScsiController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest,::opi_api::storage::v1::StatsVirtioScsiControllerResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_CreateVirtioScsiLun : public BaseClass { @@ -2880,35 +2880,35 @@ class FrontendVirtioScsiService final { virtual ::grpc::Status StreamedGetVirtioScsiLun(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetVirtioScsiLunRequest,::opi_api::storage::v1::VirtioScsiLun>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_VirtioScsiLunStats : public BaseClass { + class WithStreamedUnaryMethod_StatsVirtioScsiLun : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_VirtioScsiLunStats() { + WithStreamedUnaryMethod_StatsVirtioScsiLun() { ::grpc::Service::MarkMethodStreamed(17, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse>( + ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::VirtioScsiLunStatsRequest, ::opi_api::storage::v1::VirtioScsiLunStatsResponse>* streamer) { - return this->StreamedVirtioScsiLunStats(context, + ::opi_api::storage::v1::StatsVirtioScsiLunRequest, ::opi_api::storage::v1::StatsVirtioScsiLunResponse>* streamer) { + return this->StreamedStatsVirtioScsiLun(context, streamer); })); } - ~WithStreamedUnaryMethod_VirtioScsiLunStats() override { + ~WithStreamedUnaryMethod_StatsVirtioScsiLun() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status VirtioScsiLunStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::VirtioScsiLunStatsRequest* /*request*/, ::opi_api::storage::v1::VirtioScsiLunStatsResponse* /*response*/) override { + ::grpc::Status StatsVirtioScsiLun(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsVirtioScsiLunRequest* /*request*/, ::opi_api::storage::v1::StatsVirtioScsiLunResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedVirtioScsiLunStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::VirtioScsiLunStatsRequest,::opi_api::storage::v1::VirtioScsiLunStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsVirtioScsiLun(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsVirtioScsiLunRequest,::opi_api::storage::v1::StatsVirtioScsiLunResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateVirtioScsiTarget > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc index 9da89be6..2f52385e 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc @@ -140,31 +140,30 @@ struct GetVirtioScsiTargetRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetVirtioScsiTargetRequestDefaultTypeInternal _GetVirtioScsiTargetRequest_default_instance_; -constexpr VirtioScsiTargetStatsRequest::VirtioScsiTargetStatsRequest( +constexpr StatsVirtioScsiTargetRequest::StatsVirtioScsiTargetRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : target_id_(nullptr){} -struct VirtioScsiTargetStatsRequestDefaultTypeInternal { - constexpr VirtioScsiTargetStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct StatsVirtioScsiTargetRequestDefaultTypeInternal { + constexpr StatsVirtioScsiTargetRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioScsiTargetStatsRequestDefaultTypeInternal() {} + ~StatsVirtioScsiTargetRequestDefaultTypeInternal() {} union { - VirtioScsiTargetStatsRequest _instance; + StatsVirtioScsiTargetRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiTargetStatsRequestDefaultTypeInternal _VirtioScsiTargetStatsRequest_default_instance_; -constexpr VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioScsiTargetRequestDefaultTypeInternal _StatsVirtioScsiTargetRequest_default_instance_; +constexpr StatsVirtioScsiTargetResponse::StatsVirtioScsiTargetResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(nullptr) - , stats_(nullptr){} -struct VirtioScsiTargetStatsResponseDefaultTypeInternal { - constexpr VirtioScsiTargetStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsVirtioScsiTargetResponseDefaultTypeInternal { + constexpr StatsVirtioScsiTargetResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioScsiTargetStatsResponseDefaultTypeInternal() {} + ~StatsVirtioScsiTargetResponseDefaultTypeInternal() {} union { - VirtioScsiTargetStatsResponse _instance; + StatsVirtioScsiTargetResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiTargetStatsResponseDefaultTypeInternal _VirtioScsiTargetStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioScsiTargetResponseDefaultTypeInternal _StatsVirtioScsiTargetResponse_default_instance_; constexpr CreateVirtioScsiControllerRequest::CreateVirtioScsiControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : virtio_scsi_controller_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) @@ -244,31 +243,30 @@ struct GetVirtioScsiControllerRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetVirtioScsiControllerRequestDefaultTypeInternal _GetVirtioScsiControllerRequest_default_instance_; -constexpr VirtioScsiControllerStatsRequest::VirtioScsiControllerStatsRequest( +constexpr StatsVirtioScsiControllerRequest::StatsVirtioScsiControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_id_(nullptr){} -struct VirtioScsiControllerStatsRequestDefaultTypeInternal { - constexpr VirtioScsiControllerStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct StatsVirtioScsiControllerRequestDefaultTypeInternal { + constexpr StatsVirtioScsiControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioScsiControllerStatsRequestDefaultTypeInternal() {} + ~StatsVirtioScsiControllerRequestDefaultTypeInternal() {} union { - VirtioScsiControllerStatsRequest _instance; + StatsVirtioScsiControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiControllerStatsRequestDefaultTypeInternal _VirtioScsiControllerStatsRequest_default_instance_; -constexpr VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioScsiControllerRequestDefaultTypeInternal _StatsVirtioScsiControllerRequest_default_instance_; +constexpr StatsVirtioScsiControllerResponse::StatsVirtioScsiControllerResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(nullptr) - , stats_(nullptr){} -struct VirtioScsiControllerStatsResponseDefaultTypeInternal { - constexpr VirtioScsiControllerStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsVirtioScsiControllerResponseDefaultTypeInternal { + constexpr StatsVirtioScsiControllerResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioScsiControllerStatsResponseDefaultTypeInternal() {} + ~StatsVirtioScsiControllerResponseDefaultTypeInternal() {} union { - VirtioScsiControllerStatsResponse _instance; + StatsVirtioScsiControllerResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiControllerStatsResponseDefaultTypeInternal _VirtioScsiControllerStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioScsiControllerResponseDefaultTypeInternal _StatsVirtioScsiControllerResponse_default_instance_; constexpr CreateVirtioScsiLunRequest::CreateVirtioScsiLunRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : virtio_scsi_lun_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) @@ -348,32 +346,31 @@ struct GetVirtioScsiLunRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetVirtioScsiLunRequestDefaultTypeInternal _GetVirtioScsiLunRequest_default_instance_; -constexpr VirtioScsiLunStatsRequest::VirtioScsiLunStatsRequest( +constexpr StatsVirtioScsiLunRequest::StatsVirtioScsiLunRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_id_(nullptr) - , lun_id_(nullptr){} -struct VirtioScsiLunStatsRequestDefaultTypeInternal { - constexpr VirtioScsiLunStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , controller_id_(nullptr){} +struct StatsVirtioScsiLunRequestDefaultTypeInternal { + constexpr StatsVirtioScsiLunRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioScsiLunStatsRequestDefaultTypeInternal() {} + ~StatsVirtioScsiLunRequestDefaultTypeInternal() {} union { - VirtioScsiLunStatsRequest _instance; + StatsVirtioScsiLunRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiLunStatsRequestDefaultTypeInternal _VirtioScsiLunStatsRequest_default_instance_; -constexpr VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioScsiLunRequestDefaultTypeInternal _StatsVirtioScsiLunRequest_default_instance_; +constexpr StatsVirtioScsiLunResponse::StatsVirtioScsiLunResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(nullptr) - , stats_(nullptr){} -struct VirtioScsiLunStatsResponseDefaultTypeInternal { - constexpr VirtioScsiLunStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsVirtioScsiLunResponseDefaultTypeInternal { + constexpr StatsVirtioScsiLunResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~VirtioScsiLunStatsResponseDefaultTypeInternal() {} + ~StatsVirtioScsiLunResponseDefaultTypeInternal() {} union { - VirtioScsiLunStatsResponse _instance; + StatsVirtioScsiLunResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiLunStatsResponseDefaultTypeInternal _VirtioScsiLunStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsVirtioScsiLunResponseDefaultTypeInternal _StatsVirtioScsiLunResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -459,20 +456,19 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetVirtioScsiTargetRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiTargetStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiTargetRequest, _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::VirtioScsiTargetStatsRequest, target_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiTargetRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiTargetStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiTargetResponse, _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::VirtioScsiTargetStatsResponse, id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiTargetStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiTargetResponse, stats_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -523,20 +519,19 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetVirtioScsiControllerRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiControllerStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiControllerRequest, _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::VirtioScsiControllerStatsRequest, controller_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiControllerRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiControllerStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiControllerResponse, _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::VirtioScsiControllerStatsResponse, id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiControllerStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiControllerResponse, stats_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiLunRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -587,21 +582,20 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetVirtioScsiLunRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiLunStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiLunRequest, _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::VirtioScsiLunStatsRequest, controller_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiLunStatsRequest, lun_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiLunRequest, name_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiLunRequest, controller_id_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiLunStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiLunResponse, _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::VirtioScsiLunStatsResponse, id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VirtioScsiLunStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsVirtioScsiLunResponse, stats_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTarget)}, @@ -613,24 +607,24 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 52, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiTargetsRequest)}, { 61, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiTargetsResponse)}, { 69, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiTargetRequest)}, - { 76, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTargetStatsRequest)}, - { 83, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTargetStatsResponse)}, - { 91, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiControllerRequest)}, - { 99, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest)}, - { 107, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest)}, - { 116, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllersRequest)}, - { 125, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllersResponse)}, - { 133, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiControllerRequest)}, - { 140, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiControllerStatsRequest)}, - { 147, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiControllerStatsResponse)}, - { 155, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiLunRequest)}, - { 163, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiLunRequest)}, - { 171, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiLunRequest)}, - { 180, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunsRequest)}, - { 189, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunsResponse)}, - { 197, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiLunRequest)}, - { 204, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLunStatsRequest)}, - { 212, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLunStatsResponse)}, + { 76, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioScsiTargetRequest)}, + { 83, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioScsiTargetResponse)}, + { 90, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiControllerRequest)}, + { 98, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest)}, + { 106, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest)}, + { 115, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllersRequest)}, + { 124, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllersResponse)}, + { 132, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiControllerRequest)}, + { 139, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioScsiControllerRequest)}, + { 146, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioScsiControllerResponse)}, + { 153, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiLunRequest)}, + { 161, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiLunRequest)}, + { 169, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiLunRequest)}, + { 178, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunsRequest)}, + { 187, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunsResponse)}, + { 195, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiLunRequest)}, + { 202, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioScsiLunRequest)}, + { 210, -1, -1, sizeof(::opi_api::storage::v1::StatsVirtioScsiLunResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -643,24 +637,24 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::opi_api::storage::v1::_ListVirtioScsiTargetsRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListVirtioScsiTargetsResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetVirtioScsiTargetRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioScsiTargetStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioScsiTargetStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioScsiTargetRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioScsiTargetResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_CreateVirtioScsiControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_DeleteVirtioScsiControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_UpdateVirtioScsiControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListVirtioScsiControllersRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListVirtioScsiControllersResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetVirtioScsiControllerRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioScsiControllerStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioScsiControllerStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioScsiControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioScsiControllerResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_CreateVirtioScsiLunRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_DeleteVirtioScsiLunRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_UpdateVirtioScsiLunRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListVirtioScsiLunsRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListVirtioScsiLunsResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetVirtioScsiLunRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioScsiLunStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_VirtioScsiLunStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioScsiLunRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsVirtioScsiLunResponse_default_instance_), }; const char descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -670,178 +664,182 @@ const char descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto[] PROTOBUF "/resource.proto\032\033google/protobuf/empty.p" "roto\032\034google/api/annotations.proto\032\037goog" "le/api/field_behavior.proto\032 google/prot" - "obuf/field_mask.proto\"r\n\020VirtioScsiTarge" - "t\022\014\n\004name\030\001 \001(\t\022\020\n\010max_luns\030\002 \001(\005:>\352A;\n\'" - "storage.opiproject.org/VirtioScsiTarget\022" - "\020volumes/{volume}\"\374\001\n\024VirtioScsiControll" - "er\022\014\n\004name\030\001 \001(\t\0220\n\007pcie_id\030\002 \001(\0132\037.opi_" - "api.storage.v1.PciEndpoint\022/\n\tmin_limit\030" - "\003 \001(\0132\034.opi_api.storage.v1.QosLimit\022/\n\tm" - "ax_limit\030\004 \001(\0132\034.opi_api.storage.v1.QosL" - "imit:B\352A\?\n+storage.opiproject.org/Virtio" - "ScsiController\022\020volumes/{volume}\"\274\001\n\rVir" - "tioScsiLun\022\014\n\004name\030\001 \001(\t\022/\n\ttarget_id\030\002 " - "\001(\0132\034.opi_api.common.v1.ObjectKey\022/\n\tvol" - "ume_id\030\003 \001(\0132\034.opi_api.common.v1.ObjectK" - "ey:;\352A8\n$storage.opiproject.org/VirtioSc" - "siLun\022\020volumes/{volume}\"\205\001\n\035CreateVirtio" - "ScsiTargetRequest\022E\n\022virtio_scsi_target\030" - "\002 \001(\0132$.opi_api.storage.v1.VirtioScsiTar" - "getB\003\340A\002\022\035\n\025virtio_scsi_target_id\030\003 \001(\t\"" - "q\n\035DeleteVirtioScsiTargetRequest\0229\n\004name" - "\030\001 \001(\tB+\340A\002\372A%\n#opi_api.storage.v1/Virti" - "oScsiTarget\022\025\n\rallow_missing\030\002 \001(\010\"\251\001\n\035U" - "pdateVirtioScsiTargetRequest\022@\n\022virtio_s" - "csi_target\030\001 \001(\0132$.opi_api.storage.v1.Vi" - "rtioScsiTarget\022/\n\013update_mask\030\002 \001(\0132\032.go" - "ogle.protobuf.FieldMask\022\025\n\rallow_missing" - "\030\003 \001(\010\"\202\001\n\034ListVirtioScsiTargetsRequest\022" - ";\n\006parent\030\001 \001(\tB+\340A\002\372A%\n#opi_api.storage" - ".v1/VirtioScsiTarget\022\021\n\tpage_size\030\002 \001(\005\022" - "\022\n\npage_token\030\003 \001(\t\"{\n\035ListVirtioScsiTar" - "getsResponse\022A\n\023virtio_scsi_targets\030\001 \003(" - "\0132$.opi_api.storage.v1.VirtioScsiTarget\022" - "\027\n\017next_page_token\030\002 \001(\t\"W\n\032GetVirtioScs" - "iTargetRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#op" - "i_api.storage.v1/VirtioScsiTarget\"O\n\034Vir" - "tioScsiTargetStatsRequest\022/\n\ttarget_id\030\001" - " \001(\0132\034.opi_api.common.v1.ObjectKey\"y\n\035Vi" - "rtioScsiTargetStatsResponse\022(\n\002id\030\001 \001(\0132" - "\034.opi_api.common.v1.ObjectKey\022.\n\005stats\030\002" - " \001(\0132\037.opi_api.storage.v1.VolumeStats\"\225\001" - "\n!CreateVirtioScsiControllerRequest\022M\n\026v" - "irtio_scsi_controller\030\002 \001(\0132(.opi_api.st" - "orage.v1.VirtioScsiControllerB\003\340A\002\022!\n\031vi" - "rtio_scsi_controller_id\030\003 \001(\t\"y\n!DeleteV" - "irtioScsiControllerRequest\022=\n\004name\030\001 \001(\t" - "B/\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiC" - "ontroller\022\025\n\rallow_missing\030\002 \001(\010\"\265\001\n!Upd" - "ateVirtioScsiControllerRequest\022H\n\026virtio" - "_scsi_controller\030\001 \001(\0132(.opi_api.storage" - ".v1.VirtioScsiController\022/\n\013update_mask\030" - "\002 \001(\0132\032.google.protobuf.FieldMask\022\025\n\rall" - "ow_missing\030\003 \001(\010\"\212\001\n ListVirtioScsiContr" - "ollersRequest\022\?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'o" - "pi_api.storage.v1/VirtioScsiController\022\021" - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\207\001" - "\n!ListVirtioScsiControllersResponse\022I\n\027v" - "irtio_scsi_controllers\030\001 \003(\0132(.opi_api.s" - "torage.v1.VirtioScsiController\022\027\n\017next_p" - "age_token\030\002 \001(\t\"_\n\036GetVirtioScsiControll" - "erRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api" - ".storage.v1/VirtioScsiController\"W\n Virt" - "ioScsiControllerStatsRequest\0223\n\rcontroll" - "er_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" - "y\"}\n!VirtioScsiControllerStatsResponse\022(" - "\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" - "\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.Vol" - "umeStats\"y\n\032CreateVirtioScsiLunRequest\022\?" - "\n\017virtio_scsi_lun\030\002 \001(\0132!.opi_api.storag" - "e.v1.VirtioScsiLunB\003\340A\002\022\032\n\022virtio_scsi_l" - "un_id\030\003 \001(\t\"k\n\032DeleteVirtioScsiLunReques" - "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage" - ".v1/VirtioScsiLun\022\025\n\rallow_missing\030\002 \001(\010" - "\"\240\001\n\032UpdateVirtioScsiLunRequest\022:\n\017virti" - "o_scsi_lun\030\001 \001(\0132!.opi_api.storage.v1.Vi" - "rtioScsiLun\022/\n\013update_mask\030\002 \001(\0132\032.googl" - "e.protobuf.FieldMask\022\025\n\rallow_missing\030\003 " - "\001(\010\"|\n\031ListVirtioScsiLunsRequest\0228\n\006pare" - "nt\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Vir" - "tioScsiLun\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - "ken\030\003 \001(\t\"r\n\032ListVirtioScsiLunsResponse\022" - ";\n\020virtio_scsi_luns\030\001 \003(\0132!.opi_api.stor" - "age.v1.VirtioScsiLun\022\027\n\017next_page_token\030" - "\002 \001(\t\"Q\n\027GetVirtioScsiLunRequest\0226\n\004name" - "\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Virti" - "oScsiLun\"~\n\031VirtioScsiLunStatsRequest\0223\n" - "\rcontroller_id\030\001 \001(\0132\034.opi_api.common.v1" - ".ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\"v\n\032VirtioScsiLunStatsRe" - "sponse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.O" - "bjectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storag" - "e.v1.VolumeStats2\350\030\n\031FrontendVirtioScsiS" - "ervice\022\305\001\n\026CreateVirtioScsiTarget\0221.opi_" - "api.storage.v1.CreateVirtioScsiTargetReq" + "obuf/field_mask.proto\"\242\001\n\020VirtioScsiTarg" + "et\022<\n\004name\030\001 \001(\tB.\340A\003\340A\005\372A%\n#opi_api.sto" + "rage.v1/VirtioScsiTarget\022\020\n\010max_luns\030\002 \001" + "(\005:>\352A;\n\'storage.opiproject.org/VirtioSc" + "siTarget\022\020volumes/{volume}\"\260\002\n\024VirtioScs" + "iController\022@\n\004name\030\001 \001(\tB2\340A\003\340A\005\372A)\n\'op" + "i_api.storage.v1/VirtioScsiController\0220\n" + "\007pcie_id\030\002 \001(\0132\037.opi_api.storage.v1.PciE" + "ndpoint\022/\n\tmin_limit\030\003 \001(\0132\034.opi_api.sto" + "rage.v1.QosLimit\022/\n\tmax_limit\030\004 \001(\0132\034.op" + "i_api.storage.v1.QosLimit:B\352A\?\n+storage." + "opiproject.org/VirtioScsiController\022\020vol" + "umes/{volume}\"\351\001\n\rVirtioScsiLun\0229\n\004name\030" + "\001 \001(\tB+\340A\003\340A\005\372A\"\n opi_api.storage.v1/Vir" + "tioScsiLun\022/\n\ttarget_id\030\002 \001(\0132\034.opi_api." + "common.v1.ObjectKey\022/\n\tvolume_id\030\003 \001(\0132\034" + ".opi_api.common.v1.ObjectKey:;\352A8\n$stora" + "ge.opiproject.org/VirtioScsiLun\022\020volumes" + "/{volume}\"\205\001\n\035CreateVirtioScsiTargetRequ" + "est\022E\n\022virtio_scsi_target\030\001 \001(\0132$.opi_ap" + "i.storage.v1.VirtioScsiTargetB\003\340A\002\022\035\n\025vi" + "rtio_scsi_target_id\030\002 \001(\t\"q\n\035DeleteVirti" + "oScsiTargetRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%" + "\n#opi_api.storage.v1/VirtioScsiTarget\022\025\n" + "\rallow_missing\030\002 \001(\010\"\251\001\n\035UpdateVirtioScs" + "iTargetRequest\022@\n\022virtio_scsi_target\030\001 \001" + "(\0132$.opi_api.storage.v1.VirtioScsiTarget" + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + "FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"\202\001\n\034Lis" + "tVirtioScsiTargetsRequest\022;\n\006parent\030\001 \001(" + "\tB+\340A\002\372A%\n#opi_api.storage.v1/VirtioScsi" + "Target\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + "\003 \001(\t\"{\n\035ListVirtioScsiTargetsResponse\022A" + "\n\023virtio_scsi_targets\030\001 \003(\0132$.opi_api.st" + "orage.v1.VirtioScsiTarget\022\027\n\017next_page_t" + "oken\030\002 \001(\t\"W\n\032GetVirtioScsiTargetRequest" + "\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#opi_api.storage." + "v1/VirtioScsiTarget\"Y\n\034StatsVirtioScsiTa" + "rgetRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#opi_a" + "pi.storage.v1/VirtioScsiTarget\"O\n\035StatsV" + "irtioScsiTargetResponse\022.\n\005stats\030\001 \001(\0132\037" + ".opi_api.storage.v1.VolumeStats\"\225\001\n!Crea" + "teVirtioScsiControllerRequest\022M\n\026virtio_" + "scsi_controller\030\001 \001(\0132(.opi_api.storage." + "v1.VirtioScsiControllerB\003\340A\002\022!\n\031virtio_s" + "csi_controller_id\030\002 \001(\t\"y\n!DeleteVirtioS" + "csiControllerRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" + "A)\n\'opi_api.storage.v1/VirtioScsiControl" + "ler\022\025\n\rallow_missing\030\002 \001(\010\"\265\001\n!UpdateVir" + "tioScsiControllerRequest\022H\n\026virtio_scsi_" + "controller\030\001 \001(\0132(.opi_api.storage.v1.Vi" + "rtioScsiController\022/\n\013update_mask\030\002 \001(\0132" + "\032.google.protobuf.FieldMask\022\025\n\rallow_mis" + "sing\030\003 \001(\010\"\212\001\n ListVirtioScsiControllers" + "Request\022\?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_api" + ".storage.v1/VirtioScsiController\022\021\n\tpage" + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\207\001\n!List" + "VirtioScsiControllersResponse\022I\n\027virtio_" + "scsi_controllers\030\001 \003(\0132(.opi_api.storage" + ".v1.VirtioScsiController\022\027\n\017next_page_to" + "ken\030\002 \001(\t\"_\n\036GetVirtioScsiControllerRequ" + "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.stora" + "ge.v1/VirtioScsiController\"a\n StatsVirti" + "oScsiControllerRequest\022=\n\004name\030\001 \001(\tB/\340A" + "\002\372A)\n\'opi_api.storage.v1/VirtioScsiContr" + "oller\"S\n!StatsVirtioScsiControllerRespon" + "se\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1.V" + "olumeStats\"y\n\032CreateVirtioScsiLunRequest" + "\022\?\n\017virtio_scsi_lun\030\001 \001(\0132!.opi_api.stor" + "age.v1.VirtioScsiLunB\003\340A\002\022\032\n\022virtio_scsi" + "_lun_id\030\002 \001(\t\"k\n\032DeleteVirtioScsiLunRequ" + "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" + "ge.v1/VirtioScsiLun\022\025\n\rallow_missing\030\002 \001" + "(\010\"\240\001\n\032UpdateVirtioScsiLunRequest\022:\n\017vir" + "tio_scsi_lun\030\001 \001(\0132!.opi_api.storage.v1." + "VirtioScsiLun\022/\n\013update_mask\030\002 \001(\0132\032.goo" + "gle.protobuf.FieldMask\022\025\n\rallow_missing\030" + "\003 \001(\010\"|\n\031ListVirtioScsiLunsRequest\0228\n\006pa" + "rent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/V" + "irtioScsiLun\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + "token\030\003 \001(\t\"r\n\032ListVirtioScsiLunsRespons" + "e\022;\n\020virtio_scsi_luns\030\001 \003(\0132!.opi_api.st" + "orage.v1.VirtioScsiLun\022\027\n\017next_page_toke" + "n\030\002 \001(\t\"Q\n\027GetVirtioScsiLunRequest\0226\n\004na" + "me\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Vir" + "tioScsiLun\"\210\001\n\031StatsVirtioScsiLunRequest" + "\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage." + "v1/VirtioScsiLun\0223\n\rcontroller_id\030\002 \001(\0132" + "\034.opi_api.common.v1.ObjectKey\"L\n\032StatsVi" + "rtioScsiLunResponse\022.\n\005stats\030\001 \001(\0132\037.opi" + "_api.storage.v1.VolumeStats2\313\031\n\031Frontend" + "VirtioScsiService\022\305\001\n\026CreateVirtioScsiTa" + "rget\0221.opi_api.storage.v1.CreateVirtioSc" + "siTargetRequest\032$.opi_api.storage.v1.Vir" + "tioScsiTarget\"R\202\323\344\223\002!\"\013/v1/volumes:\022virt" + "io_scsi_target\332A(virtio_scsi_target,virt" + "io_scsi_target_id\022\222\001\n\026DeleteVirtioScsiTa" + "rget\0221.opi_api.storage.v1.DeleteVirtioSc" + "siTargetRequest\032\026.google.protobuf.Empty\"" + "-\202\323\344\223\002 *\036/v1/{name=VirtioScsiTargets/*}\332" + "A\004name\022\330\001\n\026UpdateVirtioScsiTarget\0221.opi_" + "api.storage.v1.UpdateVirtioScsiTargetReq" "uest\032$.opi_api.storage.v1.VirtioScsiTarg" - "et\"R\202\323\344\223\002!\"\013/v1/volumes:\022virtio_scsi_tar" - "get\332A(virtio_scsi_target,virtio_scsi_tar" - "get_id\022\234\001\n\026DeleteVirtioScsiTarget\0221.opi_" - "api.storage.v1.DeleteVirtioScsiTargetReq" - "uest\032\026.google.protobuf.Empty\"7\202\323\344\223\002**(/v" - "1/{name=subsystems}/{virtioscsitarget}\332A" - "\004name\022\330\001\n\026UpdateVirtioScsiTarget\0221.opi_a" - "pi.storage.v1.UpdateVirtioScsiTargetRequ" - "est\032$.opi_api.storage.v1.VirtioScsiTarge" - "t\"e\202\323\344\223\002>2(/v1/{virtio_scsi_target.name=" - "subsystems}:\022virtio_scsi_target\332A\036virtio" - "_scsi_target,update_mask\022\246\001\n\025ListVirtioS" - "csiTargets\0220.opi_api.storage.v1.ListVirt" - "ioScsiTargetsRequest\0321.opi_api.storage.v" - "1.ListVirtioScsiTargetsResponse\"(\202\323\344\223\002\031\022" - "\027/v1/{parent=subsystems}\332A\006parent\022\244\001\n\023Ge" - "tVirtioScsiTarget\022..opi_api.storage.v1.G" - "etVirtioScsiTargetRequest\032$.opi_api.stor" - "age.v1.VirtioScsiTarget\"7\202\323\344\223\002*\022(/v1/{na" - "me=subsystems}/{virtioscsitarget}\332A\004name" - "\022~\n\025VirtioScsiTargetStats\0220.opi_api.stor" - "age.v1.VirtioScsiTargetStatsRequest\0321.op" - "i_api.storage.v1.VirtioScsiTargetStatsRe" - "sponse\"\000\022\335\001\n\032CreateVirtioScsiController\022" - "5.opi_api.storage.v1.CreateVirtioScsiCon" - "trollerRequest\032(.opi_api.storage.v1.Virt" - "ioScsiController\"^\202\323\344\223\002%\"\013/v1/volumes:\026v" - "irtio_scsi_controller\332A0virtio_scsi_cont" - "roller,virtio_scsi_controller_id\022\247\001\n\032Del" - "eteVirtioScsiController\0225.opi_api.storag" - "e.v1.DeleteVirtioScsiControllerRequest\032\026" - ".google.protobuf.Empty\":\202\323\344\223\002-*+/v1/{nam" - "e=virtioscsictrls}/{virtioscsictrl}\332A\004na" - "me\022\360\001\n\032UpdateVirtioScsiController\0225.opi_" - "api.storage.v1.UpdateVirtioScsiControlle" - "rRequest\032(.opi_api.storage.v1.VirtioScsi" - "Controller\"q\202\323\344\223\002F2,/v1/{virtio_scsi_con" - "troller.name=subsystems}:\026virtio_scsi_co" - "ntroller\332A\"virtio_scsi_controller,update" - "_mask\022\262\001\n\031ListVirtioScsiControllers\0224.op" - "i_api.storage.v1.ListVirtioScsiControlle" - "rsRequest\0325.opi_api.storage.v1.ListVirti" - "oScsiControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{p" - "arent=subsystems}\332A\006parent\022\256\001\n\027GetVirtio" - "ScsiController\0222.opi_api.storage.v1.GetV" - "irtioScsiControllerRequest\032(.opi_api.sto" - "rage.v1.VirtioScsiController\"5\202\323\344\223\002(\022&/v" - "1/{name=subsystems}/{virtioscsictrl}\332A\004n" - "ame\022\212\001\n\031VirtioScsiControllerStats\0224.opi_" - "api.storage.v1.VirtioScsiControllerStats" - "Request\0325.opi_api.storage.v1.VirtioScsiC" - "ontrollerStatsResponse\"\000\022\263\001\n\023CreateVirti" - "oScsiLun\022..opi_api.storage.v1.CreateVirt" - "ioScsiLunRequest\032!.opi_api.storage.v1.Vi" - "rtioScsiLun\"I\202\323\344\223\002\036\"\013/v1/volumes:\017virtio" - "_scsi_lun\332A\"virtio_scsi_lun,virtio_scsi_" - "lun_id\022\227\001\n\023DeleteVirtioScsiLun\022..opi_api" - ".storage.v1.DeleteVirtioScsiLunRequest\032\026" - ".google.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{nam" - "e=virtioscsiluns}/{virtioscsilun}\332A\004name" - "\022\306\001\n\023UpdateVirtioScsiLun\022..opi_api.stora" - "ge.v1.UpdateVirtioScsiLunRequest\032!.opi_a" - "pi.storage.v1.VirtioScsiLun\"\\\202\323\344\223\00282%/v1" - "/{virtio_scsi_lun.name=subsystems}:\017virt" - "io_scsi_lun\332A\033virtio_scsi_lun,update_mas" - "k\022\235\001\n\022ListVirtioScsiLuns\022-.opi_api.stora" - "ge.v1.ListVirtioScsiLunsRequest\032..opi_ap" - "i.storage.v1.ListVirtioScsiLunsResponse\"" - "(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006paren" - "t\022\230\001\n\020GetVirtioScsiLun\022+.opi_api.storage" - ".v1.GetVirtioScsiLunRequest\032!.opi_api.st" - "orage.v1.VirtioScsiLun\"4\202\323\344\223\002\'\022%/v1/{nam" - "e=subsystems}/{virtioscsilun}\332A\004name\022u\n\022" - "VirtioScsiLunStats\022-.opi_api.storage.v1." - "VirtioScsiLunStatsRequest\032..opi_api.stor" - "age.v1.VirtioScsiLunStatsResponse\"\000Bf\n\022o" - "pi_api.storage.v1B\027FrontendVirtioScsiPro" - "toP\001Z5github.com/opiproject/opi-api/stor" - "age/v1alpha1/gen/gob\006proto3" + "et\"e\202\323\344\223\002>2(/v1/{virtio_scsi_target.name" + "=subsystems}:\022virtio_scsi_target\332A\036virti" + "o_scsi_target,update_mask\022\246\001\n\025ListVirtio" + "ScsiTargets\0220.opi_api.storage.v1.ListVir" + "tioScsiTargetsRequest\0321.opi_api.storage." + "v1.ListVirtioScsiTargetsResponse\"(\202\323\344\223\002\031" + "\022\027/v1/{parent=subsystems}\332A\006parent\022\232\001\n\023G" + "etVirtioScsiTarget\022..opi_api.storage.v1." + "GetVirtioScsiTargetRequest\032$.opi_api.sto" + "rage.v1.VirtioScsiTarget\"-\202\323\344\223\002 \022\036/v1/{n" + "ame=VirtioScsiTargets/*}\332A\004name\022\261\001\n\025Stat" + "sVirtioScsiTarget\0220.opi_api.storage.v1.S" + "tatsVirtioScsiTargetRequest\0321.opi_api.st" + "orage.v1.StatsVirtioScsiTargetResponse\"3" + "\202\323\344\223\002&\022$/v1/{name=VirtioScsiTargets/*}:s" + "tats\332A\004name\022\335\001\n\032CreateVirtioScsiControll" + "er\0225.opi_api.storage.v1.CreateVirtioScsi" + "ControllerRequest\032(.opi_api.storage.v1.V" + "irtioScsiController\"^\202\323\344\223\002%\"\013/v1/volumes" + ":\026virtio_scsi_controller\332A0virtio_scsi_c" + "ontroller,virtio_scsi_controller_id\022\236\001\n\032" + "DeleteVirtioScsiController\0225.opi_api.sto" + "rage.v1.DeleteVirtioScsiControllerReques" + "t\032\026.google.protobuf.Empty\"1\202\323\344\223\002$*\"/v1/{" + "name=VirtioScsiControllers/*}\332A\004name\022\360\001\n" + "\032UpdateVirtioScsiController\0225.opi_api.st" + "orage.v1.UpdateVirtioScsiControllerReque" + "st\032(.opi_api.storage.v1.VirtioScsiContro" + "ller\"q\202\323\344\223\002F2,/v1/{virtio_scsi_controlle" + "r.name=subsystems}:\026virtio_scsi_controll" + "er\332A\"virtio_scsi_controller,update_mask\022" + "\262\001\n\031ListVirtioScsiControllers\0224.opi_api." + "storage.v1.ListVirtioScsiControllersRequ" + "est\0325.opi_api.storage.v1.ListVirtioScsiC" + "ontrollersResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=" + "subsystems}\332A\006parent\022\252\001\n\027GetVirtioScsiCo" + "ntroller\0222.opi_api.storage.v1.GetVirtioS" + "csiControllerRequest\032(.opi_api.storage.v" + "1.VirtioScsiController\"1\202\323\344\223\002$\022\"/v1/{nam" + "e=VirtioScsiControllers/*}\332A\004name\022\301\001\n\031St" + "atsVirtioScsiController\0224.opi_api.storag" + "e.v1.StatsVirtioScsiControllerRequest\0325." + "opi_api.storage.v1.StatsVirtioScsiContro" + "llerResponse\"7\202\323\344\223\002*\022(/v1/{name=VirtioSc" + "siControllers/*}:stats\332A\004name\022\263\001\n\023Create" + "VirtioScsiLun\022..opi_api.storage.v1.Creat" + "eVirtioScsiLunRequest\032!.opi_api.storage." + "v1.VirtioScsiLun\"I\202\323\344\223\002\036\"\013/v1/volumes:\017v" + "irtio_scsi_lun\332A\"virtio_scsi_lun,virtio_" + "scsi_lun_id\022\211\001\n\023DeleteVirtioScsiLun\022..op" + "i_api.storage.v1.DeleteVirtioScsiLunRequ" + "est\032\026.google.protobuf.Empty\"*\202\323\344\223\002\035*\033/v1" + "/{name=VirtioScsiLuns/*}\332A\004name\022\306\001\n\023Upda" + "teVirtioScsiLun\022..opi_api.storage.v1.Upd" + "ateVirtioScsiLunRequest\032!.opi_api.storag" + "e.v1.VirtioScsiLun\"\\\202\323\344\223\00282%/v1/{virtio_" + "scsi_lun.name=subsystems}:\017virtio_scsi_l" + "un\332A\033virtio_scsi_lun,update_mask\022\235\001\n\022Lis" + "tVirtioScsiLuns\022-.opi_api.storage.v1.Lis" + "tVirtioScsiLunsRequest\032..opi_api.storage" + ".v1.ListVirtioScsiLunsResponse\"(\202\323\344\223\002\031\022\027" + "/v1/{parent=subsystems}\332A\006parent\022\216\001\n\020Get" + "VirtioScsiLun\022+.opi_api.storage.v1.GetVi" + "rtioScsiLunRequest\032!.opi_api.storage.v1." + "VirtioScsiLun\"*\202\323\344\223\002\035\022\033/v1/{name=VirtioS" + "csiLuns/*}\332A\004name\022\245\001\n\022StatsVirtioScsiLun" + "\022-.opi_api.storage.v1.StatsVirtioScsiLun" + "Request\032..opi_api.storage.v1.StatsVirtio" + "ScsiLunResponse\"0\202\323\344\223\002#\022!/v1/{name=Virti" + "oScsiLuns/*}:stats\332A\004nameBf\n\022opi_api.sto" + "rage.v1B\027FrontendVirtioScsiProtoP\001Z5gith" + "ub.com/opiproject/opi-api/storage/v1alph" + "a1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fscsi_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -855,7 +853,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frontend_5fvirtio_5fscsi_2eproto = { - false, false, 7107, descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto, "frontend_virtio_scsi.proto", + false, false, 7257, descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto, "frontend_virtio_scsi.proto", &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, descriptor_table_frontend_5fvirtio_5fscsi_2eproto_deps, 8, 27, schemas, file_default_instances, TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto, file_level_enum_descriptors_frontend_5fvirtio_5fscsi_2eproto, file_level_service_descriptors_frontend_5fvirtio_5fscsi_2eproto, @@ -947,7 +945,7 @@ const char* VirtioScsiTarget::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA 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(); @@ -994,7 +992,7 @@ uint8_t* VirtioScsiTarget::_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()), @@ -1026,7 +1024,7 @@ size_t VirtioScsiTarget::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( @@ -1240,7 +1238,7 @@ const char* VirtioScsiController::_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(); @@ -1303,7 +1301,7 @@ uint8_t* VirtioScsiController::_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()), @@ -1353,7 +1351,7 @@ size_t VirtioScsiController::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( @@ -1573,7 +1571,7 @@ const char* VirtioScsiLun::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ 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(); @@ -1628,7 +1626,7 @@ uint8_t* VirtioScsiLun::_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()), @@ -1670,7 +1668,7 @@ size_t VirtioScsiLun::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( @@ -1850,17 +1848,17 @@ const char* CreateVirtioScsiTargetRequest::_InternalParse(const char* ptr, ::PRO uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_virtio_scsi_target(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string virtio_scsi_target_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string virtio_scsi_target_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_virtio_scsi_target_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateVirtioScsiTargetRequest.virtio_scsi_target_id")); @@ -1897,22 +1895,22 @@ uint8_t* CreateVirtioScsiTargetRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_scsi_target()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::virtio_scsi_target(this), target, stream); + 1, _Internal::virtio_scsi_target(this), target, stream); } - // string virtio_scsi_target_id = 3; + // string virtio_scsi_target_id = 2; if (!this->_internal_virtio_scsi_target_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_virtio_scsi_target_id().data(), static_cast(this->_internal_virtio_scsi_target_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateVirtioScsiTargetRequest.virtio_scsi_target_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_virtio_scsi_target_id(), target); + 2, this->_internal_virtio_scsi_target_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -1931,14 +1929,14 @@ size_t CreateVirtioScsiTargetRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string virtio_scsi_target_id = 3; + // string virtio_scsi_target_id = 2; if (!this->_internal_virtio_scsi_target_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_virtio_scsi_target_id()); } - // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_scsi_target()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -3228,90 +3226,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetVirtioScsiTargetRequest::GetMetadata() cons // =================================================================== -class VirtioScsiTargetStatsRequest::_Internal { +class StatsVirtioScsiTargetRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& target_id(const VirtioScsiTargetStatsRequest* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioScsiTargetStatsRequest::_Internal::target_id(const VirtioScsiTargetStatsRequest* msg) { - return *msg->target_id_; -} -void VirtioScsiTargetStatsRequest::clear_target_id() { - if (GetArenaForAllocation() == nullptr && target_id_ != nullptr) { - delete target_id_; - } - target_id_ = nullptr; -} -VirtioScsiTargetStatsRequest::VirtioScsiTargetStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioScsiTargetRequest::StatsVirtioScsiTargetRequest(::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.VirtioScsiTargetStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioScsiTargetRequest) } -VirtioScsiTargetStatsRequest::VirtioScsiTargetStatsRequest(const VirtioScsiTargetStatsRequest& from) +StatsVirtioScsiTargetRequest::StatsVirtioScsiTargetRequest(const StatsVirtioScsiTargetRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_target_id()) { - target_id_ = new ::opi_api::common::v1::ObjectKey(*from.target_id_); - } else { - target_id_ = 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.VirtioScsiTargetStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioScsiTargetRequest) } -inline void VirtioScsiTargetStatsRequest::SharedCtor() { -target_id_ = nullptr; +inline void StatsVirtioScsiTargetRequest::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 } -VirtioScsiTargetStatsRequest::~VirtioScsiTargetStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioScsiTargetStatsRequest) +StatsVirtioScsiTargetRequest::~StatsVirtioScsiTargetRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioScsiTargetRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioScsiTargetStatsRequest::SharedDtor() { +inline void StatsVirtioScsiTargetRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete target_id_; + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void VirtioScsiTargetStatsRequest::ArenaDtor(void* object) { - VirtioScsiTargetStatsRequest* _this = reinterpret_cast< VirtioScsiTargetStatsRequest* >(object); +void StatsVirtioScsiTargetRequest::ArenaDtor(void* object) { + StatsVirtioScsiTargetRequest* _this = reinterpret_cast< StatsVirtioScsiTargetRequest* >(object); (void)_this; } -void VirtioScsiTargetStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioScsiTargetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioScsiTargetStatsRequest::SetCachedSize(int size) const { +void StatsVirtioScsiTargetRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioScsiTargetStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioScsiTargetStatsRequest) +void StatsVirtioScsiTargetRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioScsiTargetRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && target_id_ != nullptr) { - delete target_id_; - } - target_id_ = nullptr; + name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioScsiTargetStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioScsiTargetRequest::_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 target_id = 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_target_id(), 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.StatsVirtioScsiTargetRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -3339,89 +3331,97 @@ const char* VirtioScsiTargetStatsRequest::_InternalParse(const char* ptr, ::PROT #undef CHK_ } -uint8_t* VirtioScsiTargetStatsRequest::_InternalSerialize( +uint8_t* StatsVirtioScsiTargetRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioScsiTargetStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioScsiTargetRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey target_id = 1; - if (this->_internal_has_target_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::target_id(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.StatsVirtioScsiTargetRequest.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.VirtioScsiTargetStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioScsiTargetRequest) return target; } -size_t VirtioScsiTargetStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioScsiTargetStatsRequest) +size_t StatsVirtioScsiTargetRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioScsiTargetRequest) 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 target_id = 1; - if (this->_internal_has_target_id()) { + // 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( - *target_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioScsiTargetStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioScsiTargetRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioScsiTargetStatsRequest::MergeImpl + StatsVirtioScsiTargetRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioScsiTargetStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioScsiTargetRequest::GetClassData() const { return &_class_data_; } -void VirtioScsiTargetStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioScsiTargetRequest::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 VirtioScsiTargetStatsRequest::MergeFrom(const VirtioScsiTargetStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioScsiTargetStatsRequest) +void StatsVirtioScsiTargetRequest::MergeFrom(const StatsVirtioScsiTargetRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioScsiTargetRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_target_id()) { - _internal_mutable_target_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_target_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void VirtioScsiTargetStatsRequest::CopyFrom(const VirtioScsiTargetStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioScsiTargetStatsRequest) +void StatsVirtioScsiTargetRequest::CopyFrom(const StatsVirtioScsiTargetRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioScsiTargetRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioScsiTargetStatsRequest::IsInitialized() const { +bool StatsVirtioScsiTargetRequest::IsInitialized() const { return true; } -void VirtioScsiTargetStatsRequest::InternalSwap(VirtioScsiTargetStatsRequest* other) { +void StatsVirtioScsiTargetRequest::InternalSwap(StatsVirtioScsiTargetRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(target_id_, other->target_id_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &name_, lhs_arena, + &other->name_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiTargetStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioScsiTargetRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto[9]); @@ -3429,97 +3429,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiTargetStatsRequest::GetMetadata() co // =================================================================== -class VirtioScsiTargetStatsResponse::_Internal { +class StatsVirtioScsiTargetResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& id(const VirtioScsiTargetStatsResponse* msg); - static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioScsiTargetStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsVirtioScsiTargetResponse* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioScsiTargetStatsResponse::_Internal::id(const VirtioScsiTargetStatsResponse* msg) { - return *msg->id_; -} const ::opi_api::storage::v1::VolumeStats& -VirtioScsiTargetStatsResponse::_Internal::stats(const VirtioScsiTargetStatsResponse* msg) { +StatsVirtioScsiTargetResponse::_Internal::stats(const StatsVirtioScsiTargetResponse* msg) { return *msg->stats_; } -void VirtioScsiTargetStatsResponse::clear_id() { - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void VirtioScsiTargetStatsResponse::clear_stats() { +void StatsVirtioScsiTargetResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioScsiTargetResponse::StatsVirtioScsiTargetResponse(::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.VirtioScsiTargetStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioScsiTargetResponse) } -VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse(const VirtioScsiTargetStatsResponse& from) +StatsVirtioScsiTargetResponse::StatsVirtioScsiTargetResponse(const StatsVirtioScsiTargetResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_id()) { - id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); - } else { - id_ = 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.VirtioScsiTargetStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioScsiTargetResponse) } -inline void VirtioScsiTargetStatsResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&stats_) - - reinterpret_cast(&id_)) + sizeof(stats_)); +inline void StatsVirtioScsiTargetResponse::SharedCtor() { +stats_ = nullptr; } -VirtioScsiTargetStatsResponse::~VirtioScsiTargetStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioScsiTargetStatsResponse) +StatsVirtioScsiTargetResponse::~StatsVirtioScsiTargetResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioScsiTargetResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioScsiTargetStatsResponse::SharedDtor() { +inline void StatsVirtioScsiTargetResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete stats_; } -void VirtioScsiTargetStatsResponse::ArenaDtor(void* object) { - VirtioScsiTargetStatsResponse* _this = reinterpret_cast< VirtioScsiTargetStatsResponse* >(object); +void StatsVirtioScsiTargetResponse::ArenaDtor(void* object) { + StatsVirtioScsiTargetResponse* _this = reinterpret_cast< StatsVirtioScsiTargetResponse* >(object); (void)_this; } -void VirtioScsiTargetStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioScsiTargetResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioScsiTargetStatsResponse::SetCachedSize(int size) const { +void StatsVirtioScsiTargetResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioScsiTargetStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioScsiTargetStatsResponse) +void StatsVirtioScsiTargetResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioScsiTargetResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -3527,23 +3503,15 @@ void VirtioScsiTargetStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioScsiTargetStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioScsiTargetResponse::_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 id = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_id(), 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 @@ -3572,52 +3540,37 @@ const char* VirtioScsiTargetStatsResponse::_InternalParse(const char* ptr, ::PRO #undef CHK_ } -uint8_t* VirtioScsiTargetStatsResponse::_InternalSerialize( +uint8_t* StatsVirtioScsiTargetResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioScsiTargetStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioScsiTargetResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey id = 1; - if (this->_internal_has_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::id(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.VirtioScsiTargetStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioScsiTargetResponse) return target; } -size_t VirtioScsiTargetStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioScsiTargetStatsResponse) +size_t StatsVirtioScsiTargetResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioScsiTargetResponse) 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 id = 1; - if (this->_internal_has_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *id_); - } - - // .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( @@ -3627,57 +3580,49 @@ size_t VirtioScsiTargetStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioScsiTargetStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioScsiTargetResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioScsiTargetStatsResponse::MergeImpl + StatsVirtioScsiTargetResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioScsiTargetStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioScsiTargetResponse::GetClassData() const { return &_class_data_; } -void VirtioScsiTargetStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioScsiTargetResponse::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 VirtioScsiTargetStatsResponse::MergeFrom(const VirtioScsiTargetStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioScsiTargetStatsResponse) +void StatsVirtioScsiTargetResponse::MergeFrom(const StatsVirtioScsiTargetResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioScsiTargetResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_id()) { - _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); - } 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 VirtioScsiTargetStatsResponse::CopyFrom(const VirtioScsiTargetStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioScsiTargetStatsResponse) +void StatsVirtioScsiTargetResponse::CopyFrom(const StatsVirtioScsiTargetResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioScsiTargetResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioScsiTargetStatsResponse::IsInitialized() const { +bool StatsVirtioScsiTargetResponse::IsInitialized() const { return true; } -void VirtioScsiTargetStatsResponse::InternalSwap(VirtioScsiTargetStatsResponse* other) { +void StatsVirtioScsiTargetResponse::InternalSwap(StatsVirtioScsiTargetResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(VirtioScsiTargetStatsResponse, stats_) - + sizeof(VirtioScsiTargetStatsResponse::stats_) - - PROTOBUF_FIELD_OFFSET(VirtioScsiTargetStatsResponse, id_)>( - reinterpret_cast(&id_), - reinterpret_cast(&other->id_)); + swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiTargetStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioScsiTargetResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto[10]); @@ -3773,17 +3718,17 @@ const char* CreateVirtioScsiControllerRequest::_InternalParse(const char* ptr, : uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_virtio_scsi_controller(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string virtio_scsi_controller_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string virtio_scsi_controller_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_virtio_scsi_controller_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateVirtioScsiControllerRequest.virtio_scsi_controller_id")); @@ -3820,22 +3765,22 @@ uint8_t* CreateVirtioScsiControllerRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_scsi_controller()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::virtio_scsi_controller(this), target, stream); + 1, _Internal::virtio_scsi_controller(this), target, stream); } - // string virtio_scsi_controller_id = 3; + // string virtio_scsi_controller_id = 2; if (!this->_internal_virtio_scsi_controller_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_virtio_scsi_controller_id().data(), static_cast(this->_internal_virtio_scsi_controller_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateVirtioScsiControllerRequest.virtio_scsi_controller_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_virtio_scsi_controller_id(), target); + 2, this->_internal_virtio_scsi_controller_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -3854,14 +3799,14 @@ size_t CreateVirtioScsiControllerRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string virtio_scsi_controller_id = 3; + // string virtio_scsi_controller_id = 2; if (!this->_internal_virtio_scsi_controller_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_virtio_scsi_controller_id()); } - // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_scsi_controller()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -5151,90 +5096,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetVirtioScsiControllerRequest::GetMetadata() // =================================================================== -class VirtioScsiControllerStatsRequest::_Internal { +class StatsVirtioScsiControllerRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& controller_id(const VirtioScsiControllerStatsRequest* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioScsiControllerStatsRequest::_Internal::controller_id(const VirtioScsiControllerStatsRequest* msg) { - return *msg->controller_id_; -} -void VirtioScsiControllerStatsRequest::clear_controller_id() { - if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { - delete controller_id_; - } - controller_id_ = nullptr; -} -VirtioScsiControllerStatsRequest::VirtioScsiControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioScsiControllerRequest::StatsVirtioScsiControllerRequest(::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.VirtioScsiControllerStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioScsiControllerRequest) } -VirtioScsiControllerStatsRequest::VirtioScsiControllerStatsRequest(const VirtioScsiControllerStatsRequest& from) +StatsVirtioScsiControllerRequest::StatsVirtioScsiControllerRequest(const StatsVirtioScsiControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_controller_id()) { - controller_id_ = new ::opi_api::common::v1::ObjectKey(*from.controller_id_); - } else { - controller_id_ = 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.VirtioScsiControllerStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioScsiControllerRequest) } -inline void VirtioScsiControllerStatsRequest::SharedCtor() { -controller_id_ = nullptr; +inline void StatsVirtioScsiControllerRequest::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 } -VirtioScsiControllerStatsRequest::~VirtioScsiControllerStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioScsiControllerStatsRequest) +StatsVirtioScsiControllerRequest::~StatsVirtioScsiControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioScsiControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioScsiControllerStatsRequest::SharedDtor() { +inline void StatsVirtioScsiControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete controller_id_; + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void VirtioScsiControllerStatsRequest::ArenaDtor(void* object) { - VirtioScsiControllerStatsRequest* _this = reinterpret_cast< VirtioScsiControllerStatsRequest* >(object); +void StatsVirtioScsiControllerRequest::ArenaDtor(void* object) { + StatsVirtioScsiControllerRequest* _this = reinterpret_cast< StatsVirtioScsiControllerRequest* >(object); (void)_this; } -void VirtioScsiControllerStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioScsiControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioScsiControllerStatsRequest::SetCachedSize(int size) const { +void StatsVirtioScsiControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioScsiControllerStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioScsiControllerStatsRequest) +void StatsVirtioScsiControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioScsiControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { - delete controller_id_; - } - controller_id_ = nullptr; + name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioScsiControllerStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioScsiControllerRequest::_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 controller_id = 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_controller_id(), 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.StatsVirtioScsiControllerRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -5262,89 +5201,97 @@ const char* VirtioScsiControllerStatsRequest::_InternalParse(const char* ptr, :: #undef CHK_ } -uint8_t* VirtioScsiControllerStatsRequest::_InternalSerialize( +uint8_t* StatsVirtioScsiControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioScsiControllerStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioScsiControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey controller_id = 1; - if (this->_internal_has_controller_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::controller_id(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.StatsVirtioScsiControllerRequest.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.VirtioScsiControllerStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioScsiControllerRequest) return target; } -size_t VirtioScsiControllerStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioScsiControllerStatsRequest) +size_t StatsVirtioScsiControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioScsiControllerRequest) 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 controller_id = 1; - if (this->_internal_has_controller_id()) { + // 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( - *controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioScsiControllerStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioScsiControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioScsiControllerStatsRequest::MergeImpl + StatsVirtioScsiControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioScsiControllerStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioScsiControllerRequest::GetClassData() const { return &_class_data_; } -void VirtioScsiControllerStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioScsiControllerRequest::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 VirtioScsiControllerStatsRequest::MergeFrom(const VirtioScsiControllerStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioScsiControllerStatsRequest) +void StatsVirtioScsiControllerRequest::MergeFrom(const StatsVirtioScsiControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioScsiControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_controller_id()) { - _internal_mutable_controller_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_controller_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void VirtioScsiControllerStatsRequest::CopyFrom(const VirtioScsiControllerStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioScsiControllerStatsRequest) +void StatsVirtioScsiControllerRequest::CopyFrom(const StatsVirtioScsiControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioScsiControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioScsiControllerStatsRequest::IsInitialized() const { +bool StatsVirtioScsiControllerRequest::IsInitialized() const { return true; } -void VirtioScsiControllerStatsRequest::InternalSwap(VirtioScsiControllerStatsRequest* other) { +void StatsVirtioScsiControllerRequest::InternalSwap(StatsVirtioScsiControllerRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_id_, other->controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &name_, lhs_arena, + &other->name_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiControllerStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioScsiControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto[17]); @@ -5352,97 +5299,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiControllerStatsRequest::GetMetadata( // =================================================================== -class VirtioScsiControllerStatsResponse::_Internal { +class StatsVirtioScsiControllerResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& id(const VirtioScsiControllerStatsResponse* msg); - static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioScsiControllerStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsVirtioScsiControllerResponse* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioScsiControllerStatsResponse::_Internal::id(const VirtioScsiControllerStatsResponse* msg) { - return *msg->id_; -} const ::opi_api::storage::v1::VolumeStats& -VirtioScsiControllerStatsResponse::_Internal::stats(const VirtioScsiControllerStatsResponse* msg) { +StatsVirtioScsiControllerResponse::_Internal::stats(const StatsVirtioScsiControllerResponse* msg) { return *msg->stats_; } -void VirtioScsiControllerStatsResponse::clear_id() { - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void VirtioScsiControllerStatsResponse::clear_stats() { +void StatsVirtioScsiControllerResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioScsiControllerResponse::StatsVirtioScsiControllerResponse(::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.VirtioScsiControllerStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioScsiControllerResponse) } -VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse(const VirtioScsiControllerStatsResponse& from) +StatsVirtioScsiControllerResponse::StatsVirtioScsiControllerResponse(const StatsVirtioScsiControllerResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_id()) { - id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); - } else { - id_ = 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.VirtioScsiControllerStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioScsiControllerResponse) } -inline void VirtioScsiControllerStatsResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&stats_) - - reinterpret_cast(&id_)) + sizeof(stats_)); +inline void StatsVirtioScsiControllerResponse::SharedCtor() { +stats_ = nullptr; } -VirtioScsiControllerStatsResponse::~VirtioScsiControllerStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioScsiControllerStatsResponse) +StatsVirtioScsiControllerResponse::~StatsVirtioScsiControllerResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioScsiControllerResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioScsiControllerStatsResponse::SharedDtor() { +inline void StatsVirtioScsiControllerResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete stats_; } -void VirtioScsiControllerStatsResponse::ArenaDtor(void* object) { - VirtioScsiControllerStatsResponse* _this = reinterpret_cast< VirtioScsiControllerStatsResponse* >(object); +void StatsVirtioScsiControllerResponse::ArenaDtor(void* object) { + StatsVirtioScsiControllerResponse* _this = reinterpret_cast< StatsVirtioScsiControllerResponse* >(object); (void)_this; } -void VirtioScsiControllerStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioScsiControllerResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioScsiControllerStatsResponse::SetCachedSize(int size) const { +void StatsVirtioScsiControllerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioScsiControllerStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioScsiControllerStatsResponse) +void StatsVirtioScsiControllerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioScsiControllerResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -5450,23 +5373,15 @@ void VirtioScsiControllerStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioScsiControllerStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioScsiControllerResponse::_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 id = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_id(), 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 @@ -5495,52 +5410,37 @@ const char* VirtioScsiControllerStatsResponse::_InternalParse(const char* ptr, : #undef CHK_ } -uint8_t* VirtioScsiControllerStatsResponse::_InternalSerialize( +uint8_t* StatsVirtioScsiControllerResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioScsiControllerStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioScsiControllerResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey id = 1; - if (this->_internal_has_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::id(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.VirtioScsiControllerStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioScsiControllerResponse) return target; } -size_t VirtioScsiControllerStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioScsiControllerStatsResponse) +size_t StatsVirtioScsiControllerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioScsiControllerResponse) 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 id = 1; - if (this->_internal_has_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *id_); - } - - // .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( @@ -5550,57 +5450,49 @@ size_t VirtioScsiControllerStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioScsiControllerStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioScsiControllerResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioScsiControllerStatsResponse::MergeImpl + StatsVirtioScsiControllerResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioScsiControllerStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioScsiControllerResponse::GetClassData() const { return &_class_data_; } -void VirtioScsiControllerStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioScsiControllerResponse::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 VirtioScsiControllerStatsResponse::MergeFrom(const VirtioScsiControllerStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioScsiControllerStatsResponse) +void StatsVirtioScsiControllerResponse::MergeFrom(const StatsVirtioScsiControllerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioScsiControllerResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_id()) { - _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); - } 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 VirtioScsiControllerStatsResponse::CopyFrom(const VirtioScsiControllerStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioScsiControllerStatsResponse) +void StatsVirtioScsiControllerResponse::CopyFrom(const StatsVirtioScsiControllerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioScsiControllerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioScsiControllerStatsResponse::IsInitialized() const { +bool StatsVirtioScsiControllerResponse::IsInitialized() const { return true; } -void VirtioScsiControllerStatsResponse::InternalSwap(VirtioScsiControllerStatsResponse* other) { +void StatsVirtioScsiControllerResponse::InternalSwap(StatsVirtioScsiControllerResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(VirtioScsiControllerStatsResponse, stats_) - + sizeof(VirtioScsiControllerStatsResponse::stats_) - - PROTOBUF_FIELD_OFFSET(VirtioScsiControllerStatsResponse, id_)>( - reinterpret_cast(&id_), - reinterpret_cast(&other->id_)); + swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiControllerStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioScsiControllerResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto[18]); @@ -5696,17 +5588,17 @@ const char* CreateVirtioScsiLunRequest::_InternalParse(const char* ptr, ::PROTOB uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_virtio_scsi_lun(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string virtio_scsi_lun_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string virtio_scsi_lun_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_virtio_scsi_lun_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun_id")); @@ -5743,22 +5635,22 @@ uint8_t* CreateVirtioScsiLunRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_scsi_lun()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::virtio_scsi_lun(this), target, stream); + 1, _Internal::virtio_scsi_lun(this), target, stream); } - // string virtio_scsi_lun_id = 3; + // string virtio_scsi_lun_id = 2; if (!this->_internal_virtio_scsi_lun_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_virtio_scsi_lun_id().data(), static_cast(this->_internal_virtio_scsi_lun_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_virtio_scsi_lun_id(), target); + 2, this->_internal_virtio_scsi_lun_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -5777,14 +5669,14 @@ size_t CreateVirtioScsiLunRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string virtio_scsi_lun_id = 3; + // string virtio_scsi_lun_id = 2; if (!this->_internal_virtio_scsi_lun_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_virtio_scsi_lun_id()); } - // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_virtio_scsi_lun()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -7074,122 +6966,114 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetVirtioScsiLunRequest::GetMetadata() const { // =================================================================== -class VirtioScsiLunStatsRequest::_Internal { +class StatsVirtioScsiLunRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& controller_id(const VirtioScsiLunStatsRequest* msg); - static const ::opi_api::common::v1::ObjectKey& lun_id(const VirtioScsiLunStatsRequest* msg); + static const ::opi_api::common::v1::ObjectKey& controller_id(const StatsVirtioScsiLunRequest* msg); }; const ::opi_api::common::v1::ObjectKey& -VirtioScsiLunStatsRequest::_Internal::controller_id(const VirtioScsiLunStatsRequest* msg) { +StatsVirtioScsiLunRequest::_Internal::controller_id(const StatsVirtioScsiLunRequest* msg) { return *msg->controller_id_; } -const ::opi_api::common::v1::ObjectKey& -VirtioScsiLunStatsRequest::_Internal::lun_id(const VirtioScsiLunStatsRequest* msg) { - return *msg->lun_id_; -} -void VirtioScsiLunStatsRequest::clear_controller_id() { +void StatsVirtioScsiLunRequest::clear_controller_id() { if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { delete controller_id_; } controller_id_ = nullptr; } -void VirtioScsiLunStatsRequest::clear_lun_id() { - if (GetArenaForAllocation() == nullptr && lun_id_ != nullptr) { - delete lun_id_; - } - lun_id_ = nullptr; -} -VirtioScsiLunStatsRequest::VirtioScsiLunStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioScsiLunRequest::StatsVirtioScsiLunRequest(::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.VirtioScsiLunStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioScsiLunRequest) } -VirtioScsiLunStatsRequest::VirtioScsiLunStatsRequest(const VirtioScsiLunStatsRequest& from) +StatsVirtioScsiLunRequest::StatsVirtioScsiLunRequest(const StatsVirtioScsiLunRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + 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()); + } if (from._internal_has_controller_id()) { controller_id_ = new ::opi_api::common::v1::ObjectKey(*from.controller_id_); } else { controller_id_ = nullptr; } - if (from._internal_has_lun_id()) { - lun_id_ = new ::opi_api::common::v1::ObjectKey(*from.lun_id_); - } else { - lun_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.VirtioScsiLunStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioScsiLunRequest) } -inline void VirtioScsiLunStatsRequest::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&controller_id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&lun_id_) - - reinterpret_cast(&controller_id_)) + sizeof(lun_id_)); +inline void StatsVirtioScsiLunRequest::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 +controller_id_ = nullptr; } -VirtioScsiLunStatsRequest::~VirtioScsiLunStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioScsiLunStatsRequest) +StatsVirtioScsiLunRequest::~StatsVirtioScsiLunRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioScsiLunRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioScsiLunStatsRequest::SharedDtor() { +inline void StatsVirtioScsiLunRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete controller_id_; - if (this != internal_default_instance()) delete lun_id_; } -void VirtioScsiLunStatsRequest::ArenaDtor(void* object) { - VirtioScsiLunStatsRequest* _this = reinterpret_cast< VirtioScsiLunStatsRequest* >(object); +void StatsVirtioScsiLunRequest::ArenaDtor(void* object) { + StatsVirtioScsiLunRequest* _this = reinterpret_cast< StatsVirtioScsiLunRequest* >(object); (void)_this; } -void VirtioScsiLunStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioScsiLunRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioScsiLunStatsRequest::SetCachedSize(int size) const { +void StatsVirtioScsiLunRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioScsiLunStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioScsiLunStatsRequest) +void StatsVirtioScsiLunRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioScsiLunRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + name_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { delete controller_id_; } controller_id_ = nullptr; - if (GetArenaForAllocation() == nullptr && lun_id_ != nullptr) { - delete lun_id_; - } - lun_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioScsiLunStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioScsiLunRequest::_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 controller_id = 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_controller_id(), 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.StatsVirtioScsiLunRequest.name")); CHK_(ptr); } else goto handle_unusual; continue; - // .opi_api.common.v1.ObjectKey lun_id = 2; + // .opi_api.common.v1.ObjectKey controller_id = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_lun_id(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_controller_id(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -7217,112 +7101,116 @@ const char* VirtioScsiLunStatsRequest::_InternalParse(const char* ptr, ::PROTOBU #undef CHK_ } -uint8_t* VirtioScsiLunStatsRequest::_InternalSerialize( +uint8_t* StatsVirtioScsiLunRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioScsiLunStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioScsiLunRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey controller_id = 1; - if (this->_internal_has_controller_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::controller_id(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.StatsVirtioScsiLunRequest.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); } - // .opi_api.common.v1.ObjectKey lun_id = 2; - if (this->_internal_has_lun_id()) { + // .opi_api.common.v1.ObjectKey controller_id = 2; + if (this->_internal_has_controller_id()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::lun_id(this), target, stream); + 2, _Internal::controller_id(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.VirtioScsiLunStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioScsiLunRequest) return target; } -size_t VirtioScsiLunStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioScsiLunStatsRequest) +size_t StatsVirtioScsiLunRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioScsiLunRequest) 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 controller_id = 1; - if (this->_internal_has_controller_id()) { + // 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( - *controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } - // .opi_api.common.v1.ObjectKey lun_id = 2; - if (this->_internal_has_lun_id()) { + // .opi_api.common.v1.ObjectKey controller_id = 2; + if (this->_internal_has_controller_id()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *lun_id_); + *controller_id_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioScsiLunStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioScsiLunRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioScsiLunStatsRequest::MergeImpl + StatsVirtioScsiLunRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioScsiLunStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioScsiLunRequest::GetClassData() const { return &_class_data_; } -void VirtioScsiLunStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioScsiLunRequest::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 VirtioScsiLunStatsRequest::MergeFrom(const VirtioScsiLunStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioScsiLunStatsRequest) +void StatsVirtioScsiLunRequest::MergeFrom(const StatsVirtioScsiLunRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioScsiLunRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } if (from._internal_has_controller_id()) { _internal_mutable_controller_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_controller_id()); } - if (from._internal_has_lun_id()) { - _internal_mutable_lun_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_lun_id()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void VirtioScsiLunStatsRequest::CopyFrom(const VirtioScsiLunStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioScsiLunStatsRequest) +void StatsVirtioScsiLunRequest::CopyFrom(const StatsVirtioScsiLunRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioScsiLunRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioScsiLunStatsRequest::IsInitialized() const { +bool StatsVirtioScsiLunRequest::IsInitialized() const { return true; } -void VirtioScsiLunStatsRequest::InternalSwap(VirtioScsiLunStatsRequest* other) { +void StatsVirtioScsiLunRequest::InternalSwap(StatsVirtioScsiLunRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(VirtioScsiLunStatsRequest, lun_id_) - + sizeof(VirtioScsiLunStatsRequest::lun_id_) - - PROTOBUF_FIELD_OFFSET(VirtioScsiLunStatsRequest, controller_id_)>( - reinterpret_cast(&controller_id_), - reinterpret_cast(&other->controller_id_)); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &name_, lhs_arena, + &other->name_, rhs_arena + ); + swap(controller_id_, other->controller_id_); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiLunStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioScsiLunRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto[25]); @@ -7330,97 +7218,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiLunStatsRequest::GetMetadata() const // =================================================================== -class VirtioScsiLunStatsResponse::_Internal { +class StatsVirtioScsiLunResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& id(const VirtioScsiLunStatsResponse* msg); - static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioScsiLunStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsVirtioScsiLunResponse* msg); }; -const ::opi_api::common::v1::ObjectKey& -VirtioScsiLunStatsResponse::_Internal::id(const VirtioScsiLunStatsResponse* msg) { - return *msg->id_; -} const ::opi_api::storage::v1::VolumeStats& -VirtioScsiLunStatsResponse::_Internal::stats(const VirtioScsiLunStatsResponse* msg) { +StatsVirtioScsiLunResponse::_Internal::stats(const StatsVirtioScsiLunResponse* msg) { return *msg->stats_; } -void VirtioScsiLunStatsResponse::clear_id() { - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void VirtioScsiLunStatsResponse::clear_stats() { +void StatsVirtioScsiLunResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsVirtioScsiLunResponse::StatsVirtioScsiLunResponse(::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.VirtioScsiLunStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsVirtioScsiLunResponse) } -VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse(const VirtioScsiLunStatsResponse& from) +StatsVirtioScsiLunResponse::StatsVirtioScsiLunResponse(const StatsVirtioScsiLunResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_id()) { - id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); - } else { - id_ = 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.VirtioScsiLunStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsVirtioScsiLunResponse) } -inline void VirtioScsiLunStatsResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&stats_) - - reinterpret_cast(&id_)) + sizeof(stats_)); +inline void StatsVirtioScsiLunResponse::SharedCtor() { +stats_ = nullptr; } -VirtioScsiLunStatsResponse::~VirtioScsiLunStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.VirtioScsiLunStatsResponse) +StatsVirtioScsiLunResponse::~StatsVirtioScsiLunResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsVirtioScsiLunResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void VirtioScsiLunStatsResponse::SharedDtor() { +inline void StatsVirtioScsiLunResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete stats_; } -void VirtioScsiLunStatsResponse::ArenaDtor(void* object) { - VirtioScsiLunStatsResponse* _this = reinterpret_cast< VirtioScsiLunStatsResponse* >(object); +void StatsVirtioScsiLunResponse::ArenaDtor(void* object) { + StatsVirtioScsiLunResponse* _this = reinterpret_cast< StatsVirtioScsiLunResponse* >(object); (void)_this; } -void VirtioScsiLunStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsVirtioScsiLunResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void VirtioScsiLunStatsResponse::SetCachedSize(int size) const { +void StatsVirtioScsiLunResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void VirtioScsiLunStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VirtioScsiLunStatsResponse) +void StatsVirtioScsiLunResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsVirtioScsiLunResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -7428,23 +7292,15 @@ void VirtioScsiLunStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* VirtioScsiLunStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsVirtioScsiLunResponse::_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 id = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_id(), 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 @@ -7473,52 +7329,37 @@ const char* VirtioScsiLunStatsResponse::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* VirtioScsiLunStatsResponse::_InternalSerialize( +uint8_t* StatsVirtioScsiLunResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VirtioScsiLunStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsVirtioScsiLunResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey id = 1; - if (this->_internal_has_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::id(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.VirtioScsiLunStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsVirtioScsiLunResponse) return target; } -size_t VirtioScsiLunStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VirtioScsiLunStatsResponse) +size_t StatsVirtioScsiLunResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsVirtioScsiLunResponse) 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 id = 1; - if (this->_internal_has_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *id_); - } - - // .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( @@ -7528,57 +7369,49 @@ size_t VirtioScsiLunStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VirtioScsiLunStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsVirtioScsiLunResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - VirtioScsiLunStatsResponse::MergeImpl + StatsVirtioScsiLunResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VirtioScsiLunStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsVirtioScsiLunResponse::GetClassData() const { return &_class_data_; } -void VirtioScsiLunStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsVirtioScsiLunResponse::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 VirtioScsiLunStatsResponse::MergeFrom(const VirtioScsiLunStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VirtioScsiLunStatsResponse) +void StatsVirtioScsiLunResponse::MergeFrom(const StatsVirtioScsiLunResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsVirtioScsiLunResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_id()) { - _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); - } 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 VirtioScsiLunStatsResponse::CopyFrom(const VirtioScsiLunStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VirtioScsiLunStatsResponse) +void StatsVirtioScsiLunResponse::CopyFrom(const StatsVirtioScsiLunResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsVirtioScsiLunResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool VirtioScsiLunStatsResponse::IsInitialized() const { +bool StatsVirtioScsiLunResponse::IsInitialized() const { return true; } -void VirtioScsiLunStatsResponse::InternalSwap(VirtioScsiLunStatsResponse* other) { +void StatsVirtioScsiLunResponse::InternalSwap(StatsVirtioScsiLunResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(VirtioScsiLunStatsResponse, stats_) - + sizeof(VirtioScsiLunStatsResponse::stats_) - - PROTOBUF_FIELD_OFFSET(VirtioScsiLunStatsResponse, id_)>( - reinterpret_cast(&id_), - reinterpret_cast(&other->id_)); + swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiLunStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsVirtioScsiLunResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_getter, &descriptor_table_frontend_5fvirtio_5fscsi_2eproto_once, file_level_metadata_frontend_5fvirtio_5fscsi_2eproto[26]); @@ -7616,11 +7449,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListVirtioScsiTargetsRespon template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetVirtioScsiTargetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetVirtioScsiTargetRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetVirtioScsiTargetRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioScsiTargetStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioScsiTargetRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioScsiTargetStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioScsiTargetResponse >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateVirtioScsiControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateVirtioScsiControllerRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateVirtioScsiControllerRequest >(arena); @@ -7640,11 +7473,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListVirtioScsiControllersRe template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetVirtioScsiControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetVirtioScsiControllerRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetVirtioScsiControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioScsiControllerStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioScsiControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioScsiControllerStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioScsiControllerResponse >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateVirtioScsiLunRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateVirtioScsiLunRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateVirtioScsiLunRequest >(arena); @@ -7664,11 +7497,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListVirtioScsiLunsResponse* template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetVirtioScsiLunRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetVirtioScsiLunRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetVirtioScsiLunRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioScsiLunStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioScsiLunStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioScsiLunStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioScsiLunRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioScsiLunRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioScsiLunRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VirtioScsiLunStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VirtioScsiLunStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::VirtioScsiLunStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsVirtioScsiLunResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsVirtioScsiLunResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsVirtioScsiLunResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h index 1c6c9d23..abcd33a4 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h @@ -109,6 +109,24 @@ extern ListVirtioScsiTargetsRequestDefaultTypeInternal _ListVirtioScsiTargetsReq class ListVirtioScsiTargetsResponse; struct ListVirtioScsiTargetsResponseDefaultTypeInternal; extern ListVirtioScsiTargetsResponseDefaultTypeInternal _ListVirtioScsiTargetsResponse_default_instance_; +class StatsVirtioScsiControllerRequest; +struct StatsVirtioScsiControllerRequestDefaultTypeInternal; +extern StatsVirtioScsiControllerRequestDefaultTypeInternal _StatsVirtioScsiControllerRequest_default_instance_; +class StatsVirtioScsiControllerResponse; +struct StatsVirtioScsiControllerResponseDefaultTypeInternal; +extern StatsVirtioScsiControllerResponseDefaultTypeInternal _StatsVirtioScsiControllerResponse_default_instance_; +class StatsVirtioScsiLunRequest; +struct StatsVirtioScsiLunRequestDefaultTypeInternal; +extern StatsVirtioScsiLunRequestDefaultTypeInternal _StatsVirtioScsiLunRequest_default_instance_; +class StatsVirtioScsiLunResponse; +struct StatsVirtioScsiLunResponseDefaultTypeInternal; +extern StatsVirtioScsiLunResponseDefaultTypeInternal _StatsVirtioScsiLunResponse_default_instance_; +class StatsVirtioScsiTargetRequest; +struct StatsVirtioScsiTargetRequestDefaultTypeInternal; +extern StatsVirtioScsiTargetRequestDefaultTypeInternal _StatsVirtioScsiTargetRequest_default_instance_; +class StatsVirtioScsiTargetResponse; +struct StatsVirtioScsiTargetResponseDefaultTypeInternal; +extern StatsVirtioScsiTargetResponseDefaultTypeInternal _StatsVirtioScsiTargetResponse_default_instance_; class UpdateVirtioScsiControllerRequest; struct UpdateVirtioScsiControllerRequestDefaultTypeInternal; extern UpdateVirtioScsiControllerRequestDefaultTypeInternal _UpdateVirtioScsiControllerRequest_default_instance_; @@ -121,30 +139,12 @@ extern UpdateVirtioScsiTargetRequestDefaultTypeInternal _UpdateVirtioScsiTargetR class VirtioScsiController; struct VirtioScsiControllerDefaultTypeInternal; extern VirtioScsiControllerDefaultTypeInternal _VirtioScsiController_default_instance_; -class VirtioScsiControllerStatsRequest; -struct VirtioScsiControllerStatsRequestDefaultTypeInternal; -extern VirtioScsiControllerStatsRequestDefaultTypeInternal _VirtioScsiControllerStatsRequest_default_instance_; -class VirtioScsiControllerStatsResponse; -struct VirtioScsiControllerStatsResponseDefaultTypeInternal; -extern VirtioScsiControllerStatsResponseDefaultTypeInternal _VirtioScsiControllerStatsResponse_default_instance_; class VirtioScsiLun; struct VirtioScsiLunDefaultTypeInternal; extern VirtioScsiLunDefaultTypeInternal _VirtioScsiLun_default_instance_; -class VirtioScsiLunStatsRequest; -struct VirtioScsiLunStatsRequestDefaultTypeInternal; -extern VirtioScsiLunStatsRequestDefaultTypeInternal _VirtioScsiLunStatsRequest_default_instance_; -class VirtioScsiLunStatsResponse; -struct VirtioScsiLunStatsResponseDefaultTypeInternal; -extern VirtioScsiLunStatsResponseDefaultTypeInternal _VirtioScsiLunStatsResponse_default_instance_; class VirtioScsiTarget; struct VirtioScsiTargetDefaultTypeInternal; extern VirtioScsiTargetDefaultTypeInternal _VirtioScsiTarget_default_instance_; -class VirtioScsiTargetStatsRequest; -struct VirtioScsiTargetStatsRequestDefaultTypeInternal; -extern VirtioScsiTargetStatsRequestDefaultTypeInternal _VirtioScsiTargetStatsRequest_default_instance_; -class VirtioScsiTargetStatsResponse; -struct VirtioScsiTargetStatsResponseDefaultTypeInternal; -extern VirtioScsiTargetStatsResponseDefaultTypeInternal _VirtioScsiTargetStatsResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -164,18 +164,18 @@ template<> ::opi_api::storage::v1::ListVirtioScsiLunsRequest* Arena::CreateMaybe template<> ::opi_api::storage::v1::ListVirtioScsiLunsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListVirtioScsiLunsResponse>(Arena*); template<> ::opi_api::storage::v1::ListVirtioScsiTargetsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListVirtioScsiTargetsRequest>(Arena*); template<> ::opi_api::storage::v1::ListVirtioScsiTargetsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListVirtioScsiTargetsResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioScsiControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioScsiControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioScsiControllerResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioScsiControllerResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioScsiLunRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioScsiLunRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioScsiLunResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioScsiLunResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioScsiTargetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioScsiTargetRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsVirtioScsiTargetResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsVirtioScsiTargetResponse>(Arena*); template<> ::opi_api::storage::v1::UpdateVirtioScsiControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateVirtioScsiControllerRequest>(Arena*); template<> ::opi_api::storage::v1::UpdateVirtioScsiLunRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateVirtioScsiLunRequest>(Arena*); template<> ::opi_api::storage::v1::UpdateVirtioScsiTargetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateVirtioScsiTargetRequest>(Arena*); template<> ::opi_api::storage::v1::VirtioScsiController* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiController>(Arena*); -template<> ::opi_api::storage::v1::VirtioScsiControllerStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiControllerStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::VirtioScsiControllerStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiControllerStatsResponse>(Arena*); template<> ::opi_api::storage::v1::VirtioScsiLun* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiLun>(Arena*); -template<> ::opi_api::storage::v1::VirtioScsiLunStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiLunStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::VirtioScsiLunStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiLunStatsResponse>(Arena*); template<> ::opi_api::storage::v1::VirtioScsiTarget* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiTarget>(Arena*); -template<> ::opi_api::storage::v1::VirtioScsiTargetStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiTargetStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::VirtioScsiTargetStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::VirtioScsiTargetStatsResponse>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { namespace storage { @@ -308,7 +308,7 @@ class VirtioScsiTarget final : kNameFieldNumber = 1, kMaxLunsFieldNumber = 2, }; - // 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 @@ -472,7 +472,7 @@ class VirtioScsiController final : kMinLimitFieldNumber = 3, kMaxLimitFieldNumber = 4, }; - // 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 @@ -682,7 +682,7 @@ class VirtioScsiLun final : kTargetIdFieldNumber = 2, kVolumeIdFieldNumber = 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 @@ -869,10 +869,10 @@ class CreateVirtioScsiTargetRequest final : // accessors ------------------------------------------------------- enum : int { - kVirtioScsiTargetIdFieldNumber = 3, - kVirtioScsiTargetFieldNumber = 2, + kVirtioScsiTargetIdFieldNumber = 2, + kVirtioScsiTargetFieldNumber = 1, }; - // string virtio_scsi_target_id = 3; + // string virtio_scsi_target_id = 2; void clear_virtio_scsi_target_id(); const std::string& virtio_scsi_target_id() const; template @@ -886,7 +886,7 @@ class CreateVirtioScsiTargetRequest final : std::string* _internal_mutable_virtio_scsi_target_id(); public: - // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_virtio_scsi_target() const; private: bool _internal_has_virtio_scsi_target() const; @@ -1766,24 +1766,24 @@ class GetVirtioScsiTargetRequest final : }; // ------------------------------------------------------------------- -class VirtioScsiTargetStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioScsiTargetStatsRequest) */ { +class StatsVirtioScsiTargetRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioScsiTargetRequest) */ { public: - inline VirtioScsiTargetStatsRequest() : VirtioScsiTargetStatsRequest(nullptr) {} - ~VirtioScsiTargetStatsRequest() override; - explicit constexpr VirtioScsiTargetStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioScsiTargetRequest() : StatsVirtioScsiTargetRequest(nullptr) {} + ~StatsVirtioScsiTargetRequest() override; + explicit constexpr StatsVirtioScsiTargetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioScsiTargetStatsRequest(const VirtioScsiTargetStatsRequest& from); - VirtioScsiTargetStatsRequest(VirtioScsiTargetStatsRequest&& from) noexcept - : VirtioScsiTargetStatsRequest() { + StatsVirtioScsiTargetRequest(const StatsVirtioScsiTargetRequest& from); + StatsVirtioScsiTargetRequest(StatsVirtioScsiTargetRequest&& from) noexcept + : StatsVirtioScsiTargetRequest() { *this = ::std::move(from); } - inline VirtioScsiTargetStatsRequest& operator=(const VirtioScsiTargetStatsRequest& from) { + inline StatsVirtioScsiTargetRequest& operator=(const StatsVirtioScsiTargetRequest& from) { CopyFrom(from); return *this; } - inline VirtioScsiTargetStatsRequest& operator=(VirtioScsiTargetStatsRequest&& from) noexcept { + inline StatsVirtioScsiTargetRequest& operator=(StatsVirtioScsiTargetRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1806,20 +1806,20 @@ class VirtioScsiTargetStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioScsiTargetStatsRequest& default_instance() { + static const StatsVirtioScsiTargetRequest& default_instance() { return *internal_default_instance(); } - static inline const VirtioScsiTargetStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_VirtioScsiTargetStatsRequest_default_instance_); + static inline const StatsVirtioScsiTargetRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioScsiTargetRequest_default_instance_); } static constexpr int kIndexInFileMessages = 9; - friend void swap(VirtioScsiTargetStatsRequest& a, VirtioScsiTargetStatsRequest& b) { + friend void swap(StatsVirtioScsiTargetRequest& a, StatsVirtioScsiTargetRequest& b) { a.Swap(&b); } - inline void Swap(VirtioScsiTargetStatsRequest* other) { + inline void Swap(StatsVirtioScsiTargetRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1832,7 +1832,7 @@ class VirtioScsiTargetStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioScsiTargetStatsRequest* other) { + void UnsafeArenaSwap(StatsVirtioScsiTargetRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1840,13 +1840,13 @@ class VirtioScsiTargetStatsRequest final : // implements Message ---------------------------------------------- - VirtioScsiTargetStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioScsiTargetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioScsiTargetStatsRequest& from); + void CopyFrom(const StatsVirtioScsiTargetRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioScsiTargetStatsRequest& from); + void MergeFrom(const StatsVirtioScsiTargetRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1863,15 +1863,15 @@ class VirtioScsiTargetStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioScsiTargetStatsRequest* other); + void InternalSwap(StatsVirtioScsiTargetRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioScsiTargetStatsRequest"; + return "opi_api.storage.v1.StatsVirtioScsiTargetRequest"; } protected: - explicit VirtioScsiTargetStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioScsiTargetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1888,57 +1888,53 @@ class VirtioScsiTargetStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kTargetIdFieldNumber = 1, + kNameFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey target_id = 1; - bool has_target_id() const; - private: - bool _internal_has_target_id() const; - public: - void clear_target_id(); - const ::opi_api::common::v1::ObjectKey& target_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_target_id(); - ::opi_api::common::v1::ObjectKey* mutable_target_id(); - void set_allocated_target_id(::opi_api::common::v1::ObjectKey* target_id); + // 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_target_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_target_id(); + 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_target_id( - ::opi_api::common::v1::ObjectKey* target_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_target_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiTargetStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiTargetRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* target_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; // ------------------------------------------------------------------- -class VirtioScsiTargetStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioScsiTargetStatsResponse) */ { +class StatsVirtioScsiTargetResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioScsiTargetResponse) */ { public: - inline VirtioScsiTargetStatsResponse() : VirtioScsiTargetStatsResponse(nullptr) {} - ~VirtioScsiTargetStatsResponse() override; - explicit constexpr VirtioScsiTargetStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioScsiTargetResponse() : StatsVirtioScsiTargetResponse(nullptr) {} + ~StatsVirtioScsiTargetResponse() override; + explicit constexpr StatsVirtioScsiTargetResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioScsiTargetStatsResponse(const VirtioScsiTargetStatsResponse& from); - VirtioScsiTargetStatsResponse(VirtioScsiTargetStatsResponse&& from) noexcept - : VirtioScsiTargetStatsResponse() { + StatsVirtioScsiTargetResponse(const StatsVirtioScsiTargetResponse& from); + StatsVirtioScsiTargetResponse(StatsVirtioScsiTargetResponse&& from) noexcept + : StatsVirtioScsiTargetResponse() { *this = ::std::move(from); } - inline VirtioScsiTargetStatsResponse& operator=(const VirtioScsiTargetStatsResponse& from) { + inline StatsVirtioScsiTargetResponse& operator=(const StatsVirtioScsiTargetResponse& from) { CopyFrom(from); return *this; } - inline VirtioScsiTargetStatsResponse& operator=(VirtioScsiTargetStatsResponse&& from) noexcept { + inline StatsVirtioScsiTargetResponse& operator=(StatsVirtioScsiTargetResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1961,20 +1957,20 @@ class VirtioScsiTargetStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioScsiTargetStatsResponse& default_instance() { + static const StatsVirtioScsiTargetResponse& default_instance() { return *internal_default_instance(); } - static inline const VirtioScsiTargetStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_VirtioScsiTargetStatsResponse_default_instance_); + static inline const StatsVirtioScsiTargetResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioScsiTargetResponse_default_instance_); } static constexpr int kIndexInFileMessages = 10; - friend void swap(VirtioScsiTargetStatsResponse& a, VirtioScsiTargetStatsResponse& b) { + friend void swap(StatsVirtioScsiTargetResponse& a, StatsVirtioScsiTargetResponse& b) { a.Swap(&b); } - inline void Swap(VirtioScsiTargetStatsResponse* other) { + inline void Swap(StatsVirtioScsiTargetResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1987,7 +1983,7 @@ class VirtioScsiTargetStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioScsiTargetStatsResponse* other) { + void UnsafeArenaSwap(StatsVirtioScsiTargetResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1995,13 +1991,13 @@ class VirtioScsiTargetStatsResponse final : // implements Message ---------------------------------------------- - VirtioScsiTargetStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioScsiTargetResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioScsiTargetStatsResponse& from); + void CopyFrom(const StatsVirtioScsiTargetResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioScsiTargetStatsResponse& from); + void MergeFrom(const StatsVirtioScsiTargetResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2018,15 +2014,15 @@ class VirtioScsiTargetStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioScsiTargetStatsResponse* other); + void InternalSwap(StatsVirtioScsiTargetResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioScsiTargetStatsResponse"; + return "opi_api.storage.v1.StatsVirtioScsiTargetResponse"; } protected: - explicit VirtioScsiTargetStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioScsiTargetResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2043,28 +2039,9 @@ class VirtioScsiTargetStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const ::opi_api::common::v1::ObjectKey& id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); - ::opi_api::common::v1::ObjectKey* mutable_id(); - void set_allocated_id(::opi_api::common::v1::ObjectKey* id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); - public: - void unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -2082,14 +2059,13 @@ class VirtioScsiTargetStatsResponse 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.VirtioScsiTargetStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiTargetResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* id_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; @@ -2218,10 +2194,10 @@ class CreateVirtioScsiControllerRequest final : // accessors ------------------------------------------------------- enum : int { - kVirtioScsiControllerIdFieldNumber = 3, - kVirtioScsiControllerFieldNumber = 2, + kVirtioScsiControllerIdFieldNumber = 2, + kVirtioScsiControllerFieldNumber = 1, }; - // string virtio_scsi_controller_id = 3; + // string virtio_scsi_controller_id = 2; void clear_virtio_scsi_controller_id(); const std::string& virtio_scsi_controller_id() const; template @@ -2235,7 +2211,7 @@ class CreateVirtioScsiControllerRequest final : std::string* _internal_mutable_virtio_scsi_controller_id(); public: - // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_virtio_scsi_controller() const; private: bool _internal_has_virtio_scsi_controller() const; @@ -3115,24 +3091,24 @@ class GetVirtioScsiControllerRequest final : }; // ------------------------------------------------------------------- -class VirtioScsiControllerStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioScsiControllerStatsRequest) */ { +class StatsVirtioScsiControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioScsiControllerRequest) */ { public: - inline VirtioScsiControllerStatsRequest() : VirtioScsiControllerStatsRequest(nullptr) {} - ~VirtioScsiControllerStatsRequest() override; - explicit constexpr VirtioScsiControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioScsiControllerRequest() : StatsVirtioScsiControllerRequest(nullptr) {} + ~StatsVirtioScsiControllerRequest() override; + explicit constexpr StatsVirtioScsiControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioScsiControllerStatsRequest(const VirtioScsiControllerStatsRequest& from); - VirtioScsiControllerStatsRequest(VirtioScsiControllerStatsRequest&& from) noexcept - : VirtioScsiControllerStatsRequest() { + StatsVirtioScsiControllerRequest(const StatsVirtioScsiControllerRequest& from); + StatsVirtioScsiControllerRequest(StatsVirtioScsiControllerRequest&& from) noexcept + : StatsVirtioScsiControllerRequest() { *this = ::std::move(from); } - inline VirtioScsiControllerStatsRequest& operator=(const VirtioScsiControllerStatsRequest& from) { + inline StatsVirtioScsiControllerRequest& operator=(const StatsVirtioScsiControllerRequest& from) { CopyFrom(from); return *this; } - inline VirtioScsiControllerStatsRequest& operator=(VirtioScsiControllerStatsRequest&& from) noexcept { + inline StatsVirtioScsiControllerRequest& operator=(StatsVirtioScsiControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -3155,20 +3131,20 @@ class VirtioScsiControllerStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioScsiControllerStatsRequest& default_instance() { + static const StatsVirtioScsiControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const VirtioScsiControllerStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_VirtioScsiControllerStatsRequest_default_instance_); + static inline const StatsVirtioScsiControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioScsiControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 17; - friend void swap(VirtioScsiControllerStatsRequest& a, VirtioScsiControllerStatsRequest& b) { + friend void swap(StatsVirtioScsiControllerRequest& a, StatsVirtioScsiControllerRequest& b) { a.Swap(&b); } - inline void Swap(VirtioScsiControllerStatsRequest* other) { + inline void Swap(StatsVirtioScsiControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -3181,7 +3157,7 @@ class VirtioScsiControllerStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioScsiControllerStatsRequest* other) { + void UnsafeArenaSwap(StatsVirtioScsiControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -3189,13 +3165,13 @@ class VirtioScsiControllerStatsRequest final : // implements Message ---------------------------------------------- - VirtioScsiControllerStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioScsiControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioScsiControllerStatsRequest& from); + void CopyFrom(const StatsVirtioScsiControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioScsiControllerStatsRequest& from); + void MergeFrom(const StatsVirtioScsiControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -3212,15 +3188,15 @@ class VirtioScsiControllerStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioScsiControllerStatsRequest* other); + void InternalSwap(StatsVirtioScsiControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioScsiControllerStatsRequest"; + return "opi_api.storage.v1.StatsVirtioScsiControllerRequest"; } protected: - explicit VirtioScsiControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioScsiControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -3237,57 +3213,53 @@ class VirtioScsiControllerStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kControllerIdFieldNumber = 1, + kNameFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey controller_id = 1; - bool has_controller_id() const; - private: - bool _internal_has_controller_id() const; - public: - void clear_controller_id(); - const ::opi_api::common::v1::ObjectKey& controller_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_controller_id(); - ::opi_api::common::v1::ObjectKey* mutable_controller_id(); - void set_allocated_controller_id(::opi_api::common::v1::ObjectKey* controller_id); + // 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_controller_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_controller_id(); + 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_controller_id( - ::opi_api::common::v1::ObjectKey* controller_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_controller_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiControllerStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiControllerRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* controller_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; // ------------------------------------------------------------------- -class VirtioScsiControllerStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioScsiControllerStatsResponse) */ { +class StatsVirtioScsiControllerResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioScsiControllerResponse) */ { public: - inline VirtioScsiControllerStatsResponse() : VirtioScsiControllerStatsResponse(nullptr) {} - ~VirtioScsiControllerStatsResponse() override; - explicit constexpr VirtioScsiControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioScsiControllerResponse() : StatsVirtioScsiControllerResponse(nullptr) {} + ~StatsVirtioScsiControllerResponse() override; + explicit constexpr StatsVirtioScsiControllerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioScsiControllerStatsResponse(const VirtioScsiControllerStatsResponse& from); - VirtioScsiControllerStatsResponse(VirtioScsiControllerStatsResponse&& from) noexcept - : VirtioScsiControllerStatsResponse() { + StatsVirtioScsiControllerResponse(const StatsVirtioScsiControllerResponse& from); + StatsVirtioScsiControllerResponse(StatsVirtioScsiControllerResponse&& from) noexcept + : StatsVirtioScsiControllerResponse() { *this = ::std::move(from); } - inline VirtioScsiControllerStatsResponse& operator=(const VirtioScsiControllerStatsResponse& from) { + inline StatsVirtioScsiControllerResponse& operator=(const StatsVirtioScsiControllerResponse& from) { CopyFrom(from); return *this; } - inline VirtioScsiControllerStatsResponse& operator=(VirtioScsiControllerStatsResponse&& from) noexcept { + inline StatsVirtioScsiControllerResponse& operator=(StatsVirtioScsiControllerResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -3310,20 +3282,20 @@ class VirtioScsiControllerStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioScsiControllerStatsResponse& default_instance() { + static const StatsVirtioScsiControllerResponse& default_instance() { return *internal_default_instance(); } - static inline const VirtioScsiControllerStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_VirtioScsiControllerStatsResponse_default_instance_); + static inline const StatsVirtioScsiControllerResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioScsiControllerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 18; - friend void swap(VirtioScsiControllerStatsResponse& a, VirtioScsiControllerStatsResponse& b) { + friend void swap(StatsVirtioScsiControllerResponse& a, StatsVirtioScsiControllerResponse& b) { a.Swap(&b); } - inline void Swap(VirtioScsiControllerStatsResponse* other) { + inline void Swap(StatsVirtioScsiControllerResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -3336,7 +3308,7 @@ class VirtioScsiControllerStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioScsiControllerStatsResponse* other) { + void UnsafeArenaSwap(StatsVirtioScsiControllerResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -3344,13 +3316,13 @@ class VirtioScsiControllerStatsResponse final : // implements Message ---------------------------------------------- - VirtioScsiControllerStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioScsiControllerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioScsiControllerStatsResponse& from); + void CopyFrom(const StatsVirtioScsiControllerResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioScsiControllerStatsResponse& from); + void MergeFrom(const StatsVirtioScsiControllerResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -3367,15 +3339,15 @@ class VirtioScsiControllerStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioScsiControllerStatsResponse* other); + void InternalSwap(StatsVirtioScsiControllerResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioScsiControllerStatsResponse"; + return "opi_api.storage.v1.StatsVirtioScsiControllerResponse"; } protected: - explicit VirtioScsiControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioScsiControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -3392,28 +3364,9 @@ class VirtioScsiControllerStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const ::opi_api::common::v1::ObjectKey& id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); - ::opi_api::common::v1::ObjectKey* mutable_id(); - void set_allocated_id(::opi_api::common::v1::ObjectKey* id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); - public: - void unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -3431,14 +3384,13 @@ class VirtioScsiControllerStatsResponse 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.VirtioScsiControllerStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiControllerResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* id_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; @@ -3567,10 +3519,10 @@ class CreateVirtioScsiLunRequest final : // accessors ------------------------------------------------------- enum : int { - kVirtioScsiLunIdFieldNumber = 3, - kVirtioScsiLunFieldNumber = 2, + kVirtioScsiLunIdFieldNumber = 2, + kVirtioScsiLunFieldNumber = 1, }; - // string virtio_scsi_lun_id = 3; + // string virtio_scsi_lun_id = 2; void clear_virtio_scsi_lun_id(); const std::string& virtio_scsi_lun_id() const; template @@ -3584,7 +3536,7 @@ class CreateVirtioScsiLunRequest final : std::string* _internal_mutable_virtio_scsi_lun_id(); public: - // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_virtio_scsi_lun() const; private: bool _internal_has_virtio_scsi_lun() const; @@ -4464,24 +4416,24 @@ class GetVirtioScsiLunRequest final : }; // ------------------------------------------------------------------- -class VirtioScsiLunStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioScsiLunStatsRequest) */ { +class StatsVirtioScsiLunRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioScsiLunRequest) */ { public: - inline VirtioScsiLunStatsRequest() : VirtioScsiLunStatsRequest(nullptr) {} - ~VirtioScsiLunStatsRequest() override; - explicit constexpr VirtioScsiLunStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioScsiLunRequest() : StatsVirtioScsiLunRequest(nullptr) {} + ~StatsVirtioScsiLunRequest() override; + explicit constexpr StatsVirtioScsiLunRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioScsiLunStatsRequest(const VirtioScsiLunStatsRequest& from); - VirtioScsiLunStatsRequest(VirtioScsiLunStatsRequest&& from) noexcept - : VirtioScsiLunStatsRequest() { + StatsVirtioScsiLunRequest(const StatsVirtioScsiLunRequest& from); + StatsVirtioScsiLunRequest(StatsVirtioScsiLunRequest&& from) noexcept + : StatsVirtioScsiLunRequest() { *this = ::std::move(from); } - inline VirtioScsiLunStatsRequest& operator=(const VirtioScsiLunStatsRequest& from) { + inline StatsVirtioScsiLunRequest& operator=(const StatsVirtioScsiLunRequest& from) { CopyFrom(from); return *this; } - inline VirtioScsiLunStatsRequest& operator=(VirtioScsiLunStatsRequest&& from) noexcept { + inline StatsVirtioScsiLunRequest& operator=(StatsVirtioScsiLunRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -4504,20 +4456,20 @@ class VirtioScsiLunStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioScsiLunStatsRequest& default_instance() { + static const StatsVirtioScsiLunRequest& default_instance() { return *internal_default_instance(); } - static inline const VirtioScsiLunStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_VirtioScsiLunStatsRequest_default_instance_); + static inline const StatsVirtioScsiLunRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioScsiLunRequest_default_instance_); } static constexpr int kIndexInFileMessages = 25; - friend void swap(VirtioScsiLunStatsRequest& a, VirtioScsiLunStatsRequest& b) { + friend void swap(StatsVirtioScsiLunRequest& a, StatsVirtioScsiLunRequest& b) { a.Swap(&b); } - inline void Swap(VirtioScsiLunStatsRequest* other) { + inline void Swap(StatsVirtioScsiLunRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -4530,7 +4482,7 @@ class VirtioScsiLunStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioScsiLunStatsRequest* other) { + void UnsafeArenaSwap(StatsVirtioScsiLunRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -4538,13 +4490,13 @@ class VirtioScsiLunStatsRequest final : // implements Message ---------------------------------------------- - VirtioScsiLunStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioScsiLunRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioScsiLunStatsRequest& from); + void CopyFrom(const StatsVirtioScsiLunRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioScsiLunStatsRequest& from); + void MergeFrom(const StatsVirtioScsiLunRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -4561,15 +4513,15 @@ class VirtioScsiLunStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioScsiLunStatsRequest* other); + void InternalSwap(StatsVirtioScsiLunRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioScsiLunStatsRequest"; + return "opi_api.storage.v1.StatsVirtioScsiLunRequest"; } protected: - explicit VirtioScsiLunStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioScsiLunRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -4586,10 +4538,24 @@ class VirtioScsiLunStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kControllerIdFieldNumber = 1, - kLunIdFieldNumber = 2, + kNameFieldNumber = 1, + kControllerIdFieldNumber = 2, }; - // .opi_api.common.v1.ObjectKey controller_id = 1; + // 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 std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // .opi_api.common.v1.ObjectKey controller_id = 2; bool has_controller_id() const; private: bool _internal_has_controller_id() const; @@ -4607,56 +4573,38 @@ class VirtioScsiLunStatsRequest final : ::opi_api::common::v1::ObjectKey* controller_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_controller_id(); - // .opi_api.common.v1.ObjectKey lun_id = 2; - bool has_lun_id() const; - private: - bool _internal_has_lun_id() const; - public: - void clear_lun_id(); - const ::opi_api::common::v1::ObjectKey& lun_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_lun_id(); - ::opi_api::common::v1::ObjectKey* mutable_lun_id(); - void set_allocated_lun_id(::opi_api::common::v1::ObjectKey* lun_id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_lun_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_lun_id(); - public: - void unsafe_arena_set_allocated_lun_id( - ::opi_api::common::v1::ObjectKey* lun_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_lun_id(); - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiLunStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiLunRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::opi_api::common::v1::ObjectKey* controller_id_; - ::opi_api::common::v1::ObjectKey* lun_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; // ------------------------------------------------------------------- -class VirtioScsiLunStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VirtioScsiLunStatsResponse) */ { +class StatsVirtioScsiLunResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsVirtioScsiLunResponse) */ { public: - inline VirtioScsiLunStatsResponse() : VirtioScsiLunStatsResponse(nullptr) {} - ~VirtioScsiLunStatsResponse() override; - explicit constexpr VirtioScsiLunStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsVirtioScsiLunResponse() : StatsVirtioScsiLunResponse(nullptr) {} + ~StatsVirtioScsiLunResponse() override; + explicit constexpr StatsVirtioScsiLunResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - VirtioScsiLunStatsResponse(const VirtioScsiLunStatsResponse& from); - VirtioScsiLunStatsResponse(VirtioScsiLunStatsResponse&& from) noexcept - : VirtioScsiLunStatsResponse() { + StatsVirtioScsiLunResponse(const StatsVirtioScsiLunResponse& from); + StatsVirtioScsiLunResponse(StatsVirtioScsiLunResponse&& from) noexcept + : StatsVirtioScsiLunResponse() { *this = ::std::move(from); } - inline VirtioScsiLunStatsResponse& operator=(const VirtioScsiLunStatsResponse& from) { + inline StatsVirtioScsiLunResponse& operator=(const StatsVirtioScsiLunResponse& from) { CopyFrom(from); return *this; } - inline VirtioScsiLunStatsResponse& operator=(VirtioScsiLunStatsResponse&& from) noexcept { + inline StatsVirtioScsiLunResponse& operator=(StatsVirtioScsiLunResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -4679,20 +4627,20 @@ class VirtioScsiLunStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const VirtioScsiLunStatsResponse& default_instance() { + static const StatsVirtioScsiLunResponse& default_instance() { return *internal_default_instance(); } - static inline const VirtioScsiLunStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_VirtioScsiLunStatsResponse_default_instance_); + static inline const StatsVirtioScsiLunResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsVirtioScsiLunResponse_default_instance_); } static constexpr int kIndexInFileMessages = 26; - friend void swap(VirtioScsiLunStatsResponse& a, VirtioScsiLunStatsResponse& b) { + friend void swap(StatsVirtioScsiLunResponse& a, StatsVirtioScsiLunResponse& b) { a.Swap(&b); } - inline void Swap(VirtioScsiLunStatsResponse* other) { + inline void Swap(StatsVirtioScsiLunResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -4705,7 +4653,7 @@ class VirtioScsiLunStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VirtioScsiLunStatsResponse* other) { + void UnsafeArenaSwap(StatsVirtioScsiLunResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -4713,13 +4661,13 @@ class VirtioScsiLunStatsResponse final : // implements Message ---------------------------------------------- - VirtioScsiLunStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsVirtioScsiLunResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VirtioScsiLunStatsResponse& from); + void CopyFrom(const StatsVirtioScsiLunResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VirtioScsiLunStatsResponse& from); + void MergeFrom(const StatsVirtioScsiLunResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -4736,15 +4684,15 @@ class VirtioScsiLunStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(VirtioScsiLunStatsResponse* other); + void InternalSwap(StatsVirtioScsiLunResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.VirtioScsiLunStatsResponse"; + return "opi_api.storage.v1.StatsVirtioScsiLunResponse"; } protected: - explicit VirtioScsiLunStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsVirtioScsiLunResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -4761,28 +4709,9 @@ class VirtioScsiLunStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const ::opi_api::common::v1::ObjectKey& id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); - ::opi_api::common::v1::ObjectKey* mutable_id(); - void set_allocated_id(::opi_api::common::v1::ObjectKey* id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); - public: - void unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -4800,14 +4729,13 @@ class VirtioScsiLunStatsResponse 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.VirtioScsiLunStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiLunResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* id_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; @@ -4823,7 +4751,7 @@ class VirtioScsiLunStatsResponse final : #endif // __GNUC__ // VirtioScsiTarget -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void VirtioScsiTarget::clear_name() { name_.ClearToEmpty(); } @@ -4898,7 +4826,7 @@ inline void VirtioScsiTarget::set_max_luns(int32_t value) { // VirtioScsiController -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void VirtioScsiController::clear_name() { name_.ClearToEmpty(); } @@ -5211,7 +5139,7 @@ inline void VirtioScsiController::set_allocated_max_limit(::opi_api::storage::v1 // VirtioScsiLun -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void VirtioScsiLun::clear_name() { name_.ClearToEmpty(); } @@ -5438,7 +5366,7 @@ inline void VirtioScsiLun::set_allocated_volume_id(::opi_api::common::v1::Object // CreateVirtioScsiTargetRequest -// .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateVirtioScsiTargetRequest::_internal_has_virtio_scsi_target() const { return this != internal_default_instance() && virtio_scsi_target_ != nullptr; } @@ -5528,7 +5456,7 @@ inline void CreateVirtioScsiTargetRequest::set_allocated_virtio_scsi_target(::op // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiTargetRequest.virtio_scsi_target) } -// string virtio_scsi_target_id = 3; +// string virtio_scsi_target_id = 2; inline void CreateVirtioScsiTargetRequest::clear_virtio_scsi_target_id() { virtio_scsi_target_id_.ClearToEmpty(); } @@ -6132,201 +6060,80 @@ inline void GetVirtioScsiTargetRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// VirtioScsiTargetStatsRequest +// StatsVirtioScsiTargetRequest -// .opi_api.common.v1.ObjectKey target_id = 1; -inline bool VirtioScsiTargetStatsRequest::_internal_has_target_id() const { - return this != internal_default_instance() && target_id_ != nullptr; -} -inline bool VirtioScsiTargetStatsRequest::has_target_id() const { - return _internal_has_target_id(); +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsVirtioScsiTargetRequest::clear_name() { + name_.ClearToEmpty(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiTargetStatsRequest::_internal_target_id() const { - const ::opi_api::common::v1::ObjectKey* p = target_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +inline const std::string& StatsVirtioScsiTargetRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiTargetRequest.name) + return _internal_name(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiTargetStatsRequest::target_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id) - return _internal_target_id(); +template +inline PROTOBUF_ALWAYS_INLINE +void StatsVirtioScsiTargetRequest::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.StatsVirtioScsiTargetRequest.name) } -inline void VirtioScsiTargetStatsRequest::unsafe_arena_set_allocated_target_id( - ::opi_api::common::v1::ObjectKey* target_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_id_); - } - target_id_ = target_id; - if (target_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id) +inline std::string* StatsVirtioScsiTargetRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiTargetRequest.name) + return _s; } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsRequest::release_target_id() { - - ::opi_api::common::v1::ObjectKey* temp = target_id_; - target_id_ = 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& StatsVirtioScsiTargetRequest::_internal_name() const { + return name_.Get(); } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsRequest::unsafe_arena_release_target_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id) +inline void StatsVirtioScsiTargetRequest::_internal_set_name(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = target_id_; - target_id_ = nullptr; - return temp; + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsRequest::_internal_mutable_target_id() { +inline std::string* StatsVirtioScsiTargetRequest::_internal_mutable_name() { - if (target_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - target_id_ = p; - } - return target_id_; + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsRequest::mutable_target_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_target_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id) - return _msg; +inline std::string* StatsVirtioScsiTargetRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiTargetRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void VirtioScsiTargetStatsRequest::set_allocated_target_id(::opi_api::common::v1::ObjectKey* target_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_id_); - } - if (target_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_id)); - if (message_arena != submessage_arena) { - target_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_id, submessage_arena); - } +inline void StatsVirtioScsiTargetRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { } else { } - target_id_ = target_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id) + 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.StatsVirtioScsiTargetRequest.name) } // ------------------------------------------------------------------- -// VirtioScsiTargetStatsResponse - -// .opi_api.common.v1.ObjectKey id = 1; -inline bool VirtioScsiTargetStatsResponse::_internal_has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline bool VirtioScsiTargetStatsResponse::has_id() const { - return _internal_has_id(); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiTargetStatsResponse::_internal_id() const { - const ::opi_api::common::v1::ObjectKey* p = id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiTargetStatsResponse::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiTargetStatsResponse.id) - return _internal_id(); -} -inline void VirtioScsiTargetStatsResponse::unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - id_ = id; - if (id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.id) -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsResponse::release_id() { - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = 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* VirtioScsiTargetStatsResponse::unsafe_arena_release_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiTargetStatsResponse.id) - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsResponse::_internal_mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - id_ = p; - } - return id_; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiTargetStatsResponse::mutable_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiTargetStatsResponse.id) - return _msg; -} -inline void VirtioScsiTargetStatsResponse::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - if (id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); - if (message_arena != submessage_arena) { - id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.id) -} +// StatsVirtioScsiTargetResponse -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool VirtioScsiTargetStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsVirtioScsiTargetResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool VirtioScsiTargetStatsResponse::has_stats() const { +inline bool StatsVirtioScsiTargetResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiTargetStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioScsiTargetResponse::_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& VirtioScsiTargetStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioScsiTargetResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiTargetResponse.stats) return _internal_stats(); } -inline void VirtioScsiTargetStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsVirtioScsiTargetResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -6337,9 +6144,9 @@ inline void VirtioScsiTargetStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsVirtioScsiTargetResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiTargetResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -6354,14 +6161,14 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::relea #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiTargetResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiTargetResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiTargetResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -6369,12 +6176,12 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::_inte } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiTargetResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiTargetResponse.stats) return _msg; } -inline void VirtioScsiTargetStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsVirtioScsiTargetResponse::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_); @@ -6393,14 +6200,14 @@ inline void VirtioScsiTargetStatsResponse::set_allocated_stats(::opi_api::storag } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsVirtioScsiTargetResponse.stats) } // ------------------------------------------------------------------- // CreateVirtioScsiControllerRequest -// .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateVirtioScsiControllerRequest::_internal_has_virtio_scsi_controller() const { return this != internal_default_instance() && virtio_scsi_controller_ != nullptr; } @@ -6490,7 +6297,7 @@ inline void CreateVirtioScsiControllerRequest::set_allocated_virtio_scsi_control // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiControllerRequest.virtio_scsi_controller) } -// string virtio_scsi_controller_id = 3; +// string virtio_scsi_controller_id = 2; inline void CreateVirtioScsiControllerRequest::clear_virtio_scsi_controller_id() { virtio_scsi_controller_id_.ClearToEmpty(); } @@ -7094,201 +6901,80 @@ inline void GetVirtioScsiControllerRequest::set_allocated_name(std::string* name // ------------------------------------------------------------------- -// VirtioScsiControllerStatsRequest +// StatsVirtioScsiControllerRequest -// .opi_api.common.v1.ObjectKey controller_id = 1; -inline bool VirtioScsiControllerStatsRequest::_internal_has_controller_id() const { - return this != internal_default_instance() && controller_id_ != nullptr; -} -inline bool VirtioScsiControllerStatsRequest::has_controller_id() const { - return _internal_has_controller_id(); +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsVirtioScsiControllerRequest::clear_name() { + name_.ClearToEmpty(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiControllerStatsRequest::_internal_controller_id() const { - const ::opi_api::common::v1::ObjectKey* p = controller_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +inline const std::string& StatsVirtioScsiControllerRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiControllerRequest.name) + return _internal_name(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiControllerStatsRequest::controller_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id) - return _internal_controller_id(); +template +inline PROTOBUF_ALWAYS_INLINE +void StatsVirtioScsiControllerRequest::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.StatsVirtioScsiControllerRequest.name) } -inline void VirtioScsiControllerStatsRequest::unsafe_arena_set_allocated_controller_id( - ::opi_api::common::v1::ObjectKey* controller_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id_); - } - controller_id_ = controller_id; - if (controller_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id) +inline std::string* StatsVirtioScsiControllerRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiControllerRequest.name) + return _s; } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsRequest::release_controller_id() { - - ::opi_api::common::v1::ObjectKey* temp = controller_id_; - controller_id_ = 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& StatsVirtioScsiControllerRequest::_internal_name() const { + return name_.Get(); } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsRequest::unsafe_arena_release_controller_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id) +inline void StatsVirtioScsiControllerRequest::_internal_set_name(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = controller_id_; - controller_id_ = nullptr; - return temp; + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsRequest::_internal_mutable_controller_id() { +inline std::string* StatsVirtioScsiControllerRequest::_internal_mutable_name() { - if (controller_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - controller_id_ = p; - } - return controller_id_; + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsRequest::mutable_controller_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_controller_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id) - return _msg; +inline std::string* StatsVirtioScsiControllerRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiControllerRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void VirtioScsiControllerStatsRequest::set_allocated_controller_id(::opi_api::common::v1::ObjectKey* controller_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id_); - } - if (controller_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id)); - if (message_arena != submessage_arena) { - controller_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, controller_id, submessage_arena); - } +inline void StatsVirtioScsiControllerRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { } else { } - controller_id_ = controller_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id) + 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.StatsVirtioScsiControllerRequest.name) } // ------------------------------------------------------------------- -// VirtioScsiControllerStatsResponse +// StatsVirtioScsiControllerResponse -// .opi_api.common.v1.ObjectKey id = 1; -inline bool VirtioScsiControllerStatsResponse::_internal_has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline bool VirtioScsiControllerStatsResponse::has_id() const { - return _internal_has_id(); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiControllerStatsResponse::_internal_id() const { - const ::opi_api::common::v1::ObjectKey* p = id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiControllerStatsResponse::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiControllerStatsResponse.id) - return _internal_id(); -} -inline void VirtioScsiControllerStatsResponse::unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - id_ = id; - if (id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.id) -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsResponse::release_id() { - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = 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* VirtioScsiControllerStatsResponse::unsafe_arena_release_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiControllerStatsResponse.id) - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsResponse::_internal_mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - id_ = p; - } - return id_; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiControllerStatsResponse::mutable_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiControllerStatsResponse.id) - return _msg; -} -inline void VirtioScsiControllerStatsResponse::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - if (id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); - if (message_arena != submessage_arena) { - id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.id) -} - -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool VirtioScsiControllerStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsVirtioScsiControllerResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool VirtioScsiControllerStatsResponse::has_stats() const { +inline bool StatsVirtioScsiControllerResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiControllerStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioScsiControllerResponse::_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& VirtioScsiControllerStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioScsiControllerResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiControllerResponse.stats) return _internal_stats(); } -inline void VirtioScsiControllerStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsVirtioScsiControllerResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -7299,9 +6985,9 @@ inline void VirtioScsiControllerStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsVirtioScsiControllerResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiControllerResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -7316,14 +7002,14 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::r #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiControllerResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiControllerResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiControllerResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -7331,12 +7017,12 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::_ } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiControllerResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiControllerResponse.stats) return _msg; } -inline void VirtioScsiControllerStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsVirtioScsiControllerResponse::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_); @@ -7355,14 +7041,14 @@ inline void VirtioScsiControllerStatsResponse::set_allocated_stats(::opi_api::st } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsVirtioScsiControllerResponse.stats) } // ------------------------------------------------------------------- // CreateVirtioScsiLunRequest -// .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateVirtioScsiLunRequest::_internal_has_virtio_scsi_lun() const { return this != internal_default_instance() && virtio_scsi_lun_ != nullptr; } @@ -7452,7 +7138,7 @@ inline void CreateVirtioScsiLunRequest::set_allocated_virtio_scsi_lun(::opi_api: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun) } -// string virtio_scsi_lun_id = 3; +// string virtio_scsi_lun_id = 2; inline void CreateVirtioScsiLunRequest::clear_virtio_scsi_lun_id() { virtio_scsi_lun_id_.ClearToEmpty(); } @@ -8056,25 +7742,76 @@ inline void GetVirtioScsiLunRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// VirtioScsiLunStatsRequest +// StatsVirtioScsiLunRequest -// .opi_api.common.v1.ObjectKey controller_id = 1; -inline bool VirtioScsiLunStatsRequest::_internal_has_controller_id() const { +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsVirtioScsiLunRequest::clear_name() { + name_.ClearToEmpty(); +} +inline const std::string& StatsVirtioScsiLunRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiLunRequest.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void StatsVirtioScsiLunRequest::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.StatsVirtioScsiLunRequest.name) +} +inline std::string* StatsVirtioScsiLunRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiLunRequest.name) + return _s; +} +inline const std::string& StatsVirtioScsiLunRequest::_internal_name() const { + return name_.Get(); +} +inline void StatsVirtioScsiLunRequest::_internal_set_name(const std::string& value) { + + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* StatsVirtioScsiLunRequest::_internal_mutable_name() { + + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* StatsVirtioScsiLunRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiLunRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void StatsVirtioScsiLunRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { + + } else { + + } + 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.StatsVirtioScsiLunRequest.name) +} + +// .opi_api.common.v1.ObjectKey controller_id = 2; +inline bool StatsVirtioScsiLunRequest::_internal_has_controller_id() const { return this != internal_default_instance() && controller_id_ != nullptr; } -inline bool VirtioScsiLunStatsRequest::has_controller_id() const { +inline bool StatsVirtioScsiLunRequest::has_controller_id() const { return _internal_has_controller_id(); } -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiLunStatsRequest::_internal_controller_id() const { +inline const ::opi_api::common::v1::ObjectKey& StatsVirtioScsiLunRequest::_internal_controller_id() const { const ::opi_api::common::v1::ObjectKey* p = controller_id_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiLunStatsRequest::controller_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id) +inline const ::opi_api::common::v1::ObjectKey& StatsVirtioScsiLunRequest::controller_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiLunRequest.controller_id) return _internal_controller_id(); } -inline void VirtioScsiLunStatsRequest::unsafe_arena_set_allocated_controller_id( +inline void StatsVirtioScsiLunRequest::unsafe_arena_set_allocated_controller_id( ::opi_api::common::v1::ObjectKey* controller_id) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id_); @@ -8085,9 +7822,9 @@ inline void VirtioScsiLunStatsRequest::unsafe_arena_set_allocated_controller_id( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsVirtioScsiLunRequest.controller_id) } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::release_controller_id() { +inline ::opi_api::common::v1::ObjectKey* StatsVirtioScsiLunRequest::release_controller_id() { ::opi_api::common::v1::ObjectKey* temp = controller_id_; controller_id_ = nullptr; @@ -8102,14 +7839,14 @@ inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::release_cont #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::unsafe_arena_release_controller_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id) +inline ::opi_api::common::v1::ObjectKey* StatsVirtioScsiLunRequest::unsafe_arena_release_controller_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiLunRequest.controller_id) ::opi_api::common::v1::ObjectKey* temp = controller_id_; controller_id_ = nullptr; return temp; } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::_internal_mutable_controller_id() { +inline ::opi_api::common::v1::ObjectKey* StatsVirtioScsiLunRequest::_internal_mutable_controller_id() { if (controller_id_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); @@ -8117,12 +7854,12 @@ inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::_internal_mu } return controller_id_; } -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::mutable_controller_id() { +inline ::opi_api::common::v1::ObjectKey* StatsVirtioScsiLunRequest::mutable_controller_id() { ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_controller_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiLunRequest.controller_id) return _msg; } -inline void VirtioScsiLunStatsRequest::set_allocated_controller_id(::opi_api::common::v1::ObjectKey* controller_id) { +inline void StatsVirtioScsiLunRequest::set_allocated_controller_id(::opi_api::common::v1::ObjectKey* controller_id) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(controller_id_); @@ -8141,202 +7878,30 @@ inline void VirtioScsiLunStatsRequest::set_allocated_controller_id(::opi_api::co } controller_id_ = controller_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id) -} - -// .opi_api.common.v1.ObjectKey lun_id = 2; -inline bool VirtioScsiLunStatsRequest::_internal_has_lun_id() const { - return this != internal_default_instance() && lun_id_ != nullptr; -} -inline bool VirtioScsiLunStatsRequest::has_lun_id() const { - return _internal_has_lun_id(); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiLunStatsRequest::_internal_lun_id() const { - const ::opi_api::common::v1::ObjectKey* p = lun_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiLunStatsRequest::lun_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id) - return _internal_lun_id(); -} -inline void VirtioScsiLunStatsRequest::unsafe_arena_set_allocated_lun_id( - ::opi_api::common::v1::ObjectKey* lun_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(lun_id_); - } - lun_id_ = lun_id; - if (lun_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id) -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::release_lun_id() { - - ::opi_api::common::v1::ObjectKey* temp = lun_id_; - lun_id_ = 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* VirtioScsiLunStatsRequest::unsafe_arena_release_lun_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id) - - ::opi_api::common::v1::ObjectKey* temp = lun_id_; - lun_id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::_internal_mutable_lun_id() { - - if (lun_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - lun_id_ = p; - } - return lun_id_; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsRequest::mutable_lun_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_lun_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id) - return _msg; -} -inline void VirtioScsiLunStatsRequest::set_allocated_lun_id(::opi_api::common::v1::ObjectKey* lun_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(lun_id_); - } - if (lun_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(lun_id)); - if (message_arena != submessage_arena) { - lun_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, lun_id, submessage_arena); - } - - } else { - - } - lun_id_ = lun_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsVirtioScsiLunRequest.controller_id) } // ------------------------------------------------------------------- -// VirtioScsiLunStatsResponse - -// .opi_api.common.v1.ObjectKey id = 1; -inline bool VirtioScsiLunStatsResponse::_internal_has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline bool VirtioScsiLunStatsResponse::has_id() const { - return _internal_has_id(); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiLunStatsResponse::_internal_id() const { - const ::opi_api::common::v1::ObjectKey* p = id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& VirtioScsiLunStatsResponse::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiLunStatsResponse.id) - return _internal_id(); -} -inline void VirtioScsiLunStatsResponse::unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - id_ = id; - if (id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.id) -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsResponse::release_id() { - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = 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* VirtioScsiLunStatsResponse::unsafe_arena_release_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiLunStatsResponse.id) - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsResponse::_internal_mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - id_ = p; - } - return id_; -} -inline ::opi_api::common::v1::ObjectKey* VirtioScsiLunStatsResponse::mutable_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiLunStatsResponse.id) - return _msg; -} -inline void VirtioScsiLunStatsResponse::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - if (id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); - if (message_arena != submessage_arena) { - id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.id) -} +// StatsVirtioScsiLunResponse -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool VirtioScsiLunStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsVirtioScsiLunResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool VirtioScsiLunStatsResponse::has_stats() const { +inline bool StatsVirtioScsiLunResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiLunStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioScsiLunResponse::_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& VirtioScsiLunStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsVirtioScsiLunResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsVirtioScsiLunResponse.stats) return _internal_stats(); } -inline void VirtioScsiLunStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsVirtioScsiLunResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -8347,9 +7912,9 @@ inline void VirtioScsiLunStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsVirtioScsiLunResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiLunResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -8364,14 +7929,14 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::release_ #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiLunResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsVirtioScsiLunResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiLunResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -8379,12 +7944,12 @@ inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::_interna } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsVirtioScsiLunResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsVirtioScsiLunResponse.stats) return _msg; } -inline void VirtioScsiLunStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsVirtioScsiLunResponse::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_); @@ -8403,7 +7968,7 @@ inline void VirtioScsiLunStatsResponse::set_allocated_stats(::opi_api::storage:: } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsVirtioScsiLunResponse.stats) } #ifdef __GNUC__ diff --git a/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.cc b/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.cc index 6ef0da5b..5757eb31 100644 --- a/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.cc @@ -29,7 +29,7 @@ static const char* MiddleendEncryptionService_method_names[] = { "/opi_api.storage.v1.MiddleendEncryptionService/UpdateEncryptedVolume", "/opi_api.storage.v1.MiddleendEncryptionService/ListEncryptedVolumes", "/opi_api.storage.v1.MiddleendEncryptionService/GetEncryptedVolume", - "/opi_api.storage.v1.MiddleendEncryptionService/EncryptedVolumeStats", + "/opi_api.storage.v1.MiddleendEncryptionService/StatsEncryptedVolume", }; std::unique_ptr< MiddleendEncryptionService::Stub> MiddleendEncryptionService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -44,7 +44,7 @@ MiddleendEncryptionService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInt , rpcmethod_UpdateEncryptedVolume_(MiddleendEncryptionService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListEncryptedVolumes_(MiddleendEncryptionService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetEncryptedVolume_(MiddleendEncryptionService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_EncryptedVolumeStats_(MiddleendEncryptionService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsEncryptedVolume_(MiddleendEncryptionService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status MiddleendEncryptionService::Stub::CreateEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateEncryptedVolumeRequest& request, ::opi_api::storage::v1::EncryptedVolume* response) { @@ -162,25 +162,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolume>* Mid return result; } -::grpc::Status MiddleendEncryptionService::Stub::EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_EncryptedVolumeStats_, context, request, response); +::grpc::Status MiddleendEncryptionService::Stub::StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsEncryptedVolume_, context, request, response); } -void MiddleendEncryptionService::Stub::async::EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_EncryptedVolumeStats_, context, request, response, std::move(f)); +void MiddleendEncryptionService::Stub::async::StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsEncryptedVolume_, context, request, response, std::move(f)); } -void MiddleendEncryptionService::Stub::async::EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_EncryptedVolumeStats_, context, request, response, reactor); +void MiddleendEncryptionService::Stub::async::StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsEncryptedVolume_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* MiddleendEncryptionService::Stub::PrepareAsyncEncryptedVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::EncryptedVolumeStatsResponse, ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_EncryptedVolumeStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* MiddleendEncryptionService::Stub::PrepareAsyncStatsEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsEncryptedVolumeResponse, ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsEncryptedVolume_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* MiddleendEncryptionService::Stub::AsyncEncryptedVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* MiddleendEncryptionService::Stub::AsyncStatsEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncEncryptedVolumeStatsRaw(context, request, cq); + this->PrepareAsyncStatsEncryptedVolumeRaw(context, request, cq); result->StartCall(); return result; } @@ -239,12 +239,12 @@ MiddleendEncryptionService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( MiddleendEncryptionService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< MiddleendEncryptionService::Service, ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< MiddleendEncryptionService::Service, ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](MiddleendEncryptionService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* req, - ::opi_api::storage::v1::EncryptedVolumeStatsResponse* resp) { - return service->EncryptedVolumeStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* req, + ::opi_api::storage::v1::StatsEncryptedVolumeResponse* resp) { + return service->StatsEncryptedVolume(ctx, req, resp); }, this))); } @@ -286,7 +286,7 @@ ::grpc::Status MiddleendEncryptionService::Service::GetEncryptedVolume(::grpc::S return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status MiddleendEncryptionService::Service::EncryptedVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response) { +::grpc::Status MiddleendEncryptionService::Service::StatsEncryptedVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.h b/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.h index 6417232c..a59be9bc 100644 --- a/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/middleend_encryption.grpc.pb.h @@ -79,12 +79,12 @@ class MiddleendEncryptionService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolume>> PrepareAsyncGetEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolume>>(PrepareAsyncGetEncryptedVolumeRaw(context, request, cq)); } - virtual ::grpc::Status EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>> AsyncEncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>>(AsyncEncryptedVolumeStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>> AsyncStatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>>(AsyncStatsEncryptedVolumeRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>> PrepareAsyncEncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>>(PrepareAsyncEncryptedVolumeStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>> PrepareAsyncStatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>>(PrepareAsyncStatsEncryptedVolumeRaw(context, request, cq)); } class async_interface { public: @@ -99,8 +99,8 @@ class MiddleendEncryptionService final { virtual void ListEncryptedVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListEncryptedVolumesRequest* request, ::opi_api::storage::v1::ListEncryptedVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest* request, ::opi_api::storage::v1::EncryptedVolume* response, std::function) = 0; virtual void GetEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest* request, ::opi_api::storage::v1::EncryptedVolume* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response, std::function) = 0; - virtual void EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response, std::function) = 0; + virtual void StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -116,8 +116,8 @@ class MiddleendEncryptionService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListEncryptedVolumesResponse>* PrepareAsyncListEncryptedVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListEncryptedVolumesRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolume>* AsyncGetEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolume>* PrepareAsyncGetEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* AsyncEncryptedVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* PrepareAsyncEncryptedVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* AsyncStatsEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* PrepareAsyncStatsEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -157,12 +157,12 @@ class MiddleendEncryptionService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolume>> PrepareAsyncGetEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolume>>(PrepareAsyncGetEncryptedVolumeRaw(context, request, cq)); } - ::grpc::Status EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>> AsyncEncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>>(AsyncEncryptedVolumeStatsRaw(context, request, cq)); + ::grpc::Status StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>> AsyncStatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>>(AsyncStatsEncryptedVolumeRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>> PrepareAsyncEncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>>(PrepareAsyncEncryptedVolumeStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>> PrepareAsyncStatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>>(PrepareAsyncStatsEncryptedVolumeRaw(context, request, cq)); } class async final : public StubInterface::async_interface { @@ -177,8 +177,8 @@ class MiddleendEncryptionService final { void ListEncryptedVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListEncryptedVolumesRequest* request, ::opi_api::storage::v1::ListEncryptedVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest* request, ::opi_api::storage::v1::EncryptedVolume* response, std::function) override; void GetEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest* request, ::opi_api::storage::v1::EncryptedVolume* response, ::grpc::ClientUnaryReactor* reactor) override; - void EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response, std::function) override; - void EncryptedVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response, std::function) override; + void StatsEncryptedVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -200,14 +200,14 @@ class MiddleendEncryptionService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListEncryptedVolumesResponse>* PrepareAsyncListEncryptedVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListEncryptedVolumesRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolume>* AsyncGetEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolume>* PrepareAsyncGetEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* AsyncEncryptedVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* PrepareAsyncEncryptedVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* AsyncStatsEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* PrepareAsyncStatsEncryptedVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateEncryptedVolume_; const ::grpc::internal::RpcMethod rpcmethod_DeleteEncryptedVolume_; const ::grpc::internal::RpcMethod rpcmethod_UpdateEncryptedVolume_; const ::grpc::internal::RpcMethod rpcmethod_ListEncryptedVolumes_; const ::grpc::internal::RpcMethod rpcmethod_GetEncryptedVolume_; - const ::grpc::internal::RpcMethod rpcmethod_EncryptedVolumeStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsEncryptedVolume_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -220,7 +220,7 @@ class MiddleendEncryptionService final { virtual ::grpc::Status UpdateEncryptedVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateEncryptedVolumeRequest* request, ::opi_api::storage::v1::EncryptedVolume* response); virtual ::grpc::Status ListEncryptedVolumes(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListEncryptedVolumesRequest* request, ::opi_api::storage::v1::ListEncryptedVolumesResponse* response); virtual ::grpc::Status GetEncryptedVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetEncryptedVolumeRequest* request, ::opi_api::storage::v1::EncryptedVolume* response); - virtual ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response); + virtual ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response); }; template class WithAsyncMethod_CreateEncryptedVolume : public BaseClass { @@ -323,26 +323,26 @@ class MiddleendEncryptionService final { } }; template - class WithAsyncMethod_EncryptedVolumeStats : public BaseClass { + class WithAsyncMethod_StatsEncryptedVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_EncryptedVolumeStats() { + WithAsyncMethod_StatsEncryptedVolume() { ::grpc::Service::MarkMethodAsync(5); } - ~WithAsyncMethod_EncryptedVolumeStats() override { + ~WithAsyncMethod_StatsEncryptedVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestEncryptedVolumeStats(::grpc::ServerContext* context, ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsEncryptedVolume(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* 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_CreateEncryptedVolume > > > > > AsyncService; + typedef WithAsyncMethod_CreateEncryptedVolume > > > > > AsyncService; template class WithCallbackMethod_CreateEncryptedVolume : public BaseClass { private: @@ -479,33 +479,33 @@ class MiddleendEncryptionService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolume* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_EncryptedVolumeStats : public BaseClass { + class WithCallbackMethod_StatsEncryptedVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_EncryptedVolumeStats() { + WithCallbackMethod_StatsEncryptedVolume() { ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* request, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* response) { return this->EncryptedVolumeStats(context, request, response); }));} - void SetMessageAllocatorFor_EncryptedVolumeStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* request, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* response) { return this->StatsEncryptedVolume(context, request, response); }));} + void SetMessageAllocatorFor_StatsEncryptedVolume( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_EncryptedVolumeStats() override { + ~WithCallbackMethod_StatsEncryptedVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* EncryptedVolumeStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsEncryptedVolume( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_CreateEncryptedVolume > > > > > CallbackService; + typedef WithCallbackMethod_CreateEncryptedVolume > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_CreateEncryptedVolume : public BaseClass { @@ -593,18 +593,18 @@ class MiddleendEncryptionService final { } }; template - class WithGenericMethod_EncryptedVolumeStats : public BaseClass { + class WithGenericMethod_StatsEncryptedVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_EncryptedVolumeStats() { + WithGenericMethod_StatsEncryptedVolume() { ::grpc::Service::MarkMethodGeneric(5); } - ~WithGenericMethod_EncryptedVolumeStats() override { + ~WithGenericMethod_StatsEncryptedVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -710,22 +710,22 @@ class MiddleendEncryptionService final { } }; template - class WithRawMethod_EncryptedVolumeStats : public BaseClass { + class WithRawMethod_StatsEncryptedVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_EncryptedVolumeStats() { + WithRawMethod_StatsEncryptedVolume() { ::grpc::Service::MarkMethodRaw(5); } - ~WithRawMethod_EncryptedVolumeStats() override { + ~WithRawMethod_StatsEncryptedVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestEncryptedVolumeStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsEncryptedVolume(::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); } }; @@ -840,25 +840,25 @@ class MiddleendEncryptionService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_EncryptedVolumeStats : public BaseClass { + class WithRawCallbackMethod_StatsEncryptedVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_EncryptedVolumeStats() { + WithRawCallbackMethod_StatsEncryptedVolume() { ::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->EncryptedVolumeStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsEncryptedVolume(context, request, response); })); } - ~WithRawCallbackMethod_EncryptedVolumeStats() override { + ~WithRawCallbackMethod_StatsEncryptedVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* EncryptedVolumeStats( + virtual ::grpc::ServerUnaryReactor* StatsEncryptedVolume( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -997,35 +997,35 @@ class MiddleendEncryptionService final { virtual ::grpc::Status StreamedGetEncryptedVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetEncryptedVolumeRequest,::opi_api::storage::v1::EncryptedVolume>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_EncryptedVolumeStats : public BaseClass { + class WithStreamedUnaryMethod_StatsEncryptedVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_EncryptedVolumeStats() { + WithStreamedUnaryMethod_StatsEncryptedVolume() { ::grpc::Service::MarkMethodStreamed(5, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse>( + ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::EncryptedVolumeStatsRequest, ::opi_api::storage::v1::EncryptedVolumeStatsResponse>* streamer) { - return this->StreamedEncryptedVolumeStats(context, + ::opi_api::storage::v1::StatsEncryptedVolumeRequest, ::opi_api::storage::v1::StatsEncryptedVolumeResponse>* streamer) { + return this->StreamedStatsEncryptedVolume(context, streamer); })); } - ~WithStreamedUnaryMethod_EncryptedVolumeStats() override { + ~WithStreamedUnaryMethod_StatsEncryptedVolume() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status EncryptedVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::EncryptedVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::EncryptedVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsEncryptedVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsEncryptedVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsEncryptedVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedEncryptedVolumeStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::EncryptedVolumeStatsRequest,::opi_api::storage::v1::EncryptedVolumeStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsEncryptedVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsEncryptedVolumeRequest,::opi_api::storage::v1::StatsEncryptedVolumeResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateEncryptedVolume > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateEncryptedVolume > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateEncryptedVolume > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateEncryptedVolume > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/middleend_encryption.pb.cc b/storage/v1alpha1/gen/cpp/middleend_encryption.pb.cc index ff7a43cd..7b9ebe5d 100644 --- a/storage/v1alpha1/gen/cpp/middleend_encryption.pb.cc +++ b/storage/v1alpha1/gen/cpp/middleend_encryption.pb.cc @@ -22,8 +22,8 @@ namespace v1 { constexpr EncryptedVolume::EncryptedVolume( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , volume_name_ref_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , key_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , volume_id_(nullptr) , cipher_(0) {} struct EncryptedVolumeDefaultTypeInternal { @@ -114,31 +114,30 @@ struct GetEncryptedVolumeRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetEncryptedVolumeRequestDefaultTypeInternal _GetEncryptedVolumeRequest_default_instance_; -constexpr EncryptedVolumeStatsRequest::EncryptedVolumeStatsRequest( +constexpr StatsEncryptedVolumeRequest::StatsEncryptedVolumeRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : encrypted_volume_id_(nullptr){} -struct EncryptedVolumeStatsRequestDefaultTypeInternal { - constexpr EncryptedVolumeStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct StatsEncryptedVolumeRequestDefaultTypeInternal { + constexpr StatsEncryptedVolumeRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~EncryptedVolumeStatsRequestDefaultTypeInternal() {} + ~StatsEncryptedVolumeRequestDefaultTypeInternal() {} union { - EncryptedVolumeStatsRequest _instance; + StatsEncryptedVolumeRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EncryptedVolumeStatsRequestDefaultTypeInternal _EncryptedVolumeStatsRequest_default_instance_; -constexpr EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsEncryptedVolumeRequestDefaultTypeInternal _StatsEncryptedVolumeRequest_default_instance_; +constexpr StatsEncryptedVolumeResponse::StatsEncryptedVolumeResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : encrypted_volume_id_(nullptr) - , stats_(nullptr){} -struct EncryptedVolumeStatsResponseDefaultTypeInternal { - constexpr EncryptedVolumeStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsEncryptedVolumeResponseDefaultTypeInternal { + constexpr StatsEncryptedVolumeResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~EncryptedVolumeStatsResponseDefaultTypeInternal() {} + ~StatsEncryptedVolumeResponseDefaultTypeInternal() {} union { - EncryptedVolumeStatsResponse _instance; + StatsEncryptedVolumeResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EncryptedVolumeStatsResponseDefaultTypeInternal _EncryptedVolumeStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsEncryptedVolumeResponseDefaultTypeInternal _StatsEncryptedVolumeResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -154,7 +153,7 @@ const uint32_t TableStruct_middleend_5fencryption_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolume, name_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolume, volume_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolume, volume_name_ref_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolume, key_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolume, cipher_), ~0u, // no _has_bits_ @@ -207,20 +206,19 @@ const uint32_t TableStruct_middleend_5fencryption_2eproto::offsets[] PROTOBUF_SE ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetEncryptedVolumeRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolumeStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsEncryptedVolumeRequest, _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::EncryptedVolumeStatsRequest, encrypted_volume_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsEncryptedVolumeRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolumeStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsEncryptedVolumeResponse, _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::EncryptedVolumeStatsResponse, encrypted_volume_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::EncryptedVolumeStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsEncryptedVolumeResponse, stats_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::EncryptedVolume)}, @@ -230,8 +228,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 35, -1, -1, sizeof(::opi_api::storage::v1::ListEncryptedVolumesRequest)}, { 44, -1, -1, sizeof(::opi_api::storage::v1::ListEncryptedVolumesResponse)}, { 52, -1, -1, sizeof(::opi_api::storage::v1::GetEncryptedVolumeRequest)}, - { 59, -1, -1, sizeof(::opi_api::storage::v1::EncryptedVolumeStatsRequest)}, - { 66, -1, -1, sizeof(::opi_api::storage::v1::EncryptedVolumeStatsResponse)}, + { 59, -1, -1, sizeof(::opi_api::storage::v1::StatsEncryptedVolumeRequest)}, + { 66, -1, -1, sizeof(::opi_api::storage::v1::StatsEncryptedVolumeResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -242,91 +240,90 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::opi_api::storage::v1::_ListEncryptedVolumesRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListEncryptedVolumesResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetEncryptedVolumeRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_EncryptedVolumeStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_EncryptedVolumeStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsEncryptedVolumeRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsEncryptedVolumeResponse_default_instance_), }; const char descriptor_table_protodef_middleend_5fencryption_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\032middleend_encryption.proto\022\022opi_api.st" - "orage.v1\032\017opicommon.proto\032\020object_key.pr" - "oto\032\027google/api/client.proto\032\031google/api" - "/resource.proto\032\033google/protobuf/empty.p" - "roto\032\034google/api/annotations.proto\032\037goog" - "le/api/field_behavior.proto\032 google/prot" - "obuf/field_mask.proto\"\320\001\n\017EncryptedVolum" - "e\022\014\n\004name\030\001 \001(\t\022/\n\tvolume_id\030\002 \001(\0132\034.opi" - "_api.common.v1.ObjectKey\022\013\n\003key\030\003 \001(\014\0222\n" - "\006cipher\030\004 \001(\0162\".opi_api.storage.v1.Encry" - "ptionType:=\352A:\n&storage.opiproject.org/E" - "ncryptedVolume\022\020volumes/{volume}\"\177\n\034Crea" - "teEncryptedVolumeRequest\022B\n\020encrypted_vo" - "lume\030\002 \001(\0132#.opi_api.storage.v1.Encrypte" - "dVolumeB\003\340A\002\022\033\n\023encrypted_volume_id\030\003 \001(" - "\t\"o\n\034DeleteEncryptedVolumeRequest\0228\n\004nam" - "e\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.storage.v1/Encr" - "yptedVolume\022\025\n\rallow_missing\030\002 \001(\010\"\245\001\n\034U" - "pdateEncryptedVolumeRequest\022=\n\020encrypted" - "_volume\030\001 \001(\0132#.opi_api.storage.v1.Encry" - "ptedVolume\022/\n\013update_mask\030\002 \001(\0132\032.google" - ".protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001" - "(\010\"\200\001\n\033ListEncryptedVolumesRequest\022:\n\006pa" - "rent\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.storage.v1/E" - "ncryptedVolume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" - "e_token\030\003 \001(\t\"w\n\034ListEncryptedVolumesRes" - "ponse\022>\n\021encrypted_volumes\030\001 \003(\0132#.opi_a" - "pi.storage.v1.EncryptedVolume\022\027\n\017next_pa" - "ge_token\030\002 \001(\t\"U\n\031GetEncryptedVolumeRequ" + "orage.v1\032\017opicommon.proto\032\027google/api/cl" + "ient.proto\032\031google/api/resource.proto\032\033g" + "oogle/protobuf/empty.proto\032\034google/api/a" + "nnotations.proto\032\037google/api/field_behav" + "ior.proto\032 google/protobuf/field_mask.pr" + "oto\"\354\001\n\017EncryptedVolume\022;\n\004name\030\001 \001(\tB-\340" + "A\003\340A\005\372A$\n\"opi_api.storage.v1/EncryptedVo" + "lume\022\034\n\017volume_name_ref\030\002 \001(\tB\003\340A\002\022\013\n\003ke" + "y\030\003 \001(\014\0222\n\006cipher\030\004 \001(\0162\".opi_api.storag" + "e.v1.EncryptionType:=\352A:\n&storage.opipro" + "ject.org/EncryptedVolume\022\020volumes/{volum" + "e}\"\177\n\034CreateEncryptedVolumeRequest\022B\n\020en" + "crypted_volume\030\001 \001(\0132#.opi_api.storage.v" + "1.EncryptedVolumeB\003\340A\002\022\033\n\023encrypted_volu" + "me_id\030\002 \001(\t\"o\n\034DeleteEncryptedVolumeRequ" "est\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.stora" - "ge.v1/EncryptedVolume\"X\n\033EncryptedVolume" - "StatsRequest\0229\n\023encrypted_volume_id\030\001 \001(" - "\0132\034.opi_api.common.v1.ObjectKey\"\211\001\n\034Encr" - "yptedVolumeStatsResponse\0229\n\023encrypted_vo" - "lume_id\030\001 \001(\0132\034.opi_api.common.v1.Object" - "Key\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1." - "VolumeStats2\367\007\n\032MiddleendEncryptionServi" - "ce\022\274\001\n\025CreateEncryptedVolume\0220.opi_api.s" - "torage.v1.CreateEncryptedVolumeRequest\032#" - ".opi_api.storage.v1.EncryptedVolume\"L\202\323\344" - "\223\002\037\"\013/v1/volumes:\020encrypted_volume\332A$enc" - "rypted_volume,encrypted_volume_id\022\215\001\n\025De" - "leteEncryptedVolume\0220.opi_api.storage.v1" - ".DeleteEncryptedVolumeRequest\032\026.google.p" - "rotobuf.Empty\"*\202\323\344\223\002\035*\033/v1/{name=volumes" - "}/{volume}\332A\004name\022\317\001\n\025UpdateEncryptedVol" - "ume\0220.opi_api.storage.v1.UpdateEncrypted" - "VolumeRequest\032#.opi_api.storage.v1.Encry" - "ptedVolume\"_\202\323\344\223\002:2&/v1/{encrypted_volum" - "e.name=subsystems}:\020encrypted_volume\332A\034e" - "ncrypted_volume,update_mask\022\240\001\n\024ListEncr" - "yptedVolumes\022/.opi_api.storage.v1.ListEn" - "cryptedVolumesRequest\0320.opi_api.storage." - "v1.ListEncryptedVolumesResponse\"%\202\323\344\223\002\026\022" - "\024/v1/{parent=volumes}\332A\006parent\022\227\001\n\022GetEn" - "cryptedVolume\022-.opi_api.storage.v1.GetEn" - "cryptedVolumeRequest\032#.opi_api.storage.v" - "1.EncryptedVolume\"-\202\323\344\223\002 \022\036/v1/{name=sub" - "systems}/{volume}\332A\004name\022{\n\024EncryptedVol" - "umeStats\022/.opi_api.storage.v1.EncryptedV" - "olumeStatsRequest\0320.opi_api.storage.v1.E" - "ncryptedVolumeStatsResponse\"\000Bg\n\022opi_api" - ".storage.v1B\030MiddleendEncryptionProtoP\001Z" - "5github.com/opiproject/opi-api/storage/v" - "1alpha1/gen/gob\006proto3" + "ge.v1/EncryptedVolume\022\025\n\rallow_missing\030\002" + " \001(\010\"\245\001\n\034UpdateEncryptedVolumeRequest\022=\n" + "\020encrypted_volume\030\001 \001(\0132#.opi_api.storag" + "e.v1.EncryptedVolume\022/\n\013update_mask\030\002 \001(" + "\0132\032.google.protobuf.FieldMask\022\025\n\rallow_m" + "issing\030\003 \001(\010\"\200\001\n\033ListEncryptedVolumesReq" + "uest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.st" + "orage.v1/EncryptedVolume\022\021\n\tpage_size\030\002 " + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\034ListEncrypted" + "VolumesResponse\022>\n\021encrypted_volumes\030\001 \003" + "(\0132#.opi_api.storage.v1.EncryptedVolume\022" + "\027\n\017next_page_token\030\002 \001(\t\"U\n\031GetEncrypted" + "VolumeRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"opi" + "_api.storage.v1/EncryptedVolume\"W\n\033Stats" + "EncryptedVolumeRequest\0228\n\004name\030\001 \001(\tB*\340A" + "\002\372A$\n\"opi_api.storage.v1/EncryptedVolume" + "\"N\n\034StatsEncryptedVolumeResponse\022.\n\005stat" + "s\030\001 \001(\0132\037.opi_api.storage.v1.VolumeStats" + "2\253\010\n\032MiddleendEncryptionService\022\274\001\n\025Crea" + "teEncryptedVolume\0220.opi_api.storage.v1.C" + "reateEncryptedVolumeRequest\032#.opi_api.st" + "orage.v1.EncryptedVolume\"L\202\323\344\223\002\037\"\013/v1/vo" + "lumes:\020encrypted_volume\332A$encrypted_volu" + "me,encrypted_volume_id\022\217\001\n\025DeleteEncrypt" + "edVolume\0220.opi_api.storage.v1.DeleteEncr" + "yptedVolumeRequest\032\026.google.protobuf.Emp" + "ty\",\202\323\344\223\002\037*\035/v1/{name=EncryptedVolumes/*" + "}\332A\004name\022\317\001\n\025UpdateEncryptedVolume\0220.opi" + "_api.storage.v1.UpdateEncryptedVolumeReq" + "uest\032#.opi_api.storage.v1.EncryptedVolum" + "e\"_\202\323\344\223\002:2&/v1/{encrypted_volume.name=su" + "bsystems}:\020encrypted_volume\332A\034encrypted_" + "volume,update_mask\022\240\001\n\024ListEncryptedVolu" + "mes\022/.opi_api.storage.v1.ListEncryptedVo" + "lumesRequest\0320.opi_api.storage.v1.ListEn" + "cryptedVolumesResponse\"%\202\323\344\223\002\026\022\024/v1/{par" + "ent=volumes}\332A\006parent\022\226\001\n\022GetEncryptedVo" + "lume\022-.opi_api.storage.v1.GetEncryptedVo" + "lumeRequest\032#.opi_api.storage.v1.Encrypt" + "edVolume\",\202\323\344\223\002\037\022\035/v1/{name=EncryptedVol" + "umes/*}\332A\004name\022\255\001\n\024StatsEncryptedVolume\022" + "/.opi_api.storage.v1.StatsEncryptedVolum" + "eRequest\0320.opi_api.storage.v1.StatsEncry" + "ptedVolumeResponse\"2\202\323\344\223\002%\022#/v1/{name=En" + "cryptedVolumes/*}:stats\332A\004nameBg\n\022opi_ap" + "i.storage.v1B\030MiddleendEncryptionProtoP\001" + "Z5github.com/opiproject/opi-api/storage/" + "v1alpha1/gen/gob\006proto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_middleend_5fencryption_2eproto_deps[8] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_middleend_5fencryption_2eproto_deps[7] = { &::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, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_middleend_5fencryption_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_middleend_5fencryption_2eproto = { - false, false, 2582, descriptor_table_protodef_middleend_5fencryption_2eproto, "middleend_encryption.proto", - &descriptor_table_middleend_5fencryption_2eproto_once, descriptor_table_middleend_5fencryption_2eproto_deps, 8, 9, + false, false, 2583, descriptor_table_protodef_middleend_5fencryption_2eproto, "middleend_encryption.proto", + &descriptor_table_middleend_5fencryption_2eproto_once, descriptor_table_middleend_5fencryption_2eproto_deps, 7, 9, schemas, file_default_instances, TableStruct_middleend_5fencryption_2eproto::offsets, file_level_metadata_middleend_5fencryption_2eproto, file_level_enum_descriptors_middleend_5fencryption_2eproto, file_level_service_descriptors_middleend_5fencryption_2eproto, }; @@ -344,19 +341,8 @@ namespace v1 { class EncryptedVolume::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& volume_id(const EncryptedVolume* msg); }; -const ::opi_api::common::v1::ObjectKey& -EncryptedVolume::_Internal::volume_id(const EncryptedVolume* msg) { - return *msg->volume_id_; -} -void EncryptedVolume::clear_volume_id() { - if (GetArenaForAllocation() == nullptr && volume_id_ != nullptr) { - delete volume_id_; - } - volume_id_ = nullptr; -} EncryptedVolume::EncryptedVolume(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -377,6 +363,14 @@ EncryptedVolume::EncryptedVolume(const EncryptedVolume& from) name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } + volume_name_ref_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + volume_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_volume_name_ref().empty()) { + volume_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_volume_name_ref(), + GetArenaForAllocation()); + } key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); @@ -385,11 +379,6 @@ EncryptedVolume::EncryptedVolume(const EncryptedVolume& from) key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_key(), GetArenaForAllocation()); } - if (from._internal_has_volume_id()) { - volume_id_ = new ::opi_api::common::v1::ObjectKey(*from.volume_id_); - } else { - volume_id_ = nullptr; - } cipher_ = from.cipher_; // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.EncryptedVolume) } @@ -399,14 +388,15 @@ name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlready #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +volume_name_ref_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + volume_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&volume_id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&cipher_) - - reinterpret_cast(&volume_id_)) + sizeof(cipher_)); +cipher_ = 0; } EncryptedVolume::~EncryptedVolume() { @@ -419,8 +409,8 @@ EncryptedVolume::~EncryptedVolume() { inline void EncryptedVolume::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + volume_name_ref_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete volume_id_; } void EncryptedVolume::ArenaDtor(void* object) { @@ -440,11 +430,8 @@ void EncryptedVolume::Clear() { (void) cached_has_bits; name_.ClearToEmpty(); + volume_name_ref_.ClearToEmpty(); key_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && volume_id_ != nullptr) { - delete volume_id_; - } - volume_id_ = nullptr; cipher_ = 0; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -455,7 +442,7 @@ const char* EncryptedVolume::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC 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(); @@ -465,10 +452,12 @@ const char* EncryptedVolume::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC } else goto handle_unusual; continue; - // .opi_api.common.v1.ObjectKey volume_id = 2; + // string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_volume_id(), ptr); + auto str = _internal_mutable_volume_name_ref(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.EncryptedVolume.volume_name_ref")); CHK_(ptr); } else goto handle_unusual; @@ -520,7 +509,7 @@ uint8_t* EncryptedVolume::_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()), @@ -530,12 +519,14 @@ uint8_t* EncryptedVolume::_InternalSerialize( 1, this->_internal_name(), target); } - // .opi_api.common.v1.ObjectKey volume_id = 2; - if (this->_internal_has_volume_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 2, _Internal::volume_id(this), target, stream); + // string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + if (!this->_internal_volume_name_ref().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_volume_name_ref().data(), static_cast(this->_internal_volume_name_ref().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.EncryptedVolume.volume_name_ref"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_volume_name_ref(), target); } // bytes key = 3; @@ -567,13 +558,20 @@ size_t EncryptedVolume::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 volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + if (!this->_internal_volume_name_ref().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_volume_name_ref()); + } + // bytes key = 3; if (!this->_internal_key().empty()) { total_size += 1 + @@ -581,13 +579,6 @@ size_t EncryptedVolume::ByteSizeLong() const { this->_internal_key()); } - // .opi_api.common.v1.ObjectKey volume_id = 2; - if (this->_internal_has_volume_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *volume_id_); - } - // .opi_api.storage.v1.EncryptionType cipher = 4; if (this->_internal_cipher() != 0) { total_size += 1 + @@ -619,12 +610,12 @@ void EncryptedVolume::MergeFrom(const EncryptedVolume& from) { if (!from._internal_name().empty()) { _internal_set_name(from._internal_name()); } + if (!from._internal_volume_name_ref().empty()) { + _internal_set_volume_name_ref(from._internal_volume_name_ref()); + } if (!from._internal_key().empty()) { _internal_set_key(from._internal_key()); } - if (from._internal_has_volume_id()) { - _internal_mutable_volume_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_volume_id()); - } if (from._internal_cipher() != 0) { _internal_set_cipher(from._internal_cipher()); } @@ -652,17 +643,17 @@ void EncryptedVolume::InternalSwap(EncryptedVolume* other) { &name_, lhs_arena, &other->name_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &volume_name_ref_, lhs_arena, + &other->volume_name_ref_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &key_, lhs_arena, &other->key_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(EncryptedVolume, cipher_) - + sizeof(EncryptedVolume::cipher_) - - PROTOBUF_FIELD_OFFSET(EncryptedVolume, volume_id_)>( - reinterpret_cast(&volume_id_), - reinterpret_cast(&other->volume_id_)); + swap(cipher_, other->cipher_); } ::PROTOBUF_NAMESPACE_ID::Metadata EncryptedVolume::GetMetadata() const { @@ -761,17 +752,17 @@ const char* CreateEncryptedVolumeRequest::_InternalParse(const char* ptr, ::PROT uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_encrypted_volume(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string encrypted_volume_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string encrypted_volume_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_encrypted_volume_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateEncryptedVolumeRequest.encrypted_volume_id")); @@ -808,22 +799,22 @@ uint8_t* CreateEncryptedVolumeRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_encrypted_volume()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::encrypted_volume(this), target, stream); + 1, _Internal::encrypted_volume(this), target, stream); } - // string encrypted_volume_id = 3; + // string encrypted_volume_id = 2; if (!this->_internal_encrypted_volume_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_encrypted_volume_id().data(), static_cast(this->_internal_encrypted_volume_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateEncryptedVolumeRequest.encrypted_volume_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_encrypted_volume_id(), target); + 2, this->_internal_encrypted_volume_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -842,14 +833,14 @@ size_t CreateEncryptedVolumeRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string encrypted_volume_id = 3; + // string encrypted_volume_id = 2; if (!this->_internal_encrypted_volume_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_encrypted_volume_id()); } - // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_encrypted_volume()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -2139,90 +2130,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetEncryptedVolumeRequest::GetMetadata() const // =================================================================== -class EncryptedVolumeStatsRequest::_Internal { +class StatsEncryptedVolumeRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& encrypted_volume_id(const EncryptedVolumeStatsRequest* msg); }; -const ::opi_api::common::v1::ObjectKey& -EncryptedVolumeStatsRequest::_Internal::encrypted_volume_id(const EncryptedVolumeStatsRequest* msg) { - return *msg->encrypted_volume_id_; -} -void EncryptedVolumeStatsRequest::clear_encrypted_volume_id() { - if (GetArenaForAllocation() == nullptr && encrypted_volume_id_ != nullptr) { - delete encrypted_volume_id_; - } - encrypted_volume_id_ = nullptr; -} -EncryptedVolumeStatsRequest::EncryptedVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsEncryptedVolumeRequest::StatsEncryptedVolumeRequest(::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.EncryptedVolumeStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsEncryptedVolumeRequest) } -EncryptedVolumeStatsRequest::EncryptedVolumeStatsRequest(const EncryptedVolumeStatsRequest& from) +StatsEncryptedVolumeRequest::StatsEncryptedVolumeRequest(const StatsEncryptedVolumeRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_encrypted_volume_id()) { - encrypted_volume_id_ = new ::opi_api::common::v1::ObjectKey(*from.encrypted_volume_id_); - } else { - encrypted_volume_id_ = 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.EncryptedVolumeStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsEncryptedVolumeRequest) } -inline void EncryptedVolumeStatsRequest::SharedCtor() { -encrypted_volume_id_ = nullptr; +inline void StatsEncryptedVolumeRequest::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 } -EncryptedVolumeStatsRequest::~EncryptedVolumeStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.EncryptedVolumeStatsRequest) +StatsEncryptedVolumeRequest::~StatsEncryptedVolumeRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsEncryptedVolumeRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void EncryptedVolumeStatsRequest::SharedDtor() { +inline void StatsEncryptedVolumeRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete encrypted_volume_id_; + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void EncryptedVolumeStatsRequest::ArenaDtor(void* object) { - EncryptedVolumeStatsRequest* _this = reinterpret_cast< EncryptedVolumeStatsRequest* >(object); +void StatsEncryptedVolumeRequest::ArenaDtor(void* object) { + StatsEncryptedVolumeRequest* _this = reinterpret_cast< StatsEncryptedVolumeRequest* >(object); (void)_this; } -void EncryptedVolumeStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsEncryptedVolumeRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void EncryptedVolumeStatsRequest::SetCachedSize(int size) const { +void StatsEncryptedVolumeRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void EncryptedVolumeStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.EncryptedVolumeStatsRequest) +void StatsEncryptedVolumeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsEncryptedVolumeRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && encrypted_volume_id_ != nullptr) { - delete encrypted_volume_id_; - } - encrypted_volume_id_ = nullptr; + name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* EncryptedVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsEncryptedVolumeRequest::_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 encrypted_volume_id = 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_encrypted_volume_id(), 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.StatsEncryptedVolumeRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -2250,89 +2235,97 @@ const char* EncryptedVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTO #undef CHK_ } -uint8_t* EncryptedVolumeStatsRequest::_InternalSerialize( +uint8_t* StatsEncryptedVolumeRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.EncryptedVolumeStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsEncryptedVolumeRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; - if (this->_internal_has_encrypted_volume_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::encrypted_volume_id(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.StatsEncryptedVolumeRequest.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.EncryptedVolumeStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsEncryptedVolumeRequest) return target; } -size_t EncryptedVolumeStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.EncryptedVolumeStatsRequest) +size_t StatsEncryptedVolumeRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsEncryptedVolumeRequest) 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 encrypted_volume_id = 1; - if (this->_internal_has_encrypted_volume_id()) { + // 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( - *encrypted_volume_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EncryptedVolumeStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsEncryptedVolumeRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - EncryptedVolumeStatsRequest::MergeImpl + StatsEncryptedVolumeRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EncryptedVolumeStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsEncryptedVolumeRequest::GetClassData() const { return &_class_data_; } -void EncryptedVolumeStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsEncryptedVolumeRequest::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 EncryptedVolumeStatsRequest::MergeFrom(const EncryptedVolumeStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.EncryptedVolumeStatsRequest) +void StatsEncryptedVolumeRequest::MergeFrom(const StatsEncryptedVolumeRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsEncryptedVolumeRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_encrypted_volume_id()) { - _internal_mutable_encrypted_volume_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_encrypted_volume_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void EncryptedVolumeStatsRequest::CopyFrom(const EncryptedVolumeStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.EncryptedVolumeStatsRequest) +void StatsEncryptedVolumeRequest::CopyFrom(const StatsEncryptedVolumeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsEncryptedVolumeRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool EncryptedVolumeStatsRequest::IsInitialized() const { +bool StatsEncryptedVolumeRequest::IsInitialized() const { return true; } -void EncryptedVolumeStatsRequest::InternalSwap(EncryptedVolumeStatsRequest* other) { +void StatsEncryptedVolumeRequest::InternalSwap(StatsEncryptedVolumeRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(encrypted_volume_id_, other->encrypted_volume_id_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &name_, lhs_arena, + &other->name_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata EncryptedVolumeStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsEncryptedVolumeRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_middleend_5fencryption_2eproto_getter, &descriptor_table_middleend_5fencryption_2eproto_once, file_level_metadata_middleend_5fencryption_2eproto[7]); @@ -2340,97 +2333,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata EncryptedVolumeStatsRequest::GetMetadata() con // =================================================================== -class EncryptedVolumeStatsResponse::_Internal { +class StatsEncryptedVolumeResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& encrypted_volume_id(const EncryptedVolumeStatsResponse* msg); - static const ::opi_api::storage::v1::VolumeStats& stats(const EncryptedVolumeStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsEncryptedVolumeResponse* msg); }; -const ::opi_api::common::v1::ObjectKey& -EncryptedVolumeStatsResponse::_Internal::encrypted_volume_id(const EncryptedVolumeStatsResponse* msg) { - return *msg->encrypted_volume_id_; -} const ::opi_api::storage::v1::VolumeStats& -EncryptedVolumeStatsResponse::_Internal::stats(const EncryptedVolumeStatsResponse* msg) { +StatsEncryptedVolumeResponse::_Internal::stats(const StatsEncryptedVolumeResponse* msg) { return *msg->stats_; } -void EncryptedVolumeStatsResponse::clear_encrypted_volume_id() { - if (GetArenaForAllocation() == nullptr && encrypted_volume_id_ != nullptr) { - delete encrypted_volume_id_; - } - encrypted_volume_id_ = nullptr; -} -void EncryptedVolumeStatsResponse::clear_stats() { +void StatsEncryptedVolumeResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsEncryptedVolumeResponse::StatsEncryptedVolumeResponse(::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.EncryptedVolumeStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsEncryptedVolumeResponse) } -EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse(const EncryptedVolumeStatsResponse& from) +StatsEncryptedVolumeResponse::StatsEncryptedVolumeResponse(const StatsEncryptedVolumeResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_encrypted_volume_id()) { - encrypted_volume_id_ = new ::opi_api::common::v1::ObjectKey(*from.encrypted_volume_id_); - } else { - encrypted_volume_id_ = 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.EncryptedVolumeStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsEncryptedVolumeResponse) } -inline void EncryptedVolumeStatsResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&encrypted_volume_id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&stats_) - - reinterpret_cast(&encrypted_volume_id_)) + sizeof(stats_)); +inline void StatsEncryptedVolumeResponse::SharedCtor() { +stats_ = nullptr; } -EncryptedVolumeStatsResponse::~EncryptedVolumeStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.EncryptedVolumeStatsResponse) +StatsEncryptedVolumeResponse::~StatsEncryptedVolumeResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsEncryptedVolumeResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void EncryptedVolumeStatsResponse::SharedDtor() { +inline void StatsEncryptedVolumeResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete encrypted_volume_id_; if (this != internal_default_instance()) delete stats_; } -void EncryptedVolumeStatsResponse::ArenaDtor(void* object) { - EncryptedVolumeStatsResponse* _this = reinterpret_cast< EncryptedVolumeStatsResponse* >(object); +void StatsEncryptedVolumeResponse::ArenaDtor(void* object) { + StatsEncryptedVolumeResponse* _this = reinterpret_cast< StatsEncryptedVolumeResponse* >(object); (void)_this; } -void EncryptedVolumeStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsEncryptedVolumeResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void EncryptedVolumeStatsResponse::SetCachedSize(int size) const { +void StatsEncryptedVolumeResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void EncryptedVolumeStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.EncryptedVolumeStatsResponse) +void StatsEncryptedVolumeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsEncryptedVolumeResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && encrypted_volume_id_ != nullptr) { - delete encrypted_volume_id_; - } - encrypted_volume_id_ = nullptr; if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -2438,23 +2407,15 @@ void EncryptedVolumeStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* EncryptedVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsEncryptedVolumeResponse::_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 encrypted_volume_id = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_encrypted_volume_id(), 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 @@ -2483,52 +2444,37 @@ const char* EncryptedVolumeStatsResponse::_InternalParse(const char* ptr, ::PROT #undef CHK_ } -uint8_t* EncryptedVolumeStatsResponse::_InternalSerialize( +uint8_t* StatsEncryptedVolumeResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.EncryptedVolumeStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsEncryptedVolumeResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; - if (this->_internal_has_encrypted_volume_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::encrypted_volume_id(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.EncryptedVolumeStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsEncryptedVolumeResponse) return target; } -size_t EncryptedVolumeStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.EncryptedVolumeStatsResponse) +size_t StatsEncryptedVolumeResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsEncryptedVolumeResponse) 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 encrypted_volume_id = 1; - if (this->_internal_has_encrypted_volume_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *encrypted_volume_id_); - } - - // .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( @@ -2538,57 +2484,49 @@ size_t EncryptedVolumeStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EncryptedVolumeStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsEncryptedVolumeResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - EncryptedVolumeStatsResponse::MergeImpl + StatsEncryptedVolumeResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EncryptedVolumeStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsEncryptedVolumeResponse::GetClassData() const { return &_class_data_; } -void EncryptedVolumeStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsEncryptedVolumeResponse::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 EncryptedVolumeStatsResponse::MergeFrom(const EncryptedVolumeStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.EncryptedVolumeStatsResponse) +void StatsEncryptedVolumeResponse::MergeFrom(const StatsEncryptedVolumeResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsEncryptedVolumeResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_encrypted_volume_id()) { - _internal_mutable_encrypted_volume_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_encrypted_volume_id()); - } 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 EncryptedVolumeStatsResponse::CopyFrom(const EncryptedVolumeStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.EncryptedVolumeStatsResponse) +void StatsEncryptedVolumeResponse::CopyFrom(const StatsEncryptedVolumeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsEncryptedVolumeResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool EncryptedVolumeStatsResponse::IsInitialized() const { +bool StatsEncryptedVolumeResponse::IsInitialized() const { return true; } -void EncryptedVolumeStatsResponse::InternalSwap(EncryptedVolumeStatsResponse* other) { +void StatsEncryptedVolumeResponse::InternalSwap(StatsEncryptedVolumeResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(EncryptedVolumeStatsResponse, stats_) - + sizeof(EncryptedVolumeStatsResponse::stats_) - - PROTOBUF_FIELD_OFFSET(EncryptedVolumeStatsResponse, encrypted_volume_id_)>( - reinterpret_cast(&encrypted_volume_id_), - reinterpret_cast(&other->encrypted_volume_id_)); + swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata EncryptedVolumeStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsEncryptedVolumeResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_middleend_5fencryption_2eproto_getter, &descriptor_table_middleend_5fencryption_2eproto_once, file_level_metadata_middleend_5fencryption_2eproto[8]); @@ -2620,11 +2558,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListEncryptedVolumesRespons template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetEncryptedVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetEncryptedVolumeRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetEncryptedVolumeRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::EncryptedVolumeStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::EncryptedVolumeStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::EncryptedVolumeStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsEncryptedVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsEncryptedVolumeRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsEncryptedVolumeRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::EncryptedVolumeStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::EncryptedVolumeStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::EncryptedVolumeStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsEncryptedVolumeResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsEncryptedVolumeResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsEncryptedVolumeResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/middleend_encryption.pb.h b/storage/v1alpha1/gen/cpp/middleend_encryption.pb.h index ecb72873..66095c14 100644 --- a/storage/v1alpha1/gen/cpp/middleend_encryption.pb.h +++ b/storage/v1alpha1/gen/cpp/middleend_encryption.pb.h @@ -32,7 +32,6 @@ #include // IWYU pragma: export #include #include "opicommon.pb.h" -#include "object_key.pb.h" #include "google/api/client.pb.h" #include "google/api/resource.pb.h" #include @@ -73,12 +72,6 @@ extern DeleteEncryptedVolumeRequestDefaultTypeInternal _DeleteEncryptedVolumeReq class EncryptedVolume; struct EncryptedVolumeDefaultTypeInternal; extern EncryptedVolumeDefaultTypeInternal _EncryptedVolume_default_instance_; -class EncryptedVolumeStatsRequest; -struct EncryptedVolumeStatsRequestDefaultTypeInternal; -extern EncryptedVolumeStatsRequestDefaultTypeInternal _EncryptedVolumeStatsRequest_default_instance_; -class EncryptedVolumeStatsResponse; -struct EncryptedVolumeStatsResponseDefaultTypeInternal; -extern EncryptedVolumeStatsResponseDefaultTypeInternal _EncryptedVolumeStatsResponse_default_instance_; class GetEncryptedVolumeRequest; struct GetEncryptedVolumeRequestDefaultTypeInternal; extern GetEncryptedVolumeRequestDefaultTypeInternal _GetEncryptedVolumeRequest_default_instance_; @@ -88,6 +81,12 @@ extern ListEncryptedVolumesRequestDefaultTypeInternal _ListEncryptedVolumesReque class ListEncryptedVolumesResponse; struct ListEncryptedVolumesResponseDefaultTypeInternal; extern ListEncryptedVolumesResponseDefaultTypeInternal _ListEncryptedVolumesResponse_default_instance_; +class StatsEncryptedVolumeRequest; +struct StatsEncryptedVolumeRequestDefaultTypeInternal; +extern StatsEncryptedVolumeRequestDefaultTypeInternal _StatsEncryptedVolumeRequest_default_instance_; +class StatsEncryptedVolumeResponse; +struct StatsEncryptedVolumeResponseDefaultTypeInternal; +extern StatsEncryptedVolumeResponseDefaultTypeInternal _StatsEncryptedVolumeResponse_default_instance_; class UpdateEncryptedVolumeRequest; struct UpdateEncryptedVolumeRequestDefaultTypeInternal; extern UpdateEncryptedVolumeRequestDefaultTypeInternal _UpdateEncryptedVolumeRequest_default_instance_; @@ -98,11 +97,11 @@ PROTOBUF_NAMESPACE_OPEN template<> ::opi_api::storage::v1::CreateEncryptedVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::CreateEncryptedVolumeRequest>(Arena*); template<> ::opi_api::storage::v1::DeleteEncryptedVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::DeleteEncryptedVolumeRequest>(Arena*); template<> ::opi_api::storage::v1::EncryptedVolume* Arena::CreateMaybeMessage<::opi_api::storage::v1::EncryptedVolume>(Arena*); -template<> ::opi_api::storage::v1::EncryptedVolumeStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::EncryptedVolumeStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::EncryptedVolumeStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::EncryptedVolumeStatsResponse>(Arena*); template<> ::opi_api::storage::v1::GetEncryptedVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::GetEncryptedVolumeRequest>(Arena*); template<> ::opi_api::storage::v1::ListEncryptedVolumesRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListEncryptedVolumesRequest>(Arena*); template<> ::opi_api::storage::v1::ListEncryptedVolumesResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListEncryptedVolumesResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsEncryptedVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsEncryptedVolumeRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsEncryptedVolumeResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsEncryptedVolumeResponse>(Arena*); template<> ::opi_api::storage::v1::UpdateEncryptedVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateEncryptedVolumeRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { @@ -234,11 +233,11 @@ class EncryptedVolume final : enum : int { kNameFieldNumber = 1, + kVolumeNameRefFieldNumber = 2, kKeyFieldNumber = 3, - kVolumeIdFieldNumber = 2, kCipherFieldNumber = 4, }; - // 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 @@ -252,6 +251,20 @@ class EncryptedVolume final : std::string* _internal_mutable_name(); public: + // string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + void clear_volume_name_ref(); + const std::string& volume_name_ref() const; + template + void set_volume_name_ref(ArgT0&& arg0, ArgT... args); + std::string* mutable_volume_name_ref(); + PROTOBUF_NODISCARD std::string* release_volume_name_ref(); + void set_allocated_volume_name_ref(std::string* volume_name_ref); + private: + const std::string& _internal_volume_name_ref() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_volume_name_ref(const std::string& value); + std::string* _internal_mutable_volume_name_ref(); + public: + // bytes key = 3; void clear_key(); const std::string& key() const; @@ -266,24 +279,6 @@ class EncryptedVolume final : std::string* _internal_mutable_key(); public: - // .opi_api.common.v1.ObjectKey volume_id = 2; - bool has_volume_id() const; - private: - bool _internal_has_volume_id() const; - public: - void clear_volume_id(); - const ::opi_api::common::v1::ObjectKey& volume_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_volume_id(); - ::opi_api::common::v1::ObjectKey* mutable_volume_id(); - void set_allocated_volume_id(::opi_api::common::v1::ObjectKey* volume_id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_volume_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_volume_id(); - public: - void unsafe_arena_set_allocated_volume_id( - ::opi_api::common::v1::ObjectKey* volume_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_volume_id(); - // .opi_api.storage.v1.EncryptionType cipher = 4; void clear_cipher(); ::opi_api::storage::v1::EncryptionType cipher() const; @@ -301,8 +296,8 @@ class EncryptedVolume final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr volume_name_ref_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::opi_api::common::v1::ObjectKey* volume_id_; int cipher_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_5fencryption_2eproto; @@ -431,10 +426,10 @@ class CreateEncryptedVolumeRequest final : // accessors ------------------------------------------------------- enum : int { - kEncryptedVolumeIdFieldNumber = 3, - kEncryptedVolumeFieldNumber = 2, + kEncryptedVolumeIdFieldNumber = 2, + kEncryptedVolumeFieldNumber = 1, }; - // string encrypted_volume_id = 3; + // string encrypted_volume_id = 2; void clear_encrypted_volume_id(); const std::string& encrypted_volume_id() const; template @@ -448,7 +443,7 @@ class CreateEncryptedVolumeRequest final : std::string* _internal_mutable_encrypted_volume_id(); public: - // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_encrypted_volume() const; private: bool _internal_has_encrypted_volume() const; @@ -1328,24 +1323,24 @@ class GetEncryptedVolumeRequest final : }; // ------------------------------------------------------------------- -class EncryptedVolumeStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.EncryptedVolumeStatsRequest) */ { +class StatsEncryptedVolumeRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsEncryptedVolumeRequest) */ { public: - inline EncryptedVolumeStatsRequest() : EncryptedVolumeStatsRequest(nullptr) {} - ~EncryptedVolumeStatsRequest() override; - explicit constexpr EncryptedVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsEncryptedVolumeRequest() : StatsEncryptedVolumeRequest(nullptr) {} + ~StatsEncryptedVolumeRequest() override; + explicit constexpr StatsEncryptedVolumeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - EncryptedVolumeStatsRequest(const EncryptedVolumeStatsRequest& from); - EncryptedVolumeStatsRequest(EncryptedVolumeStatsRequest&& from) noexcept - : EncryptedVolumeStatsRequest() { + StatsEncryptedVolumeRequest(const StatsEncryptedVolumeRequest& from); + StatsEncryptedVolumeRequest(StatsEncryptedVolumeRequest&& from) noexcept + : StatsEncryptedVolumeRequest() { *this = ::std::move(from); } - inline EncryptedVolumeStatsRequest& operator=(const EncryptedVolumeStatsRequest& from) { + inline StatsEncryptedVolumeRequest& operator=(const StatsEncryptedVolumeRequest& from) { CopyFrom(from); return *this; } - inline EncryptedVolumeStatsRequest& operator=(EncryptedVolumeStatsRequest&& from) noexcept { + inline StatsEncryptedVolumeRequest& operator=(StatsEncryptedVolumeRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1368,20 +1363,20 @@ class EncryptedVolumeStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const EncryptedVolumeStatsRequest& default_instance() { + static const StatsEncryptedVolumeRequest& default_instance() { return *internal_default_instance(); } - static inline const EncryptedVolumeStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_EncryptedVolumeStatsRequest_default_instance_); + static inline const StatsEncryptedVolumeRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsEncryptedVolumeRequest_default_instance_); } static constexpr int kIndexInFileMessages = 7; - friend void swap(EncryptedVolumeStatsRequest& a, EncryptedVolumeStatsRequest& b) { + friend void swap(StatsEncryptedVolumeRequest& a, StatsEncryptedVolumeRequest& b) { a.Swap(&b); } - inline void Swap(EncryptedVolumeStatsRequest* other) { + inline void Swap(StatsEncryptedVolumeRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1394,7 +1389,7 @@ class EncryptedVolumeStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(EncryptedVolumeStatsRequest* other) { + void UnsafeArenaSwap(StatsEncryptedVolumeRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1402,13 +1397,13 @@ class EncryptedVolumeStatsRequest final : // implements Message ---------------------------------------------- - EncryptedVolumeStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsEncryptedVolumeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EncryptedVolumeStatsRequest& from); + void CopyFrom(const StatsEncryptedVolumeRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const EncryptedVolumeStatsRequest& from); + void MergeFrom(const StatsEncryptedVolumeRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1425,15 +1420,15 @@ class EncryptedVolumeStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(EncryptedVolumeStatsRequest* other); + void InternalSwap(StatsEncryptedVolumeRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.EncryptedVolumeStatsRequest"; + return "opi_api.storage.v1.StatsEncryptedVolumeRequest"; } protected: - explicit EncryptedVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsEncryptedVolumeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1450,57 +1445,53 @@ class EncryptedVolumeStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kEncryptedVolumeIdFieldNumber = 1, + kNameFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; - bool has_encrypted_volume_id() const; - private: - bool _internal_has_encrypted_volume_id() const; - public: - void clear_encrypted_volume_id(); - const ::opi_api::common::v1::ObjectKey& encrypted_volume_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_encrypted_volume_id(); - ::opi_api::common::v1::ObjectKey* mutable_encrypted_volume_id(); - void set_allocated_encrypted_volume_id(::opi_api::common::v1::ObjectKey* encrypted_volume_id); + // 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_encrypted_volume_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_encrypted_volume_id(); + 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_encrypted_volume_id( - ::opi_api::common::v1::ObjectKey* encrypted_volume_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_encrypted_volume_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.EncryptedVolumeStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsEncryptedVolumeRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* encrypted_volume_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_5fencryption_2eproto; }; // ------------------------------------------------------------------- -class EncryptedVolumeStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.EncryptedVolumeStatsResponse) */ { +class StatsEncryptedVolumeResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsEncryptedVolumeResponse) */ { public: - inline EncryptedVolumeStatsResponse() : EncryptedVolumeStatsResponse(nullptr) {} - ~EncryptedVolumeStatsResponse() override; - explicit constexpr EncryptedVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsEncryptedVolumeResponse() : StatsEncryptedVolumeResponse(nullptr) {} + ~StatsEncryptedVolumeResponse() override; + explicit constexpr StatsEncryptedVolumeResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - EncryptedVolumeStatsResponse(const EncryptedVolumeStatsResponse& from); - EncryptedVolumeStatsResponse(EncryptedVolumeStatsResponse&& from) noexcept - : EncryptedVolumeStatsResponse() { + StatsEncryptedVolumeResponse(const StatsEncryptedVolumeResponse& from); + StatsEncryptedVolumeResponse(StatsEncryptedVolumeResponse&& from) noexcept + : StatsEncryptedVolumeResponse() { *this = ::std::move(from); } - inline EncryptedVolumeStatsResponse& operator=(const EncryptedVolumeStatsResponse& from) { + inline StatsEncryptedVolumeResponse& operator=(const StatsEncryptedVolumeResponse& from) { CopyFrom(from); return *this; } - inline EncryptedVolumeStatsResponse& operator=(EncryptedVolumeStatsResponse&& from) noexcept { + inline StatsEncryptedVolumeResponse& operator=(StatsEncryptedVolumeResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1523,20 +1514,20 @@ class EncryptedVolumeStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const EncryptedVolumeStatsResponse& default_instance() { + static const StatsEncryptedVolumeResponse& default_instance() { return *internal_default_instance(); } - static inline const EncryptedVolumeStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_EncryptedVolumeStatsResponse_default_instance_); + static inline const StatsEncryptedVolumeResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsEncryptedVolumeResponse_default_instance_); } static constexpr int kIndexInFileMessages = 8; - friend void swap(EncryptedVolumeStatsResponse& a, EncryptedVolumeStatsResponse& b) { + friend void swap(StatsEncryptedVolumeResponse& a, StatsEncryptedVolumeResponse& b) { a.Swap(&b); } - inline void Swap(EncryptedVolumeStatsResponse* other) { + inline void Swap(StatsEncryptedVolumeResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1549,7 +1540,7 @@ class EncryptedVolumeStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(EncryptedVolumeStatsResponse* other) { + void UnsafeArenaSwap(StatsEncryptedVolumeResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1557,13 +1548,13 @@ class EncryptedVolumeStatsResponse final : // implements Message ---------------------------------------------- - EncryptedVolumeStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsEncryptedVolumeResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const EncryptedVolumeStatsResponse& from); + void CopyFrom(const StatsEncryptedVolumeResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const EncryptedVolumeStatsResponse& from); + void MergeFrom(const StatsEncryptedVolumeResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1580,15 +1571,15 @@ class EncryptedVolumeStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(EncryptedVolumeStatsResponse* other); + void InternalSwap(StatsEncryptedVolumeResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.EncryptedVolumeStatsResponse"; + return "opi_api.storage.v1.StatsEncryptedVolumeResponse"; } protected: - explicit EncryptedVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsEncryptedVolumeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1605,28 +1596,9 @@ class EncryptedVolumeStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kEncryptedVolumeIdFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; - bool has_encrypted_volume_id() const; - private: - bool _internal_has_encrypted_volume_id() const; - public: - void clear_encrypted_volume_id(); - const ::opi_api::common::v1::ObjectKey& encrypted_volume_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_encrypted_volume_id(); - ::opi_api::common::v1::ObjectKey* mutable_encrypted_volume_id(); - void set_allocated_encrypted_volume_id(::opi_api::common::v1::ObjectKey* encrypted_volume_id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_encrypted_volume_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_encrypted_volume_id(); - public: - void unsafe_arena_set_allocated_encrypted_volume_id( - ::opi_api::common::v1::ObjectKey* encrypted_volume_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_encrypted_volume_id(); - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -1644,14 +1616,13 @@ class EncryptedVolumeStatsResponse 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.EncryptedVolumeStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsEncryptedVolumeResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* encrypted_volume_id_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_5fencryption_2eproto; @@ -1667,7 +1638,7 @@ class EncryptedVolumeStatsResponse final : #endif // __GNUC__ // EncryptedVolume -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void EncryptedVolume::clear_name() { name_.ClearToEmpty(); } @@ -1718,90 +1689,55 @@ inline void EncryptedVolume::set_allocated_name(std::string* name) { // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolume.name) } -// .opi_api.common.v1.ObjectKey volume_id = 2; -inline bool EncryptedVolume::_internal_has_volume_id() const { - return this != internal_default_instance() && volume_id_ != nullptr; +// string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; +inline void EncryptedVolume::clear_volume_name_ref() { + volume_name_ref_.ClearToEmpty(); } -inline bool EncryptedVolume::has_volume_id() const { - return _internal_has_volume_id(); +inline const std::string& EncryptedVolume::volume_name_ref() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.EncryptedVolume.volume_name_ref) + return _internal_volume_name_ref(); } -inline const ::opi_api::common::v1::ObjectKey& EncryptedVolume::_internal_volume_id() const { - const ::opi_api::common::v1::ObjectKey* p = volume_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +template +inline PROTOBUF_ALWAYS_INLINE +void EncryptedVolume::set_volume_name_ref(ArgT0&& arg0, ArgT... args) { + + volume_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.EncryptedVolume.volume_name_ref) } -inline const ::opi_api::common::v1::ObjectKey& EncryptedVolume::volume_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.EncryptedVolume.volume_id) - return _internal_volume_id(); +inline std::string* EncryptedVolume::mutable_volume_name_ref() { + std::string* _s = _internal_mutable_volume_name_ref(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolume.volume_name_ref) + return _s; } -inline void EncryptedVolume::unsafe_arena_set_allocated_volume_id( - ::opi_api::common::v1::ObjectKey* volume_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id_); - } - volume_id_ = volume_id; - if (volume_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.EncryptedVolume.volume_id) +inline const std::string& EncryptedVolume::_internal_volume_name_ref() const { + return volume_name_ref_.Get(); } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolume::release_volume_id() { +inline void EncryptedVolume::_internal_set_volume_name_ref(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = volume_id_; - volume_id_ = 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; + volume_name_ref_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolume::unsafe_arena_release_volume_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolume.volume_id) +inline std::string* EncryptedVolume::_internal_mutable_volume_name_ref() { - ::opi_api::common::v1::ObjectKey* temp = volume_id_; - volume_id_ = nullptr; - return temp; + return volume_name_ref_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolume::_internal_mutable_volume_id() { - - if (volume_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - volume_id_ = p; - } - return volume_id_; -} -inline ::opi_api::common::v1::ObjectKey* EncryptedVolume::mutable_volume_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_volume_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolume.volume_id) - return _msg; +inline std::string* EncryptedVolume::release_volume_name_ref() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolume.volume_name_ref) + return volume_name_ref_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void EncryptedVolume::set_allocated_volume_id(::opi_api::common::v1::ObjectKey* volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id_); - } - if (volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id)); - if (message_arena != submessage_arena) { - volume_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, volume_id, submessage_arena); - } +inline void EncryptedVolume::set_allocated_volume_name_ref(std::string* volume_name_ref) { + if (volume_name_ref != nullptr) { } else { } - volume_id_ = volume_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolume.volume_id) + volume_name_ref_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), volume_name_ref, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (volume_name_ref_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + volume_name_ref_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolume.volume_name_ref) } // bytes key = 3; @@ -1879,7 +1815,7 @@ inline void EncryptedVolume::set_cipher(::opi_api::storage::v1::EncryptionType v // CreateEncryptedVolumeRequest -// .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateEncryptedVolumeRequest::_internal_has_encrypted_volume() const { return this != internal_default_instance() && encrypted_volume_ != nullptr; } @@ -1969,7 +1905,7 @@ inline void CreateEncryptedVolumeRequest::set_allocated_encrypted_volume(::opi_a // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateEncryptedVolumeRequest.encrypted_volume) } -// string encrypted_volume_id = 3; +// string encrypted_volume_id = 2; inline void CreateEncryptedVolumeRequest::clear_encrypted_volume_id() { encrypted_volume_id_.ClearToEmpty(); } @@ -2573,201 +2509,80 @@ inline void GetEncryptedVolumeRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// EncryptedVolumeStatsRequest +// StatsEncryptedVolumeRequest -// .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; -inline bool EncryptedVolumeStatsRequest::_internal_has_encrypted_volume_id() const { - return this != internal_default_instance() && encrypted_volume_id_ != nullptr; -} -inline bool EncryptedVolumeStatsRequest::has_encrypted_volume_id() const { - return _internal_has_encrypted_volume_id(); +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsEncryptedVolumeRequest::clear_name() { + name_.ClearToEmpty(); } -inline const ::opi_api::common::v1::ObjectKey& EncryptedVolumeStatsRequest::_internal_encrypted_volume_id() const { - const ::opi_api::common::v1::ObjectKey* p = encrypted_volume_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +inline const std::string& StatsEncryptedVolumeRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsEncryptedVolumeRequest.name) + return _internal_name(); } -inline const ::opi_api::common::v1::ObjectKey& EncryptedVolumeStatsRequest::encrypted_volume_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id) - return _internal_encrypted_volume_id(); +template +inline PROTOBUF_ALWAYS_INLINE +void StatsEncryptedVolumeRequest::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.StatsEncryptedVolumeRequest.name) } -inline void EncryptedVolumeStatsRequest::unsafe_arena_set_allocated_encrypted_volume_id( - ::opi_api::common::v1::ObjectKey* encrypted_volume_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_volume_id_); - } - encrypted_volume_id_ = encrypted_volume_id; - if (encrypted_volume_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id) +inline std::string* StatsEncryptedVolumeRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsEncryptedVolumeRequest.name) + return _s; } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsRequest::release_encrypted_volume_id() { - - ::opi_api::common::v1::ObjectKey* temp = encrypted_volume_id_; - encrypted_volume_id_ = 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& StatsEncryptedVolumeRequest::_internal_name() const { + return name_.Get(); } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsRequest::unsafe_arena_release_encrypted_volume_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id) +inline void StatsEncryptedVolumeRequest::_internal_set_name(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = encrypted_volume_id_; - encrypted_volume_id_ = nullptr; - return temp; + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsRequest::_internal_mutable_encrypted_volume_id() { +inline std::string* StatsEncryptedVolumeRequest::_internal_mutable_name() { - if (encrypted_volume_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - encrypted_volume_id_ = p; - } - return encrypted_volume_id_; + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsRequest::mutable_encrypted_volume_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_encrypted_volume_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id) - return _msg; +inline std::string* StatsEncryptedVolumeRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsEncryptedVolumeRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void EncryptedVolumeStatsRequest::set_allocated_encrypted_volume_id(::opi_api::common::v1::ObjectKey* encrypted_volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_volume_id_); - } - if (encrypted_volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_volume_id)); - if (message_arena != submessage_arena) { - encrypted_volume_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, encrypted_volume_id, submessage_arena); - } +inline void StatsEncryptedVolumeRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { } else { } - encrypted_volume_id_ = encrypted_volume_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id) + 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.StatsEncryptedVolumeRequest.name) } // ------------------------------------------------------------------- -// EncryptedVolumeStatsResponse - -// .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; -inline bool EncryptedVolumeStatsResponse::_internal_has_encrypted_volume_id() const { - return this != internal_default_instance() && encrypted_volume_id_ != nullptr; -} -inline bool EncryptedVolumeStatsResponse::has_encrypted_volume_id() const { - return _internal_has_encrypted_volume_id(); -} -inline const ::opi_api::common::v1::ObjectKey& EncryptedVolumeStatsResponse::_internal_encrypted_volume_id() const { - const ::opi_api::common::v1::ObjectKey* p = encrypted_volume_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& EncryptedVolumeStatsResponse::encrypted_volume_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id) - return _internal_encrypted_volume_id(); -} -inline void EncryptedVolumeStatsResponse::unsafe_arena_set_allocated_encrypted_volume_id( - ::opi_api::common::v1::ObjectKey* encrypted_volume_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_volume_id_); - } - encrypted_volume_id_ = encrypted_volume_id; - if (encrypted_volume_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id) -} -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsResponse::release_encrypted_volume_id() { - - ::opi_api::common::v1::ObjectKey* temp = encrypted_volume_id_; - encrypted_volume_id_ = 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* EncryptedVolumeStatsResponse::unsafe_arena_release_encrypted_volume_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id) - - ::opi_api::common::v1::ObjectKey* temp = encrypted_volume_id_; - encrypted_volume_id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsResponse::_internal_mutable_encrypted_volume_id() { - - if (encrypted_volume_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - encrypted_volume_id_ = p; - } - return encrypted_volume_id_; -} -inline ::opi_api::common::v1::ObjectKey* EncryptedVolumeStatsResponse::mutable_encrypted_volume_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_encrypted_volume_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id) - return _msg; -} -inline void EncryptedVolumeStatsResponse::set_allocated_encrypted_volume_id(::opi_api::common::v1::ObjectKey* encrypted_volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_volume_id_); - } - if (encrypted_volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_volume_id)); - if (message_arena != submessage_arena) { - encrypted_volume_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, encrypted_volume_id, submessage_arena); - } - - } else { - - } - encrypted_volume_id_ = encrypted_volume_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id) -} +// StatsEncryptedVolumeResponse -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool EncryptedVolumeStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsEncryptedVolumeResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool EncryptedVolumeStatsResponse::has_stats() const { +inline bool StatsEncryptedVolumeResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& EncryptedVolumeStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsEncryptedVolumeResponse::_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& EncryptedVolumeStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsEncryptedVolumeResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsEncryptedVolumeResponse.stats) return _internal_stats(); } -inline void EncryptedVolumeStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsEncryptedVolumeResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -2778,9 +2593,9 @@ inline void EncryptedVolumeStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsEncryptedVolumeResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsEncryptedVolumeResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -2795,14 +2610,14 @@ inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::releas #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsEncryptedVolumeResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsEncryptedVolumeResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsEncryptedVolumeResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -2810,12 +2625,12 @@ inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::_inter } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsEncryptedVolumeResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsEncryptedVolumeResponse.stats) return _msg; } -inline void EncryptedVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsEncryptedVolumeResponse::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_); @@ -2834,7 +2649,7 @@ inline void EncryptedVolumeStatsResponse::set_allocated_stats(::opi_api::storage } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsEncryptedVolumeResponse.stats) } #ifdef __GNUC__ diff --git a/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.cc b/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.cc index bdf0404a..17347795 100644 --- a/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.cc @@ -29,7 +29,7 @@ static const char* MiddleendQosVolumeService_method_names[] = { "/opi_api.storage.v1.MiddleendQosVolumeService/UpdateQosVolume", "/opi_api.storage.v1.MiddleendQosVolumeService/ListQosVolumes", "/opi_api.storage.v1.MiddleendQosVolumeService/GetQosVolume", - "/opi_api.storage.v1.MiddleendQosVolumeService/QosVolumeStats", + "/opi_api.storage.v1.MiddleendQosVolumeService/StatsQosVolume", }; std::unique_ptr< MiddleendQosVolumeService::Stub> MiddleendQosVolumeService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -44,7 +44,7 @@ MiddleendQosVolumeService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInte , rpcmethod_UpdateQosVolume_(MiddleendQosVolumeService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListQosVolumes_(MiddleendQosVolumeService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetQosVolume_(MiddleendQosVolumeService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_QosVolumeStats_(MiddleendQosVolumeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StatsQosVolume_(MiddleendQosVolumeService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status MiddleendQosVolumeService::Stub::CreateQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateQosVolumeRequest& request, ::opi_api::storage::v1::QosVolume* response) { @@ -162,25 +162,25 @@ ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolume>* Middleend return result; } -::grpc::Status MiddleendQosVolumeService::Stub::QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::opi_api::storage::v1::QosVolumeStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_QosVolumeStats_, context, request, response); +::grpc::Status MiddleendQosVolumeService::Stub::StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::opi_api::storage::v1::StatsQosVolumeResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StatsQosVolume_, context, request, response); } -void MiddleendQosVolumeService::Stub::async::QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_QosVolumeStats_, context, request, response, std::move(f)); +void MiddleendQosVolumeService::Stub::async::StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsQosVolume_, context, request, response, std::move(f)); } -void MiddleendQosVolumeService::Stub::async::QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_QosVolumeStats_, context, request, response, reactor); +void MiddleendQosVolumeService::Stub::async::StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StatsQosVolume_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>* MiddleendQosVolumeService::Stub::PrepareAsyncQosVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::QosVolumeStatsResponse, ::opi_api::storage::v1::QosVolumeStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_QosVolumeStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>* MiddleendQosVolumeService::Stub::PrepareAsyncStatsQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::StatsQosVolumeResponse, ::opi_api::storage::v1::StatsQosVolumeRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StatsQosVolume_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>* MiddleendQosVolumeService::Stub::AsyncQosVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>* MiddleendQosVolumeService::Stub::AsyncStatsQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncQosVolumeStatsRaw(context, request, cq); + this->PrepareAsyncStatsQosVolumeRaw(context, request, cq); result->StartCall(); return result; } @@ -239,12 +239,12 @@ MiddleendQosVolumeService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( MiddleendQosVolumeService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< MiddleendQosVolumeService::Service, ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< MiddleendQosVolumeService::Service, ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](MiddleendQosVolumeService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::QosVolumeStatsRequest* req, - ::opi_api::storage::v1::QosVolumeStatsResponse* resp) { - return service->QosVolumeStats(ctx, req, resp); + const ::opi_api::storage::v1::StatsQosVolumeRequest* req, + ::opi_api::storage::v1::StatsQosVolumeResponse* resp) { + return service->StatsQosVolume(ctx, req, resp); }, this))); } @@ -286,7 +286,7 @@ ::grpc::Status MiddleendQosVolumeService::Service::GetQosVolume(::grpc::ServerCo return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status MiddleendQosVolumeService::Service::QosVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response) { +::grpc::Status MiddleendQosVolumeService::Service::StatsQosVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.h b/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.h index 9b9516c5..87e1465d 100644 --- a/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/middleend_qos_volume.grpc.pb.h @@ -76,12 +76,12 @@ class MiddleendQosVolumeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolume>> PrepareAsyncGetQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolume>>(PrepareAsyncGetQosVolumeRaw(context, request, cq)); } - virtual ::grpc::Status QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::opi_api::storage::v1::QosVolumeStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolumeStatsResponse>> AsyncQosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolumeStatsResponse>>(AsyncQosVolumeStatsRaw(context, request, cq)); + virtual ::grpc::Status StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::opi_api::storage::v1::StatsQosVolumeResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsQosVolumeResponse>> AsyncStatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsQosVolumeResponse>>(AsyncStatsQosVolumeRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolumeStatsResponse>> PrepareAsyncQosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolumeStatsResponse>>(PrepareAsyncQosVolumeStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsQosVolumeResponse>> PrepareAsyncStatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsQosVolumeResponse>>(PrepareAsyncStatsQosVolumeRaw(context, request, cq)); } class async_interface { public: @@ -96,8 +96,8 @@ class MiddleendQosVolumeService final { virtual void ListQosVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListQosVolumesRequest* request, ::opi_api::storage::v1::ListQosVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void GetQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest* request, ::opi_api::storage::v1::QosVolume* response, std::function) = 0; virtual void GetQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest* request, ::opi_api::storage::v1::QosVolume* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response, std::function) = 0; - virtual void QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response, std::function) = 0; + virtual void StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -113,8 +113,8 @@ class MiddleendQosVolumeService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListQosVolumesResponse>* PrepareAsyncListQosVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListQosVolumesRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolume>* AsyncGetQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolume>* PrepareAsyncGetQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolumeStatsResponse>* AsyncQosVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::QosVolumeStatsResponse>* PrepareAsyncQosVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsQosVolumeResponse>* AsyncStatsQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::StatsQosVolumeResponse>* PrepareAsyncStatsQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -154,12 +154,12 @@ class MiddleendQosVolumeService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolume>> PrepareAsyncGetQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolume>>(PrepareAsyncGetQosVolumeRaw(context, request, cq)); } - ::grpc::Status QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::opi_api::storage::v1::QosVolumeStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>> AsyncQosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>>(AsyncQosVolumeStatsRaw(context, request, cq)); + ::grpc::Status StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::opi_api::storage::v1::StatsQosVolumeResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>> AsyncStatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>>(AsyncStatsQosVolumeRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>> PrepareAsyncQosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>>(PrepareAsyncQosVolumeStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>> PrepareAsyncStatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>>(PrepareAsyncStatsQosVolumeRaw(context, request, cq)); } class async final : public StubInterface::async_interface { @@ -174,8 +174,8 @@ class MiddleendQosVolumeService final { void ListQosVolumes(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListQosVolumesRequest* request, ::opi_api::storage::v1::ListQosVolumesResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void GetQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest* request, ::opi_api::storage::v1::QosVolume* response, std::function) override; void GetQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest* request, ::opi_api::storage::v1::QosVolume* response, ::grpc::ClientUnaryReactor* reactor) override; - void QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response, std::function) override; - void QosVolumeStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response, std::function) override; + void StatsQosVolume(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -197,14 +197,14 @@ class MiddleendQosVolumeService final { ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListQosVolumesResponse>* PrepareAsyncListQosVolumesRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListQosVolumesRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolume>* AsyncGetQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolume>* PrepareAsyncGetQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>* AsyncQosVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::QosVolumeStatsResponse>* PrepareAsyncQosVolumeStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>* AsyncStatsQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::StatsQosVolumeResponse>* PrepareAsyncStatsQosVolumeRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateQosVolume_; const ::grpc::internal::RpcMethod rpcmethod_DeleteQosVolume_; const ::grpc::internal::RpcMethod rpcmethod_UpdateQosVolume_; const ::grpc::internal::RpcMethod rpcmethod_ListQosVolumes_; const ::grpc::internal::RpcMethod rpcmethod_GetQosVolume_; - const ::grpc::internal::RpcMethod rpcmethod_QosVolumeStats_; + const ::grpc::internal::RpcMethod rpcmethod_StatsQosVolume_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -217,7 +217,7 @@ class MiddleendQosVolumeService final { virtual ::grpc::Status UpdateQosVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateQosVolumeRequest* request, ::opi_api::storage::v1::QosVolume* response); virtual ::grpc::Status ListQosVolumes(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListQosVolumesRequest* request, ::opi_api::storage::v1::ListQosVolumesResponse* response); virtual ::grpc::Status GetQosVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetQosVolumeRequest* request, ::opi_api::storage::v1::QosVolume* response); - virtual ::grpc::Status QosVolumeStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response); + virtual ::grpc::Status StatsQosVolume(::grpc::ServerContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response); }; template class WithAsyncMethod_CreateQosVolume : public BaseClass { @@ -320,26 +320,26 @@ class MiddleendQosVolumeService final { } }; template - class WithAsyncMethod_QosVolumeStats : public BaseClass { + class WithAsyncMethod_StatsQosVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_QosVolumeStats() { + WithAsyncMethod_StatsQosVolume() { ::grpc::Service::MarkMethodAsync(5); } - ~WithAsyncMethod_QosVolumeStats() override { + ~WithAsyncMethod_StatsQosVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status QosVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsQosVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestQosVolumeStats(::grpc::ServerContext* context, ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::QosVolumeStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsQosVolume(::grpc::ServerContext* context, ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::StatsQosVolumeResponse>* 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_CreateQosVolume > > > > > AsyncService; + typedef WithAsyncMethod_CreateQosVolume > > > > > AsyncService; template class WithCallbackMethod_CreateQosVolume : public BaseClass { private: @@ -476,33 +476,33 @@ class MiddleendQosVolumeService final { ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetQosVolumeRequest* /*request*/, ::opi_api::storage::v1::QosVolume* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_QosVolumeStats : public BaseClass { + class WithCallbackMethod_StatsQosVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_QosVolumeStats() { + WithCallbackMethod_StatsQosVolume() { ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::QosVolumeStatsRequest* request, ::opi_api::storage::v1::QosVolumeStatsResponse* response) { return this->QosVolumeStats(context, request, response); }));} - void SetMessageAllocatorFor_QosVolumeStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::StatsQosVolumeRequest* request, ::opi_api::storage::v1::StatsQosVolumeResponse* response) { return this->StatsQosVolume(context, request, response); }));} + void SetMessageAllocatorFor_StatsQosVolume( + ::grpc::MessageAllocator< ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_QosVolumeStats() override { + ~WithCallbackMethod_StatsQosVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status QosVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsQosVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* QosVolumeStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* StatsQosVolume( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_CreateQosVolume > > > > > CallbackService; + typedef WithCallbackMethod_CreateQosVolume > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_CreateQosVolume : public BaseClass { @@ -590,18 +590,18 @@ class MiddleendQosVolumeService final { } }; template - class WithGenericMethod_QosVolumeStats : public BaseClass { + class WithGenericMethod_StatsQosVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_QosVolumeStats() { + WithGenericMethod_StatsQosVolume() { ::grpc::Service::MarkMethodGeneric(5); } - ~WithGenericMethod_QosVolumeStats() override { + ~WithGenericMethod_StatsQosVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status QosVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsQosVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -707,22 +707,22 @@ class MiddleendQosVolumeService final { } }; template - class WithRawMethod_QosVolumeStats : public BaseClass { + class WithRawMethod_StatsQosVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_QosVolumeStats() { + WithRawMethod_StatsQosVolume() { ::grpc::Service::MarkMethodRaw(5); } - ~WithRawMethod_QosVolumeStats() override { + ~WithRawMethod_StatsQosVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status QosVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsQosVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestQosVolumeStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestStatsQosVolume(::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); } }; @@ -837,25 +837,25 @@ class MiddleendQosVolumeService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_QosVolumeStats : public BaseClass { + class WithRawCallbackMethod_StatsQosVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_QosVolumeStats() { + WithRawCallbackMethod_StatsQosVolume() { ::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->QosVolumeStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StatsQosVolume(context, request, response); })); } - ~WithRawCallbackMethod_QosVolumeStats() override { + ~WithRawCallbackMethod_StatsQosVolume() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status QosVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsQosVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* QosVolumeStats( + virtual ::grpc::ServerUnaryReactor* StatsQosVolume( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -994,35 +994,35 @@ class MiddleendQosVolumeService final { virtual ::grpc::Status StreamedGetQosVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetQosVolumeRequest,::opi_api::storage::v1::QosVolume>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_QosVolumeStats : public BaseClass { + class WithStreamedUnaryMethod_StatsQosVolume : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_QosVolumeStats() { + WithStreamedUnaryMethod_StatsQosVolume() { ::grpc::Service::MarkMethodStreamed(5, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse>( + ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::QosVolumeStatsRequest, ::opi_api::storage::v1::QosVolumeStatsResponse>* streamer) { - return this->StreamedQosVolumeStats(context, + ::opi_api::storage::v1::StatsQosVolumeRequest, ::opi_api::storage::v1::StatsQosVolumeResponse>* streamer) { + return this->StreamedStatsQosVolume(context, streamer); })); } - ~WithStreamedUnaryMethod_QosVolumeStats() override { + ~WithStreamedUnaryMethod_StatsQosVolume() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status QosVolumeStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::QosVolumeStatsRequest* /*request*/, ::opi_api::storage::v1::QosVolumeStatsResponse* /*response*/) override { + ::grpc::Status StatsQosVolume(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::StatsQosVolumeRequest* /*request*/, ::opi_api::storage::v1::StatsQosVolumeResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedQosVolumeStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::QosVolumeStatsRequest,::opi_api::storage::v1::QosVolumeStatsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedStatsQosVolume(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::StatsQosVolumeRequest,::opi_api::storage::v1::StatsQosVolumeResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateQosVolume > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateQosVolume > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateQosVolume > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateQosVolume > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.cc b/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.cc index f3189d45..d216f22f 100644 --- a/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.cc +++ b/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.cc @@ -113,31 +113,30 @@ struct GetQosVolumeRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetQosVolumeRequestDefaultTypeInternal _GetQosVolumeRequest_default_instance_; -constexpr QosVolumeStatsRequest::QosVolumeStatsRequest( +constexpr StatsQosVolumeRequest::StatsQosVolumeRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : volume_id_(nullptr){} -struct QosVolumeStatsRequestDefaultTypeInternal { - constexpr QosVolumeStatsRequestDefaultTypeInternal() + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct StatsQosVolumeRequestDefaultTypeInternal { + constexpr StatsQosVolumeRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~QosVolumeStatsRequestDefaultTypeInternal() {} + ~StatsQosVolumeRequestDefaultTypeInternal() {} union { - QosVolumeStatsRequest _instance; + StatsQosVolumeRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT QosVolumeStatsRequestDefaultTypeInternal _QosVolumeStatsRequest_default_instance_; -constexpr QosVolumeStatsResponse::QosVolumeStatsResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsQosVolumeRequestDefaultTypeInternal _StatsQosVolumeRequest_default_instance_; +constexpr StatsQosVolumeResponse::StatsQosVolumeResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(nullptr) - , stats_(nullptr){} -struct QosVolumeStatsResponseDefaultTypeInternal { - constexpr QosVolumeStatsResponseDefaultTypeInternal() + : stats_(nullptr){} +struct StatsQosVolumeResponseDefaultTypeInternal { + constexpr StatsQosVolumeResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~QosVolumeStatsResponseDefaultTypeInternal() {} + ~StatsQosVolumeResponseDefaultTypeInternal() {} union { - QosVolumeStatsResponse _instance; + StatsQosVolumeResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT QosVolumeStatsResponseDefaultTypeInternal _QosVolumeStatsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsQosVolumeResponseDefaultTypeInternal _StatsQosVolumeResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api @@ -206,20 +205,19 @@ const uint32_t TableStruct_middleend_5fqos_5fvolume_2eproto::offsets[] PROTOBUF_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetQosVolumeRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::QosVolumeStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsQosVolumeRequest, _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::QosVolumeStatsRequest, volume_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsQosVolumeRequest, name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::QosVolumeStatsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsQosVolumeResponse, _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::QosVolumeStatsResponse, id_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::QosVolumeStatsResponse, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::StatsQosVolumeResponse, stats_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::QosVolume)}, @@ -229,8 +227,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 35, -1, -1, sizeof(::opi_api::storage::v1::ListQosVolumesRequest)}, { 44, -1, -1, sizeof(::opi_api::storage::v1::ListQosVolumesResponse)}, { 52, -1, -1, sizeof(::opi_api::storage::v1::GetQosVolumeRequest)}, - { 59, -1, -1, sizeof(::opi_api::storage::v1::QosVolumeStatsRequest)}, - { 66, -1, -1, sizeof(::opi_api::storage::v1::QosVolumeStatsResponse)}, + { 59, -1, -1, sizeof(::opi_api::storage::v1::StatsQosVolumeRequest)}, + { 66, -1, -1, sizeof(::opi_api::storage::v1::StatsQosVolumeResponse)}, }; 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::_ListQosVolumesRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_ListQosVolumesResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_GetQosVolumeRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_QosVolumeStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_QosVolumeStatsResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsQosVolumeRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_StatsQosVolumeResponse_default_instance_), }; const char descriptor_table_protodef_middleend_5fqos_5fvolume_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -252,59 +250,59 @@ const char descriptor_table_protodef_middleend_5fqos_5fvolume_2eproto[] PROTOBUF "/resource.proto\032\033google/protobuf/empty.p" "roto\032\034google/api/annotations.proto\032\037goog" "le/api/field_behavior.proto\032 google/prot" - "obuf/field_mask.proto\"\345\001\n\tQosVolume\022\014\n\004n" - "ame\030\001 \001(\t\022/\n\tvolume_id\030\002 \001(\0132\034.opi_api.c" - "ommon.v1.ObjectKey\022/\n\tmin_limit\030\003 \001(\0132\034." - "opi_api.storage.v1.QosLimit\022/\n\tmax_limit" - "\030\004 \001(\0132\034.opi_api.storage.v1.QosLimit:7\352A" - "4\n storage.opiproject.org/QosVolume\022\020vol" - "umes/{volume}\"g\n\026CreateQosVolumeRequest\022" - "6\n\nqos_volume\030\002 \001(\0132\035.opi_api.storage.v1" - ".QosVolumeB\003\340A\002\022\025\n\rqos_volume_id\030\003 \001(\t\"c" - "\n\026DeleteQosVolumeRequest\0222\n\004name\030\001 \001(\tB$" - "\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume\022\025\n\r" - "allow_missing\030\002 \001(\010\"\223\001\n\026UpdateQosVolumeR" - "equest\0221\n\nqos_volume\030\001 \001(\0132\035.opi_api.sto" - "rage.v1.QosVolume\022/\n\013update_mask\030\002 \001(\0132\032" - ".google.protobuf.FieldMask\022\025\n\rallow_miss" - "ing\030\003 \001(\010\"t\n\025ListQosVolumesRequest\0224\n\006pa" - "rent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/Q" - "osVolume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - "n\030\003 \001(\t\"e\n\026ListQosVolumesResponse\0222\n\013qos" - "_volumes\030\001 \003(\0132\035.opi_api.storage.v1.QosV" - "olume\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetQos" - "VolumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi" - "_api.storage.v1/QosVolume\"H\n\025QosVolumeSt" - "atsRequest\022/\n\tvolume_id\030\001 \001(\0132\034.opi_api." - "common.v1.ObjectKey\"r\n\026QosVolumeStatsRes" - "ponse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Ob" - "jectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage" - ".v1.VolumeStats2\366\006\n\031MiddleendQosVolumeSe" - "rvice\022\230\001\n\017CreateQosVolume\022*.opi_api.stor" - "age.v1.CreateQosVolumeRequest\032\035.opi_api." - "storage.v1.QosVolume\":\202\323\344\223\002\031\"\013/v1/volume" - "s:\nqos_volume\332A\030qos_volume,qos_volume_id" - "\022\207\001\n\017DeleteQosVolume\022*.opi_api.storage.v" - "1.DeleteQosVolumeRequest\032\026.google.protob" - "uf.Empty\"0\202\323\344\223\002#*!/v1/{name=qosvolumes}/" - "{qosvolume}\332A\004name\022\253\001\n\017UpdateQosVolume\022*" - ".opi_api.storage.v1.UpdateQosVolumeReque" - "st\032\035.opi_api.storage.v1.QosVolume\"M\202\323\344\223\002" - ".2 /v1/{qos_volume.name=subsystems}:\nqos" - "_volume\332A\026qos_volume,update_mask\022\216\001\n\016Lis" - "tQosVolumes\022).opi_api.storage.v1.ListQos" - "VolumesRequest\032*.opi_api.storage.v1.List" - "QosVolumesResponse\"%\202\323\344\223\002\026\022\024/v1/{parent=" - "volumes}\332A\006parent\022\211\001\n\014GetQosVolume\022\'.opi" - "_api.storage.v1.GetQosVolumeRequest\032\035.op" - "i_api.storage.v1.QosVolume\"1\202\323\344\223\002$\022\"/v1/" - "{name=subsystems}/{qos_volume}\332A\004name\022i\n" - "\016QosVolumeStats\022).opi_api.storage.v1.Qos" - "VolumeStatsRequest\032*.opi_api.storage.v1." - "QosVolumeStatsResponse\"\000Bf\n\022opi_api.stor" - "age.v1B\027MiddleendQosVolumeProtoP\001Z5githu" - "b.com/opiproject/opi-api/storage/v1alpha" - "1/gen/gob\006proto3" + "obuf/field_mask.proto\"\216\002\n\tQosVolume\0225\n\004n" + "ame\030\001 \001(\tB\'\340A\003\340A\005\372A\036\n\034opi_api.storage.v1" + "/QosVolume\022/\n\tvolume_id\030\002 \001(\0132\034.opi_api." + "common.v1.ObjectKey\022/\n\tmin_limit\030\003 \001(\0132\034" + ".opi_api.storage.v1.QosLimit\022/\n\tmax_limi" + "t\030\004 \001(\0132\034.opi_api.storage.v1.QosLimit:7\352" + "A4\n storage.opiproject.org/QosVolume\022\020vo" + "lumes/{volume}\"g\n\026CreateQosVolumeRequest" + "\0226\n\nqos_volume\030\001 \001(\0132\035.opi_api.storage.v" + "1.QosVolumeB\003\340A\002\022\025\n\rqos_volume_id\030\002 \001(\t\"" + "c\n\026DeleteQosVolumeRequest\0222\n\004name\030\001 \001(\tB" + "$\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume\022\025\n" + "\rallow_missing\030\002 \001(\010\"\223\001\n\026UpdateQosVolume" + "Request\0221\n\nqos_volume\030\001 \001(\0132\035.opi_api.st" + "orage.v1.QosVolume\022/\n\013update_mask\030\002 \001(\0132" + "\032.google.protobuf.FieldMask\022\025\n\rallow_mis" + "sing\030\003 \001(\010\"t\n\025ListQosVolumesRequest\0224\n\006p" + "arent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/" + "QosVolume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + "en\030\003 \001(\t\"e\n\026ListQosVolumesResponse\0222\n\013qo" + "s_volumes\030\001 \003(\0132\035.opi_api.storage.v1.Qos" + "Volume\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetQo" + "sVolumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034op" + "i_api.storage.v1/QosVolume\"K\n\025StatsQosVo" + "lumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_a" + "pi.storage.v1/QosVolume\"H\n\026StatsQosVolum" + "eResponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.stora" + "ge.v1.VolumeStats2\214\007\n\031MiddleendQosVolume" + "Service\022\230\001\n\017CreateQosVolume\022*.opi_api.st" + "orage.v1.CreateQosVolumeRequest\032\035.opi_ap" + "i.storage.v1.QosVolume\":\202\323\344\223\002\031\"\013/v1/volu" + "mes:\nqos_volume\332A\030qos_volume,qos_volume_" + "id\022}\n\017DeleteQosVolume\022*.opi_api.storage." + "v1.DeleteQosVolumeRequest\032\026.google.proto" + "buf.Empty\"&\202\323\344\223\002\031*\027/v1/{name=QosVolumes/" + "*}\332A\004name\022\253\001\n\017UpdateQosVolume\022*.opi_api." + "storage.v1.UpdateQosVolumeRequest\032\035.opi_" + "api.storage.v1.QosVolume\"M\202\323\344\223\002.2 /v1/{q" + "os_volume.name=subsystems}:\nqos_volume\332A" + "\026qos_volume,update_mask\022\216\001\n\016ListQosVolum" + "es\022).opi_api.storage.v1.ListQosVolumesRe" + "quest\032*.opi_api.storage.v1.ListQosVolume" + "sResponse\"%\202\323\344\223\002\026\022\024/v1/{parent=volumes}\332" + "A\006parent\022~\n\014GetQosVolume\022\'.opi_api.stora" + "ge.v1.GetQosVolumeRequest\032\035.opi_api.stor" + "age.v1.QosVolume\"&\202\323\344\223\002\031\022\027/v1/{name=QosV" + "olumes/*}\332A\004name\022\225\001\n\016StatsQosVolume\022).op" + "i_api.storage.v1.StatsQosVolumeRequest\032*" + ".opi_api.storage.v1.StatsQosVolumeRespon" + "se\",\202\323\344\223\002\037\022\035/v1/{name=QosVolumes/*}:stat" + "s\332A\004nameBf\n\022opi_api.storage.v1B\027Middleen" + "dQosVolumeProtoP\001Z5github.com/opiproject" + "/opi-api/storage/v1alpha1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_middleend_5fqos_5fvolume_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -318,7 +316,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_middleend_5fqos_5fvolume_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_middleend_5fqos_5fvolume_2eproto = { - false, false, 2336, descriptor_table_protodef_middleend_5fqos_5fvolume_2eproto, "middleend_qos_volume.proto", + false, false, 2360, descriptor_table_protodef_middleend_5fqos_5fvolume_2eproto, "middleend_qos_volume.proto", &descriptor_table_middleend_5fqos_5fvolume_2eproto_once, descriptor_table_middleend_5fqos_5fvolume_2eproto_deps, 8, 9, schemas, file_default_instances, TableStruct_middleend_5fqos_5fvolume_2eproto::offsets, file_level_metadata_middleend_5fqos_5fvolume_2eproto, file_level_enum_descriptors_middleend_5fqos_5fvolume_2eproto, file_level_service_descriptors_middleend_5fqos_5fvolume_2eproto, @@ -474,7 +472,7 @@ const char* QosVolume::_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(); @@ -537,7 +535,7 @@ uint8_t* QosVolume::_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()), @@ -587,7 +585,7 @@ size_t QosVolume::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( @@ -777,17 +775,17 @@ const char* CreateQosVolumeRequest::_InternalParse(const char* ptr, ::PROTOBUF_N uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + // .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_qos_volume(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string qos_volume_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + // string qos_volume_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_qos_volume_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.CreateQosVolumeRequest.qos_volume_id")); @@ -824,22 +822,22 @@ uint8_t* CreateQosVolumeRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_qos_volume()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::qos_volume(this), target, stream); + 1, _Internal::qos_volume(this), target, stream); } - // string qos_volume_id = 3; + // string qos_volume_id = 2; if (!this->_internal_qos_volume_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_qos_volume_id().data(), static_cast(this->_internal_qos_volume_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.CreateQosVolumeRequest.qos_volume_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_qos_volume_id(), target); + 2, this->_internal_qos_volume_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -858,14 +856,14 @@ size_t CreateQosVolumeRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string qos_volume_id = 3; + // string qos_volume_id = 2; if (!this->_internal_qos_volume_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_qos_volume_id()); } - // .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; if (this->_internal_has_qos_volume()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -2155,90 +2153,84 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetQosVolumeRequest::GetMetadata() const { // =================================================================== -class QosVolumeStatsRequest::_Internal { +class StatsQosVolumeRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& volume_id(const QosVolumeStatsRequest* msg); }; -const ::opi_api::common::v1::ObjectKey& -QosVolumeStatsRequest::_Internal::volume_id(const QosVolumeStatsRequest* msg) { - return *msg->volume_id_; -} -void QosVolumeStatsRequest::clear_volume_id() { - if (GetArenaForAllocation() == nullptr && volume_id_ != nullptr) { - delete volume_id_; - } - volume_id_ = nullptr; -} -QosVolumeStatsRequest::QosVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsQosVolumeRequest::StatsQosVolumeRequest(::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.QosVolumeStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsQosVolumeRequest) } -QosVolumeStatsRequest::QosVolumeStatsRequest(const QosVolumeStatsRequest& from) +StatsQosVolumeRequest::StatsQosVolumeRequest(const StatsQosVolumeRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_volume_id()) { - volume_id_ = new ::opi_api::common::v1::ObjectKey(*from.volume_id_); - } else { - volume_id_ = 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.QosVolumeStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsQosVolumeRequest) } -inline void QosVolumeStatsRequest::SharedCtor() { -volume_id_ = nullptr; +inline void StatsQosVolumeRequest::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 } -QosVolumeStatsRequest::~QosVolumeStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.QosVolumeStatsRequest) +StatsQosVolumeRequest::~StatsQosVolumeRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsQosVolumeRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void QosVolumeStatsRequest::SharedDtor() { +inline void StatsQosVolumeRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete volume_id_; + name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void QosVolumeStatsRequest::ArenaDtor(void* object) { - QosVolumeStatsRequest* _this = reinterpret_cast< QosVolumeStatsRequest* >(object); +void StatsQosVolumeRequest::ArenaDtor(void* object) { + StatsQosVolumeRequest* _this = reinterpret_cast< StatsQosVolumeRequest* >(object); (void)_this; } -void QosVolumeStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsQosVolumeRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void QosVolumeStatsRequest::SetCachedSize(int size) const { +void StatsQosVolumeRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void QosVolumeStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.QosVolumeStatsRequest) +void StatsQosVolumeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsQosVolumeRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && volume_id_ != nullptr) { - delete volume_id_; - } - volume_id_ = nullptr; + name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* QosVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsQosVolumeRequest::_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 volume_id = 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_volume_id(), 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.StatsQosVolumeRequest.name")); CHK_(ptr); } else goto handle_unusual; @@ -2266,89 +2258,97 @@ const char* QosVolumeStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NA #undef CHK_ } -uint8_t* QosVolumeStatsRequest::_InternalSerialize( +uint8_t* StatsQosVolumeRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.QosVolumeStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsQosVolumeRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey volume_id = 1; - if (this->_internal_has_volume_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::volume_id(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.StatsQosVolumeRequest.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.QosVolumeStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsQosVolumeRequest) return target; } -size_t QosVolumeStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.QosVolumeStatsRequest) +size_t StatsQosVolumeRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsQosVolumeRequest) 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 volume_id = 1; - if (this->_internal_has_volume_id()) { + // 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( - *volume_id_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData QosVolumeStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsQosVolumeRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - QosVolumeStatsRequest::MergeImpl + StatsQosVolumeRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*QosVolumeStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsQosVolumeRequest::GetClassData() const { return &_class_data_; } -void QosVolumeStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsQosVolumeRequest::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 QosVolumeStatsRequest::MergeFrom(const QosVolumeStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.QosVolumeStatsRequest) +void StatsQosVolumeRequest::MergeFrom(const StatsQosVolumeRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsQosVolumeRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_volume_id()) { - _internal_mutable_volume_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_volume_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void QosVolumeStatsRequest::CopyFrom(const QosVolumeStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.QosVolumeStatsRequest) +void StatsQosVolumeRequest::CopyFrom(const StatsQosVolumeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsQosVolumeRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool QosVolumeStatsRequest::IsInitialized() const { +bool StatsQosVolumeRequest::IsInitialized() const { return true; } -void QosVolumeStatsRequest::InternalSwap(QosVolumeStatsRequest* other) { +void StatsQosVolumeRequest::InternalSwap(StatsQosVolumeRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(volume_id_, other->volume_id_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &name_, lhs_arena, + &other->name_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata QosVolumeStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsQosVolumeRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_middleend_5fqos_5fvolume_2eproto_getter, &descriptor_table_middleend_5fqos_5fvolume_2eproto_once, file_level_metadata_middleend_5fqos_5fvolume_2eproto[7]); @@ -2356,97 +2356,73 @@ ::PROTOBUF_NAMESPACE_ID::Metadata QosVolumeStatsRequest::GetMetadata() const { // =================================================================== -class QosVolumeStatsResponse::_Internal { +class StatsQosVolumeResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& id(const QosVolumeStatsResponse* msg); - static const ::opi_api::storage::v1::VolumeStats& stats(const QosVolumeStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const StatsQosVolumeResponse* msg); }; -const ::opi_api::common::v1::ObjectKey& -QosVolumeStatsResponse::_Internal::id(const QosVolumeStatsResponse* msg) { - return *msg->id_; -} const ::opi_api::storage::v1::VolumeStats& -QosVolumeStatsResponse::_Internal::stats(const QosVolumeStatsResponse* msg) { +StatsQosVolumeResponse::_Internal::stats(const StatsQosVolumeResponse* msg) { return *msg->stats_; } -void QosVolumeStatsResponse::clear_id() { - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void QosVolumeStatsResponse::clear_stats() { +void StatsQosVolumeResponse::clear_stats() { if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } stats_ = nullptr; } -QosVolumeStatsResponse::QosVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +StatsQosVolumeResponse::StatsQosVolumeResponse(::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.QosVolumeStatsResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.StatsQosVolumeResponse) } -QosVolumeStatsResponse::QosVolumeStatsResponse(const QosVolumeStatsResponse& from) +StatsQosVolumeResponse::StatsQosVolumeResponse(const StatsQosVolumeResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_id()) { - id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); - } else { - id_ = 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.QosVolumeStatsResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.StatsQosVolumeResponse) } -inline void QosVolumeStatsResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&stats_) - - reinterpret_cast(&id_)) + sizeof(stats_)); +inline void StatsQosVolumeResponse::SharedCtor() { +stats_ = nullptr; } -QosVolumeStatsResponse::~QosVolumeStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.QosVolumeStatsResponse) +StatsQosVolumeResponse::~StatsQosVolumeResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.StatsQosVolumeResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void QosVolumeStatsResponse::SharedDtor() { +inline void StatsQosVolumeResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete stats_; } -void QosVolumeStatsResponse::ArenaDtor(void* object) { - QosVolumeStatsResponse* _this = reinterpret_cast< QosVolumeStatsResponse* >(object); +void StatsQosVolumeResponse::ArenaDtor(void* object) { + StatsQosVolumeResponse* _this = reinterpret_cast< StatsQosVolumeResponse* >(object); (void)_this; } -void QosVolumeStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void StatsQosVolumeResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void QosVolumeStatsResponse::SetCachedSize(int size) const { +void StatsQosVolumeResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void QosVolumeStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.QosVolumeStatsResponse) +void StatsQosVolumeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.StatsQosVolumeResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { delete stats_; } @@ -2454,23 +2430,15 @@ void QosVolumeStatsResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* QosVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* StatsQosVolumeResponse::_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 id = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_id(), 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 @@ -2499,52 +2467,37 @@ const char* QosVolumeStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_N #undef CHK_ } -uint8_t* QosVolumeStatsResponse::_InternalSerialize( +uint8_t* StatsQosVolumeResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.QosVolumeStatsResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.StatsQosVolumeResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey id = 1; - if (this->_internal_has_id()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::id(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.QosVolumeStatsResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.StatsQosVolumeResponse) return target; } -size_t QosVolumeStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.QosVolumeStatsResponse) +size_t StatsQosVolumeResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.StatsQosVolumeResponse) 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 id = 1; - if (this->_internal_has_id()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *id_); - } - - // .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( @@ -2554,57 +2507,49 @@ size_t QosVolumeStatsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData QosVolumeStatsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StatsQosVolumeResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - QosVolumeStatsResponse::MergeImpl + StatsQosVolumeResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*QosVolumeStatsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StatsQosVolumeResponse::GetClassData() const { return &_class_data_; } -void QosVolumeStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void StatsQosVolumeResponse::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 QosVolumeStatsResponse::MergeFrom(const QosVolumeStatsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.QosVolumeStatsResponse) +void StatsQosVolumeResponse::MergeFrom(const StatsQosVolumeResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.StatsQosVolumeResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_id()) { - _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); - } 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 QosVolumeStatsResponse::CopyFrom(const QosVolumeStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.QosVolumeStatsResponse) +void StatsQosVolumeResponse::CopyFrom(const StatsQosVolumeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.StatsQosVolumeResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool QosVolumeStatsResponse::IsInitialized() const { +bool StatsQosVolumeResponse::IsInitialized() const { return true; } -void QosVolumeStatsResponse::InternalSwap(QosVolumeStatsResponse* other) { +void StatsQosVolumeResponse::InternalSwap(StatsQosVolumeResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(QosVolumeStatsResponse, stats_) - + sizeof(QosVolumeStatsResponse::stats_) - - PROTOBUF_FIELD_OFFSET(QosVolumeStatsResponse, id_)>( - reinterpret_cast(&id_), - reinterpret_cast(&other->id_)); + swap(stats_, other->stats_); } -::PROTOBUF_NAMESPACE_ID::Metadata QosVolumeStatsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata StatsQosVolumeResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_middleend_5fqos_5fvolume_2eproto_getter, &descriptor_table_middleend_5fqos_5fvolume_2eproto_once, file_level_metadata_middleend_5fqos_5fvolume_2eproto[8]); @@ -2636,11 +2581,11 @@ template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListQosVolumesResponse* Are template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetQosVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetQosVolumeRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetQosVolumeRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::QosVolumeStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::QosVolumeStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::QosVolumeStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsQosVolumeRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsQosVolumeRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsQosVolumeRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::QosVolumeStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::QosVolumeStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::QosVolumeStatsResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::StatsQosVolumeResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::StatsQosVolumeResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::StatsQosVolumeResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.h b/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.h index 16d86ded..72917d83 100644 --- a/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.h +++ b/storage/v1alpha1/gen/cpp/middleend_qos_volume.pb.h @@ -82,12 +82,12 @@ extern ListQosVolumesResponseDefaultTypeInternal _ListQosVolumesResponse_default class QosVolume; struct QosVolumeDefaultTypeInternal; extern QosVolumeDefaultTypeInternal _QosVolume_default_instance_; -class QosVolumeStatsRequest; -struct QosVolumeStatsRequestDefaultTypeInternal; -extern QosVolumeStatsRequestDefaultTypeInternal _QosVolumeStatsRequest_default_instance_; -class QosVolumeStatsResponse; -struct QosVolumeStatsResponseDefaultTypeInternal; -extern QosVolumeStatsResponseDefaultTypeInternal _QosVolumeStatsResponse_default_instance_; +class StatsQosVolumeRequest; +struct StatsQosVolumeRequestDefaultTypeInternal; +extern StatsQosVolumeRequestDefaultTypeInternal _StatsQosVolumeRequest_default_instance_; +class StatsQosVolumeResponse; +struct StatsQosVolumeResponseDefaultTypeInternal; +extern StatsQosVolumeResponseDefaultTypeInternal _StatsQosVolumeResponse_default_instance_; class UpdateQosVolumeRequest; struct UpdateQosVolumeRequestDefaultTypeInternal; extern UpdateQosVolumeRequestDefaultTypeInternal _UpdateQosVolumeRequest_default_instance_; @@ -101,8 +101,8 @@ template<> ::opi_api::storage::v1::GetQosVolumeRequest* Arena::CreateMaybeMessag template<> ::opi_api::storage::v1::ListQosVolumesRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListQosVolumesRequest>(Arena*); template<> ::opi_api::storage::v1::ListQosVolumesResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListQosVolumesResponse>(Arena*); template<> ::opi_api::storage::v1::QosVolume* Arena::CreateMaybeMessage<::opi_api::storage::v1::QosVolume>(Arena*); -template<> ::opi_api::storage::v1::QosVolumeStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::QosVolumeStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::QosVolumeStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::QosVolumeStatsResponse>(Arena*); +template<> ::opi_api::storage::v1::StatsQosVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsQosVolumeRequest>(Arena*); +template<> ::opi_api::storage::v1::StatsQosVolumeResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::StatsQosVolumeResponse>(Arena*); template<> ::opi_api::storage::v1::UpdateQosVolumeRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateQosVolumeRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { @@ -238,7 +238,7 @@ class QosVolume final : kMinLimitFieldNumber = 3, kMaxLimitFieldNumber = 4, }; - // 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 @@ -444,10 +444,10 @@ class CreateQosVolumeRequest final : // accessors ------------------------------------------------------- enum : int { - kQosVolumeIdFieldNumber = 3, - kQosVolumeFieldNumber = 2, + kQosVolumeIdFieldNumber = 2, + kQosVolumeFieldNumber = 1, }; - // string qos_volume_id = 3; + // string qos_volume_id = 2; void clear_qos_volume_id(); const std::string& qos_volume_id() const; template @@ -461,7 +461,7 @@ class CreateQosVolumeRequest final : std::string* _internal_mutable_qos_volume_id(); public: - // .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + // .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; bool has_qos_volume() const; private: bool _internal_has_qos_volume() const; @@ -1341,24 +1341,24 @@ class GetQosVolumeRequest final : }; // ------------------------------------------------------------------- -class QosVolumeStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.QosVolumeStatsRequest) */ { +class StatsQosVolumeRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsQosVolumeRequest) */ { public: - inline QosVolumeStatsRequest() : QosVolumeStatsRequest(nullptr) {} - ~QosVolumeStatsRequest() override; - explicit constexpr QosVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsQosVolumeRequest() : StatsQosVolumeRequest(nullptr) {} + ~StatsQosVolumeRequest() override; + explicit constexpr StatsQosVolumeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - QosVolumeStatsRequest(const QosVolumeStatsRequest& from); - QosVolumeStatsRequest(QosVolumeStatsRequest&& from) noexcept - : QosVolumeStatsRequest() { + StatsQosVolumeRequest(const StatsQosVolumeRequest& from); + StatsQosVolumeRequest(StatsQosVolumeRequest&& from) noexcept + : StatsQosVolumeRequest() { *this = ::std::move(from); } - inline QosVolumeStatsRequest& operator=(const QosVolumeStatsRequest& from) { + inline StatsQosVolumeRequest& operator=(const StatsQosVolumeRequest& from) { CopyFrom(from); return *this; } - inline QosVolumeStatsRequest& operator=(QosVolumeStatsRequest&& from) noexcept { + inline StatsQosVolumeRequest& operator=(StatsQosVolumeRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1381,20 +1381,20 @@ class QosVolumeStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const QosVolumeStatsRequest& default_instance() { + static const StatsQosVolumeRequest& default_instance() { return *internal_default_instance(); } - static inline const QosVolumeStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_QosVolumeStatsRequest_default_instance_); + static inline const StatsQosVolumeRequest* internal_default_instance() { + return reinterpret_cast( + &_StatsQosVolumeRequest_default_instance_); } static constexpr int kIndexInFileMessages = 7; - friend void swap(QosVolumeStatsRequest& a, QosVolumeStatsRequest& b) { + friend void swap(StatsQosVolumeRequest& a, StatsQosVolumeRequest& b) { a.Swap(&b); } - inline void Swap(QosVolumeStatsRequest* other) { + inline void Swap(StatsQosVolumeRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1407,7 +1407,7 @@ class QosVolumeStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(QosVolumeStatsRequest* other) { + void UnsafeArenaSwap(StatsQosVolumeRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1415,13 +1415,13 @@ class QosVolumeStatsRequest final : // implements Message ---------------------------------------------- - QosVolumeStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsQosVolumeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const QosVolumeStatsRequest& from); + void CopyFrom(const StatsQosVolumeRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const QosVolumeStatsRequest& from); + void MergeFrom(const StatsQosVolumeRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1438,15 +1438,15 @@ class QosVolumeStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(QosVolumeStatsRequest* other); + void InternalSwap(StatsQosVolumeRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.QosVolumeStatsRequest"; + return "opi_api.storage.v1.StatsQosVolumeRequest"; } protected: - explicit QosVolumeStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsQosVolumeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1463,57 +1463,53 @@ class QosVolumeStatsRequest final : // accessors ------------------------------------------------------- enum : int { - kVolumeIdFieldNumber = 1, + kNameFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey volume_id = 1; - bool has_volume_id() const; - private: - bool _internal_has_volume_id() const; - public: - void clear_volume_id(); - const ::opi_api::common::v1::ObjectKey& volume_id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_volume_id(); - ::opi_api::common::v1::ObjectKey* mutable_volume_id(); - void set_allocated_volume_id(::opi_api::common::v1::ObjectKey* volume_id); + // 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_volume_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_volume_id(); + 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_volume_id( - ::opi_api::common::v1::ObjectKey* volume_id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_volume_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.QosVolumeStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsQosVolumeRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* volume_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_5fqos_5fvolume_2eproto; }; // ------------------------------------------------------------------- -class QosVolumeStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.QosVolumeStatsResponse) */ { +class StatsQosVolumeResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.StatsQosVolumeResponse) */ { public: - inline QosVolumeStatsResponse() : QosVolumeStatsResponse(nullptr) {} - ~QosVolumeStatsResponse() override; - explicit constexpr QosVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline StatsQosVolumeResponse() : StatsQosVolumeResponse(nullptr) {} + ~StatsQosVolumeResponse() override; + explicit constexpr StatsQosVolumeResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - QosVolumeStatsResponse(const QosVolumeStatsResponse& from); - QosVolumeStatsResponse(QosVolumeStatsResponse&& from) noexcept - : QosVolumeStatsResponse() { + StatsQosVolumeResponse(const StatsQosVolumeResponse& from); + StatsQosVolumeResponse(StatsQosVolumeResponse&& from) noexcept + : StatsQosVolumeResponse() { *this = ::std::move(from); } - inline QosVolumeStatsResponse& operator=(const QosVolumeStatsResponse& from) { + inline StatsQosVolumeResponse& operator=(const StatsQosVolumeResponse& from) { CopyFrom(from); return *this; } - inline QosVolumeStatsResponse& operator=(QosVolumeStatsResponse&& from) noexcept { + inline StatsQosVolumeResponse& operator=(StatsQosVolumeResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1536,20 +1532,20 @@ class QosVolumeStatsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const QosVolumeStatsResponse& default_instance() { + static const StatsQosVolumeResponse& default_instance() { return *internal_default_instance(); } - static inline const QosVolumeStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_QosVolumeStatsResponse_default_instance_); + static inline const StatsQosVolumeResponse* internal_default_instance() { + return reinterpret_cast( + &_StatsQosVolumeResponse_default_instance_); } static constexpr int kIndexInFileMessages = 8; - friend void swap(QosVolumeStatsResponse& a, QosVolumeStatsResponse& b) { + friend void swap(StatsQosVolumeResponse& a, StatsQosVolumeResponse& b) { a.Swap(&b); } - inline void Swap(QosVolumeStatsResponse* other) { + inline void Swap(StatsQosVolumeResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1562,7 +1558,7 @@ class QosVolumeStatsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(QosVolumeStatsResponse* other) { + void UnsafeArenaSwap(StatsQosVolumeResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1570,13 +1566,13 @@ class QosVolumeStatsResponse final : // implements Message ---------------------------------------------- - QosVolumeStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + StatsQosVolumeResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const QosVolumeStatsResponse& from); + void CopyFrom(const StatsQosVolumeResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const QosVolumeStatsResponse& from); + void MergeFrom(const StatsQosVolumeResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1593,15 +1589,15 @@ class QosVolumeStatsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(QosVolumeStatsResponse* other); + void InternalSwap(StatsQosVolumeResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.QosVolumeStatsResponse"; + return "opi_api.storage.v1.StatsQosVolumeResponse"; } protected: - explicit QosVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit StatsQosVolumeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1618,28 +1614,9 @@ class QosVolumeStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kStatsFieldNumber = 2, + kStatsFieldNumber = 1, }; - // .opi_api.common.v1.ObjectKey id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const ::opi_api::common::v1::ObjectKey& id() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); - ::opi_api::common::v1::ObjectKey* mutable_id(); - void set_allocated_id(::opi_api::common::v1::ObjectKey* id); - private: - const ::opi_api::common::v1::ObjectKey& _internal_id() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); - public: - void unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - - // .opi_api.storage.v1.VolumeStats stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 1; bool has_stats() const; private: bool _internal_has_stats() const; @@ -1657,14 +1634,13 @@ class QosVolumeStatsResponse 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.QosVolumeStatsResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsQosVolumeResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* id_; ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_5fqos_5fvolume_2eproto; @@ -1680,7 +1656,7 @@ class QosVolumeStatsResponse final : #endif // __GNUC__ // QosVolume -// string name = 1; +// string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { inline void QosVolume::clear_name() { name_.ClearToEmpty(); } @@ -1993,7 +1969,7 @@ inline void QosVolume::set_allocated_max_limit(::opi_api::storage::v1::QosLimit* // CreateQosVolumeRequest -// .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; +// .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; inline bool CreateQosVolumeRequest::_internal_has_qos_volume() const { return this != internal_default_instance() && qos_volume_ != nullptr; } @@ -2083,7 +2059,7 @@ inline void CreateQosVolumeRequest::set_allocated_qos_volume(::opi_api::storage: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateQosVolumeRequest.qos_volume) } -// string qos_volume_id = 3; +// string qos_volume_id = 2; inline void CreateQosVolumeRequest::clear_qos_volume_id() { qos_volume_id_.ClearToEmpty(); } @@ -2687,201 +2663,80 @@ inline void GetQosVolumeRequest::set_allocated_name(std::string* name) { // ------------------------------------------------------------------- -// QosVolumeStatsRequest +// StatsQosVolumeRequest -// .opi_api.common.v1.ObjectKey volume_id = 1; -inline bool QosVolumeStatsRequest::_internal_has_volume_id() const { - return this != internal_default_instance() && volume_id_ != nullptr; -} -inline bool QosVolumeStatsRequest::has_volume_id() const { - return _internal_has_volume_id(); +// string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { +inline void StatsQosVolumeRequest::clear_name() { + name_.ClearToEmpty(); } -inline const ::opi_api::common::v1::ObjectKey& QosVolumeStatsRequest::_internal_volume_id() const { - const ::opi_api::common::v1::ObjectKey* p = volume_id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +inline const std::string& StatsQosVolumeRequest::name() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsQosVolumeRequest.name) + return _internal_name(); } -inline const ::opi_api::common::v1::ObjectKey& QosVolumeStatsRequest::volume_id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.QosVolumeStatsRequest.volume_id) - return _internal_volume_id(); +template +inline PROTOBUF_ALWAYS_INLINE +void StatsQosVolumeRequest::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.StatsQosVolumeRequest.name) } -inline void QosVolumeStatsRequest::unsafe_arena_set_allocated_volume_id( - ::opi_api::common::v1::ObjectKey* volume_id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id_); - } - volume_id_ = volume_id; - if (volume_id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.QosVolumeStatsRequest.volume_id) +inline std::string* StatsQosVolumeRequest::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsQosVolumeRequest.name) + return _s; } -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsRequest::release_volume_id() { - - ::opi_api::common::v1::ObjectKey* temp = volume_id_; - volume_id_ = 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& StatsQosVolumeRequest::_internal_name() const { + return name_.Get(); } -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsRequest::unsafe_arena_release_volume_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.QosVolumeStatsRequest.volume_id) +inline void StatsQosVolumeRequest::_internal_set_name(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = volume_id_; - volume_id_ = nullptr; - return temp; + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsRequest::_internal_mutable_volume_id() { +inline std::string* StatsQosVolumeRequest::_internal_mutable_name() { - if (volume_id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - volume_id_ = p; - } - return volume_id_; + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsRequest::mutable_volume_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_volume_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.QosVolumeStatsRequest.volume_id) - return _msg; +inline std::string* StatsQosVolumeRequest::release_name() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsQosVolumeRequest.name) + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void QosVolumeStatsRequest::set_allocated_volume_id(::opi_api::common::v1::ObjectKey* volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id_); - } - if (volume_id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(volume_id)); - if (message_arena != submessage_arena) { - volume_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, volume_id, submessage_arena); - } +inline void StatsQosVolumeRequest::set_allocated_name(std::string* name) { + if (name != nullptr) { } else { } - volume_id_ = volume_id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.QosVolumeStatsRequest.volume_id) + 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.StatsQosVolumeRequest.name) } // ------------------------------------------------------------------- -// QosVolumeStatsResponse - -// .opi_api.common.v1.ObjectKey id = 1; -inline bool QosVolumeStatsResponse::_internal_has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline bool QosVolumeStatsResponse::has_id() const { - return _internal_has_id(); -} -inline const ::opi_api::common::v1::ObjectKey& QosVolumeStatsResponse::_internal_id() const { - const ::opi_api::common::v1::ObjectKey* p = id_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); -} -inline const ::opi_api::common::v1::ObjectKey& QosVolumeStatsResponse::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.QosVolumeStatsResponse.id) - return _internal_id(); -} -inline void QosVolumeStatsResponse::unsafe_arena_set_allocated_id( - ::opi_api::common::v1::ObjectKey* id) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - id_ = id; - if (id) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.QosVolumeStatsResponse.id) -} -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsResponse::release_id() { - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = 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* QosVolumeStatsResponse::unsafe_arena_release_id() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.QosVolumeStatsResponse.id) - - ::opi_api::common::v1::ObjectKey* temp = id_; - id_ = nullptr; - return temp; -} -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsResponse::_internal_mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - id_ = p; - } - return id_; -} -inline ::opi_api::common::v1::ObjectKey* QosVolumeStatsResponse::mutable_id() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.QosVolumeStatsResponse.id) - return _msg; -} -inline void QosVolumeStatsResponse::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); - } - if (id) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); - if (message_arena != submessage_arena) { - id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.QosVolumeStatsResponse.id) -} +// StatsQosVolumeResponse -// .opi_api.storage.v1.VolumeStats stats = 2; -inline bool QosVolumeStatsResponse::_internal_has_stats() const { +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool StatsQosVolumeResponse::_internal_has_stats() const { return this != internal_default_instance() && stats_ != nullptr; } -inline bool QosVolumeStatsResponse::has_stats() const { +inline bool StatsQosVolumeResponse::has_stats() const { return _internal_has_stats(); } -inline const ::opi_api::storage::v1::VolumeStats& QosVolumeStatsResponse::_internal_stats() const { +inline const ::opi_api::storage::v1::VolumeStats& StatsQosVolumeResponse::_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& QosVolumeStatsResponse::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.QosVolumeStatsResponse.stats) +inline const ::opi_api::storage::v1::VolumeStats& StatsQosVolumeResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.StatsQosVolumeResponse.stats) return _internal_stats(); } -inline void QosVolumeStatsResponse::unsafe_arena_set_allocated_stats( +inline void StatsQosVolumeResponse::unsafe_arena_set_allocated_stats( ::opi_api::storage::v1::VolumeStats* stats) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); @@ -2892,9 +2747,9 @@ inline void QosVolumeStatsResponse::unsafe_arena_set_allocated_stats( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.QosVolumeStatsResponse.stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.StatsQosVolumeResponse.stats) } -inline ::opi_api::storage::v1::VolumeStats* QosVolumeStatsResponse::release_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsQosVolumeResponse::release_stats() { ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; @@ -2909,14 +2764,14 @@ inline ::opi_api::storage::v1::VolumeStats* QosVolumeStatsResponse::release_stat #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::VolumeStats* QosVolumeStatsResponse::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.QosVolumeStatsResponse.stats) +inline ::opi_api::storage::v1::VolumeStats* StatsQosVolumeResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.StatsQosVolumeResponse.stats) ::opi_api::storage::v1::VolumeStats* temp = stats_; stats_ = nullptr; return temp; } -inline ::opi_api::storage::v1::VolumeStats* QosVolumeStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsQosVolumeResponse::_internal_mutable_stats() { if (stats_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); @@ -2924,12 +2779,12 @@ inline ::opi_api::storage::v1::VolumeStats* QosVolumeStatsResponse::_internal_mu } return stats_; } -inline ::opi_api::storage::v1::VolumeStats* QosVolumeStatsResponse::mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* StatsQosVolumeResponse::mutable_stats() { ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.QosVolumeStatsResponse.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.StatsQosVolumeResponse.stats) return _msg; } -inline void QosVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats) { +inline void StatsQosVolumeResponse::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_); @@ -2948,7 +2803,7 @@ inline void QosVolumeStatsResponse::set_allocated_stats(::opi_api::storage::v1:: } stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.QosVolumeStatsResponse.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.StatsQosVolumeResponse.stats) } #ifdef __GNUC__ diff --git a/storage/v1alpha1/gen/go/backend_aio.pb.go b/storage/v1alpha1/gen/go/backend_aio.pb.go index c829e91b..0e0b162a 100644 --- a/storage/v1alpha1/gen/go/backend_aio.pb.go +++ b/storage/v1alpha1/gen/go/backend_aio.pb.go @@ -118,8 +118,8 @@ type CreateAioVolumeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AioVolume *AioVolume `protobuf:"bytes,2,opt,name=aio_volume,json=aioVolume,proto3" json:"aio_volume,omitempty"` - AioVolumeId string `protobuf:"bytes,3,opt,name=aio_volume_id,json=aioVolumeId,proto3" json:"aio_volume_id,omitempty"` + AioVolume *AioVolume `protobuf:"bytes,1,opt,name=aio_volume,json=aioVolume,proto3" json:"aio_volume,omitempty"` + AioVolumeId string `protobuf:"bytes,2,opt,name=aio_volume_id,json=aioVolumeId,proto3" json:"aio_volume_id,omitempty"` } func (x *CreateAioVolumeRequest) Reset() { @@ -457,16 +457,16 @@ func (x *GetAioVolumeRequest) GetName() string { return "" } -type AioVolumeStatsRequest struct { +type StatsAioVolumeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *AioVolumeStatsRequest) Reset() { - *x = AioVolumeStatsRequest{} +func (x *StatsAioVolumeRequest) Reset() { + *x = StatsAioVolumeRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -474,13 +474,13 @@ func (x *AioVolumeStatsRequest) Reset() { } } -func (x *AioVolumeStatsRequest) String() string { +func (x *StatsAioVolumeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioVolumeStatsRequest) ProtoMessage() {} +func (*StatsAioVolumeRequest) ProtoMessage() {} -func (x *AioVolumeStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsAioVolumeRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -492,29 +492,28 @@ func (x *AioVolumeStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioVolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*AioVolumeStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsAioVolumeRequest.ProtoReflect.Descriptor instead. +func (*StatsAioVolumeRequest) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{7} } -func (x *AioVolumeStatsRequest) GetHandle() *_go.ObjectKey { +func (x *StatsAioVolumeRequest) GetName() string { if x != nil { - return x.Handle + return x.Name } - return nil + return "" } -type AioVolumeStatsResponse struct { +type StatsAioVolumeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *AioVolumeStatsResponse) Reset() { - *x = AioVolumeStatsResponse{} +func (x *StatsAioVolumeResponse) Reset() { + *x = StatsAioVolumeResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -522,13 +521,13 @@ func (x *AioVolumeStatsResponse) Reset() { } } -func (x *AioVolumeStatsResponse) String() string { +func (x *StatsAioVolumeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioVolumeStatsResponse) ProtoMessage() {} +func (*StatsAioVolumeResponse) ProtoMessage() {} -func (x *AioVolumeStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsAioVolumeResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -540,19 +539,12 @@ func (x *AioVolumeStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioVolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*AioVolumeStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsAioVolumeResponse.ProtoReflect.Descriptor instead. +func (*StatsAioVolumeResponse) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{8} } -func (x *AioVolumeStatsResponse) GetHandle() *_go.ObjectKey { - if x != nil { - return x.Handle - } - return nil -} - -func (x *AioVolumeStatsResponse) GetStats() *VolumeStats { +func (x *StatsAioVolumeResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -575,149 +567,149 @@ var file_backend_aio_proto_rawDesc = []byte{ 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, - 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6f, 0x70, 0x69, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, - 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x09, 0x41, 0x69, 0x6f, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, - 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x37, 0xea, 0x41, 0x34, 0x0a, 0x20, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, - 0x72, 0x67, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x7f, - 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x61, 0x69, 0x6f, 0x5f, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, + 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6f, 0x70, 0x69, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, 0x69, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x09, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, - 0x52, 0x09, 0x61, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, - 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x61, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x77, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, - 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb8, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x09, 0x61, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, - 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, - 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, - 0x69, 0x6e, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, - 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, - 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, - 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0a, 0x61, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, - 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4d, 0x0a, 0x15, 0x41, - 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, - 0x65, 0x79, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x16, 0x41, - 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x4b, 0x65, 0x79, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x32, 0xef, 0x06, 0x0a, 0x10, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, + 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x37, 0xea, 0x41, + 0x34, 0x0a, 0x20, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x7f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x41, 0x0a, 0x0a, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x61, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, + 0xb8, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x69, + 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x09, 0x61, + 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x0b, - 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0a, 0x61, 0x69, 0x6f, - 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x18, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, - 0x69, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, - 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0xda, 0x41, 0x16, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, + 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x80, + 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x61, 0x69, 0x6f, + 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0a, 0x61, + 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, - 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x88, - 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, - 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, - 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x69, 0x0a, 0x0e, 0x41, 0x69, 0x6f, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, + 0x76, 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x73, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x73, 0x41, 0x69, + 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, 0x86, 0x07, 0x0a, 0x10, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x0f, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, + 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x5e, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x42, 0x61, 0x63, 0x6b, - 0x65, 0x6e, 0x64, 0x41, 0x69, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, - 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x19, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, + 0x0a, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x18, 0x61, 0x69, + 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x7d, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x26, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x2a, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, + 0x31, 0x2f, 0x7b, 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, + 0x61, 0x69, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x16, 0x61, 0x69, 0x6f, + 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, + 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x7e, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x69, + 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, + 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, + 0x6d, 0x65, 0x3d, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, + 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x95, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x41, 0x69, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, + 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, + 0x5e, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x41, 0x69, + 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, + 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -741,13 +733,12 @@ var file_backend_aio_proto_goTypes = []interface{}{ (*ListAioVolumesRequest)(nil), // 4: opi_api.storage.v1.ListAioVolumesRequest (*ListAioVolumesResponse)(nil), // 5: opi_api.storage.v1.ListAioVolumesResponse (*GetAioVolumeRequest)(nil), // 6: opi_api.storage.v1.GetAioVolumeRequest - (*AioVolumeStatsRequest)(nil), // 7: opi_api.storage.v1.AioVolumeStatsRequest - (*AioVolumeStatsResponse)(nil), // 8: opi_api.storage.v1.AioVolumeStatsResponse + (*StatsAioVolumeRequest)(nil), // 7: opi_api.storage.v1.StatsAioVolumeRequest + (*StatsAioVolumeResponse)(nil), // 8: opi_api.storage.v1.StatsAioVolumeResponse (*_go.Uuid)(nil), // 9: opi_api.common.v1.Uuid (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask - (*_go.ObjectKey)(nil), // 11: opi_api.common.v1.ObjectKey - (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats - (*emptypb.Empty)(nil), // 13: google.protobuf.Empty + (*VolumeStats)(nil), // 11: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 12: google.protobuf.Empty } var file_backend_aio_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.AioVolume.uuid:type_name -> opi_api.common.v1.Uuid @@ -755,26 +746,24 @@ var file_backend_aio_proto_depIdxs = []int32{ 0, // 2: opi_api.storage.v1.UpdateAioVolumeRequest.aio_volume:type_name -> opi_api.storage.v1.AioVolume 10, // 3: opi_api.storage.v1.UpdateAioVolumeRequest.update_mask:type_name -> google.protobuf.FieldMask 0, // 4: opi_api.storage.v1.ListAioVolumesResponse.aio_volumes:type_name -> opi_api.storage.v1.AioVolume - 11, // 5: opi_api.storage.v1.AioVolumeStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 11, // 6: opi_api.storage.v1.AioVolumeStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey - 12, // 7: opi_api.storage.v1.AioVolumeStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 1, // 8: opi_api.storage.v1.AioVolumeService.CreateAioVolume:input_type -> opi_api.storage.v1.CreateAioVolumeRequest - 2, // 9: opi_api.storage.v1.AioVolumeService.DeleteAioVolume:input_type -> opi_api.storage.v1.DeleteAioVolumeRequest - 3, // 10: opi_api.storage.v1.AioVolumeService.UpdateAioVolume:input_type -> opi_api.storage.v1.UpdateAioVolumeRequest - 4, // 11: opi_api.storage.v1.AioVolumeService.ListAioVolumes:input_type -> opi_api.storage.v1.ListAioVolumesRequest - 6, // 12: opi_api.storage.v1.AioVolumeService.GetAioVolume:input_type -> opi_api.storage.v1.GetAioVolumeRequest - 7, // 13: opi_api.storage.v1.AioVolumeService.AioVolumeStats:input_type -> opi_api.storage.v1.AioVolumeStatsRequest - 0, // 14: opi_api.storage.v1.AioVolumeService.CreateAioVolume:output_type -> opi_api.storage.v1.AioVolume - 13, // 15: opi_api.storage.v1.AioVolumeService.DeleteAioVolume:output_type -> google.protobuf.Empty - 0, // 16: opi_api.storage.v1.AioVolumeService.UpdateAioVolume:output_type -> opi_api.storage.v1.AioVolume - 5, // 17: opi_api.storage.v1.AioVolumeService.ListAioVolumes:output_type -> opi_api.storage.v1.ListAioVolumesResponse - 0, // 18: opi_api.storage.v1.AioVolumeService.GetAioVolume:output_type -> opi_api.storage.v1.AioVolume - 8, // 19: opi_api.storage.v1.AioVolumeService.AioVolumeStats:output_type -> opi_api.storage.v1.AioVolumeStatsResponse - 14, // [14:20] is the sub-list for method output_type - 8, // [8:14] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 11, // 5: opi_api.storage.v1.StatsAioVolumeResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 6: opi_api.storage.v1.AioVolumeService.CreateAioVolume:input_type -> opi_api.storage.v1.CreateAioVolumeRequest + 2, // 7: opi_api.storage.v1.AioVolumeService.DeleteAioVolume:input_type -> opi_api.storage.v1.DeleteAioVolumeRequest + 3, // 8: opi_api.storage.v1.AioVolumeService.UpdateAioVolume:input_type -> opi_api.storage.v1.UpdateAioVolumeRequest + 4, // 9: opi_api.storage.v1.AioVolumeService.ListAioVolumes:input_type -> opi_api.storage.v1.ListAioVolumesRequest + 6, // 10: opi_api.storage.v1.AioVolumeService.GetAioVolume:input_type -> opi_api.storage.v1.GetAioVolumeRequest + 7, // 11: opi_api.storage.v1.AioVolumeService.StatsAioVolume:input_type -> opi_api.storage.v1.StatsAioVolumeRequest + 0, // 12: opi_api.storage.v1.AioVolumeService.CreateAioVolume:output_type -> opi_api.storage.v1.AioVolume + 12, // 13: opi_api.storage.v1.AioVolumeService.DeleteAioVolume:output_type -> google.protobuf.Empty + 0, // 14: opi_api.storage.v1.AioVolumeService.UpdateAioVolume:output_type -> opi_api.storage.v1.AioVolume + 5, // 15: opi_api.storage.v1.AioVolumeService.ListAioVolumes:output_type -> opi_api.storage.v1.ListAioVolumesResponse + 0, // 16: opi_api.storage.v1.AioVolumeService.GetAioVolume:output_type -> opi_api.storage.v1.AioVolume + 8, // 17: opi_api.storage.v1.AioVolumeService.StatsAioVolume:output_type -> opi_api.storage.v1.StatsAioVolumeResponse + 12, // [12:18] is the sub-list for method output_type + 6, // [6:12] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_backend_aio_proto_init() } @@ -869,7 +858,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioVolumeStatsRequest); i { + switch v := v.(*StatsAioVolumeRequest); i { case 0: return &v.state case 1: @@ -881,7 +870,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioVolumeStatsResponse); i { + switch v := v.(*StatsAioVolumeResponse); i { case 0: return &v.state case 1: @@ -930,7 +919,7 @@ type AioVolumeServiceClient interface { UpdateAioVolume(ctx context.Context, in *UpdateAioVolumeRequest, opts ...grpc.CallOption) (*AioVolume, error) ListAioVolumes(ctx context.Context, in *ListAioVolumesRequest, opts ...grpc.CallOption) (*ListAioVolumesResponse, error) GetAioVolume(ctx context.Context, in *GetAioVolumeRequest, opts ...grpc.CallOption) (*AioVolume, error) - AioVolumeStats(ctx context.Context, in *AioVolumeStatsRequest, opts ...grpc.CallOption) (*AioVolumeStatsResponse, error) + StatsAioVolume(ctx context.Context, in *StatsAioVolumeRequest, opts ...grpc.CallOption) (*StatsAioVolumeResponse, error) } type aioVolumeServiceClient struct { @@ -986,9 +975,9 @@ func (c *aioVolumeServiceClient) GetAioVolume(ctx context.Context, in *GetAioVol return out, nil } -func (c *aioVolumeServiceClient) AioVolumeStats(ctx context.Context, in *AioVolumeStatsRequest, opts ...grpc.CallOption) (*AioVolumeStatsResponse, error) { - out := new(AioVolumeStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioVolumeService/AioVolumeStats", in, out, opts...) +func (c *aioVolumeServiceClient) StatsAioVolume(ctx context.Context, in *StatsAioVolumeRequest, opts ...grpc.CallOption) (*StatsAioVolumeResponse, error) { + out := new(StatsAioVolumeResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioVolumeService/StatsAioVolume", in, out, opts...) if err != nil { return nil, err } @@ -1002,7 +991,7 @@ type AioVolumeServiceServer interface { UpdateAioVolume(context.Context, *UpdateAioVolumeRequest) (*AioVolume, error) ListAioVolumes(context.Context, *ListAioVolumesRequest) (*ListAioVolumesResponse, error) GetAioVolume(context.Context, *GetAioVolumeRequest) (*AioVolume, error) - AioVolumeStats(context.Context, *AioVolumeStatsRequest) (*AioVolumeStatsResponse, error) + StatsAioVolume(context.Context, *StatsAioVolumeRequest) (*StatsAioVolumeResponse, error) } // UnimplementedAioVolumeServiceServer can be embedded to have forward compatible implementations. @@ -1024,8 +1013,8 @@ func (*UnimplementedAioVolumeServiceServer) ListAioVolumes(context.Context, *Lis func (*UnimplementedAioVolumeServiceServer) GetAioVolume(context.Context, *GetAioVolumeRequest) (*AioVolume, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAioVolume not implemented") } -func (*UnimplementedAioVolumeServiceServer) AioVolumeStats(context.Context, *AioVolumeStatsRequest) (*AioVolumeStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioVolumeStats not implemented") +func (*UnimplementedAioVolumeServiceServer) StatsAioVolume(context.Context, *StatsAioVolumeRequest) (*StatsAioVolumeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsAioVolume not implemented") } func RegisterAioVolumeServiceServer(s *grpc.Server, srv AioVolumeServiceServer) { @@ -1122,20 +1111,20 @@ func _AioVolumeService_GetAioVolume_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } -func _AioVolumeService_AioVolumeStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioVolumeStatsRequest) +func _AioVolumeService_StatsAioVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsAioVolumeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioVolumeServiceServer).AioVolumeStats(ctx, in) + return srv.(AioVolumeServiceServer).StatsAioVolume(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioVolumeService/AioVolumeStats", + FullMethod: "/opi_api.storage.v1.AioVolumeService/StatsAioVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioVolumeServiceServer).AioVolumeStats(ctx, req.(*AioVolumeStatsRequest)) + return srv.(AioVolumeServiceServer).StatsAioVolume(ctx, req.(*StatsAioVolumeRequest)) } return interceptor(ctx, in, info, handler) } @@ -1165,8 +1154,8 @@ var _AioVolumeService_serviceDesc = grpc.ServiceDesc{ Handler: _AioVolumeService_GetAioVolume_Handler, }, { - MethodName: "AioVolumeStats", - Handler: _AioVolumeService_AioVolumeStats_Handler, + MethodName: "StatsAioVolume", + Handler: _AioVolumeService_StatsAioVolume_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/backend_null.pb.go b/storage/v1alpha1/gen/go/backend_null.pb.go index 1d377b14..3f1901c3 100644 --- a/storage/v1alpha1/gen/go/backend_null.pb.go +++ b/storage/v1alpha1/gen/go/backend_null.pb.go @@ -110,8 +110,8 @@ type CreateNullVolumeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NullVolume *NullVolume `protobuf:"bytes,2,opt,name=null_volume,json=nullVolume,proto3" json:"null_volume,omitempty"` - NullVolumeId string `protobuf:"bytes,3,opt,name=null_volume_id,json=nullVolumeId,proto3" json:"null_volume_id,omitempty"` + NullVolume *NullVolume `protobuf:"bytes,1,opt,name=null_volume,json=nullVolume,proto3" json:"null_volume,omitempty"` + NullVolumeId string `protobuf:"bytes,2,opt,name=null_volume_id,json=nullVolumeId,proto3" json:"null_volume_id,omitempty"` } func (x *CreateNullVolumeRequest) Reset() { @@ -449,16 +449,16 @@ func (x *GetNullVolumeRequest) GetName() string { return "" } -type NullVolumeStatsRequest struct { +type StatsNullVolumeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NullVolumeStatsRequest) Reset() { - *x = NullVolumeStatsRequest{} +func (x *StatsNullVolumeRequest) Reset() { + *x = StatsNullVolumeRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -466,13 +466,13 @@ func (x *NullVolumeStatsRequest) Reset() { } } -func (x *NullVolumeStatsRequest) String() string { +func (x *StatsNullVolumeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullVolumeStatsRequest) ProtoMessage() {} +func (*StatsNullVolumeRequest) ProtoMessage() {} -func (x *NullVolumeStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsNullVolumeRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -484,29 +484,28 @@ func (x *NullVolumeStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullVolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*NullVolumeStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNullVolumeRequest.ProtoReflect.Descriptor instead. +func (*StatsNullVolumeRequest) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{7} } -func (x *NullVolumeStatsRequest) GetHandle() *_go.ObjectKey { +func (x *StatsNullVolumeRequest) GetName() string { if x != nil { - return x.Handle + return x.Name } - return nil + return "" } -type NullVolumeStatsResponse struct { +type StatsNullVolumeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *NullVolumeStatsResponse) Reset() { - *x = NullVolumeStatsResponse{} +func (x *StatsNullVolumeResponse) Reset() { + *x = StatsNullVolumeResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -514,13 +513,13 @@ func (x *NullVolumeStatsResponse) Reset() { } } -func (x *NullVolumeStatsResponse) String() string { +func (x *StatsNullVolumeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullVolumeStatsResponse) ProtoMessage() {} +func (*StatsNullVolumeResponse) ProtoMessage() {} -func (x *NullVolumeStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsNullVolumeResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -532,19 +531,12 @@ func (x *NullVolumeStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullVolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*NullVolumeStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNullVolumeResponse.ProtoReflect.Descriptor instead. +func (*StatsNullVolumeResponse) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{8} } -func (x *NullVolumeStatsResponse) GetHandle() *_go.ObjectKey { - if x != nil { - return x.Handle - } - return nil -} - -func (x *NullVolumeStatsResponse) GetStats() *VolumeStats { +func (x *StatsNullVolumeResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -567,151 +559,151 @@ var file_backend_null_proto_rawDesc = []byte{ 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, - 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6f, 0x70, - 0x69, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, - 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x0a, 0x4e, 0x75, - 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, - 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x3a, 0x38, 0xea, 0x41, 0x35, - 0x0a, 0x21, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x85, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6e, 0x75, 0x6c, - 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x79, 0x0a, - 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xbc, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, - 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x93, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, - 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x84, 0x01, - 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6e, 0x75, 0x6c, - 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, - 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x51, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, + 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6f, 0x70, 0x69, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, 0x69, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf3, 0x01, 0x0a, 0x0a, 0x4e, 0x75, 0x6c, 0x6c, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x1f, 0x0a, + 0x1d, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, + 0x75, 0x69, 0x64, 0x3a, 0x38, 0xea, 0x41, 0x35, 0x0a, 0x21, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x85, 0x01, + 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6e, 0x75, 0x6c, + 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, + 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, + 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x22, 0xbc, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0b, + 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x52, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, + 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, + 0x93, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, - 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x86, 0x01, 0x0a, 0x17, 0x4e, 0x75, 0x6c, 0x6c, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, - 0x79, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x32, 0x87, 0x07, 0x0a, 0x11, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, - 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, - 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0b, 0x6e, - 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x1a, 0x6e, 0x75, 0x6c, - 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, - 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0xb1, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, - 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x32, 0x21, 0x2f, - 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, - 0x3a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x17, - 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x94, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, - 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x8b, - 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x12, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6c, 0x0a, 0x0f, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, - 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x5f, 0x0a, 0x12, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x42, 0x10, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, - 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, + 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, + 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, + 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, + 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x51, 0x0a, 0x14, + 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, + 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x53, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, + 0x1d, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x75, 0x6c, + 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, 0xa3, 0x07, 0x0a, 0x11, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, + 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, + 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x3d, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x3a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0xda, 0x41, 0x1a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x6e, + 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x80, 0x01, + 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, + 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x2a, + 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0xb1, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x32, 0x21, 0x2f, 0x76, 0x31, 0x2f, + 0x7b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0b, 0x6e, + 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x17, 0x6e, 0x75, 0x6c, + 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x94, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, + 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, + 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x82, 0x01, 0x0a, 0x0d, + 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x28, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, + 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, + 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x99, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, + 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, + 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x5f, 0x0a, 0x12, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x42, 0x10, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, + 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -735,13 +727,12 @@ var file_backend_null_proto_goTypes = []interface{}{ (*ListNullVolumesRequest)(nil), // 4: opi_api.storage.v1.ListNullVolumesRequest (*ListNullVolumesResponse)(nil), // 5: opi_api.storage.v1.ListNullVolumesResponse (*GetNullVolumeRequest)(nil), // 6: opi_api.storage.v1.GetNullVolumeRequest - (*NullVolumeStatsRequest)(nil), // 7: opi_api.storage.v1.NullVolumeStatsRequest - (*NullVolumeStatsResponse)(nil), // 8: opi_api.storage.v1.NullVolumeStatsResponse + (*StatsNullVolumeRequest)(nil), // 7: opi_api.storage.v1.StatsNullVolumeRequest + (*StatsNullVolumeResponse)(nil), // 8: opi_api.storage.v1.StatsNullVolumeResponse (*_go.Uuid)(nil), // 9: opi_api.common.v1.Uuid (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask - (*_go.ObjectKey)(nil), // 11: opi_api.common.v1.ObjectKey - (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats - (*emptypb.Empty)(nil), // 13: google.protobuf.Empty + (*VolumeStats)(nil), // 11: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 12: google.protobuf.Empty } var file_backend_null_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.NullVolume.uuid:type_name -> opi_api.common.v1.Uuid @@ -749,26 +740,24 @@ var file_backend_null_proto_depIdxs = []int32{ 0, // 2: opi_api.storage.v1.UpdateNullVolumeRequest.null_volume:type_name -> opi_api.storage.v1.NullVolume 10, // 3: opi_api.storage.v1.UpdateNullVolumeRequest.update_mask:type_name -> google.protobuf.FieldMask 0, // 4: opi_api.storage.v1.ListNullVolumesResponse.null_volumes:type_name -> opi_api.storage.v1.NullVolume - 11, // 5: opi_api.storage.v1.NullVolumeStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 11, // 6: opi_api.storage.v1.NullVolumeStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey - 12, // 7: opi_api.storage.v1.NullVolumeStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 1, // 8: opi_api.storage.v1.NullVolumeService.CreateNullVolume:input_type -> opi_api.storage.v1.CreateNullVolumeRequest - 2, // 9: opi_api.storage.v1.NullVolumeService.DeleteNullVolume:input_type -> opi_api.storage.v1.DeleteNullVolumeRequest - 3, // 10: opi_api.storage.v1.NullVolumeService.UpdateNullVolume:input_type -> opi_api.storage.v1.UpdateNullVolumeRequest - 4, // 11: opi_api.storage.v1.NullVolumeService.ListNullVolumes:input_type -> opi_api.storage.v1.ListNullVolumesRequest - 6, // 12: opi_api.storage.v1.NullVolumeService.GetNullVolume:input_type -> opi_api.storage.v1.GetNullVolumeRequest - 7, // 13: opi_api.storage.v1.NullVolumeService.NullVolumeStats:input_type -> opi_api.storage.v1.NullVolumeStatsRequest - 0, // 14: opi_api.storage.v1.NullVolumeService.CreateNullVolume:output_type -> opi_api.storage.v1.NullVolume - 13, // 15: opi_api.storage.v1.NullVolumeService.DeleteNullVolume:output_type -> google.protobuf.Empty - 0, // 16: opi_api.storage.v1.NullVolumeService.UpdateNullVolume:output_type -> opi_api.storage.v1.NullVolume - 5, // 17: opi_api.storage.v1.NullVolumeService.ListNullVolumes:output_type -> opi_api.storage.v1.ListNullVolumesResponse - 0, // 18: opi_api.storage.v1.NullVolumeService.GetNullVolume:output_type -> opi_api.storage.v1.NullVolume - 8, // 19: opi_api.storage.v1.NullVolumeService.NullVolumeStats:output_type -> opi_api.storage.v1.NullVolumeStatsResponse - 14, // [14:20] is the sub-list for method output_type - 8, // [8:14] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 11, // 5: opi_api.storage.v1.StatsNullVolumeResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 6: opi_api.storage.v1.NullVolumeService.CreateNullVolume:input_type -> opi_api.storage.v1.CreateNullVolumeRequest + 2, // 7: opi_api.storage.v1.NullVolumeService.DeleteNullVolume:input_type -> opi_api.storage.v1.DeleteNullVolumeRequest + 3, // 8: opi_api.storage.v1.NullVolumeService.UpdateNullVolume:input_type -> opi_api.storage.v1.UpdateNullVolumeRequest + 4, // 9: opi_api.storage.v1.NullVolumeService.ListNullVolumes:input_type -> opi_api.storage.v1.ListNullVolumesRequest + 6, // 10: opi_api.storage.v1.NullVolumeService.GetNullVolume:input_type -> opi_api.storage.v1.GetNullVolumeRequest + 7, // 11: opi_api.storage.v1.NullVolumeService.StatsNullVolume:input_type -> opi_api.storage.v1.StatsNullVolumeRequest + 0, // 12: opi_api.storage.v1.NullVolumeService.CreateNullVolume:output_type -> opi_api.storage.v1.NullVolume + 12, // 13: opi_api.storage.v1.NullVolumeService.DeleteNullVolume:output_type -> google.protobuf.Empty + 0, // 14: opi_api.storage.v1.NullVolumeService.UpdateNullVolume:output_type -> opi_api.storage.v1.NullVolume + 5, // 15: opi_api.storage.v1.NullVolumeService.ListNullVolumes:output_type -> opi_api.storage.v1.ListNullVolumesResponse + 0, // 16: opi_api.storage.v1.NullVolumeService.GetNullVolume:output_type -> opi_api.storage.v1.NullVolume + 8, // 17: opi_api.storage.v1.NullVolumeService.StatsNullVolume:output_type -> opi_api.storage.v1.StatsNullVolumeResponse + 12, // [12:18] is the sub-list for method output_type + 6, // [6:12] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_backend_null_proto_init() } @@ -863,7 +852,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullVolumeStatsRequest); i { + switch v := v.(*StatsNullVolumeRequest); i { case 0: return &v.state case 1: @@ -875,7 +864,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullVolumeStatsResponse); i { + switch v := v.(*StatsNullVolumeResponse); i { case 0: return &v.state case 1: @@ -924,7 +913,7 @@ type NullVolumeServiceClient interface { UpdateNullVolume(ctx context.Context, in *UpdateNullVolumeRequest, opts ...grpc.CallOption) (*NullVolume, error) ListNullVolumes(ctx context.Context, in *ListNullVolumesRequest, opts ...grpc.CallOption) (*ListNullVolumesResponse, error) GetNullVolume(ctx context.Context, in *GetNullVolumeRequest, opts ...grpc.CallOption) (*NullVolume, error) - NullVolumeStats(ctx context.Context, in *NullVolumeStatsRequest, opts ...grpc.CallOption) (*NullVolumeStatsResponse, error) + StatsNullVolume(ctx context.Context, in *StatsNullVolumeRequest, opts ...grpc.CallOption) (*StatsNullVolumeResponse, error) } type nullVolumeServiceClient struct { @@ -980,9 +969,9 @@ func (c *nullVolumeServiceClient) GetNullVolume(ctx context.Context, in *GetNull return out, nil } -func (c *nullVolumeServiceClient) NullVolumeStats(ctx context.Context, in *NullVolumeStatsRequest, opts ...grpc.CallOption) (*NullVolumeStatsResponse, error) { - out := new(NullVolumeStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullVolumeService/NullVolumeStats", in, out, opts...) +func (c *nullVolumeServiceClient) StatsNullVolume(ctx context.Context, in *StatsNullVolumeRequest, opts ...grpc.CallOption) (*StatsNullVolumeResponse, error) { + out := new(StatsNullVolumeResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullVolumeService/StatsNullVolume", in, out, opts...) if err != nil { return nil, err } @@ -996,7 +985,7 @@ type NullVolumeServiceServer interface { UpdateNullVolume(context.Context, *UpdateNullVolumeRequest) (*NullVolume, error) ListNullVolumes(context.Context, *ListNullVolumesRequest) (*ListNullVolumesResponse, error) GetNullVolume(context.Context, *GetNullVolumeRequest) (*NullVolume, error) - NullVolumeStats(context.Context, *NullVolumeStatsRequest) (*NullVolumeStatsResponse, error) + StatsNullVolume(context.Context, *StatsNullVolumeRequest) (*StatsNullVolumeResponse, error) } // UnimplementedNullVolumeServiceServer can be embedded to have forward compatible implementations. @@ -1018,8 +1007,8 @@ func (*UnimplementedNullVolumeServiceServer) ListNullVolumes(context.Context, *L func (*UnimplementedNullVolumeServiceServer) GetNullVolume(context.Context, *GetNullVolumeRequest) (*NullVolume, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNullVolume not implemented") } -func (*UnimplementedNullVolumeServiceServer) NullVolumeStats(context.Context, *NullVolumeStatsRequest) (*NullVolumeStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NullVolumeStats not implemented") +func (*UnimplementedNullVolumeServiceServer) StatsNullVolume(context.Context, *StatsNullVolumeRequest) (*StatsNullVolumeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsNullVolume not implemented") } func RegisterNullVolumeServiceServer(s *grpc.Server, srv NullVolumeServiceServer) { @@ -1116,20 +1105,20 @@ func _NullVolumeService_GetNullVolume_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } -func _NullVolumeService_NullVolumeStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NullVolumeStatsRequest) +func _NullVolumeService_StatsNullVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsNullVolumeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NullVolumeServiceServer).NullVolumeStats(ctx, in) + return srv.(NullVolumeServiceServer).StatsNullVolume(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NullVolumeService/NullVolumeStats", + FullMethod: "/opi_api.storage.v1.NullVolumeService/StatsNullVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NullVolumeServiceServer).NullVolumeStats(ctx, req.(*NullVolumeStatsRequest)) + return srv.(NullVolumeServiceServer).StatsNullVolume(ctx, req.(*StatsNullVolumeRequest)) } return interceptor(ctx, in, info, handler) } @@ -1159,8 +1148,8 @@ var _NullVolumeService_serviceDesc = grpc.ServiceDesc{ Handler: _NullVolumeService_GetNullVolume_Handler, }, { - MethodName: "NullVolumeStats", - Handler: _NullVolumeService_NullVolumeStats_Handler, + MethodName: "StatsNullVolume", + Handler: _NullVolumeService_StatsNullVolume_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go b/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go index ea9bfb69..a536623e 100644 --- a/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go +++ b/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go @@ -311,6 +311,8 @@ type NvmePath struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // 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 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ControllerNameRef string `protobuf:"bytes,2,opt,name=controller_name_ref,json=controllerNameRef,proto3" json:"controller_name_ref,omitempty"` @@ -437,6 +439,8 @@ type NvmeRemoteNamespace struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // 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 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // controller through which the namespace is visible @@ -531,8 +535,8 @@ type CreateNvmeRemoteControllerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NvmeRemoteController *NvmeRemoteController `protobuf:"bytes,2,opt,name=nvme_remote_controller,json=nvmeRemoteController,proto3" json:"nvme_remote_controller,omitempty"` - NvmeRemoteControllerId string `protobuf:"bytes,3,opt,name=nvme_remote_controller_id,json=nvmeRemoteControllerId,proto3" json:"nvme_remote_controller_id,omitempty"` + NvmeRemoteController *NvmeRemoteController `protobuf:"bytes,1,opt,name=nvme_remote_controller,json=nvmeRemoteController,proto3" json:"nvme_remote_controller,omitempty"` + NvmeRemoteControllerId string `protobuf:"bytes,2,opt,name=nvme_remote_controller_id,json=nvmeRemoteControllerId,proto3" json:"nvme_remote_controller_id,omitempty"` } func (x *CreateNvmeRemoteControllerRequest) Reset() { @@ -586,7 +590,6 @@ type DeleteNvmeRemoteControllerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // object's unique identifier Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If set to true, and the resource is not found, the request will succeed // but no action will be taken on the server @@ -829,7 +832,6 @@ type GetNvmeRemoteControllerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // object's unique identifier Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } @@ -872,17 +874,16 @@ func (x *GetNvmeRemoteControllerRequest) GetName() string { return "" } -type NvmeRemoteControllerResetRequest struct { +type ResetNvmeRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // object's unique identifier Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NvmeRemoteControllerResetRequest) Reset() { - *x = NvmeRemoteControllerResetRequest{} +func (x *ResetNvmeRemoteControllerRequest) Reset() { + *x = ResetNvmeRemoteControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -890,13 +891,13 @@ func (x *NvmeRemoteControllerResetRequest) Reset() { } } -func (x *NvmeRemoteControllerResetRequest) String() string { +func (x *ResetNvmeRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeRemoteControllerResetRequest) ProtoMessage() {} +func (*ResetNvmeRemoteControllerRequest) ProtoMessage() {} -func (x *NvmeRemoteControllerResetRequest) ProtoReflect() protoreflect.Message { +func (x *ResetNvmeRemoteControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -908,29 +909,28 @@ func (x *NvmeRemoteControllerResetRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeRemoteControllerResetRequest.ProtoReflect.Descriptor instead. -func (*NvmeRemoteControllerResetRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ResetNvmeRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*ResetNvmeRemoteControllerRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{9} } -func (x *NvmeRemoteControllerResetRequest) GetName() string { +func (x *ResetNvmeRemoteControllerRequest) GetName() string { if x != nil { return x.Name } return "" } -type NvmeRemoteControllerStatsRequest struct { +type StatsNvmeRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // object's unique identifier Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NvmeRemoteControllerStatsRequest) Reset() { - *x = NvmeRemoteControllerStatsRequest{} +func (x *StatsNvmeRemoteControllerRequest) Reset() { + *x = StatsNvmeRemoteControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -938,13 +938,13 @@ func (x *NvmeRemoteControllerStatsRequest) Reset() { } } -func (x *NvmeRemoteControllerStatsRequest) String() string { +func (x *StatsNvmeRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeRemoteControllerStatsRequest) ProtoMessage() {} +func (*StatsNvmeRemoteControllerRequest) ProtoMessage() {} -func (x *NvmeRemoteControllerStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeRemoteControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -956,19 +956,19 @@ func (x *NvmeRemoteControllerStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeRemoteControllerStatsRequest.ProtoReflect.Descriptor instead. -func (*NvmeRemoteControllerStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*StatsNvmeRemoteControllerRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{10} } -func (x *NvmeRemoteControllerStatsRequest) GetName() string { +func (x *StatsNvmeRemoteControllerRequest) GetName() string { if x != nil { return x.Name } return "" } -type NvmeRemoteControllerStatsResponse struct { +type StatsNvmeRemoteControllerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -976,8 +976,8 @@ type NvmeRemoteControllerStatsResponse struct { Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *NvmeRemoteControllerStatsResponse) Reset() { - *x = NvmeRemoteControllerStatsResponse{} +func (x *StatsNvmeRemoteControllerResponse) Reset() { + *x = StatsNvmeRemoteControllerResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -985,13 +985,13 @@ func (x *NvmeRemoteControllerStatsResponse) Reset() { } } -func (x *NvmeRemoteControllerStatsResponse) String() string { +func (x *StatsNvmeRemoteControllerResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeRemoteControllerStatsResponse) ProtoMessage() {} +func (*StatsNvmeRemoteControllerResponse) ProtoMessage() {} -func (x *NvmeRemoteControllerStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeRemoteControllerResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1003,12 +1003,12 @@ func (x *NvmeRemoteControllerStatsResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use NvmeRemoteControllerStatsResponse.ProtoReflect.Descriptor instead. -func (*NvmeRemoteControllerStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeRemoteControllerResponse.ProtoReflect.Descriptor instead. +func (*StatsNvmeRemoteControllerResponse) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{11} } -func (x *NvmeRemoteControllerStatsResponse) GetStats() *VolumeStats { +func (x *StatsNvmeRemoteControllerResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -1438,7 +1438,6 @@ type GetNvmePathRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // object's unique identifier Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } @@ -1481,17 +1480,16 @@ func (x *GetNvmePathRequest) GetName() string { return "" } -type NvmePathStatsRequest struct { +type StatsNvmePathRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // object's unique identifier Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NvmePathStatsRequest) Reset() { - *x = NvmePathStatsRequest{} +func (x *StatsNvmePathRequest) Reset() { + *x = StatsNvmePathRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1499,13 +1497,13 @@ func (x *NvmePathStatsRequest) Reset() { } } -func (x *NvmePathStatsRequest) String() string { +func (x *StatsNvmePathRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmePathStatsRequest) ProtoMessage() {} +func (*StatsNvmePathRequest) ProtoMessage() {} -func (x *NvmePathStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsNvmePathRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1517,19 +1515,19 @@ func (x *NvmePathStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmePathStatsRequest.ProtoReflect.Descriptor instead. -func (*NvmePathStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmePathRequest.ProtoReflect.Descriptor instead. +func (*StatsNvmePathRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{20} } -func (x *NvmePathStatsRequest) GetName() string { +func (x *StatsNvmePathRequest) GetName() string { if x != nil { return x.Name } return "" } -type NvmePathStatsResponse struct { +type StatsNvmePathResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1537,8 +1535,8 @@ type NvmePathStatsResponse struct { Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *NvmePathStatsResponse) Reset() { - *x = NvmePathStatsResponse{} +func (x *StatsNvmePathResponse) Reset() { + *x = StatsNvmePathResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1546,13 +1544,13 @@ func (x *NvmePathStatsResponse) Reset() { } } -func (x *NvmePathStatsResponse) String() string { +func (x *StatsNvmePathResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmePathStatsResponse) ProtoMessage() {} +func (*StatsNvmePathResponse) ProtoMessage() {} -func (x *NvmePathStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsNvmePathResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1564,12 +1562,12 @@ func (x *NvmePathStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmePathStatsResponse.ProtoReflect.Descriptor instead. -func (*NvmePathStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmePathResponse.ProtoReflect.Descriptor instead. +func (*StatsNvmePathResponse) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{21} } -func (x *NvmePathStatsResponse) GetStats() *VolumeStats { +func (x *StatsNvmePathResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -1594,363 +1592,393 @@ var file_backend_nvme_tcp_proto_rawDesc = []byte{ 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6f, 0x70, 0x69, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x02, 0x0a, 0x14, + 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x02, 0x0a, 0x14, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x67, 0x73, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x68, 0x64, 0x67, 0x73, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, - 0x64, 0x67, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, - 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x52, 0x09, 0x6d, 0x75, 0x6c, 0x74, - 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6f, 0x5f, 0x71, 0x75, 0x65, 0x75, - 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x69, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x70, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x73, 0x6b, 0x3a, 0x42, - 0xea, 0x41, 0x3f, 0x0a, 0x2b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, - 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, 0x65, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x7d, 0x22, 0xb4, 0x03, 0x0a, 0x08, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x66, 0x12, 0x3d, 0x0a, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x74, 0x72, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, - 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x73, - 0x76, 0x63, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x72, 0x73, 0x76, - 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x72, 0x61, 0x64, 0x64, 0x72, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x73, 0x76, 0x63, - 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x54, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, - 0x71, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, - 0x6e, 0x3a, 0x36, 0xea, 0x41, 0x33, 0x0a, 0x1f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, - 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x89, 0x02, 0x0a, 0x13, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x67, 0x75, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x67, 0x75, 0x69, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x75, 0x69, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x65, 0x75, 0x69, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, - 0x69, 0x64, 0x3a, 0x41, 0xea, 0x41, 0x3e, 0x0a, 0x2a, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x68, 0x64, 0x67, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x68, 0x64, 0x67, + 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x6d, 0x75, 0x6c, 0x74, + 0x69, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x52, 0x09, + 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6f, 0x5f, + 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x10, 0x0a, 0x03, 0x70, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, + 0x73, 0x6b, 0x3a, 0x42, 0xea, 0x41, 0x3f, 0x0a, 0x2b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, - 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xc3, 0x01, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x16, 0x6e, - 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, + 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x8d, 0x04, 0x0a, 0x08, 0x4e, 0x76, 0x6d, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x26, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x6e, 0x76, 0x6d, 0x65, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x12, 0x39, 0x0a, 0x19, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, 0x21, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x5f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, + 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x11, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, + 0x12, 0x3d, 0x0a, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x3d, 0x0a, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, 0x6d, 0x12, 0x16, + 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x25, 0x0a, + 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x72, 0x73, + 0x76, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x3a, 0x36, + 0xea, 0x41, 0x33, 0x0a, 0x1f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xed, 0x02, 0x0a, 0x13, 0x4e, 0x76, 0x6d, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x45, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, + 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xe5, 0x01, 0x0a, 0x21, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x5e, 0x0a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x14, 0x6e, 0x76, 0x6d, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, + 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x67, 0x75, 0x69, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x75, 0x69, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x65, 0x75, 0x69, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, + 0x75, 0x69, 0x64, 0x3a, 0x41, 0xea, 0x41, 0x3e, 0x0a, 0x2a, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xc3, 0x01, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x16, + 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x6e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, - 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, - 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, - 0x69, 0x6e, 0x67, 0x22, 0xa7, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, - 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xad, 0x01, - 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x15, - 0x6e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, - 0x1e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, - 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x20, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x20, + 0x72, 0x12, 0x39, 0x0a, 0x19, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, + 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xe5, 0x01, 0x0a, + 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x14, 0x6e, 0x76, + 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, + 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, + 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, + 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x22, 0xa7, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xad, + 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x15, 0x6e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x20, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4e, 0x76, + 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, + 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x67, + 0x0a, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x21, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x21, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x22, 0xa5, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6f, 0x70, + 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa9, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, - 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, - 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x14, 0x6e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, - 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x79, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, - 0x09, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x42, 0x03, - 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, - 0x0c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x49, 0x64, 0x22, - 0x75, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, - 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb4, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, + 0x26, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa9, 0x01, 0x0a, 0x20, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5d, 0x0a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x14, 0x6e, 0x76, 0x6d, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x79, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x39, 0x0a, 0x09, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x12, 0x3e, 0x0a, 0x09, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x52, 0x08, 0x6e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3b, 0x0a, 0x0b, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x8f, 0x01, - 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, - 0x7c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x76, 0x6d, 0x65, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, + 0x68, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x49, 0x64, 0x22, 0x75, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x1d, 0x0a, 0x1b, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb4, 0x01, 0x0a, 0x15, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x52, 0x08, 0x6e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3b, + 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, + 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x22, 0x8f, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x1d, 0x0a, 0x1b, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x22, 0x7c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, + 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, + 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x09, 0x6e, + 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0x4d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x4f, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x09, 0x6e, 0x76, 0x6d, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4d, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, - 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x14, - 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x15, 0x4e, 0x76, 0x6d, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2a, 0xb4, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, - 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, - 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, - 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, - 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x50, 0x43, 0x49, - 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, - 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x44, 0x4d, 0x41, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, - 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, - 0x43, 0x50, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, - 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x05, 0x2a, - 0xa8, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, - 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, - 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x4d, 0x49, 0x4c, 0x59, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, - 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x34, 0x10, 0x01, - 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, - 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, - 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x42, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x56, - 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x46, 0x43, 0x10, 0x04, 0x12, 0x1a, - 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x4e, - 0x54, 0x52, 0x41, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x05, 0x2a, 0x86, 0x01, 0x0a, 0x0d, 0x4e, - 0x76, 0x6d, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1e, 0x0a, 0x1a, - 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, - 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x44, - 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x56, 0x4d, 0x45, - 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x4f, - 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, - 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, - 0x48, 0x10, 0x03, 0x32, 0xe3, 0x11, 0x0a, 0x1b, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0xdd, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x22, 0x5e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x0b, 0x2f, 0x76, 0x31, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0xda, 0x41, 0x30, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x12, 0x9d, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, - 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0xf0, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x22, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x32, 0x2c, 0x2f, 0x76, 0x31, - 0x2f, 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, + 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x4e, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x2a, 0xb4, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, + 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, + 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4e, + 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x43, + 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, + 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x50, 0x43, 0x49, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4e, + 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x44, + 0x4d, 0x41, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, + 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x43, 0x50, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, + 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, + 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x05, 0x2a, 0xa8, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, 0x65, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x23, 0x0a, + 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, + 0x4d, 0x49, 0x4c, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, + 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x34, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x45, + 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x12, + 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x42, + 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, + 0x4d, 0x5f, 0x46, 0x43, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, + 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x41, 0x5f, 0x48, 0x4f, 0x53, 0x54, + 0x10, 0x05, 0x2a, 0x86, 0x01, 0x0a, 0x0d, 0x4e, 0x76, 0x6d, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x1e, 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, + 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, + 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, + 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, + 0x54, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1c, 0x0a, + 0x18, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, + 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x10, 0x03, 0x32, 0xeb, 0x12, 0x0a, 0x1b, + 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xdd, 0x01, 0x0a, 0x1a, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5e, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x25, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, + 0x3a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x30, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0xda, 0x41, 0x22, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xb2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, - 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x73, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, + 0x72, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, 0x9e, 0x01, 0x0a, 0x1a, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa9, 0x01, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x24, 0x2a, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xf0, 0x01, 0x0a, + 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, - 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, - 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6b, 0x0a, 0x19, 0x4e, 0x76, 0x6d, 0x65, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x65, 0x74, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x19, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, - 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0xaf, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x33, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x71, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x46, 0x32, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0x3a, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x22, 0x6e, 0x76, 0x6d, + 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, + 0xb2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x34, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, - 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x12, 0x92, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, + 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x12, 0xaa, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x12, 0x32, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x31, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0xa5, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, + 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3a, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x73, 0x65, 0x74, 0x3a, + 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc1, 0x01, 0x0a, 0x19, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, + 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, + 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xaf, 0x01, + 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, + 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, + 0x92, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, + 0x74, 0x68, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, + 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x37, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x18, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, + 0x3a, 0x09, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0xda, 0x41, 0x16, 0x6e, 0x76, + 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x5f, 0x69, 0x64, 0x12, 0x7a, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, - 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x09, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0xda, - 0x41, 0x16, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x2c, 0x6e, 0x76, 0x6d, 0x65, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x12, 0x85, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x29, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x18, 0x2a, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, + 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa5, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, @@ -1970,22 +1998,24 @@ var file_backend_nvme_tcp_proto_rawDesc = []byte{ 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, - 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x85, 0x01, 0x0a, 0x0b, 0x47, 0x65, - 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, - 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x66, 0x0a, 0x0d, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x12, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x62, 0x0a, 0x12, 0x6f, 0x70, 0x69, + 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x7a, 0x0a, 0x0b, 0x47, 0x65, 0x74, + 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x25, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, + 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, + 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x62, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, @@ -2022,9 +2052,9 @@ var file_backend_nvme_tcp_proto_goTypes = []interface{}{ (*ListNvmeRemoteControllersRequest)(nil), // 9: opi_api.storage.v1.ListNvmeRemoteControllersRequest (*ListNvmeRemoteControllersResponse)(nil), // 10: opi_api.storage.v1.ListNvmeRemoteControllersResponse (*GetNvmeRemoteControllerRequest)(nil), // 11: opi_api.storage.v1.GetNvmeRemoteControllerRequest - (*NvmeRemoteControllerResetRequest)(nil), // 12: opi_api.storage.v1.NvmeRemoteControllerResetRequest - (*NvmeRemoteControllerStatsRequest)(nil), // 13: opi_api.storage.v1.NvmeRemoteControllerStatsRequest - (*NvmeRemoteControllerStatsResponse)(nil), // 14: opi_api.storage.v1.NvmeRemoteControllerStatsResponse + (*ResetNvmeRemoteControllerRequest)(nil), // 12: opi_api.storage.v1.ResetNvmeRemoteControllerRequest + (*StatsNvmeRemoteControllerRequest)(nil), // 13: opi_api.storage.v1.StatsNvmeRemoteControllerRequest + (*StatsNvmeRemoteControllerResponse)(nil), // 14: opi_api.storage.v1.StatsNvmeRemoteControllerResponse (*ListNvmeRemoteNamespacesRequest)(nil), // 15: opi_api.storage.v1.ListNvmeRemoteNamespacesRequest (*ListNvmeRemoteNamespacesResponse)(nil), // 16: opi_api.storage.v1.ListNvmeRemoteNamespacesResponse (*CreateNvmePathRequest)(nil), // 17: opi_api.storage.v1.CreateNvmePathRequest @@ -2033,8 +2063,8 @@ var file_backend_nvme_tcp_proto_goTypes = []interface{}{ (*ListNvmePathsRequest)(nil), // 20: opi_api.storage.v1.ListNvmePathsRequest (*ListNvmePathsResponse)(nil), // 21: opi_api.storage.v1.ListNvmePathsResponse (*GetNvmePathRequest)(nil), // 22: opi_api.storage.v1.GetNvmePathRequest - (*NvmePathStatsRequest)(nil), // 23: opi_api.storage.v1.NvmePathStatsRequest - (*NvmePathStatsResponse)(nil), // 24: opi_api.storage.v1.NvmePathStatsResponse + (*StatsNvmePathRequest)(nil), // 23: opi_api.storage.v1.StatsNvmePathRequest + (*StatsNvmePathResponse)(nil), // 24: opi_api.storage.v1.StatsNvmePathResponse (*_go.Uuid)(nil), // 25: opi_api.common.v1.Uuid (*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask (*VolumeStats)(nil), // 27: opi_api.storage.v1.VolumeStats @@ -2049,41 +2079,41 @@ var file_backend_nvme_tcp_proto_depIdxs = []int32{ 3, // 5: opi_api.storage.v1.UpdateNvmeRemoteControllerRequest.nvme_remote_controller:type_name -> opi_api.storage.v1.NvmeRemoteController 26, // 6: opi_api.storage.v1.UpdateNvmeRemoteControllerRequest.update_mask:type_name -> google.protobuf.FieldMask 3, // 7: opi_api.storage.v1.ListNvmeRemoteControllersResponse.nvme_remote_controllers:type_name -> opi_api.storage.v1.NvmeRemoteController - 27, // 8: opi_api.storage.v1.NvmeRemoteControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 27, // 8: opi_api.storage.v1.StatsNvmeRemoteControllerResponse.stats:type_name -> opi_api.storage.v1.VolumeStats 5, // 9: opi_api.storage.v1.ListNvmeRemoteNamespacesResponse.nvme_remote_namespaces:type_name -> opi_api.storage.v1.NvmeRemoteNamespace 4, // 10: opi_api.storage.v1.CreateNvmePathRequest.nvme_path:type_name -> opi_api.storage.v1.NvmePath 4, // 11: opi_api.storage.v1.UpdateNvmePathRequest.nvme_path:type_name -> opi_api.storage.v1.NvmePath 26, // 12: opi_api.storage.v1.UpdateNvmePathRequest.update_mask:type_name -> google.protobuf.FieldMask 4, // 13: opi_api.storage.v1.ListNvmePathsResponse.nvme_paths:type_name -> opi_api.storage.v1.NvmePath - 27, // 14: opi_api.storage.v1.NvmePathStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 27, // 14: opi_api.storage.v1.StatsNvmePathResponse.stats:type_name -> opi_api.storage.v1.VolumeStats 6, // 15: opi_api.storage.v1.NvmeRemoteControllerService.CreateNvmeRemoteController:input_type -> opi_api.storage.v1.CreateNvmeRemoteControllerRequest 7, // 16: opi_api.storage.v1.NvmeRemoteControllerService.DeleteNvmeRemoteController:input_type -> opi_api.storage.v1.DeleteNvmeRemoteControllerRequest 8, // 17: opi_api.storage.v1.NvmeRemoteControllerService.UpdateNvmeRemoteController:input_type -> opi_api.storage.v1.UpdateNvmeRemoteControllerRequest 9, // 18: opi_api.storage.v1.NvmeRemoteControllerService.ListNvmeRemoteControllers:input_type -> opi_api.storage.v1.ListNvmeRemoteControllersRequest 11, // 19: opi_api.storage.v1.NvmeRemoteControllerService.GetNvmeRemoteController:input_type -> opi_api.storage.v1.GetNvmeRemoteControllerRequest - 12, // 20: opi_api.storage.v1.NvmeRemoteControllerService.NvmeRemoteControllerReset:input_type -> opi_api.storage.v1.NvmeRemoteControllerResetRequest - 13, // 21: opi_api.storage.v1.NvmeRemoteControllerService.NvmeRemoteControllerStats:input_type -> opi_api.storage.v1.NvmeRemoteControllerStatsRequest + 12, // 20: opi_api.storage.v1.NvmeRemoteControllerService.ResetNvmeRemoteController:input_type -> opi_api.storage.v1.ResetNvmeRemoteControllerRequest + 13, // 21: opi_api.storage.v1.NvmeRemoteControllerService.StatsNvmeRemoteController:input_type -> opi_api.storage.v1.StatsNvmeRemoteControllerRequest 15, // 22: opi_api.storage.v1.NvmeRemoteControllerService.ListNvmeRemoteNamespaces:input_type -> opi_api.storage.v1.ListNvmeRemoteNamespacesRequest 17, // 23: opi_api.storage.v1.NvmeRemoteControllerService.CreateNvmePath:input_type -> opi_api.storage.v1.CreateNvmePathRequest 18, // 24: opi_api.storage.v1.NvmeRemoteControllerService.DeleteNvmePath:input_type -> opi_api.storage.v1.DeleteNvmePathRequest 19, // 25: opi_api.storage.v1.NvmeRemoteControllerService.UpdateNvmePath:input_type -> opi_api.storage.v1.UpdateNvmePathRequest 20, // 26: opi_api.storage.v1.NvmeRemoteControllerService.ListNvmePaths:input_type -> opi_api.storage.v1.ListNvmePathsRequest 22, // 27: opi_api.storage.v1.NvmeRemoteControllerService.GetNvmePath:input_type -> opi_api.storage.v1.GetNvmePathRequest - 23, // 28: opi_api.storage.v1.NvmeRemoteControllerService.NvmePathStats:input_type -> opi_api.storage.v1.NvmePathStatsRequest + 23, // 28: opi_api.storage.v1.NvmeRemoteControllerService.StatsNvmePath:input_type -> opi_api.storage.v1.StatsNvmePathRequest 3, // 29: opi_api.storage.v1.NvmeRemoteControllerService.CreateNvmeRemoteController:output_type -> opi_api.storage.v1.NvmeRemoteController 28, // 30: opi_api.storage.v1.NvmeRemoteControllerService.DeleteNvmeRemoteController:output_type -> google.protobuf.Empty 3, // 31: opi_api.storage.v1.NvmeRemoteControllerService.UpdateNvmeRemoteController:output_type -> opi_api.storage.v1.NvmeRemoteController 10, // 32: opi_api.storage.v1.NvmeRemoteControllerService.ListNvmeRemoteControllers:output_type -> opi_api.storage.v1.ListNvmeRemoteControllersResponse 3, // 33: opi_api.storage.v1.NvmeRemoteControllerService.GetNvmeRemoteController:output_type -> opi_api.storage.v1.NvmeRemoteController - 28, // 34: opi_api.storage.v1.NvmeRemoteControllerService.NvmeRemoteControllerReset:output_type -> google.protobuf.Empty - 14, // 35: opi_api.storage.v1.NvmeRemoteControllerService.NvmeRemoteControllerStats:output_type -> opi_api.storage.v1.NvmeRemoteControllerStatsResponse + 28, // 34: opi_api.storage.v1.NvmeRemoteControllerService.ResetNvmeRemoteController:output_type -> google.protobuf.Empty + 14, // 35: opi_api.storage.v1.NvmeRemoteControllerService.StatsNvmeRemoteController:output_type -> opi_api.storage.v1.StatsNvmeRemoteControllerResponse 16, // 36: opi_api.storage.v1.NvmeRemoteControllerService.ListNvmeRemoteNamespaces:output_type -> opi_api.storage.v1.ListNvmeRemoteNamespacesResponse 4, // 37: opi_api.storage.v1.NvmeRemoteControllerService.CreateNvmePath:output_type -> opi_api.storage.v1.NvmePath 28, // 38: opi_api.storage.v1.NvmeRemoteControllerService.DeleteNvmePath:output_type -> google.protobuf.Empty 4, // 39: opi_api.storage.v1.NvmeRemoteControllerService.UpdateNvmePath:output_type -> opi_api.storage.v1.NvmePath 21, // 40: opi_api.storage.v1.NvmeRemoteControllerService.ListNvmePaths:output_type -> opi_api.storage.v1.ListNvmePathsResponse 4, // 41: opi_api.storage.v1.NvmeRemoteControllerService.GetNvmePath:output_type -> opi_api.storage.v1.NvmePath - 24, // 42: opi_api.storage.v1.NvmeRemoteControllerService.NvmePathStats:output_type -> opi_api.storage.v1.NvmePathStatsResponse + 24, // 42: opi_api.storage.v1.NvmeRemoteControllerService.StatsNvmePath:output_type -> opi_api.storage.v1.StatsNvmePathResponse 29, // [29:43] is the sub-list for method output_type 15, // [15:29] is the sub-list for method input_type 15, // [15:15] is the sub-list for extension type_name @@ -2207,7 +2237,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeRemoteControllerResetRequest); i { + switch v := v.(*ResetNvmeRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -2219,7 +2249,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeRemoteControllerStatsRequest); i { + switch v := v.(*StatsNvmeRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -2231,7 +2261,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeRemoteControllerStatsResponse); i { + switch v := v.(*StatsNvmeRemoteControllerResponse); i { case 0: return &v.state case 1: @@ -2339,7 +2369,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmePathStatsRequest); i { + switch v := v.(*StatsNvmePathRequest); i { case 0: return &v.state case 1: @@ -2351,7 +2381,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmePathStatsResponse); i { + switch v := v.(*StatsNvmePathResponse); i { case 0: return &v.state case 1: @@ -2401,15 +2431,15 @@ type NvmeRemoteControllerServiceClient interface { UpdateNvmeRemoteController(ctx context.Context, in *UpdateNvmeRemoteControllerRequest, opts ...grpc.CallOption) (*NvmeRemoteController, error) ListNvmeRemoteControllers(ctx context.Context, in *ListNvmeRemoteControllersRequest, opts ...grpc.CallOption) (*ListNvmeRemoteControllersResponse, error) GetNvmeRemoteController(ctx context.Context, in *GetNvmeRemoteControllerRequest, opts ...grpc.CallOption) (*NvmeRemoteController, error) - NvmeRemoteControllerReset(ctx context.Context, in *NvmeRemoteControllerResetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - NvmeRemoteControllerStats(ctx context.Context, in *NvmeRemoteControllerStatsRequest, opts ...grpc.CallOption) (*NvmeRemoteControllerStatsResponse, error) + ResetNvmeRemoteController(ctx context.Context, in *ResetNvmeRemoteControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + StatsNvmeRemoteController(ctx context.Context, in *StatsNvmeRemoteControllerRequest, opts ...grpc.CallOption) (*StatsNvmeRemoteControllerResponse, error) ListNvmeRemoteNamespaces(ctx context.Context, in *ListNvmeRemoteNamespacesRequest, opts ...grpc.CallOption) (*ListNvmeRemoteNamespacesResponse, error) CreateNvmePath(ctx context.Context, in *CreateNvmePathRequest, opts ...grpc.CallOption) (*NvmePath, error) DeleteNvmePath(ctx context.Context, in *DeleteNvmePathRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateNvmePath(ctx context.Context, in *UpdateNvmePathRequest, opts ...grpc.CallOption) (*NvmePath, error) ListNvmePaths(ctx context.Context, in *ListNvmePathsRequest, opts ...grpc.CallOption) (*ListNvmePathsResponse, error) GetNvmePath(ctx context.Context, in *GetNvmePathRequest, opts ...grpc.CallOption) (*NvmePath, error) - NvmePathStats(ctx context.Context, in *NvmePathStatsRequest, opts ...grpc.CallOption) (*NvmePathStatsResponse, error) + StatsNvmePath(ctx context.Context, in *StatsNvmePathRequest, opts ...grpc.CallOption) (*StatsNvmePathResponse, error) } type nvmeRemoteControllerServiceClient struct { @@ -2465,18 +2495,18 @@ func (c *nvmeRemoteControllerServiceClient) GetNvmeRemoteController(ctx context. return out, nil } -func (c *nvmeRemoteControllerServiceClient) NvmeRemoteControllerReset(ctx context.Context, in *NvmeRemoteControllerResetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *nvmeRemoteControllerServiceClient) ResetNvmeRemoteController(ctx context.Context, in *ResetNvmeRemoteControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerReset", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NvmeRemoteControllerService/ResetNvmeRemoteController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nvmeRemoteControllerServiceClient) NvmeRemoteControllerStats(ctx context.Context, in *NvmeRemoteControllerStatsRequest, opts ...grpc.CallOption) (*NvmeRemoteControllerStatsResponse, error) { - out := new(NvmeRemoteControllerStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerStats", in, out, opts...) +func (c *nvmeRemoteControllerServiceClient) StatsNvmeRemoteController(ctx context.Context, in *StatsNvmeRemoteControllerRequest, opts ...grpc.CallOption) (*StatsNvmeRemoteControllerResponse, error) { + out := new(StatsNvmeRemoteControllerResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmeRemoteController", in, out, opts...) if err != nil { return nil, err } @@ -2537,9 +2567,9 @@ func (c *nvmeRemoteControllerServiceClient) GetNvmePath(ctx context.Context, in return out, nil } -func (c *nvmeRemoteControllerServiceClient) NvmePathStats(ctx context.Context, in *NvmePathStatsRequest, opts ...grpc.CallOption) (*NvmePathStatsResponse, error) { - out := new(NvmePathStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NvmeRemoteControllerService/NvmePathStats", in, out, opts...) +func (c *nvmeRemoteControllerServiceClient) StatsNvmePath(ctx context.Context, in *StatsNvmePathRequest, opts ...grpc.CallOption) (*StatsNvmePathResponse, error) { + out := new(StatsNvmePathResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmePath", in, out, opts...) if err != nil { return nil, err } @@ -2553,15 +2583,15 @@ type NvmeRemoteControllerServiceServer interface { UpdateNvmeRemoteController(context.Context, *UpdateNvmeRemoteControllerRequest) (*NvmeRemoteController, error) ListNvmeRemoteControllers(context.Context, *ListNvmeRemoteControllersRequest) (*ListNvmeRemoteControllersResponse, error) GetNvmeRemoteController(context.Context, *GetNvmeRemoteControllerRequest) (*NvmeRemoteController, error) - NvmeRemoteControllerReset(context.Context, *NvmeRemoteControllerResetRequest) (*emptypb.Empty, error) - NvmeRemoteControllerStats(context.Context, *NvmeRemoteControllerStatsRequest) (*NvmeRemoteControllerStatsResponse, error) + ResetNvmeRemoteController(context.Context, *ResetNvmeRemoteControllerRequest) (*emptypb.Empty, error) + StatsNvmeRemoteController(context.Context, *StatsNvmeRemoteControllerRequest) (*StatsNvmeRemoteControllerResponse, error) ListNvmeRemoteNamespaces(context.Context, *ListNvmeRemoteNamespacesRequest) (*ListNvmeRemoteNamespacesResponse, error) CreateNvmePath(context.Context, *CreateNvmePathRequest) (*NvmePath, error) DeleteNvmePath(context.Context, *DeleteNvmePathRequest) (*emptypb.Empty, error) UpdateNvmePath(context.Context, *UpdateNvmePathRequest) (*NvmePath, error) ListNvmePaths(context.Context, *ListNvmePathsRequest) (*ListNvmePathsResponse, error) GetNvmePath(context.Context, *GetNvmePathRequest) (*NvmePath, error) - NvmePathStats(context.Context, *NvmePathStatsRequest) (*NvmePathStatsResponse, error) + StatsNvmePath(context.Context, *StatsNvmePathRequest) (*StatsNvmePathResponse, error) } // UnimplementedNvmeRemoteControllerServiceServer can be embedded to have forward compatible implementations. @@ -2583,11 +2613,11 @@ func (*UnimplementedNvmeRemoteControllerServiceServer) ListNvmeRemoteControllers func (*UnimplementedNvmeRemoteControllerServiceServer) GetNvmeRemoteController(context.Context, *GetNvmeRemoteControllerRequest) (*NvmeRemoteController, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNvmeRemoteController not implemented") } -func (*UnimplementedNvmeRemoteControllerServiceServer) NvmeRemoteControllerReset(context.Context, *NvmeRemoteControllerResetRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method NvmeRemoteControllerReset not implemented") +func (*UnimplementedNvmeRemoteControllerServiceServer) ResetNvmeRemoteController(context.Context, *ResetNvmeRemoteControllerRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResetNvmeRemoteController not implemented") } -func (*UnimplementedNvmeRemoteControllerServiceServer) NvmeRemoteControllerStats(context.Context, *NvmeRemoteControllerStatsRequest) (*NvmeRemoteControllerStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NvmeRemoteControllerStats not implemented") +func (*UnimplementedNvmeRemoteControllerServiceServer) StatsNvmeRemoteController(context.Context, *StatsNvmeRemoteControllerRequest) (*StatsNvmeRemoteControllerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsNvmeRemoteController not implemented") } func (*UnimplementedNvmeRemoteControllerServiceServer) ListNvmeRemoteNamespaces(context.Context, *ListNvmeRemoteNamespacesRequest) (*ListNvmeRemoteNamespacesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListNvmeRemoteNamespaces not implemented") @@ -2607,8 +2637,8 @@ func (*UnimplementedNvmeRemoteControllerServiceServer) ListNvmePaths(context.Con func (*UnimplementedNvmeRemoteControllerServiceServer) GetNvmePath(context.Context, *GetNvmePathRequest) (*NvmePath, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNvmePath not implemented") } -func (*UnimplementedNvmeRemoteControllerServiceServer) NvmePathStats(context.Context, *NvmePathStatsRequest) (*NvmePathStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NvmePathStats not implemented") +func (*UnimplementedNvmeRemoteControllerServiceServer) StatsNvmePath(context.Context, *StatsNvmePathRequest) (*StatsNvmePathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsNvmePath not implemented") } func RegisterNvmeRemoteControllerServiceServer(s *grpc.Server, srv NvmeRemoteControllerServiceServer) { @@ -2705,38 +2735,38 @@ func _NvmeRemoteControllerService_GetNvmeRemoteController_Handler(srv interface{ return interceptor(ctx, in, info, handler) } -func _NvmeRemoteControllerService_NvmeRemoteControllerReset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NvmeRemoteControllerResetRequest) +func _NvmeRemoteControllerService_ResetNvmeRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResetNvmeRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NvmeRemoteControllerServiceServer).NvmeRemoteControllerReset(ctx, in) + return srv.(NvmeRemoteControllerServiceServer).ResetNvmeRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerReset", + FullMethod: "/opi_api.storage.v1.NvmeRemoteControllerService/ResetNvmeRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NvmeRemoteControllerServiceServer).NvmeRemoteControllerReset(ctx, req.(*NvmeRemoteControllerResetRequest)) + return srv.(NvmeRemoteControllerServiceServer).ResetNvmeRemoteController(ctx, req.(*ResetNvmeRemoteControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _NvmeRemoteControllerService_NvmeRemoteControllerStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NvmeRemoteControllerStatsRequest) +func _NvmeRemoteControllerService_StatsNvmeRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsNvmeRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NvmeRemoteControllerServiceServer).NvmeRemoteControllerStats(ctx, in) + return srv.(NvmeRemoteControllerServiceServer).StatsNvmeRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerStats", + FullMethod: "/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmeRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NvmeRemoteControllerServiceServer).NvmeRemoteControllerStats(ctx, req.(*NvmeRemoteControllerStatsRequest)) + return srv.(NvmeRemoteControllerServiceServer).StatsNvmeRemoteController(ctx, req.(*StatsNvmeRemoteControllerRequest)) } return interceptor(ctx, in, info, handler) } @@ -2849,20 +2879,20 @@ func _NvmeRemoteControllerService_GetNvmePath_Handler(srv interface{}, ctx conte return interceptor(ctx, in, info, handler) } -func _NvmeRemoteControllerService_NvmePathStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NvmePathStatsRequest) +func _NvmeRemoteControllerService_StatsNvmePath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsNvmePathRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NvmeRemoteControllerServiceServer).NvmePathStats(ctx, in) + return srv.(NvmeRemoteControllerServiceServer).StatsNvmePath(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NvmeRemoteControllerService/NvmePathStats", + FullMethod: "/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmePath", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NvmeRemoteControllerServiceServer).NvmePathStats(ctx, req.(*NvmePathStatsRequest)) + return srv.(NvmeRemoteControllerServiceServer).StatsNvmePath(ctx, req.(*StatsNvmePathRequest)) } return interceptor(ctx, in, info, handler) } @@ -2892,12 +2922,12 @@ var _NvmeRemoteControllerService_serviceDesc = grpc.ServiceDesc{ Handler: _NvmeRemoteControllerService_GetNvmeRemoteController_Handler, }, { - MethodName: "NvmeRemoteControllerReset", - Handler: _NvmeRemoteControllerService_NvmeRemoteControllerReset_Handler, + MethodName: "ResetNvmeRemoteController", + Handler: _NvmeRemoteControllerService_ResetNvmeRemoteController_Handler, }, { - MethodName: "NvmeRemoteControllerStats", - Handler: _NvmeRemoteControllerService_NvmeRemoteControllerStats_Handler, + MethodName: "StatsNvmeRemoteController", + Handler: _NvmeRemoteControllerService_StatsNvmeRemoteController_Handler, }, { MethodName: "ListNvmeRemoteNamespaces", @@ -2924,8 +2954,8 @@ var _NvmeRemoteControllerService_serviceDesc = grpc.ServiceDesc{ Handler: _NvmeRemoteControllerService_GetNvmePath_Handler, }, { - MethodName: "NvmePathStats", - Handler: _NvmeRemoteControllerService_NvmePathStats_Handler, + MethodName: "StatsNvmePath", + Handler: _NvmeRemoteControllerService_StatsNvmePath_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go b/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go index 91c6adc8..360411a4 100644 --- a/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go +++ b/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go @@ -823,8 +823,8 @@ type CreateNvmeSubsystemRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NvmeSubsystem *NvmeSubsystem `protobuf:"bytes,2,opt,name=nvme_subsystem,json=nvmeSubsystem,proto3" json:"nvme_subsystem,omitempty"` - NvmeSubsystemId string `protobuf:"bytes,3,opt,name=nvme_subsystem_id,json=nvmeSubsystemId,proto3" json:"nvme_subsystem_id,omitempty"` + NvmeSubsystem *NvmeSubsystem `protobuf:"bytes,1,opt,name=nvme_subsystem,json=nvmeSubsystem,proto3" json:"nvme_subsystem,omitempty"` + NvmeSubsystemId string `protobuf:"bytes,2,opt,name=nvme_subsystem_id,json=nvmeSubsystemId,proto3" json:"nvme_subsystem_id,omitempty"` } func (x *CreateNvmeSubsystemRequest) Reset() { @@ -1162,16 +1162,16 @@ func (x *GetNvmeSubsystemRequest) GetName() string { return "" } -type NvmeSubsystemStatsRequest struct { +type StatsNvmeSubsystemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SubsystemNameRef string `protobuf:"bytes,1,opt,name=subsystem_name_ref,json=subsystemNameRef,proto3" json:"subsystem_name_ref,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NvmeSubsystemStatsRequest) Reset() { - *x = NvmeSubsystemStatsRequest{} +func (x *StatsNvmeSubsystemRequest) Reset() { + *x = StatsNvmeSubsystemRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_nvme_pcie_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1179,13 +1179,13 @@ func (x *NvmeSubsystemStatsRequest) Reset() { } } -func (x *NvmeSubsystemStatsRequest) String() string { +func (x *StatsNvmeSubsystemRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeSubsystemStatsRequest) ProtoMessage() {} +func (*StatsNvmeSubsystemRequest) ProtoMessage() {} -func (x *NvmeSubsystemStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeSubsystemRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_nvme_pcie_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1197,19 +1197,19 @@ func (x *NvmeSubsystemStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeSubsystemStatsRequest.ProtoReflect.Descriptor instead. -func (*NvmeSubsystemStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeSubsystemRequest.ProtoReflect.Descriptor instead. +func (*StatsNvmeSubsystemRequest) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{15} } -func (x *NvmeSubsystemStatsRequest) GetSubsystemNameRef() string { +func (x *StatsNvmeSubsystemRequest) GetName() string { if x != nil { - return x.SubsystemNameRef + return x.Name } return "" } -type NvmeSubsystemStatsResponse struct { +type StatsNvmeSubsystemResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1217,8 +1217,8 @@ type NvmeSubsystemStatsResponse struct { Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *NvmeSubsystemStatsResponse) Reset() { - *x = NvmeSubsystemStatsResponse{} +func (x *StatsNvmeSubsystemResponse) Reset() { + *x = StatsNvmeSubsystemResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_nvme_pcie_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1226,13 +1226,13 @@ func (x *NvmeSubsystemStatsResponse) Reset() { } } -func (x *NvmeSubsystemStatsResponse) String() string { +func (x *StatsNvmeSubsystemResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeSubsystemStatsResponse) ProtoMessage() {} +func (*StatsNvmeSubsystemResponse) ProtoMessage() {} -func (x *NvmeSubsystemStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeSubsystemResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_nvme_pcie_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1244,12 +1244,12 @@ func (x *NvmeSubsystemStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeSubsystemStatsResponse.ProtoReflect.Descriptor instead. -func (*NvmeSubsystemStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeSubsystemResponse.ProtoReflect.Descriptor instead. +func (*StatsNvmeSubsystemResponse) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{16} } -func (x *NvmeSubsystemStatsResponse) GetStats() *VolumeStats { +func (x *StatsNvmeSubsystemResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -1261,8 +1261,8 @@ type CreateNvmeControllerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NvmeController *NvmeController `protobuf:"bytes,2,opt,name=nvme_controller,json=nvmeController,proto3" json:"nvme_controller,omitempty"` - NvmeControllerId string `protobuf:"bytes,3,opt,name=nvme_controller_id,json=nvmeControllerId,proto3" json:"nvme_controller_id,omitempty"` + NvmeController *NvmeController `protobuf:"bytes,1,opt,name=nvme_controller,json=nvmeController,proto3" json:"nvme_controller,omitempty"` + NvmeControllerId string `protobuf:"bytes,2,opt,name=nvme_controller_id,json=nvmeControllerId,proto3" json:"nvme_controller_id,omitempty"` } func (x *CreateNvmeControllerRequest) Reset() { @@ -1600,7 +1600,7 @@ func (x *GetNvmeControllerRequest) GetName() string { return "" } -type NvmeControllerStatsRequest struct { +type StatsNvmeControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1608,8 +1608,8 @@ type NvmeControllerStatsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NvmeControllerStatsRequest) Reset() { - *x = NvmeControllerStatsRequest{} +func (x *StatsNvmeControllerRequest) Reset() { + *x = StatsNvmeControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_nvme_pcie_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1617,13 +1617,13 @@ func (x *NvmeControllerStatsRequest) Reset() { } } -func (x *NvmeControllerStatsRequest) String() string { +func (x *StatsNvmeControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeControllerStatsRequest) ProtoMessage() {} +func (*StatsNvmeControllerRequest) ProtoMessage() {} -func (x *NvmeControllerStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_nvme_pcie_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1635,29 +1635,28 @@ func (x *NvmeControllerStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeControllerStatsRequest.ProtoReflect.Descriptor instead. -func (*NvmeControllerStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeControllerRequest.ProtoReflect.Descriptor instead. +func (*StatsNvmeControllerRequest) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{23} } -func (x *NvmeControllerStatsRequest) GetName() string { +func (x *StatsNvmeControllerRequest) GetName() string { if x != nil { return x.Name } return "" } -type NvmeControllerStatsResponse struct { +type StatsNvmeControllerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *NvmeControllerStatsResponse) Reset() { - *x = NvmeControllerStatsResponse{} +func (x *StatsNvmeControllerResponse) Reset() { + *x = StatsNvmeControllerResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_nvme_pcie_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1665,13 +1664,13 @@ func (x *NvmeControllerStatsResponse) Reset() { } } -func (x *NvmeControllerStatsResponse) String() string { +func (x *StatsNvmeControllerResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeControllerStatsResponse) ProtoMessage() {} +func (*StatsNvmeControllerResponse) ProtoMessage() {} -func (x *NvmeControllerStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeControllerResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_nvme_pcie_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1683,19 +1682,12 @@ func (x *NvmeControllerStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeControllerStatsResponse.ProtoReflect.Descriptor instead. -func (*NvmeControllerStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeControllerResponse.ProtoReflect.Descriptor instead. +func (*StatsNvmeControllerResponse) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{24} } -func (x *NvmeControllerStatsResponse) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *NvmeControllerStatsResponse) GetStats() *VolumeStats { +func (x *StatsNvmeControllerResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -1707,8 +1699,8 @@ type CreateNvmeNamespaceRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NvmeNamespace *NvmeNamespace `protobuf:"bytes,2,opt,name=nvme_namespace,json=nvmeNamespace,proto3" json:"nvme_namespace,omitempty"` - NvmeNamespaceId string `protobuf:"bytes,3,opt,name=nvme_namespace_id,json=nvmeNamespaceId,proto3" json:"nvme_namespace_id,omitempty"` + NvmeNamespace *NvmeNamespace `protobuf:"bytes,1,opt,name=nvme_namespace,json=nvmeNamespace,proto3" json:"nvme_namespace,omitempty"` + NvmeNamespaceId string `protobuf:"bytes,2,opt,name=nvme_namespace_id,json=nvmeNamespaceId,proto3" json:"nvme_namespace_id,omitempty"` } func (x *CreateNvmeNamespaceRequest) Reset() { @@ -2046,7 +2038,7 @@ func (x *GetNvmeNamespaceRequest) GetName() string { return "" } -type NvmeNamespaceStatsRequest struct { +type StatsNvmeNamespaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2054,8 +2046,8 @@ type NvmeNamespaceStatsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *NvmeNamespaceStatsRequest) Reset() { - *x = NvmeNamespaceStatsRequest{} +func (x *StatsNvmeNamespaceRequest) Reset() { + *x = StatsNvmeNamespaceRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_nvme_pcie_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2063,13 +2055,13 @@ func (x *NvmeNamespaceStatsRequest) Reset() { } } -func (x *NvmeNamespaceStatsRequest) String() string { +func (x *StatsNvmeNamespaceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeNamespaceStatsRequest) ProtoMessage() {} +func (*StatsNvmeNamespaceRequest) ProtoMessage() {} -func (x *NvmeNamespaceStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeNamespaceRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_nvme_pcie_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2081,29 +2073,28 @@ func (x *NvmeNamespaceStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeNamespaceStatsRequest.ProtoReflect.Descriptor instead. -func (*NvmeNamespaceStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeNamespaceRequest.ProtoReflect.Descriptor instead. +func (*StatsNvmeNamespaceRequest) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{31} } -func (x *NvmeNamespaceStatsRequest) GetName() string { +func (x *StatsNvmeNamespaceRequest) GetName() string { if x != nil { return x.Name } return "" } -type NvmeNamespaceStatsResponse struct { +type StatsNvmeNamespaceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *NvmeNamespaceStatsResponse) Reset() { - *x = NvmeNamespaceStatsResponse{} +func (x *StatsNvmeNamespaceResponse) Reset() { + *x = StatsNvmeNamespaceResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_nvme_pcie_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2111,13 +2102,13 @@ func (x *NvmeNamespaceStatsResponse) Reset() { } } -func (x *NvmeNamespaceStatsResponse) String() string { +func (x *StatsNvmeNamespaceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NvmeNamespaceStatsResponse) ProtoMessage() {} +func (*StatsNvmeNamespaceResponse) ProtoMessage() {} -func (x *NvmeNamespaceStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsNvmeNamespaceResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_nvme_pcie_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2129,19 +2120,12 @@ func (x *NvmeNamespaceStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NvmeNamespaceStatsResponse.ProtoReflect.Descriptor instead. -func (*NvmeNamespaceStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsNvmeNamespaceResponse.ProtoReflect.Descriptor instead. +func (*StatsNvmeNamespaceResponse) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{32} } -func (x *NvmeNamespaceStatsResponse) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *NvmeNamespaceStatsResponse) GetStats() *VolumeStats { +func (x *StatsNvmeNamespaceResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -2166,525 +2150,550 @@ var file_frontend_nvme_pcie_proto_rawDesc = []byte{ 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x01, + 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x02, 0x0a, 0x0d, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3f, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, + 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, + 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x39, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, - 0x3b, 0xea, 0x41, 0x38, 0x0a, 0x24, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, - 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, - 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x94, 0x01, 0x0a, - 0x11, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x70, - 0x65, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x71, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6e, 0x71, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, - 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x22, 0x5d, 0x0a, 0x13, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x69, - 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x72, 0x75, 0x5f, 0x67, - 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, 0x72, 0x75, 0x47, 0x75, - 0x69, 0x64, 0x22, 0xe0, 0x01, 0x0a, 0x0e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x73, 0x70, 0x65, - 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, - 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3c, 0xea, 0x41, 0x39, 0x0a, 0x25, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xa1, 0x03, 0x0a, 0x12, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, - 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x76, 0x6d, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x63, 0x69, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x63, 0x69, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x63, 0x69, 0x65, - 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x73, 0x71, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x4e, 0x73, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x6d, - 0x61, 0x78, 0x5f, 0x6e, 0x63, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, - 0x78, 0x4e, 0x63, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x71, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x04, 0x73, 0x71, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x71, 0x65, 0x73, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x71, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x6d, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3b, 0xea, 0x41, + 0x38, 0x0a, 0x24, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, + 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, + 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x94, 0x01, 0x0a, 0x11, 0x4e, 0x76, + 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x10, 0x0a, 0x03, 0x6e, 0x71, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6e, 0x71, + 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x61, 0x78, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x22, 0x5d, 0x0a, 0x13, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x69, 0x72, 0x6d, 0x77, + 0x61, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x72, 0x75, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, 0x72, 0x75, 0x47, 0x75, 0x69, 0x64, 0x22, + 0x8e, 0x02, 0x0a, 0x0e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x2c, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, + 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x12, 0x40, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x3a, 0x3c, 0xea, 0x41, 0x39, 0x0a, 0x25, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, + 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x10, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, + 0x22, 0xcb, 0x03, 0x0a, 0x12, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x76, 0x6d, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x56, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, + 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x10, 0x73, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x38, 0x0a, + 0x07, 0x70, 0x63, 0x69, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x63, 0x69, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x06, 0x70, 0x63, 0x69, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x6e, + 0x73, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x4e, 0x73, 0x71, + 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x63, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x4e, 0x63, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x71, 0x65, + 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x71, 0x65, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x63, 0x71, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x71, 0x65, + 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x39, - 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, - 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x2e, 0x0a, 0x14, 0x4e, 0x76, 0x6d, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0xdc, 0x01, 0x0a, 0x0d, 0x4e, 0x76, - 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x39, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x2e, + 0x0a, 0x14, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x89, + 0x02, 0x0a, 0x0d, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, + 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, + 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3b, 0xea, + 0x41, 0x38, 0x0a, 0x24, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x8e, 0x02, 0x0a, 0x11, 0x4e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, + 0x12, 0x56, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, + 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x10, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, + 0x5f, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x68, 0x6f, 0x73, + 0x74, 0x4e, 0x73, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x67, 0x75, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x67, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, + 0x75, 0x69, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x75, 0x69, 0x36, + 0x34, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x2b, + 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, + 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x22, 0xb2, 0x01, 0x0a, 0x13, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3b, 0xea, 0x41, 0x38, - 0x0a, 0x24, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, - 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xdf, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2c, - 0x0a, 0x12, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, - 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x73, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x67, 0x75, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x67, 0x75, 0x69, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x75, 0x69, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x65, 0x75, 0x69, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, - 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x22, 0xb2, 0x01, 0x0a, 0x13, 0x4e, - 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x63, 0x69, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x08, 0x70, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x70, 0x63, - 0x69, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x0c, 0x70, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, - 0x97, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, - 0x0a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x74, 0x75, 0x73, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x63, 0x69, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, - 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, - 0x6e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2a, 0x0a, - 0x11, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x1a, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xc8, 0x01, 0x0a, 0x1a, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0e, 0x6e, 0x76, 0x6d, - 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x6e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, - 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, - 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, - 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, - 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, - 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4a, 0x0a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0e, 0x6e, 0x76, - 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, - 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x08, 0x70, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x70, + 0x63, 0x69, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x0c, 0x70, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, - 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x49, 0x0a, - 0x19, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x22, 0x53, 0x0a, 0x1a, 0x4e, 0x76, 0x6d, 0x65, - 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x9d, 0x01, - 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, - 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, - 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, - 0x2c, 0x0a, 0x12, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6e, 0x76, 0x6d, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x81, 0x01, - 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, - 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, - 0x67, 0x22, 0xcc, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x4b, 0x0a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, + 0x4d, 0x0a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, + 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, + 0x0d, 0x6e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2a, + 0x0a, 0x11, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x1a, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xc8, 0x01, 0x0a, 0x1a, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0e, 0x6e, 0x76, + 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x6e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, + 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0e, - 0x6e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x3b, - 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, - 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, - 0x22, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x94, - 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, - 0x0a, 0x10, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, - 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0f, 0x6e, 0x76, - 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, + 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0e, 0x6e, + 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x59, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x30, 0x0a, 0x1a, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x68, 0x0a, 0x1b, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x97, 0x01, 0x0a, - 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x0e, 0x6e, - 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6e, 0x76, 0x6d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x76, - 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, - 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xc8, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x0d, 0x6e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, - 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, - 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, + 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x59, + 0x0a, 0x19, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x53, 0x0a, 0x1a, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x9d, + 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, + 0x0a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, + 0x52, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6e, 0x76, + 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x81, + 0x01, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, + 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x6e, 0x67, 0x22, 0xcc, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, + 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, + 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x22, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x90, - 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, - 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, - 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x22, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x94, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4d, 0x0a, 0x10, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, + 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0f, 0x6e, + 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x26, + 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x59, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x5b, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, + 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x54, + 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x03, + 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x7f, + 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x19, 0x4e, 0x76, - 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x1a, 0x4e, - 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x2a, 0xb5, 0x01, 0x0a, 0x15, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, - 0x0a, 0x24, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, - 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x45, - 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, - 0x24, 0x0a, 0x20, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, - 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, - 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, - 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x2a, 0x9f, 0x01, 0x0a, - 0x19, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, - 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x29, 0x4e, 0x56, - 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, - 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x4e, 0x56, 0x4d, - 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, - 0x4f, 0x50, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, - 0x45, 0x10, 0x01, 0x12, 0x29, 0x0a, 0x25, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, - 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x32, 0xda, - 0x16, 0x0a, 0x13, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2e, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, + 0xc8, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, + 0x0a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0d, 0x6e, 0x76, 0x6d, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, + 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, + 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, + 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x19, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, + 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x53, 0x0a, + 0x1a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x73, 0x2a, 0xb5, 0x01, 0x0a, 0x15, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x24, + 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, + 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, + 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x24, 0x0a, + 0x20, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, + 0x50, 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, + 0x44, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, + 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x2a, 0x9f, 0x01, 0x0a, 0x19, 0x4e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x4f, + 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x29, 0x4e, 0x56, 0x4d, 0x45, + 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x4f, + 0x50, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x4e, 0x56, 0x4d, 0x45, 0x5f, + 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x4f, 0x50, + 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, + 0x01, 0x12, 0x29, 0x0a, 0x25, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, + 0x41, 0x43, 0x45, 0x5f, 0x50, 0x43, 0x49, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x32, 0xc9, 0x17, 0x0a, + 0x13, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2e, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, + 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x20, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, + 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x2a, + 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, + 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2e, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x59, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x32, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x6d, + 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0e, 0x6e, 0x76, + 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x1a, 0x6e, + 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x4c, 0x69, + 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, + 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, + 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, + 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x8e, 0x01, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x20, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x12, 0x8f, 0x01, 0x0a, 0x13, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, - 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x2a, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, + 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa5, 0x01, 0x0a, 0x12, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, + 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0xb6, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x22, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x14, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2b, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x2a, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, + 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc9, 0x01, 0x0a, 0x14, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, - 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x32, 0x24, - 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x1a, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, - 0x6b, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, - 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x12, 0x94, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, - 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, - 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x75, 0x0a, 0x12, 0x4e, 0x76, 0x6d, 0x65, - 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, + 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, + 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x1b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xa0, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0xb6, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x49, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x3a, 0x0f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0xda, 0x41, 0x22, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, 0x93, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x25, 0x2a, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x7d, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc9, - 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, - 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x38, 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0f, 0x6e, 0x76, 0x6d, - 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x1b, 0x6e, - 0x76, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xa0, 0x01, 0x0a, 0x13, 0x4c, - 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x73, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, - 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x98, 0x01, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, - 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x78, 0x0a, 0x13, 0x4e, 0x76, 0x6d, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, - 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x46, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0xda, 0x41, 0x20, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x2c, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x8f, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2e, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, + 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x92, 0x01, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, + 0x2c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, - 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x7d, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, - 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x32, 0x24, 0x2f, 0x76, 0x31, 0x2f, - 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, - 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0xda, 0x41, 0x1a, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9d, 0x01, - 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, - 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, - 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x94, 0x01, - 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, - 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x7d, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0xda, 0x41, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x75, 0x0a, 0x12, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x64, 0x0a, 0x12, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x42, 0x15, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x50, - 0x63, 0x69, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, - 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa9, + 0x01, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, + 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, + 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x76, + 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x0b, 0x2f, + 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xda, 0x41, 0x20, 0x6e, 0x76, 0x6d, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2c, 0x6e, 0x76, 0x6d, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x89, 0x01, + 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2a, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x2a, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, + 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x13, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x76, 0x6d, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x32, 0x24, 0x2f, 0x76, + 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0x3a, 0x0e, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0xda, 0x41, 0x1a, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, + 0x9d, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, + 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, + 0x8e, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x76, 0x6d, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, + 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0xa5, 0x01, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, + 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x4e, 0x76, 0x6d, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, + 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x64, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x15, + 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x50, 0x63, 0x69, 0x65, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, + 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2719,24 +2728,24 @@ var file_frontend_nvme_pcie_proto_goTypes = []interface{}{ (*ListNvmeSubsystemsRequest)(nil), // 14: opi_api.storage.v1.ListNvmeSubsystemsRequest (*ListNvmeSubsystemsResponse)(nil), // 15: opi_api.storage.v1.ListNvmeSubsystemsResponse (*GetNvmeSubsystemRequest)(nil), // 16: opi_api.storage.v1.GetNvmeSubsystemRequest - (*NvmeSubsystemStatsRequest)(nil), // 17: opi_api.storage.v1.NvmeSubsystemStatsRequest - (*NvmeSubsystemStatsResponse)(nil), // 18: opi_api.storage.v1.NvmeSubsystemStatsResponse + (*StatsNvmeSubsystemRequest)(nil), // 17: opi_api.storage.v1.StatsNvmeSubsystemRequest + (*StatsNvmeSubsystemResponse)(nil), // 18: opi_api.storage.v1.StatsNvmeSubsystemResponse (*CreateNvmeControllerRequest)(nil), // 19: opi_api.storage.v1.CreateNvmeControllerRequest (*DeleteNvmeControllerRequest)(nil), // 20: opi_api.storage.v1.DeleteNvmeControllerRequest (*UpdateNvmeControllerRequest)(nil), // 21: opi_api.storage.v1.UpdateNvmeControllerRequest (*ListNvmeControllersRequest)(nil), // 22: opi_api.storage.v1.ListNvmeControllersRequest (*ListNvmeControllersResponse)(nil), // 23: opi_api.storage.v1.ListNvmeControllersResponse (*GetNvmeControllerRequest)(nil), // 24: opi_api.storage.v1.GetNvmeControllerRequest - (*NvmeControllerStatsRequest)(nil), // 25: opi_api.storage.v1.NvmeControllerStatsRequest - (*NvmeControllerStatsResponse)(nil), // 26: opi_api.storage.v1.NvmeControllerStatsResponse + (*StatsNvmeControllerRequest)(nil), // 25: opi_api.storage.v1.StatsNvmeControllerRequest + (*StatsNvmeControllerResponse)(nil), // 26: opi_api.storage.v1.StatsNvmeControllerResponse (*CreateNvmeNamespaceRequest)(nil), // 27: opi_api.storage.v1.CreateNvmeNamespaceRequest (*DeleteNvmeNamespaceRequest)(nil), // 28: opi_api.storage.v1.DeleteNvmeNamespaceRequest (*UpdateNvmeNamespaceRequest)(nil), // 29: opi_api.storage.v1.UpdateNvmeNamespaceRequest (*ListNvmeNamespacesRequest)(nil), // 30: opi_api.storage.v1.ListNvmeNamespacesRequest (*ListNvmeNamespacesResponse)(nil), // 31: opi_api.storage.v1.ListNvmeNamespacesResponse (*GetNvmeNamespaceRequest)(nil), // 32: opi_api.storage.v1.GetNvmeNamespaceRequest - (*NvmeNamespaceStatsRequest)(nil), // 33: opi_api.storage.v1.NvmeNamespaceStatsRequest - (*NvmeNamespaceStatsResponse)(nil), // 34: opi_api.storage.v1.NvmeNamespaceStatsResponse + (*StatsNvmeNamespaceRequest)(nil), // 33: opi_api.storage.v1.StatsNvmeNamespaceRequest + (*StatsNvmeNamespaceResponse)(nil), // 34: opi_api.storage.v1.StatsNvmeNamespaceResponse (*PciEndpoint)(nil), // 35: opi_api.storage.v1.PciEndpoint (*QosLimit)(nil), // 36: opi_api.storage.v1.QosLimit (*_go.Uuid)(nil), // 37: opi_api.common.v1.Uuid @@ -2761,53 +2770,53 @@ var file_frontend_nvme_pcie_proto_depIdxs = []int32{ 2, // 13: opi_api.storage.v1.UpdateNvmeSubsystemRequest.nvme_subsystem:type_name -> opi_api.storage.v1.NvmeSubsystem 38, // 14: opi_api.storage.v1.UpdateNvmeSubsystemRequest.update_mask:type_name -> google.protobuf.FieldMask 2, // 15: opi_api.storage.v1.ListNvmeSubsystemsResponse.nvme_subsystems:type_name -> opi_api.storage.v1.NvmeSubsystem - 39, // 16: opi_api.storage.v1.NvmeSubsystemStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 39, // 16: opi_api.storage.v1.StatsNvmeSubsystemResponse.stats:type_name -> opi_api.storage.v1.VolumeStats 5, // 17: opi_api.storage.v1.CreateNvmeControllerRequest.nvme_controller:type_name -> opi_api.storage.v1.NvmeController 5, // 18: opi_api.storage.v1.UpdateNvmeControllerRequest.nvme_controller:type_name -> opi_api.storage.v1.NvmeController 38, // 19: opi_api.storage.v1.UpdateNvmeControllerRequest.update_mask:type_name -> google.protobuf.FieldMask 5, // 20: opi_api.storage.v1.ListNvmeControllersResponse.nvme_controllers:type_name -> opi_api.storage.v1.NvmeController - 39, // 21: opi_api.storage.v1.NvmeControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 39, // 21: opi_api.storage.v1.StatsNvmeControllerResponse.stats:type_name -> opi_api.storage.v1.VolumeStats 8, // 22: opi_api.storage.v1.CreateNvmeNamespaceRequest.nvme_namespace:type_name -> opi_api.storage.v1.NvmeNamespace 8, // 23: opi_api.storage.v1.UpdateNvmeNamespaceRequest.nvme_namespace:type_name -> opi_api.storage.v1.NvmeNamespace 38, // 24: opi_api.storage.v1.UpdateNvmeNamespaceRequest.update_mask:type_name -> google.protobuf.FieldMask 8, // 25: opi_api.storage.v1.ListNvmeNamespacesResponse.nvme_namespaces:type_name -> opi_api.storage.v1.NvmeNamespace - 39, // 26: opi_api.storage.v1.NvmeNamespaceStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 39, // 26: opi_api.storage.v1.StatsNvmeNamespaceResponse.stats:type_name -> opi_api.storage.v1.VolumeStats 11, // 27: opi_api.storage.v1.FrontendNvmeService.CreateNvmeSubsystem:input_type -> opi_api.storage.v1.CreateNvmeSubsystemRequest 12, // 28: opi_api.storage.v1.FrontendNvmeService.DeleteNvmeSubsystem:input_type -> opi_api.storage.v1.DeleteNvmeSubsystemRequest 13, // 29: opi_api.storage.v1.FrontendNvmeService.UpdateNvmeSubsystem:input_type -> opi_api.storage.v1.UpdateNvmeSubsystemRequest 14, // 30: opi_api.storage.v1.FrontendNvmeService.ListNvmeSubsystems:input_type -> opi_api.storage.v1.ListNvmeSubsystemsRequest 16, // 31: opi_api.storage.v1.FrontendNvmeService.GetNvmeSubsystem:input_type -> opi_api.storage.v1.GetNvmeSubsystemRequest - 17, // 32: opi_api.storage.v1.FrontendNvmeService.NvmeSubsystemStats:input_type -> opi_api.storage.v1.NvmeSubsystemStatsRequest + 17, // 32: opi_api.storage.v1.FrontendNvmeService.StatsNvmeSubsystem:input_type -> opi_api.storage.v1.StatsNvmeSubsystemRequest 19, // 33: opi_api.storage.v1.FrontendNvmeService.CreateNvmeController:input_type -> opi_api.storage.v1.CreateNvmeControllerRequest 20, // 34: opi_api.storage.v1.FrontendNvmeService.DeleteNvmeController:input_type -> opi_api.storage.v1.DeleteNvmeControllerRequest 21, // 35: opi_api.storage.v1.FrontendNvmeService.UpdateNvmeController:input_type -> opi_api.storage.v1.UpdateNvmeControllerRequest 22, // 36: opi_api.storage.v1.FrontendNvmeService.ListNvmeControllers:input_type -> opi_api.storage.v1.ListNvmeControllersRequest 24, // 37: opi_api.storage.v1.FrontendNvmeService.GetNvmeController:input_type -> opi_api.storage.v1.GetNvmeControllerRequest - 25, // 38: opi_api.storage.v1.FrontendNvmeService.NvmeControllerStats:input_type -> opi_api.storage.v1.NvmeControllerStatsRequest + 25, // 38: opi_api.storage.v1.FrontendNvmeService.StatsNvmeController:input_type -> opi_api.storage.v1.StatsNvmeControllerRequest 27, // 39: opi_api.storage.v1.FrontendNvmeService.CreateNvmeNamespace:input_type -> opi_api.storage.v1.CreateNvmeNamespaceRequest 28, // 40: opi_api.storage.v1.FrontendNvmeService.DeleteNvmeNamespace:input_type -> opi_api.storage.v1.DeleteNvmeNamespaceRequest 29, // 41: opi_api.storage.v1.FrontendNvmeService.UpdateNvmeNamespace:input_type -> opi_api.storage.v1.UpdateNvmeNamespaceRequest 30, // 42: opi_api.storage.v1.FrontendNvmeService.ListNvmeNamespaces:input_type -> opi_api.storage.v1.ListNvmeNamespacesRequest 32, // 43: opi_api.storage.v1.FrontendNvmeService.GetNvmeNamespace:input_type -> opi_api.storage.v1.GetNvmeNamespaceRequest - 33, // 44: opi_api.storage.v1.FrontendNvmeService.NvmeNamespaceStats:input_type -> opi_api.storage.v1.NvmeNamespaceStatsRequest + 33, // 44: opi_api.storage.v1.FrontendNvmeService.StatsNvmeNamespace:input_type -> opi_api.storage.v1.StatsNvmeNamespaceRequest 2, // 45: opi_api.storage.v1.FrontendNvmeService.CreateNvmeSubsystem:output_type -> opi_api.storage.v1.NvmeSubsystem 40, // 46: opi_api.storage.v1.FrontendNvmeService.DeleteNvmeSubsystem:output_type -> google.protobuf.Empty 2, // 47: opi_api.storage.v1.FrontendNvmeService.UpdateNvmeSubsystem:output_type -> opi_api.storage.v1.NvmeSubsystem 15, // 48: opi_api.storage.v1.FrontendNvmeService.ListNvmeSubsystems:output_type -> opi_api.storage.v1.ListNvmeSubsystemsResponse 2, // 49: opi_api.storage.v1.FrontendNvmeService.GetNvmeSubsystem:output_type -> opi_api.storage.v1.NvmeSubsystem - 18, // 50: opi_api.storage.v1.FrontendNvmeService.NvmeSubsystemStats:output_type -> opi_api.storage.v1.NvmeSubsystemStatsResponse + 18, // 50: opi_api.storage.v1.FrontendNvmeService.StatsNvmeSubsystem:output_type -> opi_api.storage.v1.StatsNvmeSubsystemResponse 5, // 51: opi_api.storage.v1.FrontendNvmeService.CreateNvmeController:output_type -> opi_api.storage.v1.NvmeController 40, // 52: opi_api.storage.v1.FrontendNvmeService.DeleteNvmeController:output_type -> google.protobuf.Empty 5, // 53: opi_api.storage.v1.FrontendNvmeService.UpdateNvmeController:output_type -> opi_api.storage.v1.NvmeController 23, // 54: opi_api.storage.v1.FrontendNvmeService.ListNvmeControllers:output_type -> opi_api.storage.v1.ListNvmeControllersResponse 5, // 55: opi_api.storage.v1.FrontendNvmeService.GetNvmeController:output_type -> opi_api.storage.v1.NvmeController - 26, // 56: opi_api.storage.v1.FrontendNvmeService.NvmeControllerStats:output_type -> opi_api.storage.v1.NvmeControllerStatsResponse + 26, // 56: opi_api.storage.v1.FrontendNvmeService.StatsNvmeController:output_type -> opi_api.storage.v1.StatsNvmeControllerResponse 8, // 57: opi_api.storage.v1.FrontendNvmeService.CreateNvmeNamespace:output_type -> opi_api.storage.v1.NvmeNamespace 40, // 58: opi_api.storage.v1.FrontendNvmeService.DeleteNvmeNamespace:output_type -> google.protobuf.Empty 8, // 59: opi_api.storage.v1.FrontendNvmeService.UpdateNvmeNamespace:output_type -> opi_api.storage.v1.NvmeNamespace 31, // 60: opi_api.storage.v1.FrontendNvmeService.ListNvmeNamespaces:output_type -> opi_api.storage.v1.ListNvmeNamespacesResponse 8, // 61: opi_api.storage.v1.FrontendNvmeService.GetNvmeNamespace:output_type -> opi_api.storage.v1.NvmeNamespace - 34, // 62: opi_api.storage.v1.FrontendNvmeService.NvmeNamespaceStats:output_type -> opi_api.storage.v1.NvmeNamespaceStatsResponse + 34, // 62: opi_api.storage.v1.FrontendNvmeService.StatsNvmeNamespace:output_type -> opi_api.storage.v1.StatsNvmeNamespaceResponse 45, // [45:63] is the sub-list for method output_type 27, // [27:45] is the sub-list for method input_type 27, // [27:27] is the sub-list for extension type_name @@ -3003,7 +3012,7 @@ func file_frontend_nvme_pcie_proto_init() { } } file_frontend_nvme_pcie_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeSubsystemStatsRequest); i { + switch v := v.(*StatsNvmeSubsystemRequest); i { case 0: return &v.state case 1: @@ -3015,7 +3024,7 @@ func file_frontend_nvme_pcie_proto_init() { } } file_frontend_nvme_pcie_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeSubsystemStatsResponse); i { + switch v := v.(*StatsNvmeSubsystemResponse); i { case 0: return &v.state case 1: @@ -3099,7 +3108,7 @@ func file_frontend_nvme_pcie_proto_init() { } } file_frontend_nvme_pcie_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeControllerStatsRequest); i { + switch v := v.(*StatsNvmeControllerRequest); i { case 0: return &v.state case 1: @@ -3111,7 +3120,7 @@ func file_frontend_nvme_pcie_proto_init() { } } file_frontend_nvme_pcie_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeControllerStatsResponse); i { + switch v := v.(*StatsNvmeControllerResponse); i { case 0: return &v.state case 1: @@ -3195,7 +3204,7 @@ func file_frontend_nvme_pcie_proto_init() { } } file_frontend_nvme_pcie_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeNamespaceStatsRequest); i { + switch v := v.(*StatsNvmeNamespaceRequest); i { case 0: return &v.state case 1: @@ -3207,7 +3216,7 @@ func file_frontend_nvme_pcie_proto_init() { } } file_frontend_nvme_pcie_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NvmeNamespaceStatsResponse); i { + switch v := v.(*StatsNvmeNamespaceResponse); i { case 0: return &v.state case 1: @@ -3258,20 +3267,20 @@ type FrontendNvmeServiceClient interface { UpdateNvmeSubsystem(ctx context.Context, in *UpdateNvmeSubsystemRequest, opts ...grpc.CallOption) (*NvmeSubsystem, error) ListNvmeSubsystems(ctx context.Context, in *ListNvmeSubsystemsRequest, opts ...grpc.CallOption) (*ListNvmeSubsystemsResponse, error) GetNvmeSubsystem(ctx context.Context, in *GetNvmeSubsystemRequest, opts ...grpc.CallOption) (*NvmeSubsystem, error) - NvmeSubsystemStats(ctx context.Context, in *NvmeSubsystemStatsRequest, opts ...grpc.CallOption) (*NvmeSubsystemStatsResponse, error) + StatsNvmeSubsystem(ctx context.Context, in *StatsNvmeSubsystemRequest, opts ...grpc.CallOption) (*StatsNvmeSubsystemResponse, error) CreateNvmeController(ctx context.Context, in *CreateNvmeControllerRequest, opts ...grpc.CallOption) (*NvmeController, error) // Fails if there are any associated objects DeleteNvmeController(ctx context.Context, in *DeleteNvmeControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateNvmeController(ctx context.Context, in *UpdateNvmeControllerRequest, opts ...grpc.CallOption) (*NvmeController, error) ListNvmeControllers(ctx context.Context, in *ListNvmeControllersRequest, opts ...grpc.CallOption) (*ListNvmeControllersResponse, error) GetNvmeController(ctx context.Context, in *GetNvmeControllerRequest, opts ...grpc.CallOption) (*NvmeController, error) - NvmeControllerStats(ctx context.Context, in *NvmeControllerStatsRequest, opts ...grpc.CallOption) (*NvmeControllerStatsResponse, error) + StatsNvmeController(ctx context.Context, in *StatsNvmeControllerRequest, opts ...grpc.CallOption) (*StatsNvmeControllerResponse, error) CreateNvmeNamespace(ctx context.Context, in *CreateNvmeNamespaceRequest, opts ...grpc.CallOption) (*NvmeNamespace, error) DeleteNvmeNamespace(ctx context.Context, in *DeleteNvmeNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateNvmeNamespace(ctx context.Context, in *UpdateNvmeNamespaceRequest, opts ...grpc.CallOption) (*NvmeNamespace, error) ListNvmeNamespaces(ctx context.Context, in *ListNvmeNamespacesRequest, opts ...grpc.CallOption) (*ListNvmeNamespacesResponse, error) GetNvmeNamespace(ctx context.Context, in *GetNvmeNamespaceRequest, opts ...grpc.CallOption) (*NvmeNamespace, error) - NvmeNamespaceStats(ctx context.Context, in *NvmeNamespaceStatsRequest, opts ...grpc.CallOption) (*NvmeNamespaceStatsResponse, error) + StatsNvmeNamespace(ctx context.Context, in *StatsNvmeNamespaceRequest, opts ...grpc.CallOption) (*StatsNvmeNamespaceResponse, error) } type frontendNvmeServiceClient struct { @@ -3327,9 +3336,9 @@ func (c *frontendNvmeServiceClient) GetNvmeSubsystem(ctx context.Context, in *Ge return out, nil } -func (c *frontendNvmeServiceClient) NvmeSubsystemStats(ctx context.Context, in *NvmeSubsystemStatsRequest, opts ...grpc.CallOption) (*NvmeSubsystemStatsResponse, error) { - out := new(NvmeSubsystemStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendNvmeService/NvmeSubsystemStats", in, out, opts...) +func (c *frontendNvmeServiceClient) StatsNvmeSubsystem(ctx context.Context, in *StatsNvmeSubsystemRequest, opts ...grpc.CallOption) (*StatsNvmeSubsystemResponse, error) { + out := new(StatsNvmeSubsystemResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeSubsystem", in, out, opts...) if err != nil { return nil, err } @@ -3381,9 +3390,9 @@ func (c *frontendNvmeServiceClient) GetNvmeController(ctx context.Context, in *G return out, nil } -func (c *frontendNvmeServiceClient) NvmeControllerStats(ctx context.Context, in *NvmeControllerStatsRequest, opts ...grpc.CallOption) (*NvmeControllerStatsResponse, error) { - out := new(NvmeControllerStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendNvmeService/NvmeControllerStats", in, out, opts...) +func (c *frontendNvmeServiceClient) StatsNvmeController(ctx context.Context, in *StatsNvmeControllerRequest, opts ...grpc.CallOption) (*StatsNvmeControllerResponse, error) { + out := new(StatsNvmeControllerResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeController", in, out, opts...) if err != nil { return nil, err } @@ -3435,9 +3444,9 @@ func (c *frontendNvmeServiceClient) GetNvmeNamespace(ctx context.Context, in *Ge return out, nil } -func (c *frontendNvmeServiceClient) NvmeNamespaceStats(ctx context.Context, in *NvmeNamespaceStatsRequest, opts ...grpc.CallOption) (*NvmeNamespaceStatsResponse, error) { - out := new(NvmeNamespaceStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendNvmeService/NvmeNamespaceStats", in, out, opts...) +func (c *frontendNvmeServiceClient) StatsNvmeNamespace(ctx context.Context, in *StatsNvmeNamespaceRequest, opts ...grpc.CallOption) (*StatsNvmeNamespaceResponse, error) { + out := new(StatsNvmeNamespaceResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeNamespace", in, out, opts...) if err != nil { return nil, err } @@ -3452,20 +3461,20 @@ type FrontendNvmeServiceServer interface { UpdateNvmeSubsystem(context.Context, *UpdateNvmeSubsystemRequest) (*NvmeSubsystem, error) ListNvmeSubsystems(context.Context, *ListNvmeSubsystemsRequest) (*ListNvmeSubsystemsResponse, error) GetNvmeSubsystem(context.Context, *GetNvmeSubsystemRequest) (*NvmeSubsystem, error) - NvmeSubsystemStats(context.Context, *NvmeSubsystemStatsRequest) (*NvmeSubsystemStatsResponse, error) + StatsNvmeSubsystem(context.Context, *StatsNvmeSubsystemRequest) (*StatsNvmeSubsystemResponse, error) CreateNvmeController(context.Context, *CreateNvmeControllerRequest) (*NvmeController, error) // Fails if there are any associated objects DeleteNvmeController(context.Context, *DeleteNvmeControllerRequest) (*emptypb.Empty, error) UpdateNvmeController(context.Context, *UpdateNvmeControllerRequest) (*NvmeController, error) ListNvmeControllers(context.Context, *ListNvmeControllersRequest) (*ListNvmeControllersResponse, error) GetNvmeController(context.Context, *GetNvmeControllerRequest) (*NvmeController, error) - NvmeControllerStats(context.Context, *NvmeControllerStatsRequest) (*NvmeControllerStatsResponse, error) + StatsNvmeController(context.Context, *StatsNvmeControllerRequest) (*StatsNvmeControllerResponse, error) CreateNvmeNamespace(context.Context, *CreateNvmeNamespaceRequest) (*NvmeNamespace, error) DeleteNvmeNamespace(context.Context, *DeleteNvmeNamespaceRequest) (*emptypb.Empty, error) UpdateNvmeNamespace(context.Context, *UpdateNvmeNamespaceRequest) (*NvmeNamespace, error) ListNvmeNamespaces(context.Context, *ListNvmeNamespacesRequest) (*ListNvmeNamespacesResponse, error) GetNvmeNamespace(context.Context, *GetNvmeNamespaceRequest) (*NvmeNamespace, error) - NvmeNamespaceStats(context.Context, *NvmeNamespaceStatsRequest) (*NvmeNamespaceStatsResponse, error) + StatsNvmeNamespace(context.Context, *StatsNvmeNamespaceRequest) (*StatsNvmeNamespaceResponse, error) } // UnimplementedFrontendNvmeServiceServer can be embedded to have forward compatible implementations. @@ -3487,8 +3496,8 @@ func (*UnimplementedFrontendNvmeServiceServer) ListNvmeSubsystems(context.Contex func (*UnimplementedFrontendNvmeServiceServer) GetNvmeSubsystem(context.Context, *GetNvmeSubsystemRequest) (*NvmeSubsystem, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNvmeSubsystem not implemented") } -func (*UnimplementedFrontendNvmeServiceServer) NvmeSubsystemStats(context.Context, *NvmeSubsystemStatsRequest) (*NvmeSubsystemStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NvmeSubsystemStats not implemented") +func (*UnimplementedFrontendNvmeServiceServer) StatsNvmeSubsystem(context.Context, *StatsNvmeSubsystemRequest) (*StatsNvmeSubsystemResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsNvmeSubsystem not implemented") } func (*UnimplementedFrontendNvmeServiceServer) CreateNvmeController(context.Context, *CreateNvmeControllerRequest) (*NvmeController, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateNvmeController not implemented") @@ -3505,8 +3514,8 @@ func (*UnimplementedFrontendNvmeServiceServer) ListNvmeControllers(context.Conte func (*UnimplementedFrontendNvmeServiceServer) GetNvmeController(context.Context, *GetNvmeControllerRequest) (*NvmeController, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNvmeController not implemented") } -func (*UnimplementedFrontendNvmeServiceServer) NvmeControllerStats(context.Context, *NvmeControllerStatsRequest) (*NvmeControllerStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NvmeControllerStats not implemented") +func (*UnimplementedFrontendNvmeServiceServer) StatsNvmeController(context.Context, *StatsNvmeControllerRequest) (*StatsNvmeControllerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsNvmeController not implemented") } func (*UnimplementedFrontendNvmeServiceServer) CreateNvmeNamespace(context.Context, *CreateNvmeNamespaceRequest) (*NvmeNamespace, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateNvmeNamespace not implemented") @@ -3523,8 +3532,8 @@ func (*UnimplementedFrontendNvmeServiceServer) ListNvmeNamespaces(context.Contex func (*UnimplementedFrontendNvmeServiceServer) GetNvmeNamespace(context.Context, *GetNvmeNamespaceRequest) (*NvmeNamespace, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNvmeNamespace not implemented") } -func (*UnimplementedFrontendNvmeServiceServer) NvmeNamespaceStats(context.Context, *NvmeNamespaceStatsRequest) (*NvmeNamespaceStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NvmeNamespaceStats not implemented") +func (*UnimplementedFrontendNvmeServiceServer) StatsNvmeNamespace(context.Context, *StatsNvmeNamespaceRequest) (*StatsNvmeNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsNvmeNamespace not implemented") } func RegisterFrontendNvmeServiceServer(s *grpc.Server, srv FrontendNvmeServiceServer) { @@ -3621,20 +3630,20 @@ func _FrontendNvmeService_GetNvmeSubsystem_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } -func _FrontendNvmeService_NvmeSubsystemStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NvmeSubsystemStatsRequest) +func _FrontendNvmeService_StatsNvmeSubsystem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsNvmeSubsystemRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendNvmeServiceServer).NvmeSubsystemStats(ctx, in) + return srv.(FrontendNvmeServiceServer).StatsNvmeSubsystem(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendNvmeService/NvmeSubsystemStats", + FullMethod: "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeSubsystem", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendNvmeServiceServer).NvmeSubsystemStats(ctx, req.(*NvmeSubsystemStatsRequest)) + return srv.(FrontendNvmeServiceServer).StatsNvmeSubsystem(ctx, req.(*StatsNvmeSubsystemRequest)) } return interceptor(ctx, in, info, handler) } @@ -3729,20 +3738,20 @@ func _FrontendNvmeService_GetNvmeController_Handler(srv interface{}, ctx context return interceptor(ctx, in, info, handler) } -func _FrontendNvmeService_NvmeControllerStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NvmeControllerStatsRequest) +func _FrontendNvmeService_StatsNvmeController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsNvmeControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendNvmeServiceServer).NvmeControllerStats(ctx, in) + return srv.(FrontendNvmeServiceServer).StatsNvmeController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendNvmeService/NvmeControllerStats", + FullMethod: "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendNvmeServiceServer).NvmeControllerStats(ctx, req.(*NvmeControllerStatsRequest)) + return srv.(FrontendNvmeServiceServer).StatsNvmeController(ctx, req.(*StatsNvmeControllerRequest)) } return interceptor(ctx, in, info, handler) } @@ -3837,20 +3846,20 @@ func _FrontendNvmeService_GetNvmeNamespace_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } -func _FrontendNvmeService_NvmeNamespaceStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NvmeNamespaceStatsRequest) +func _FrontendNvmeService_StatsNvmeNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsNvmeNamespaceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendNvmeServiceServer).NvmeNamespaceStats(ctx, in) + return srv.(FrontendNvmeServiceServer).StatsNvmeNamespace(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendNvmeService/NvmeNamespaceStats", + FullMethod: "/opi_api.storage.v1.FrontendNvmeService/StatsNvmeNamespace", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendNvmeServiceServer).NvmeNamespaceStats(ctx, req.(*NvmeNamespaceStatsRequest)) + return srv.(FrontendNvmeServiceServer).StatsNvmeNamespace(ctx, req.(*StatsNvmeNamespaceRequest)) } return interceptor(ctx, in, info, handler) } @@ -3880,8 +3889,8 @@ var _FrontendNvmeService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendNvmeService_GetNvmeSubsystem_Handler, }, { - MethodName: "NvmeSubsystemStats", - Handler: _FrontendNvmeService_NvmeSubsystemStats_Handler, + MethodName: "StatsNvmeSubsystem", + Handler: _FrontendNvmeService_StatsNvmeSubsystem_Handler, }, { MethodName: "CreateNvmeController", @@ -3904,8 +3913,8 @@ var _FrontendNvmeService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendNvmeService_GetNvmeController_Handler, }, { - MethodName: "NvmeControllerStats", - Handler: _FrontendNvmeService_NvmeControllerStats_Handler, + MethodName: "StatsNvmeController", + Handler: _FrontendNvmeService_StatsNvmeController_Handler, }, { MethodName: "CreateNvmeNamespace", @@ -3928,8 +3937,8 @@ var _FrontendNvmeService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendNvmeService_GetNvmeNamespace_Handler, }, { - MethodName: "NvmeNamespaceStats", - Handler: _FrontendNvmeService_NvmeNamespaceStats_Handler, + MethodName: "StatsNvmeNamespace", + Handler: _FrontendNvmeService_StatsNvmeNamespace_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go b/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go index b1caf23f..fffcefba 100644 --- a/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go +++ b/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go @@ -12,7 +12,6 @@ package _go import ( context "context" - _go "github.com/opiproject/opi-api/common/v1/gen/go" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -44,8 +43,8 @@ type VirtioBlk struct { // The PCI endpoint where this device should appear PcieId *PciEndpoint `protobuf:"bytes,2,opt,name=pcie_id,json=pcieId,proto3" json:"pcie_id,omitempty"` // The back/middle-end volume to back this controller - VolumeId *_go.ObjectKey `protobuf:"bytes,3,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - MaxIoQps int64 `protobuf:"varint,4,opt,name=max_io_qps,json=maxIoQps,proto3" json:"max_io_qps,omitempty"` + VolumeNameRef string `protobuf:"bytes,3,opt,name=volume_name_ref,json=volumeNameRef,proto3" json:"volume_name_ref,omitempty"` + MaxIoQps int64 `protobuf:"varint,4,opt,name=max_io_qps,json=maxIoQps,proto3" json:"max_io_qps,omitempty"` // min QoS limits for the virtio-blk device MinLimit *QosLimit `protobuf:"bytes,5,opt,name=min_limit,json=minLimit,proto3" json:"min_limit,omitempty"` // max QoS limits for the virtio-blk device @@ -98,11 +97,11 @@ func (x *VirtioBlk) GetPcieId() *PciEndpoint { return nil } -func (x *VirtioBlk) GetVolumeId() *_go.ObjectKey { +func (x *VirtioBlk) GetVolumeNameRef() string { if x != nil { - return x.VolumeId + return x.VolumeNameRef } - return nil + return "" } func (x *VirtioBlk) GetMaxIoQps() int64 { @@ -131,8 +130,8 @@ type CreateVirtioBlkRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VirtioBlk *VirtioBlk `protobuf:"bytes,2,opt,name=virtio_blk,json=virtioBlk,proto3" json:"virtio_blk,omitempty"` - VirtioBlkId string `protobuf:"bytes,3,opt,name=virtio_blk_id,json=virtioBlkId,proto3" json:"virtio_blk_id,omitempty"` + VirtioBlk *VirtioBlk `protobuf:"bytes,1,opt,name=virtio_blk,json=virtioBlk,proto3" json:"virtio_blk,omitempty"` + VirtioBlkId string `protobuf:"bytes,2,opt,name=virtio_blk_id,json=virtioBlkId,proto3" json:"virtio_blk_id,omitempty"` } func (x *CreateVirtioBlkRequest) Reset() { @@ -470,16 +469,16 @@ func (x *GetVirtioBlkRequest) GetName() string { return "" } -type VirtioBlkStatsRequest struct { +type StatsVirtioBlkRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *VirtioBlkStatsRequest) Reset() { - *x = VirtioBlkStatsRequest{} +func (x *StatsVirtioBlkRequest) Reset() { + *x = StatsVirtioBlkRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_blk_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -487,13 +486,13 @@ func (x *VirtioBlkStatsRequest) Reset() { } } -func (x *VirtioBlkStatsRequest) String() string { +func (x *StatsVirtioBlkRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioBlkStatsRequest) ProtoMessage() {} +func (*StatsVirtioBlkRequest) ProtoMessage() {} -func (x *VirtioBlkStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioBlkRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_blk_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -505,29 +504,28 @@ func (x *VirtioBlkStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioBlkStatsRequest.ProtoReflect.Descriptor instead. -func (*VirtioBlkStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioBlkRequest.ProtoReflect.Descriptor instead. +func (*StatsVirtioBlkRequest) Descriptor() ([]byte, []int) { return file_frontend_virtio_blk_proto_rawDescGZIP(), []int{7} } -func (x *VirtioBlkStatsRequest) GetControllerId() *_go.ObjectKey { +func (x *StatsVirtioBlkRequest) GetName() string { if x != nil { - return x.ControllerId + return x.Name } - return nil + return "" } -type VirtioBlkStatsResponse struct { +type StatsVirtioBlkResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *VirtioBlkStatsResponse) Reset() { - *x = VirtioBlkStatsResponse{} +func (x *StatsVirtioBlkResponse) Reset() { + *x = StatsVirtioBlkResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_blk_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -535,13 +533,13 @@ func (x *VirtioBlkStatsResponse) Reset() { } } -func (x *VirtioBlkStatsResponse) String() string { +func (x *StatsVirtioBlkResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioBlkStatsResponse) ProtoMessage() {} +func (*StatsVirtioBlkResponse) ProtoMessage() {} -func (x *VirtioBlkStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioBlkResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_blk_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -553,19 +551,12 @@ func (x *VirtioBlkStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioBlkStatsResponse.ProtoReflect.Descriptor instead. -func (*VirtioBlkStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioBlkResponse.ProtoReflect.Descriptor instead. +func (*StatsVirtioBlkResponse) Descriptor() ([]byte, []int) { return file_frontend_virtio_blk_proto_rawDescGZIP(), []int{8} } -func (x *VirtioBlkStatsResponse) GetId() *_go.ObjectKey { - if x != nil { - return x.Id - } - return nil -} - -func (x *VirtioBlkStatsResponse) GetStats() *VolumeStats { +func (x *StatsVirtioBlkResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -579,167 +570,166 @@ var file_frontend_virtio_blk_proto_rawDesc = []byte{ 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x0f, 0x6f, 0x70, 0x69, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x09, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, - 0x6c, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x63, 0x69, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x63, 0x69, - 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x63, 0x69, 0x65, 0x49, 0x64, - 0x12, 0x39, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, - 0x79, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, - 0x61, 0x78, 0x5f, 0x69, 0x6f, 0x5f, 0x71, 0x70, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x6d, 0x61, 0x78, 0x49, 0x6f, 0x51, 0x70, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, - 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x3a, - 0x37, 0xea, 0x41, 0x34, 0x0a, 0x20, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, - 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, - 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x7f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x76, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, - 0x62, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x16, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xfc, 0x02, 0x0a, 0x09, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, + 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x22, 0xb8, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, - 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, - 0x52, 0x09, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x01, - 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, - 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x42, 0x6c, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, - 0x52, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, - 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, - 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x15, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, - 0x6c, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, - 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x64, 0x22, 0x7d, 0x0a, 0x16, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x32, 0xf7, 0x06, 0x0a, 0x18, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x01, - 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, - 0x6b, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x22, 0x3a, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x19, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x3a, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0xda, 0x41, 0x18, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x2c, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x2a, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x7d, 0x2f, - 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, - 0x6b, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x76, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0xda, 0x41, 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x5f, 0x62, 0x6c, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, - 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, - 0x6c, 0x6b, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, + 0x07, 0x70, 0x63, 0x69, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, - 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x22, 0x30, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x69, 0x0a, 0x0e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x63, 0x69, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x06, 0x70, 0x63, 0x69, 0x65, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x52, 0x65, 0x66, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6f, 0x5f, 0x71, + 0x70, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x6f, 0x51, + 0x70, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x39, 0x0a, + 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, + 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x3a, 0x37, 0xea, 0x41, 0x34, 0x0a, 0x20, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, + 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x7d, 0x22, 0x7f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x76, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x42, 0x03, + 0xe0, 0x41, 0x02, 0x52, 0x09, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x22, + 0x0a, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x49, 0x64, 0x22, 0x77, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, + 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb8, 0x01, 0x0a, 0x16, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x5f, 0x62, 0x6c, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x09, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, + 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x4c, + 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, + 0x62, 0x6c, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4f, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x51, + 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x65, 0x0a, 0x12, 0x6f, 0x70, + 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x4f, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x73, 0x32, 0x8e, 0x07, 0x0a, 0x18, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x98, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x42, 0x6c, 0x6b, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x22, 0x3a, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x3a, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0xda, + 0x41, 0x18, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x2c, 0x76, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x12, 0x7d, 0x0a, 0x0f, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x2a, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, + 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x2a, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x2f, + 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x2a, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, + 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, + 0x32, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, + 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0x3a, 0x0a, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0xda, 0x41, + 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x62, 0x6c, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x7e, 0x0a, 0x0c, 0x47, + 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x42, 0x16, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x42, 0x6c, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, - 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x42, 0x6c, 0x6b, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, + 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x95, 0x01, 0x0a, 0x0e, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x29, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, + 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, + 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, + 0x6c, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x42, 0x65, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x46, 0x72, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x64, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, + 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -763,44 +753,40 @@ var file_frontend_virtio_blk_proto_goTypes = []interface{}{ (*ListVirtioBlksRequest)(nil), // 4: opi_api.storage.v1.ListVirtioBlksRequest (*ListVirtioBlksResponse)(nil), // 5: opi_api.storage.v1.ListVirtioBlksResponse (*GetVirtioBlkRequest)(nil), // 6: opi_api.storage.v1.GetVirtioBlkRequest - (*VirtioBlkStatsRequest)(nil), // 7: opi_api.storage.v1.VirtioBlkStatsRequest - (*VirtioBlkStatsResponse)(nil), // 8: opi_api.storage.v1.VirtioBlkStatsResponse + (*StatsVirtioBlkRequest)(nil), // 7: opi_api.storage.v1.StatsVirtioBlkRequest + (*StatsVirtioBlkResponse)(nil), // 8: opi_api.storage.v1.StatsVirtioBlkResponse (*PciEndpoint)(nil), // 9: opi_api.storage.v1.PciEndpoint - (*_go.ObjectKey)(nil), // 10: opi_api.common.v1.ObjectKey - (*QosLimit)(nil), // 11: opi_api.storage.v1.QosLimit - (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask - (*VolumeStats)(nil), // 13: opi_api.storage.v1.VolumeStats - (*emptypb.Empty)(nil), // 14: google.protobuf.Empty + (*QosLimit)(nil), // 10: opi_api.storage.v1.QosLimit + (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask + (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 13: google.protobuf.Empty } var file_frontend_virtio_blk_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.VirtioBlk.pcie_id:type_name -> opi_api.storage.v1.PciEndpoint - 10, // 1: opi_api.storage.v1.VirtioBlk.volume_id:type_name -> opi_api.common.v1.ObjectKey - 11, // 2: opi_api.storage.v1.VirtioBlk.min_limit:type_name -> opi_api.storage.v1.QosLimit - 11, // 3: opi_api.storage.v1.VirtioBlk.max_limit:type_name -> opi_api.storage.v1.QosLimit - 0, // 4: opi_api.storage.v1.CreateVirtioBlkRequest.virtio_blk:type_name -> opi_api.storage.v1.VirtioBlk - 0, // 5: opi_api.storage.v1.UpdateVirtioBlkRequest.virtio_blk:type_name -> opi_api.storage.v1.VirtioBlk - 12, // 6: opi_api.storage.v1.UpdateVirtioBlkRequest.update_mask:type_name -> google.protobuf.FieldMask - 0, // 7: opi_api.storage.v1.ListVirtioBlksResponse.virtio_blks:type_name -> opi_api.storage.v1.VirtioBlk - 10, // 8: opi_api.storage.v1.VirtioBlkStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 10, // 9: opi_api.storage.v1.VirtioBlkStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 13, // 10: opi_api.storage.v1.VirtioBlkStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 1, // 11: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:input_type -> opi_api.storage.v1.CreateVirtioBlkRequest - 2, // 12: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:input_type -> opi_api.storage.v1.DeleteVirtioBlkRequest - 3, // 13: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:input_type -> opi_api.storage.v1.UpdateVirtioBlkRequest - 4, // 14: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:input_type -> opi_api.storage.v1.ListVirtioBlksRequest - 6, // 15: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:input_type -> opi_api.storage.v1.GetVirtioBlkRequest - 7, // 16: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:input_type -> opi_api.storage.v1.VirtioBlkStatsRequest - 0, // 17: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk - 14, // 18: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:output_type -> google.protobuf.Empty - 0, // 19: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk - 5, // 20: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:output_type -> opi_api.storage.v1.ListVirtioBlksResponse - 0, // 21: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk - 8, // 22: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:output_type -> opi_api.storage.v1.VirtioBlkStatsResponse - 17, // [17:23] is the sub-list for method output_type - 11, // [11:17] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name + 10, // 1: opi_api.storage.v1.VirtioBlk.min_limit:type_name -> opi_api.storage.v1.QosLimit + 10, // 2: opi_api.storage.v1.VirtioBlk.max_limit:type_name -> opi_api.storage.v1.QosLimit + 0, // 3: opi_api.storage.v1.CreateVirtioBlkRequest.virtio_blk:type_name -> opi_api.storage.v1.VirtioBlk + 0, // 4: opi_api.storage.v1.UpdateVirtioBlkRequest.virtio_blk:type_name -> opi_api.storage.v1.VirtioBlk + 11, // 5: opi_api.storage.v1.UpdateVirtioBlkRequest.update_mask:type_name -> google.protobuf.FieldMask + 0, // 6: opi_api.storage.v1.ListVirtioBlksResponse.virtio_blks:type_name -> opi_api.storage.v1.VirtioBlk + 12, // 7: opi_api.storage.v1.StatsVirtioBlkResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 8: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:input_type -> opi_api.storage.v1.CreateVirtioBlkRequest + 2, // 9: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:input_type -> opi_api.storage.v1.DeleteVirtioBlkRequest + 3, // 10: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:input_type -> opi_api.storage.v1.UpdateVirtioBlkRequest + 4, // 11: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:input_type -> opi_api.storage.v1.ListVirtioBlksRequest + 6, // 12: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:input_type -> opi_api.storage.v1.GetVirtioBlkRequest + 7, // 13: opi_api.storage.v1.FrontendVirtioBlkService.StatsVirtioBlk:input_type -> opi_api.storage.v1.StatsVirtioBlkRequest + 0, // 14: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 13, // 15: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:output_type -> google.protobuf.Empty + 0, // 16: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 5, // 17: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:output_type -> opi_api.storage.v1.ListVirtioBlksResponse + 0, // 18: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 8, // 19: opi_api.storage.v1.FrontendVirtioBlkService.StatsVirtioBlk:output_type -> opi_api.storage.v1.StatsVirtioBlkResponse + 14, // [14:20] is the sub-list for method output_type + 8, // [8:14] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } func init() { file_frontend_virtio_blk_proto_init() } @@ -895,7 +881,7 @@ func file_frontend_virtio_blk_proto_init() { } } file_frontend_virtio_blk_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioBlkStatsRequest); i { + switch v := v.(*StatsVirtioBlkRequest); i { case 0: return &v.state case 1: @@ -907,7 +893,7 @@ func file_frontend_virtio_blk_proto_init() { } } file_frontend_virtio_blk_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioBlkStatsResponse); i { + switch v := v.(*StatsVirtioBlkResponse); i { case 0: return &v.state case 1: @@ -956,7 +942,7 @@ type FrontendVirtioBlkServiceClient interface { UpdateVirtioBlk(ctx context.Context, in *UpdateVirtioBlkRequest, opts ...grpc.CallOption) (*VirtioBlk, error) ListVirtioBlks(ctx context.Context, in *ListVirtioBlksRequest, opts ...grpc.CallOption) (*ListVirtioBlksResponse, error) GetVirtioBlk(ctx context.Context, in *GetVirtioBlkRequest, opts ...grpc.CallOption) (*VirtioBlk, error) - VirtioBlkStats(ctx context.Context, in *VirtioBlkStatsRequest, opts ...grpc.CallOption) (*VirtioBlkStatsResponse, error) + StatsVirtioBlk(ctx context.Context, in *StatsVirtioBlkRequest, opts ...grpc.CallOption) (*StatsVirtioBlkResponse, error) } type frontendVirtioBlkServiceClient struct { @@ -1012,9 +998,9 @@ func (c *frontendVirtioBlkServiceClient) GetVirtioBlk(ctx context.Context, in *G return out, nil } -func (c *frontendVirtioBlkServiceClient) VirtioBlkStats(ctx context.Context, in *VirtioBlkStatsRequest, opts ...grpc.CallOption) (*VirtioBlkStatsResponse, error) { - out := new(VirtioBlkStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioBlkService/VirtioBlkStats", in, out, opts...) +func (c *frontendVirtioBlkServiceClient) StatsVirtioBlk(ctx context.Context, in *StatsVirtioBlkRequest, opts ...grpc.CallOption) (*StatsVirtioBlkResponse, error) { + out := new(StatsVirtioBlkResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioBlkService/StatsVirtioBlk", in, out, opts...) if err != nil { return nil, err } @@ -1028,7 +1014,7 @@ type FrontendVirtioBlkServiceServer interface { UpdateVirtioBlk(context.Context, *UpdateVirtioBlkRequest) (*VirtioBlk, error) ListVirtioBlks(context.Context, *ListVirtioBlksRequest) (*ListVirtioBlksResponse, error) GetVirtioBlk(context.Context, *GetVirtioBlkRequest) (*VirtioBlk, error) - VirtioBlkStats(context.Context, *VirtioBlkStatsRequest) (*VirtioBlkStatsResponse, error) + StatsVirtioBlk(context.Context, *StatsVirtioBlkRequest) (*StatsVirtioBlkResponse, error) } // UnimplementedFrontendVirtioBlkServiceServer can be embedded to have forward compatible implementations. @@ -1050,8 +1036,8 @@ func (*UnimplementedFrontendVirtioBlkServiceServer) ListVirtioBlks(context.Conte func (*UnimplementedFrontendVirtioBlkServiceServer) GetVirtioBlk(context.Context, *GetVirtioBlkRequest) (*VirtioBlk, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVirtioBlk not implemented") } -func (*UnimplementedFrontendVirtioBlkServiceServer) VirtioBlkStats(context.Context, *VirtioBlkStatsRequest) (*VirtioBlkStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method VirtioBlkStats not implemented") +func (*UnimplementedFrontendVirtioBlkServiceServer) StatsVirtioBlk(context.Context, *StatsVirtioBlkRequest) (*StatsVirtioBlkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsVirtioBlk not implemented") } func RegisterFrontendVirtioBlkServiceServer(s *grpc.Server, srv FrontendVirtioBlkServiceServer) { @@ -1148,20 +1134,20 @@ func _FrontendVirtioBlkService_GetVirtioBlk_Handler(srv interface{}, ctx context return interceptor(ctx, in, info, handler) } -func _FrontendVirtioBlkService_VirtioBlkStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VirtioBlkStatsRequest) +func _FrontendVirtioBlkService_StatsVirtioBlk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsVirtioBlkRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendVirtioBlkServiceServer).VirtioBlkStats(ctx, in) + return srv.(FrontendVirtioBlkServiceServer).StatsVirtioBlk(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendVirtioBlkService/VirtioBlkStats", + FullMethod: "/opi_api.storage.v1.FrontendVirtioBlkService/StatsVirtioBlk", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendVirtioBlkServiceServer).VirtioBlkStats(ctx, req.(*VirtioBlkStatsRequest)) + return srv.(FrontendVirtioBlkServiceServer).StatsVirtioBlk(ctx, req.(*StatsVirtioBlkRequest)) } return interceptor(ctx, in, info, handler) } @@ -1191,8 +1177,8 @@ var _FrontendVirtioBlkService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendVirtioBlkService_GetVirtioBlk_Handler, }, { - MethodName: "VirtioBlkStats", - Handler: _FrontendVirtioBlkService_VirtioBlkStats_Handler, + MethodName: "StatsVirtioBlk", + Handler: _FrontendVirtioBlkService_StatsVirtioBlk_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go b/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go index 8296776b..025321aa 100644 --- a/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go +++ b/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go @@ -241,8 +241,8 @@ type CreateVirtioScsiTargetRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VirtioScsiTarget *VirtioScsiTarget `protobuf:"bytes,2,opt,name=virtio_scsi_target,json=virtioScsiTarget,proto3" json:"virtio_scsi_target,omitempty"` - VirtioScsiTargetId string `protobuf:"bytes,3,opt,name=virtio_scsi_target_id,json=virtioScsiTargetId,proto3" json:"virtio_scsi_target_id,omitempty"` + VirtioScsiTarget *VirtioScsiTarget `protobuf:"bytes,1,opt,name=virtio_scsi_target,json=virtioScsiTarget,proto3" json:"virtio_scsi_target,omitempty"` + VirtioScsiTargetId string `protobuf:"bytes,2,opt,name=virtio_scsi_target_id,json=virtioScsiTargetId,proto3" json:"virtio_scsi_target_id,omitempty"` } func (x *CreateVirtioScsiTargetRequest) Reset() { @@ -580,16 +580,16 @@ func (x *GetVirtioScsiTargetRequest) GetName() string { return "" } -type VirtioScsiTargetStatsRequest struct { +type StatsVirtioScsiTargetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TargetId *_go.ObjectKey `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *VirtioScsiTargetStatsRequest) Reset() { - *x = VirtioScsiTargetStatsRequest{} +func (x *StatsVirtioScsiTargetRequest) Reset() { + *x = StatsVirtioScsiTargetRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_scsi_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -597,13 +597,13 @@ func (x *VirtioScsiTargetStatsRequest) Reset() { } } -func (x *VirtioScsiTargetStatsRequest) String() string { +func (x *StatsVirtioScsiTargetRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioScsiTargetStatsRequest) ProtoMessage() {} +func (*StatsVirtioScsiTargetRequest) ProtoMessage() {} -func (x *VirtioScsiTargetStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioScsiTargetRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_scsi_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -615,29 +615,28 @@ func (x *VirtioScsiTargetStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioScsiTargetStatsRequest.ProtoReflect.Descriptor instead. -func (*VirtioScsiTargetStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioScsiTargetRequest.ProtoReflect.Descriptor instead. +func (*StatsVirtioScsiTargetRequest) Descriptor() ([]byte, []int) { return file_frontend_virtio_scsi_proto_rawDescGZIP(), []int{9} } -func (x *VirtioScsiTargetStatsRequest) GetTargetId() *_go.ObjectKey { +func (x *StatsVirtioScsiTargetRequest) GetName() string { if x != nil { - return x.TargetId + return x.Name } - return nil + return "" } -type VirtioScsiTargetStatsResponse struct { +type StatsVirtioScsiTargetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *VirtioScsiTargetStatsResponse) Reset() { - *x = VirtioScsiTargetStatsResponse{} +func (x *StatsVirtioScsiTargetResponse) Reset() { + *x = StatsVirtioScsiTargetResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_scsi_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -645,13 +644,13 @@ func (x *VirtioScsiTargetStatsResponse) Reset() { } } -func (x *VirtioScsiTargetStatsResponse) String() string { +func (x *StatsVirtioScsiTargetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioScsiTargetStatsResponse) ProtoMessage() {} +func (*StatsVirtioScsiTargetResponse) ProtoMessage() {} -func (x *VirtioScsiTargetStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioScsiTargetResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_scsi_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -663,19 +662,12 @@ func (x *VirtioScsiTargetStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioScsiTargetStatsResponse.ProtoReflect.Descriptor instead. -func (*VirtioScsiTargetStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioScsiTargetResponse.ProtoReflect.Descriptor instead. +func (*StatsVirtioScsiTargetResponse) Descriptor() ([]byte, []int) { return file_frontend_virtio_scsi_proto_rawDescGZIP(), []int{10} } -func (x *VirtioScsiTargetStatsResponse) GetId() *_go.ObjectKey { - if x != nil { - return x.Id - } - return nil -} - -func (x *VirtioScsiTargetStatsResponse) GetStats() *VolumeStats { +func (x *StatsVirtioScsiTargetResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -687,8 +679,8 @@ type CreateVirtioScsiControllerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VirtioScsiController *VirtioScsiController `protobuf:"bytes,2,opt,name=virtio_scsi_controller,json=virtioScsiController,proto3" json:"virtio_scsi_controller,omitempty"` - VirtioScsiControllerId string `protobuf:"bytes,3,opt,name=virtio_scsi_controller_id,json=virtioScsiControllerId,proto3" json:"virtio_scsi_controller_id,omitempty"` + VirtioScsiController *VirtioScsiController `protobuf:"bytes,1,opt,name=virtio_scsi_controller,json=virtioScsiController,proto3" json:"virtio_scsi_controller,omitempty"` + VirtioScsiControllerId string `protobuf:"bytes,2,opt,name=virtio_scsi_controller_id,json=virtioScsiControllerId,proto3" json:"virtio_scsi_controller_id,omitempty"` } func (x *CreateVirtioScsiControllerRequest) Reset() { @@ -1026,16 +1018,16 @@ func (x *GetVirtioScsiControllerRequest) GetName() string { return "" } -type VirtioScsiControllerStatsRequest struct { +type StatsVirtioScsiControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *VirtioScsiControllerStatsRequest) Reset() { - *x = VirtioScsiControllerStatsRequest{} +func (x *StatsVirtioScsiControllerRequest) Reset() { + *x = StatsVirtioScsiControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_scsi_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1043,13 +1035,13 @@ func (x *VirtioScsiControllerStatsRequest) Reset() { } } -func (x *VirtioScsiControllerStatsRequest) String() string { +func (x *StatsVirtioScsiControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioScsiControllerStatsRequest) ProtoMessage() {} +func (*StatsVirtioScsiControllerRequest) ProtoMessage() {} -func (x *VirtioScsiControllerStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioScsiControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_scsi_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1061,29 +1053,28 @@ func (x *VirtioScsiControllerStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioScsiControllerStatsRequest.ProtoReflect.Descriptor instead. -func (*VirtioScsiControllerStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioScsiControllerRequest.ProtoReflect.Descriptor instead. +func (*StatsVirtioScsiControllerRequest) Descriptor() ([]byte, []int) { return file_frontend_virtio_scsi_proto_rawDescGZIP(), []int{17} } -func (x *VirtioScsiControllerStatsRequest) GetControllerId() *_go.ObjectKey { +func (x *StatsVirtioScsiControllerRequest) GetName() string { if x != nil { - return x.ControllerId + return x.Name } - return nil + return "" } -type VirtioScsiControllerStatsResponse struct { +type StatsVirtioScsiControllerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *VirtioScsiControllerStatsResponse) Reset() { - *x = VirtioScsiControllerStatsResponse{} +func (x *StatsVirtioScsiControllerResponse) Reset() { + *x = StatsVirtioScsiControllerResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_scsi_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1091,13 +1082,13 @@ func (x *VirtioScsiControllerStatsResponse) Reset() { } } -func (x *VirtioScsiControllerStatsResponse) String() string { +func (x *StatsVirtioScsiControllerResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioScsiControllerStatsResponse) ProtoMessage() {} +func (*StatsVirtioScsiControllerResponse) ProtoMessage() {} -func (x *VirtioScsiControllerStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioScsiControllerResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_scsi_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1109,19 +1100,12 @@ func (x *VirtioScsiControllerStatsResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use VirtioScsiControllerStatsResponse.ProtoReflect.Descriptor instead. -func (*VirtioScsiControllerStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioScsiControllerResponse.ProtoReflect.Descriptor instead. +func (*StatsVirtioScsiControllerResponse) Descriptor() ([]byte, []int) { return file_frontend_virtio_scsi_proto_rawDescGZIP(), []int{18} } -func (x *VirtioScsiControllerStatsResponse) GetId() *_go.ObjectKey { - if x != nil { - return x.Id - } - return nil -} - -func (x *VirtioScsiControllerStatsResponse) GetStats() *VolumeStats { +func (x *StatsVirtioScsiControllerResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -1133,8 +1117,8 @@ type CreateVirtioScsiLunRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VirtioScsiLun *VirtioScsiLun `protobuf:"bytes,2,opt,name=virtio_scsi_lun,json=virtioScsiLun,proto3" json:"virtio_scsi_lun,omitempty"` - VirtioScsiLunId string `protobuf:"bytes,3,opt,name=virtio_scsi_lun_id,json=virtioScsiLunId,proto3" json:"virtio_scsi_lun_id,omitempty"` + VirtioScsiLun *VirtioScsiLun `protobuf:"bytes,1,opt,name=virtio_scsi_lun,json=virtioScsiLun,proto3" json:"virtio_scsi_lun,omitempty"` + VirtioScsiLunId string `protobuf:"bytes,2,opt,name=virtio_scsi_lun_id,json=virtioScsiLunId,proto3" json:"virtio_scsi_lun_id,omitempty"` } func (x *CreateVirtioScsiLunRequest) Reset() { @@ -1472,17 +1456,17 @@ func (x *GetVirtioScsiLunRequest) GetName() string { return "" } -type VirtioScsiLunStatsRequest struct { +type StatsVirtioScsiLunRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` - LunId *_go.ObjectKey `protobuf:"bytes,2,opt,name=lun_id,json=lunId,proto3" json:"lun_id,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ControllerId *_go.ObjectKey `protobuf:"bytes,2,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` } -func (x *VirtioScsiLunStatsRequest) Reset() { - *x = VirtioScsiLunStatsRequest{} +func (x *StatsVirtioScsiLunRequest) Reset() { + *x = StatsVirtioScsiLunRequest{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_scsi_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1490,13 +1474,13 @@ func (x *VirtioScsiLunStatsRequest) Reset() { } } -func (x *VirtioScsiLunStatsRequest) String() string { +func (x *StatsVirtioScsiLunRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioScsiLunStatsRequest) ProtoMessage() {} +func (*StatsVirtioScsiLunRequest) ProtoMessage() {} -func (x *VirtioScsiLunStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioScsiLunRequest) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_scsi_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1508,36 +1492,35 @@ func (x *VirtioScsiLunStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioScsiLunStatsRequest.ProtoReflect.Descriptor instead. -func (*VirtioScsiLunStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioScsiLunRequest.ProtoReflect.Descriptor instead. +func (*StatsVirtioScsiLunRequest) Descriptor() ([]byte, []int) { return file_frontend_virtio_scsi_proto_rawDescGZIP(), []int{25} } -func (x *VirtioScsiLunStatsRequest) GetControllerId() *_go.ObjectKey { +func (x *StatsVirtioScsiLunRequest) GetName() string { if x != nil { - return x.ControllerId + return x.Name } - return nil + return "" } -func (x *VirtioScsiLunStatsRequest) GetLunId() *_go.ObjectKey { +func (x *StatsVirtioScsiLunRequest) GetControllerId() *_go.ObjectKey { if x != nil { - return x.LunId + return x.ControllerId } return nil } -type VirtioScsiLunStatsResponse struct { +type StatsVirtioScsiLunResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *VirtioScsiLunStatsResponse) Reset() { - *x = VirtioScsiLunStatsResponse{} +func (x *StatsVirtioScsiLunResponse) Reset() { + *x = StatsVirtioScsiLunResponse{} if protoimpl.UnsafeEnabled { mi := &file_frontend_virtio_scsi_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1545,13 +1528,13 @@ func (x *VirtioScsiLunStatsResponse) Reset() { } } -func (x *VirtioScsiLunStatsResponse) String() string { +func (x *StatsVirtioScsiLunResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VirtioScsiLunStatsResponse) ProtoMessage() {} +func (*StatsVirtioScsiLunResponse) ProtoMessage() {} -func (x *VirtioScsiLunStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsVirtioScsiLunResponse) ProtoReflect() protoreflect.Message { mi := &file_frontend_virtio_scsi_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1563,19 +1546,12 @@ func (x *VirtioScsiLunStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VirtioScsiLunStatsResponse.ProtoReflect.Descriptor instead. -func (*VirtioScsiLunStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsVirtioScsiLunResponse.ProtoReflect.Descriptor instead. +func (*StatsVirtioScsiLunResponse) Descriptor() ([]byte, []int) { return file_frontend_virtio_scsi_proto_rawDescGZIP(), []int{26} } -func (x *VirtioScsiLunStatsResponse) GetId() *_go.ObjectKey { - if x != nil { - return x.Id - } - return nil -} - -func (x *VirtioScsiLunStatsResponse) GetStats() *VolumeStats { +func (x *StatsVirtioScsiLunResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -1601,477 +1577,485 @@ var file_frontend_virtio_scsi_proto_rawDesc = []byte{ 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x10, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x10, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, + 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x75, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x4c, 0x75, 0x6e, 0x73, 0x3a, 0x3e, 0xea, 0x41, 0x3b, 0x0a, 0x27, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x9e, 0x02, 0x0a, 0x14, 0x56, 0x69, + 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xd2, 0x02, 0x0a, 0x14, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x63, 0x69, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x63, 0x69, - 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x63, 0x69, 0x65, 0x49, 0x64, - 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x6d, - 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x61, - 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x3a, 0x42, 0xea, 0x41, 0x3f, 0x0a, 0x2b, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, - 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xd6, 0x01, 0x0a, 0x0d, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x39, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, - 0x79, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x3a, 0x3b, 0xea, 0x41, 0x38, 0x0a, 0x24, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, - 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, - 0x6e, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x7d, 0x22, 0xab, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, - 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x31, - 0x0a, 0x15, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, - 0x64, 0x22, 0x85, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x65, 0x72, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x32, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x63, + 0x69, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x63, 0x69, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x63, + 0x69, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x39, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x3a, 0x42, 0xea, 0x41, 0x3f, 0x0a, + 0x2b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x83, + 0x02, 0x0a, 0x0d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, + 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, + 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xd5, 0x01, 0x0a, 0x1d, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x12, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x10, 0x76, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x39, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, + 0x65, 0x79, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x3a, 0x3b, 0xea, 0x41, 0x38, 0x0a, 0x24, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, + 0x75, 0x6e, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xab, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, - 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, - 0x67, 0x22, 0x9f, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x43, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x31, 0x0a, 0x15, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x49, 0x64, 0x22, 0x85, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x13, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, - 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x11, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0x5d, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x1c, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x4b, 0x65, 0x79, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x22, 0x84, 0x01, - 0x0a, 0x1d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x16, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, - 0x39, 0x0a, 0x19, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, 0x21, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, - 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xe5, 0x01, 0x0a, 0x21, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x5e, 0x0a, 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x14, 0x76, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xd5, 0x01, 0x0a, 0x1d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x12, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x10, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x22, 0xa7, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, - 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xad, 0x01, 0x0a, - 0x21, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, - 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6e, 0x67, 0x22, 0x9f, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x13, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x15, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, - 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x1e, - 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, - 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x20, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x21, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, - 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x11, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5d, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x5f, 0x0a, 0x1c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x56, 0x0a, 0x1d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0xc3, 0x01, 0x0a, + 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, + 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x63, 0x0a, 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, + 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, + 0x02, 0x52, 0x14, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x19, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x76, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, - 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2b, 0x0a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, - 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x49, - 0x64, 0x22, 0x7f, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, - 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, + 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x22, 0xc9, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x49, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, - 0x5f, 0x6c, 0x75, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x0d, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x99, - 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, - 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x1a, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x10, 0x76, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x57, - 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, - 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, + 0x6e, 0x67, 0x22, 0xe5, 0x01, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x16, 0x76, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x52, 0x14, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xa7, 0x01, 0x0a, 0x20, 0x4c, + 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x47, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xad, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x76, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x15, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, + 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x20, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, + 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x21, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x22, 0x99, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4e, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, + 0x75, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, + 0x52, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, + 0x2b, 0x0a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, + 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x1a, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, + 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, + 0x75, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xc9, 0x01, + 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x0f, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, + 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, - 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x19, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x75, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x6c, 0x75, 0x6e, 0x49, 0x64, 0x22, 0x81, 0x01, - 0x0a, 0x1a, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x32, 0xe8, 0x18, 0x0a, 0x19, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0xc5, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x31, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x22, 0x52, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x0b, 0x2f, 0x76, 0x31, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0xda, 0x41, 0x28, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x2c, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x9c, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x12, 0x31, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x37, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0xda, - 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xd8, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x12, 0x31, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x3e, 0x32, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, - 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x12, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0xda, 0x41, 0x1e, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, - 0x6b, 0x12, 0xa6, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x30, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa4, 0x01, 0x0a, 0x13, 0x47, - 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, + 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x10, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, + 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, + 0x6e, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, + 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, + 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, + 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x22, 0x53, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, 0xcb, 0x19, 0x0a, 0x19, 0x46, 0x72, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x64, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0xc5, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x31, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, - 0x12, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, - 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x7e, 0x0a, 0x15, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x52, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, + 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x12, 0x76, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0xda, 0x41, 0x28, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2c, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, + 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x92, 0x01, 0x0a, + 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, + 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x31, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x76, 0x31, 0x2f, + 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0xd8, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x31, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x32, 0x28, 0x2f, + 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, + 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0xda, 0x41, 0x1e, 0x76, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xa6, 0x01, 0x0a, + 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x6f, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x9a, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2e, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, + 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, + 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0xb1, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0xdd, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, + 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, + 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, + 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xdd, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x0b, + 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x16, 0x76, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0xda, 0x41, 0x30, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, + 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x76, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, 0x9e, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x2a, 0x22, 0x2f, 0x76, + 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, + 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xf0, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x32, + 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, + 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x16, 0x76, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x22, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, + 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xb2, 0x01, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, + 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, + 0xaa, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, + 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x22, 0x5e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, - 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, - 0x30, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, - 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, - 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x2a, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, - 0x6c, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, - 0x74, 0x72, 0x6c, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xf0, 0x01, 0x0a, 0x1a, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, + 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc1, 0x01, 0x0a, + 0x19, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, + 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, + 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0xb3, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x49, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x1e, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, + 0x3a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, + 0x6e, 0xda, 0x41, 0x22, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, + 0x6c, 0x75, 0x6e, 0x2c, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, + 0x6c, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x2a, 0x1b, + 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x71, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x46, 0x32, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x7d, 0x3a, 0x16, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x22, 0x76, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xb2, - 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, - 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x34, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x5c, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0f, 0x76, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0xda, 0x41, 0x1b, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x2c, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9d, 0x01, 0x0a, 0x12, + 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, + 0x6e, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x12, 0xae, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, - 0x32, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x35, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x7d, 0xda, 0x41, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x19, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0xb3, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, - 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x49, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x3a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, - 0x75, 0x6e, 0xda, 0x41, 0x22, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, - 0x5f, 0x6c, 0x75, 0x6e, 0x2c, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, - 0x5f, 0x6c, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x12, 0x97, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, - 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x2a, - 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, - 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x5c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x38, 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0f, 0x76, 0x69, 0x72, - 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0xda, 0x41, 0x1b, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x5f, 0x73, 0x63, 0x73, 0x69, 0x5f, 0x6c, 0x75, 0x6e, 0x2c, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, - 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x98, 0x01, 0x0a, 0x10, 0x47, - 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, - 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, - 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x7d, 0xda, 0x41, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x75, 0x0a, 0x12, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x66, 0x0a, 0x12, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x8e, 0x01, 0x0a, 0x10, + 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, + 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, + 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x42, 0x17, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, - 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, + 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, + 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa5, 0x01, 0x0a, + 0x12, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x4c, 0x75, 0x6e, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, + 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x4c, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x66, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x46, 0x72, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x64, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, + 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2097,24 +2081,24 @@ var file_frontend_virtio_scsi_proto_goTypes = []interface{}{ (*ListVirtioScsiTargetsRequest)(nil), // 6: opi_api.storage.v1.ListVirtioScsiTargetsRequest (*ListVirtioScsiTargetsResponse)(nil), // 7: opi_api.storage.v1.ListVirtioScsiTargetsResponse (*GetVirtioScsiTargetRequest)(nil), // 8: opi_api.storage.v1.GetVirtioScsiTargetRequest - (*VirtioScsiTargetStatsRequest)(nil), // 9: opi_api.storage.v1.VirtioScsiTargetStatsRequest - (*VirtioScsiTargetStatsResponse)(nil), // 10: opi_api.storage.v1.VirtioScsiTargetStatsResponse + (*StatsVirtioScsiTargetRequest)(nil), // 9: opi_api.storage.v1.StatsVirtioScsiTargetRequest + (*StatsVirtioScsiTargetResponse)(nil), // 10: opi_api.storage.v1.StatsVirtioScsiTargetResponse (*CreateVirtioScsiControllerRequest)(nil), // 11: opi_api.storage.v1.CreateVirtioScsiControllerRequest (*DeleteVirtioScsiControllerRequest)(nil), // 12: opi_api.storage.v1.DeleteVirtioScsiControllerRequest (*UpdateVirtioScsiControllerRequest)(nil), // 13: opi_api.storage.v1.UpdateVirtioScsiControllerRequest (*ListVirtioScsiControllersRequest)(nil), // 14: opi_api.storage.v1.ListVirtioScsiControllersRequest (*ListVirtioScsiControllersResponse)(nil), // 15: opi_api.storage.v1.ListVirtioScsiControllersResponse (*GetVirtioScsiControllerRequest)(nil), // 16: opi_api.storage.v1.GetVirtioScsiControllerRequest - (*VirtioScsiControllerStatsRequest)(nil), // 17: opi_api.storage.v1.VirtioScsiControllerStatsRequest - (*VirtioScsiControllerStatsResponse)(nil), // 18: opi_api.storage.v1.VirtioScsiControllerStatsResponse + (*StatsVirtioScsiControllerRequest)(nil), // 17: opi_api.storage.v1.StatsVirtioScsiControllerRequest + (*StatsVirtioScsiControllerResponse)(nil), // 18: opi_api.storage.v1.StatsVirtioScsiControllerResponse (*CreateVirtioScsiLunRequest)(nil), // 19: opi_api.storage.v1.CreateVirtioScsiLunRequest (*DeleteVirtioScsiLunRequest)(nil), // 20: opi_api.storage.v1.DeleteVirtioScsiLunRequest (*UpdateVirtioScsiLunRequest)(nil), // 21: opi_api.storage.v1.UpdateVirtioScsiLunRequest (*ListVirtioScsiLunsRequest)(nil), // 22: opi_api.storage.v1.ListVirtioScsiLunsRequest (*ListVirtioScsiLunsResponse)(nil), // 23: opi_api.storage.v1.ListVirtioScsiLunsResponse (*GetVirtioScsiLunRequest)(nil), // 24: opi_api.storage.v1.GetVirtioScsiLunRequest - (*VirtioScsiLunStatsRequest)(nil), // 25: opi_api.storage.v1.VirtioScsiLunStatsRequest - (*VirtioScsiLunStatsResponse)(nil), // 26: opi_api.storage.v1.VirtioScsiLunStatsResponse + (*StatsVirtioScsiLunRequest)(nil), // 25: opi_api.storage.v1.StatsVirtioScsiLunRequest + (*StatsVirtioScsiLunResponse)(nil), // 26: opi_api.storage.v1.StatsVirtioScsiLunResponse (*PciEndpoint)(nil), // 27: opi_api.storage.v1.PciEndpoint (*QosLimit)(nil), // 28: opi_api.storage.v1.QosLimit (*_go.ObjectKey)(nil), // 29: opi_api.common.v1.ObjectKey @@ -2132,65 +2116,59 @@ var file_frontend_virtio_scsi_proto_depIdxs = []int32{ 0, // 6: opi_api.storage.v1.UpdateVirtioScsiTargetRequest.virtio_scsi_target:type_name -> opi_api.storage.v1.VirtioScsiTarget 30, // 7: opi_api.storage.v1.UpdateVirtioScsiTargetRequest.update_mask:type_name -> google.protobuf.FieldMask 0, // 8: opi_api.storage.v1.ListVirtioScsiTargetsResponse.virtio_scsi_targets:type_name -> opi_api.storage.v1.VirtioScsiTarget - 29, // 9: opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id:type_name -> opi_api.common.v1.ObjectKey - 29, // 10: opi_api.storage.v1.VirtioScsiTargetStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 31, // 11: opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 1, // 12: opi_api.storage.v1.CreateVirtioScsiControllerRequest.virtio_scsi_controller:type_name -> opi_api.storage.v1.VirtioScsiController - 1, // 13: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.virtio_scsi_controller:type_name -> opi_api.storage.v1.VirtioScsiController - 30, // 14: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.update_mask:type_name -> google.protobuf.FieldMask - 1, // 15: opi_api.storage.v1.ListVirtioScsiControllersResponse.virtio_scsi_controllers:type_name -> opi_api.storage.v1.VirtioScsiController - 29, // 16: opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 29, // 17: opi_api.storage.v1.VirtioScsiControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 31, // 18: opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 2, // 19: opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun - 2, // 20: opi_api.storage.v1.UpdateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun - 30, // 21: opi_api.storage.v1.UpdateVirtioScsiLunRequest.update_mask:type_name -> google.protobuf.FieldMask - 2, // 22: opi_api.storage.v1.ListVirtioScsiLunsResponse.virtio_scsi_luns:type_name -> opi_api.storage.v1.VirtioScsiLun - 29, // 23: opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 29, // 24: opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey - 29, // 25: opi_api.storage.v1.VirtioScsiLunStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 31, // 26: opi_api.storage.v1.VirtioScsiLunStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 3, // 27: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:input_type -> opi_api.storage.v1.CreateVirtioScsiTargetRequest - 4, // 28: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:input_type -> opi_api.storage.v1.DeleteVirtioScsiTargetRequest - 5, // 29: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:input_type -> opi_api.storage.v1.UpdateVirtioScsiTargetRequest - 6, // 30: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:input_type -> opi_api.storage.v1.ListVirtioScsiTargetsRequest - 8, // 31: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:input_type -> opi_api.storage.v1.GetVirtioScsiTargetRequest - 9, // 32: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:input_type -> opi_api.storage.v1.VirtioScsiTargetStatsRequest - 11, // 33: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:input_type -> opi_api.storage.v1.CreateVirtioScsiControllerRequest - 12, // 34: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:input_type -> opi_api.storage.v1.DeleteVirtioScsiControllerRequest - 13, // 35: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:input_type -> opi_api.storage.v1.UpdateVirtioScsiControllerRequest - 14, // 36: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:input_type -> opi_api.storage.v1.ListVirtioScsiControllersRequest - 16, // 37: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:input_type -> opi_api.storage.v1.GetVirtioScsiControllerRequest - 17, // 38: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:input_type -> opi_api.storage.v1.VirtioScsiControllerStatsRequest - 19, // 39: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:input_type -> opi_api.storage.v1.CreateVirtioScsiLunRequest - 20, // 40: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:input_type -> opi_api.storage.v1.DeleteVirtioScsiLunRequest - 21, // 41: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:input_type -> opi_api.storage.v1.UpdateVirtioScsiLunRequest - 22, // 42: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:input_type -> opi_api.storage.v1.ListVirtioScsiLunsRequest - 24, // 43: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:input_type -> opi_api.storage.v1.GetVirtioScsiLunRequest - 25, // 44: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:input_type -> opi_api.storage.v1.VirtioScsiLunStatsRequest - 0, // 45: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 32, // 46: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:output_type -> google.protobuf.Empty - 0, // 47: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 7, // 48: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:output_type -> opi_api.storage.v1.ListVirtioScsiTargetsResponse - 0, // 49: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 10, // 50: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:output_type -> opi_api.storage.v1.VirtioScsiTargetStatsResponse - 1, // 51: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 32, // 52: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:output_type -> google.protobuf.Empty - 1, // 53: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 15, // 54: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:output_type -> opi_api.storage.v1.ListVirtioScsiControllersResponse - 1, // 55: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 18, // 56: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:output_type -> opi_api.storage.v1.VirtioScsiControllerStatsResponse - 2, // 57: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 32, // 58: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:output_type -> google.protobuf.Empty - 2, // 59: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 23, // 60: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:output_type -> opi_api.storage.v1.ListVirtioScsiLunsResponse - 2, // 61: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 26, // 62: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:output_type -> opi_api.storage.v1.VirtioScsiLunStatsResponse - 45, // [45:63] is the sub-list for method output_type - 27, // [27:45] is the sub-list for method input_type - 27, // [27:27] is the sub-list for extension type_name - 27, // [27:27] is the sub-list for extension extendee - 0, // [0:27] is the sub-list for field type_name + 31, // 9: opi_api.storage.v1.StatsVirtioScsiTargetResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 10: opi_api.storage.v1.CreateVirtioScsiControllerRequest.virtio_scsi_controller:type_name -> opi_api.storage.v1.VirtioScsiController + 1, // 11: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.virtio_scsi_controller:type_name -> opi_api.storage.v1.VirtioScsiController + 30, // 12: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.update_mask:type_name -> google.protobuf.FieldMask + 1, // 13: opi_api.storage.v1.ListVirtioScsiControllersResponse.virtio_scsi_controllers:type_name -> opi_api.storage.v1.VirtioScsiController + 31, // 14: opi_api.storage.v1.StatsVirtioScsiControllerResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 2, // 15: opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun + 2, // 16: opi_api.storage.v1.UpdateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun + 30, // 17: opi_api.storage.v1.UpdateVirtioScsiLunRequest.update_mask:type_name -> google.protobuf.FieldMask + 2, // 18: opi_api.storage.v1.ListVirtioScsiLunsResponse.virtio_scsi_luns:type_name -> opi_api.storage.v1.VirtioScsiLun + 29, // 19: opi_api.storage.v1.StatsVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 31, // 20: opi_api.storage.v1.StatsVirtioScsiLunResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 3, // 21: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:input_type -> opi_api.storage.v1.CreateVirtioScsiTargetRequest + 4, // 22: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:input_type -> opi_api.storage.v1.DeleteVirtioScsiTargetRequest + 5, // 23: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:input_type -> opi_api.storage.v1.UpdateVirtioScsiTargetRequest + 6, // 24: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:input_type -> opi_api.storage.v1.ListVirtioScsiTargetsRequest + 8, // 25: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:input_type -> opi_api.storage.v1.GetVirtioScsiTargetRequest + 9, // 26: opi_api.storage.v1.FrontendVirtioScsiService.StatsVirtioScsiTarget:input_type -> opi_api.storage.v1.StatsVirtioScsiTargetRequest + 11, // 27: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:input_type -> opi_api.storage.v1.CreateVirtioScsiControllerRequest + 12, // 28: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:input_type -> opi_api.storage.v1.DeleteVirtioScsiControllerRequest + 13, // 29: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:input_type -> opi_api.storage.v1.UpdateVirtioScsiControllerRequest + 14, // 30: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:input_type -> opi_api.storage.v1.ListVirtioScsiControllersRequest + 16, // 31: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:input_type -> opi_api.storage.v1.GetVirtioScsiControllerRequest + 17, // 32: opi_api.storage.v1.FrontendVirtioScsiService.StatsVirtioScsiController:input_type -> opi_api.storage.v1.StatsVirtioScsiControllerRequest + 19, // 33: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:input_type -> opi_api.storage.v1.CreateVirtioScsiLunRequest + 20, // 34: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:input_type -> opi_api.storage.v1.DeleteVirtioScsiLunRequest + 21, // 35: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:input_type -> opi_api.storage.v1.UpdateVirtioScsiLunRequest + 22, // 36: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:input_type -> opi_api.storage.v1.ListVirtioScsiLunsRequest + 24, // 37: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:input_type -> opi_api.storage.v1.GetVirtioScsiLunRequest + 25, // 38: opi_api.storage.v1.FrontendVirtioScsiService.StatsVirtioScsiLun:input_type -> opi_api.storage.v1.StatsVirtioScsiLunRequest + 0, // 39: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 32, // 40: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:output_type -> google.protobuf.Empty + 0, // 41: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 7, // 42: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:output_type -> opi_api.storage.v1.ListVirtioScsiTargetsResponse + 0, // 43: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 10, // 44: opi_api.storage.v1.FrontendVirtioScsiService.StatsVirtioScsiTarget:output_type -> opi_api.storage.v1.StatsVirtioScsiTargetResponse + 1, // 45: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 32, // 46: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:output_type -> google.protobuf.Empty + 1, // 47: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 15, // 48: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:output_type -> opi_api.storage.v1.ListVirtioScsiControllersResponse + 1, // 49: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 18, // 50: opi_api.storage.v1.FrontendVirtioScsiService.StatsVirtioScsiController:output_type -> opi_api.storage.v1.StatsVirtioScsiControllerResponse + 2, // 51: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 32, // 52: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:output_type -> google.protobuf.Empty + 2, // 53: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 23, // 54: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:output_type -> opi_api.storage.v1.ListVirtioScsiLunsResponse + 2, // 55: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 26, // 56: opi_api.storage.v1.FrontendVirtioScsiService.StatsVirtioScsiLun:output_type -> opi_api.storage.v1.StatsVirtioScsiLunResponse + 39, // [39:57] is the sub-list for method output_type + 21, // [21:39] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name } func init() { file_frontend_virtio_scsi_proto_init() } @@ -2309,7 +2287,7 @@ func file_frontend_virtio_scsi_proto_init() { } } file_frontend_virtio_scsi_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioScsiTargetStatsRequest); i { + switch v := v.(*StatsVirtioScsiTargetRequest); i { case 0: return &v.state case 1: @@ -2321,7 +2299,7 @@ func file_frontend_virtio_scsi_proto_init() { } } file_frontend_virtio_scsi_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioScsiTargetStatsResponse); i { + switch v := v.(*StatsVirtioScsiTargetResponse); i { case 0: return &v.state case 1: @@ -2405,7 +2383,7 @@ func file_frontend_virtio_scsi_proto_init() { } } file_frontend_virtio_scsi_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioScsiControllerStatsRequest); i { + switch v := v.(*StatsVirtioScsiControllerRequest); i { case 0: return &v.state case 1: @@ -2417,7 +2395,7 @@ func file_frontend_virtio_scsi_proto_init() { } } file_frontend_virtio_scsi_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioScsiControllerStatsResponse); i { + switch v := v.(*StatsVirtioScsiControllerResponse); i { case 0: return &v.state case 1: @@ -2501,7 +2479,7 @@ func file_frontend_virtio_scsi_proto_init() { } } file_frontend_virtio_scsi_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioScsiLunStatsRequest); i { + switch v := v.(*StatsVirtioScsiLunRequest); i { case 0: return &v.state case 1: @@ -2513,7 +2491,7 @@ func file_frontend_virtio_scsi_proto_init() { } } file_frontend_virtio_scsi_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VirtioScsiLunStatsResponse); i { + switch v := v.(*StatsVirtioScsiLunResponse); i { case 0: return &v.state case 1: @@ -2562,19 +2540,19 @@ type FrontendVirtioScsiServiceClient interface { UpdateVirtioScsiTarget(ctx context.Context, in *UpdateVirtioScsiTargetRequest, opts ...grpc.CallOption) (*VirtioScsiTarget, error) ListVirtioScsiTargets(ctx context.Context, in *ListVirtioScsiTargetsRequest, opts ...grpc.CallOption) (*ListVirtioScsiTargetsResponse, error) GetVirtioScsiTarget(ctx context.Context, in *GetVirtioScsiTargetRequest, opts ...grpc.CallOption) (*VirtioScsiTarget, error) - VirtioScsiTargetStats(ctx context.Context, in *VirtioScsiTargetStatsRequest, opts ...grpc.CallOption) (*VirtioScsiTargetStatsResponse, error) + StatsVirtioScsiTarget(ctx context.Context, in *StatsVirtioScsiTargetRequest, opts ...grpc.CallOption) (*StatsVirtioScsiTargetResponse, error) CreateVirtioScsiController(ctx context.Context, in *CreateVirtioScsiControllerRequest, opts ...grpc.CallOption) (*VirtioScsiController, error) DeleteVirtioScsiController(ctx context.Context, in *DeleteVirtioScsiControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateVirtioScsiController(ctx context.Context, in *UpdateVirtioScsiControllerRequest, opts ...grpc.CallOption) (*VirtioScsiController, error) ListVirtioScsiControllers(ctx context.Context, in *ListVirtioScsiControllersRequest, opts ...grpc.CallOption) (*ListVirtioScsiControllersResponse, error) GetVirtioScsiController(ctx context.Context, in *GetVirtioScsiControllerRequest, opts ...grpc.CallOption) (*VirtioScsiController, error) - VirtioScsiControllerStats(ctx context.Context, in *VirtioScsiControllerStatsRequest, opts ...grpc.CallOption) (*VirtioScsiControllerStatsResponse, error) + StatsVirtioScsiController(ctx context.Context, in *StatsVirtioScsiControllerRequest, opts ...grpc.CallOption) (*StatsVirtioScsiControllerResponse, error) CreateVirtioScsiLun(ctx context.Context, in *CreateVirtioScsiLunRequest, opts ...grpc.CallOption) (*VirtioScsiLun, error) DeleteVirtioScsiLun(ctx context.Context, in *DeleteVirtioScsiLunRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateVirtioScsiLun(ctx context.Context, in *UpdateVirtioScsiLunRequest, opts ...grpc.CallOption) (*VirtioScsiLun, error) ListVirtioScsiLuns(ctx context.Context, in *ListVirtioScsiLunsRequest, opts ...grpc.CallOption) (*ListVirtioScsiLunsResponse, error) GetVirtioScsiLun(ctx context.Context, in *GetVirtioScsiLunRequest, opts ...grpc.CallOption) (*VirtioScsiLun, error) - VirtioScsiLunStats(ctx context.Context, in *VirtioScsiLunStatsRequest, opts ...grpc.CallOption) (*VirtioScsiLunStatsResponse, error) + StatsVirtioScsiLun(ctx context.Context, in *StatsVirtioScsiLunRequest, opts ...grpc.CallOption) (*StatsVirtioScsiLunResponse, error) } type frontendVirtioScsiServiceClient struct { @@ -2630,9 +2608,9 @@ func (c *frontendVirtioScsiServiceClient) GetVirtioScsiTarget(ctx context.Contex return out, nil } -func (c *frontendVirtioScsiServiceClient) VirtioScsiTargetStats(ctx context.Context, in *VirtioScsiTargetStatsRequest, opts ...grpc.CallOption) (*VirtioScsiTargetStatsResponse, error) { - out := new(VirtioScsiTargetStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiTargetStats", in, out, opts...) +func (c *frontendVirtioScsiServiceClient) StatsVirtioScsiTarget(ctx context.Context, in *StatsVirtioScsiTargetRequest, opts ...grpc.CallOption) (*StatsVirtioScsiTargetResponse, error) { + out := new(StatsVirtioScsiTargetResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiTarget", in, out, opts...) if err != nil { return nil, err } @@ -2684,9 +2662,9 @@ func (c *frontendVirtioScsiServiceClient) GetVirtioScsiController(ctx context.Co return out, nil } -func (c *frontendVirtioScsiServiceClient) VirtioScsiControllerStats(ctx context.Context, in *VirtioScsiControllerStatsRequest, opts ...grpc.CallOption) (*VirtioScsiControllerStatsResponse, error) { - out := new(VirtioScsiControllerStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiControllerStats", in, out, opts...) +func (c *frontendVirtioScsiServiceClient) StatsVirtioScsiController(ctx context.Context, in *StatsVirtioScsiControllerRequest, opts ...grpc.CallOption) (*StatsVirtioScsiControllerResponse, error) { + out := new(StatsVirtioScsiControllerResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiController", in, out, opts...) if err != nil { return nil, err } @@ -2738,9 +2716,9 @@ func (c *frontendVirtioScsiServiceClient) GetVirtioScsiLun(ctx context.Context, return out, nil } -func (c *frontendVirtioScsiServiceClient) VirtioScsiLunStats(ctx context.Context, in *VirtioScsiLunStatsRequest, opts ...grpc.CallOption) (*VirtioScsiLunStatsResponse, error) { - out := new(VirtioScsiLunStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiLunStats", in, out, opts...) +func (c *frontendVirtioScsiServiceClient) StatsVirtioScsiLun(ctx context.Context, in *StatsVirtioScsiLunRequest, opts ...grpc.CallOption) (*StatsVirtioScsiLunResponse, error) { + out := new(StatsVirtioScsiLunResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiLun", in, out, opts...) if err != nil { return nil, err } @@ -2754,19 +2732,19 @@ type FrontendVirtioScsiServiceServer interface { UpdateVirtioScsiTarget(context.Context, *UpdateVirtioScsiTargetRequest) (*VirtioScsiTarget, error) ListVirtioScsiTargets(context.Context, *ListVirtioScsiTargetsRequest) (*ListVirtioScsiTargetsResponse, error) GetVirtioScsiTarget(context.Context, *GetVirtioScsiTargetRequest) (*VirtioScsiTarget, error) - VirtioScsiTargetStats(context.Context, *VirtioScsiTargetStatsRequest) (*VirtioScsiTargetStatsResponse, error) + StatsVirtioScsiTarget(context.Context, *StatsVirtioScsiTargetRequest) (*StatsVirtioScsiTargetResponse, error) CreateVirtioScsiController(context.Context, *CreateVirtioScsiControllerRequest) (*VirtioScsiController, error) DeleteVirtioScsiController(context.Context, *DeleteVirtioScsiControllerRequest) (*emptypb.Empty, error) UpdateVirtioScsiController(context.Context, *UpdateVirtioScsiControllerRequest) (*VirtioScsiController, error) ListVirtioScsiControllers(context.Context, *ListVirtioScsiControllersRequest) (*ListVirtioScsiControllersResponse, error) GetVirtioScsiController(context.Context, *GetVirtioScsiControllerRequest) (*VirtioScsiController, error) - VirtioScsiControllerStats(context.Context, *VirtioScsiControllerStatsRequest) (*VirtioScsiControllerStatsResponse, error) + StatsVirtioScsiController(context.Context, *StatsVirtioScsiControllerRequest) (*StatsVirtioScsiControllerResponse, error) CreateVirtioScsiLun(context.Context, *CreateVirtioScsiLunRequest) (*VirtioScsiLun, error) DeleteVirtioScsiLun(context.Context, *DeleteVirtioScsiLunRequest) (*emptypb.Empty, error) UpdateVirtioScsiLun(context.Context, *UpdateVirtioScsiLunRequest) (*VirtioScsiLun, error) ListVirtioScsiLuns(context.Context, *ListVirtioScsiLunsRequest) (*ListVirtioScsiLunsResponse, error) GetVirtioScsiLun(context.Context, *GetVirtioScsiLunRequest) (*VirtioScsiLun, error) - VirtioScsiLunStats(context.Context, *VirtioScsiLunStatsRequest) (*VirtioScsiLunStatsResponse, error) + StatsVirtioScsiLun(context.Context, *StatsVirtioScsiLunRequest) (*StatsVirtioScsiLunResponse, error) } // UnimplementedFrontendVirtioScsiServiceServer can be embedded to have forward compatible implementations. @@ -2788,8 +2766,8 @@ func (*UnimplementedFrontendVirtioScsiServiceServer) ListVirtioScsiTargets(conte func (*UnimplementedFrontendVirtioScsiServiceServer) GetVirtioScsiTarget(context.Context, *GetVirtioScsiTargetRequest) (*VirtioScsiTarget, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVirtioScsiTarget not implemented") } -func (*UnimplementedFrontendVirtioScsiServiceServer) VirtioScsiTargetStats(context.Context, *VirtioScsiTargetStatsRequest) (*VirtioScsiTargetStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method VirtioScsiTargetStats not implemented") +func (*UnimplementedFrontendVirtioScsiServiceServer) StatsVirtioScsiTarget(context.Context, *StatsVirtioScsiTargetRequest) (*StatsVirtioScsiTargetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsVirtioScsiTarget not implemented") } func (*UnimplementedFrontendVirtioScsiServiceServer) CreateVirtioScsiController(context.Context, *CreateVirtioScsiControllerRequest) (*VirtioScsiController, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateVirtioScsiController not implemented") @@ -2806,8 +2784,8 @@ func (*UnimplementedFrontendVirtioScsiServiceServer) ListVirtioScsiControllers(c func (*UnimplementedFrontendVirtioScsiServiceServer) GetVirtioScsiController(context.Context, *GetVirtioScsiControllerRequest) (*VirtioScsiController, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVirtioScsiController not implemented") } -func (*UnimplementedFrontendVirtioScsiServiceServer) VirtioScsiControllerStats(context.Context, *VirtioScsiControllerStatsRequest) (*VirtioScsiControllerStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method VirtioScsiControllerStats not implemented") +func (*UnimplementedFrontendVirtioScsiServiceServer) StatsVirtioScsiController(context.Context, *StatsVirtioScsiControllerRequest) (*StatsVirtioScsiControllerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsVirtioScsiController not implemented") } func (*UnimplementedFrontendVirtioScsiServiceServer) CreateVirtioScsiLun(context.Context, *CreateVirtioScsiLunRequest) (*VirtioScsiLun, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateVirtioScsiLun not implemented") @@ -2824,8 +2802,8 @@ func (*UnimplementedFrontendVirtioScsiServiceServer) ListVirtioScsiLuns(context. func (*UnimplementedFrontendVirtioScsiServiceServer) GetVirtioScsiLun(context.Context, *GetVirtioScsiLunRequest) (*VirtioScsiLun, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVirtioScsiLun not implemented") } -func (*UnimplementedFrontendVirtioScsiServiceServer) VirtioScsiLunStats(context.Context, *VirtioScsiLunStatsRequest) (*VirtioScsiLunStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method VirtioScsiLunStats not implemented") +func (*UnimplementedFrontendVirtioScsiServiceServer) StatsVirtioScsiLun(context.Context, *StatsVirtioScsiLunRequest) (*StatsVirtioScsiLunResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsVirtioScsiLun not implemented") } func RegisterFrontendVirtioScsiServiceServer(s *grpc.Server, srv FrontendVirtioScsiServiceServer) { @@ -2922,20 +2900,20 @@ func _FrontendVirtioScsiService_GetVirtioScsiTarget_Handler(srv interface{}, ctx return interceptor(ctx, in, info, handler) } -func _FrontendVirtioScsiService_VirtioScsiTargetStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VirtioScsiTargetStatsRequest) +func _FrontendVirtioScsiService_StatsVirtioScsiTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsVirtioScsiTargetRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendVirtioScsiServiceServer).VirtioScsiTargetStats(ctx, in) + return srv.(FrontendVirtioScsiServiceServer).StatsVirtioScsiTarget(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiTargetStats", + FullMethod: "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiTarget", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendVirtioScsiServiceServer).VirtioScsiTargetStats(ctx, req.(*VirtioScsiTargetStatsRequest)) + return srv.(FrontendVirtioScsiServiceServer).StatsVirtioScsiTarget(ctx, req.(*StatsVirtioScsiTargetRequest)) } return interceptor(ctx, in, info, handler) } @@ -3030,20 +3008,20 @@ func _FrontendVirtioScsiService_GetVirtioScsiController_Handler(srv interface{}, return interceptor(ctx, in, info, handler) } -func _FrontendVirtioScsiService_VirtioScsiControllerStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VirtioScsiControllerStatsRequest) +func _FrontendVirtioScsiService_StatsVirtioScsiController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsVirtioScsiControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendVirtioScsiServiceServer).VirtioScsiControllerStats(ctx, in) + return srv.(FrontendVirtioScsiServiceServer).StatsVirtioScsiController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiControllerStats", + FullMethod: "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendVirtioScsiServiceServer).VirtioScsiControllerStats(ctx, req.(*VirtioScsiControllerStatsRequest)) + return srv.(FrontendVirtioScsiServiceServer).StatsVirtioScsiController(ctx, req.(*StatsVirtioScsiControllerRequest)) } return interceptor(ctx, in, info, handler) } @@ -3138,20 +3116,20 @@ func _FrontendVirtioScsiService_GetVirtioScsiLun_Handler(srv interface{}, ctx co return interceptor(ctx, in, info, handler) } -func _FrontendVirtioScsiService_VirtioScsiLunStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VirtioScsiLunStatsRequest) +func _FrontendVirtioScsiService_StatsVirtioScsiLun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsVirtioScsiLunRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(FrontendVirtioScsiServiceServer).VirtioScsiLunStats(ctx, in) + return srv.(FrontendVirtioScsiServiceServer).StatsVirtioScsiLun(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiLunStats", + FullMethod: "/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiLun", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FrontendVirtioScsiServiceServer).VirtioScsiLunStats(ctx, req.(*VirtioScsiLunStatsRequest)) + return srv.(FrontendVirtioScsiServiceServer).StatsVirtioScsiLun(ctx, req.(*StatsVirtioScsiLunRequest)) } return interceptor(ctx, in, info, handler) } @@ -3181,8 +3159,8 @@ var _FrontendVirtioScsiService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendVirtioScsiService_GetVirtioScsiTarget_Handler, }, { - MethodName: "VirtioScsiTargetStats", - Handler: _FrontendVirtioScsiService_VirtioScsiTargetStats_Handler, + MethodName: "StatsVirtioScsiTarget", + Handler: _FrontendVirtioScsiService_StatsVirtioScsiTarget_Handler, }, { MethodName: "CreateVirtioScsiController", @@ -3205,8 +3183,8 @@ var _FrontendVirtioScsiService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendVirtioScsiService_GetVirtioScsiController_Handler, }, { - MethodName: "VirtioScsiControllerStats", - Handler: _FrontendVirtioScsiService_VirtioScsiControllerStats_Handler, + MethodName: "StatsVirtioScsiController", + Handler: _FrontendVirtioScsiService_StatsVirtioScsiController_Handler, }, { MethodName: "CreateVirtioScsiLun", @@ -3229,8 +3207,8 @@ var _FrontendVirtioScsiService_serviceDesc = grpc.ServiceDesc{ Handler: _FrontendVirtioScsiService_GetVirtioScsiLun_Handler, }, { - MethodName: "VirtioScsiLunStats", - Handler: _FrontendVirtioScsiService_VirtioScsiLunStats_Handler, + MethodName: "StatsVirtioScsiLun", + Handler: _FrontendVirtioScsiService_StatsVirtioScsiLun_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/middleend_encryption.pb.go b/storage/v1alpha1/gen/go/middleend_encryption.pb.go index bcb3f6ad..5f682862 100644 --- a/storage/v1alpha1/gen/go/middleend_encryption.pb.go +++ b/storage/v1alpha1/gen/go/middleend_encryption.pb.go @@ -13,7 +13,6 @@ package _go import ( context "context" - _go "github.com/opiproject/opi-api/common/v1/gen/go" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -43,7 +42,7 @@ type EncryptedVolume struct { // user can only set {resource}_id on the Create request object Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The back/middle-end volume to back this volume - VolumeId *_go.ObjectKey `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeNameRef string `protobuf:"bytes,2,opt,name=volume_name_ref,json=volumeNameRef,proto3" json:"volume_name_ref,omitempty"` // Key to be used for encryption Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Cipher to use @@ -89,11 +88,11 @@ func (x *EncryptedVolume) GetName() string { return "" } -func (x *EncryptedVolume) GetVolumeId() *_go.ObjectKey { +func (x *EncryptedVolume) GetVolumeNameRef() string { if x != nil { - return x.VolumeId + return x.VolumeNameRef } - return nil + return "" } func (x *EncryptedVolume) GetKey() []byte { @@ -115,8 +114,8 @@ type CreateEncryptedVolumeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EncryptedVolume *EncryptedVolume `protobuf:"bytes,2,opt,name=encrypted_volume,json=encryptedVolume,proto3" json:"encrypted_volume,omitempty"` - EncryptedVolumeId string `protobuf:"bytes,3,opt,name=encrypted_volume_id,json=encryptedVolumeId,proto3" json:"encrypted_volume_id,omitempty"` + EncryptedVolume *EncryptedVolume `protobuf:"bytes,1,opt,name=encrypted_volume,json=encryptedVolume,proto3" json:"encrypted_volume,omitempty"` + EncryptedVolumeId string `protobuf:"bytes,2,opt,name=encrypted_volume_id,json=encryptedVolumeId,proto3" json:"encrypted_volume_id,omitempty"` } func (x *CreateEncryptedVolumeRequest) Reset() { @@ -454,16 +453,16 @@ func (x *GetEncryptedVolumeRequest) GetName() string { return "" } -type EncryptedVolumeStatsRequest struct { +type StatsEncryptedVolumeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EncryptedVolumeId *_go.ObjectKey `protobuf:"bytes,1,opt,name=encrypted_volume_id,json=encryptedVolumeId,proto3" json:"encrypted_volume_id,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *EncryptedVolumeStatsRequest) Reset() { - *x = EncryptedVolumeStatsRequest{} +func (x *StatsEncryptedVolumeRequest) Reset() { + *x = StatsEncryptedVolumeRequest{} if protoimpl.UnsafeEnabled { mi := &file_middleend_encryption_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -471,13 +470,13 @@ func (x *EncryptedVolumeStatsRequest) Reset() { } } -func (x *EncryptedVolumeStatsRequest) String() string { +func (x *StatsEncryptedVolumeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EncryptedVolumeStatsRequest) ProtoMessage() {} +func (*StatsEncryptedVolumeRequest) ProtoMessage() {} -func (x *EncryptedVolumeStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsEncryptedVolumeRequest) ProtoReflect() protoreflect.Message { mi := &file_middleend_encryption_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -489,29 +488,28 @@ func (x *EncryptedVolumeStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EncryptedVolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*EncryptedVolumeStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsEncryptedVolumeRequest.ProtoReflect.Descriptor instead. +func (*StatsEncryptedVolumeRequest) Descriptor() ([]byte, []int) { return file_middleend_encryption_proto_rawDescGZIP(), []int{7} } -func (x *EncryptedVolumeStatsRequest) GetEncryptedVolumeId() *_go.ObjectKey { +func (x *StatsEncryptedVolumeRequest) GetName() string { if x != nil { - return x.EncryptedVolumeId + return x.Name } - return nil + return "" } -type EncryptedVolumeStatsResponse struct { +type StatsEncryptedVolumeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EncryptedVolumeId *_go.ObjectKey `protobuf:"bytes,1,opt,name=encrypted_volume_id,json=encryptedVolumeId,proto3" json:"encrypted_volume_id,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *EncryptedVolumeStatsResponse) Reset() { - *x = EncryptedVolumeStatsResponse{} +func (x *StatsEncryptedVolumeResponse) Reset() { + *x = StatsEncryptedVolumeResponse{} if protoimpl.UnsafeEnabled { mi := &file_middleend_encryption_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -519,13 +517,13 @@ func (x *EncryptedVolumeStatsResponse) Reset() { } } -func (x *EncryptedVolumeStatsResponse) String() string { +func (x *StatsEncryptedVolumeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EncryptedVolumeStatsResponse) ProtoMessage() {} +func (*StatsEncryptedVolumeResponse) ProtoMessage() {} -func (x *EncryptedVolumeStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsEncryptedVolumeResponse) ProtoReflect() protoreflect.Message { mi := &file_middleend_encryption_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -537,19 +535,12 @@ func (x *EncryptedVolumeStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EncryptedVolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*EncryptedVolumeStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsEncryptedVolumeResponse.ProtoReflect.Descriptor instead. +func (*StatsEncryptedVolumeResponse) Descriptor() ([]byte, []int) { return file_middleend_encryption_proto_rawDescGZIP(), []int{8} } -func (x *EncryptedVolumeStatsResponse) GetEncryptedVolumeId() *_go.ObjectKey { - if x != nil { - return x.EncryptedVolumeId - } - return nil -} - -func (x *EncryptedVolumeStatsResponse) GetStats() *VolumeStats { +func (x *StatsEncryptedVolumeResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -563,179 +554,177 @@ var file_middleend_encryption_proto_rawDesc = []byte{ 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x0f, 0x6f, 0x70, 0x69, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, - 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x06, 0x63, 0x69, - 0x70, 0x68, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, - 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x3a, 0x3d, 0xea, 0x41, 0x3a, 0x0a, 0x26, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, - 0x6f, 0x72, 0x67, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xa3, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x02, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, + 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x24, + 0x0a, 0x22, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0f, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x06, 0x63, 0x69, 0x70, + 0x68, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x63, + 0x69, 0x70, 0x68, 0x65, 0x72, 0x3a, 0x3d, 0xea, 0x41, 0x3a, 0x0a, 0x26, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, + 0x72, 0x67, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x7d, 0x22, 0xa3, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, + 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6e, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x1c, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x24, 0x0a, 0x22, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x22, 0xd0, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x4e, 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x52, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, + 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, + 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x22, 0x9d, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x65, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x1c, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, - 0x41, 0x24, 0x0a, 0x22, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, - 0x67, 0x22, 0xd0, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, + 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, + 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5b, + 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x24, 0x0a, 0x22, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5d, 0x0a, 0x1b, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, + 0x0a, 0x22, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x1c, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x73, 0x32, 0xab, 0x08, 0x0a, 0x1a, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x45, + 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0xbc, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, - 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, - 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, - 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, - 0x73, 0x69, 0x6e, 0x67, 0x22, 0x9d, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6f, 0x70, + 0x65, 0x22, 0x4c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, + 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x24, 0x65, 0x6e, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x65, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x12, + 0x8f, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x2a, 0x1d, 0x2f, 0x76, 0x31, + 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0xcf, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, - 0x5b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, - 0x41, 0x24, 0x0a, 0x22, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6b, 0x0a, 0x1b, - 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x13, 0x65, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, - 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0xa3, 0x01, 0x0a, 0x1c, 0x45, 0x6e, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x65, 0x6e, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, - 0xf7, 0x07, 0x0a, 0x1a, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xbc, - 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, - 0x4c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x24, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x8d, 0x01, - 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, - 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x2a, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x7d, 0x2f, 0x7b, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xcf, 0x01, - 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, - 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x5f, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x65, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x10, - 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0xda, 0x41, 0x1c, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, - 0xa0, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, - 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x3d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x12, 0x97, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x2d, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x7b, 0x0a, 0x14, - 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x67, 0x0a, 0x12, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, - 0x18, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x2f, + 0x7b, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x73, 0x7d, 0x3a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x1c, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x12, 0xa0, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x7d, 0xda, 0x41, 0x06, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x96, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x45, 0x6e, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2d, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0xad, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x45, + 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, + 0x2a, 0x7d, 0x3a, 0x73, 0x74, 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, + 0x67, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, + 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, + 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -759,41 +748,37 @@ var file_middleend_encryption_proto_goTypes = []interface{}{ (*ListEncryptedVolumesRequest)(nil), // 4: opi_api.storage.v1.ListEncryptedVolumesRequest (*ListEncryptedVolumesResponse)(nil), // 5: opi_api.storage.v1.ListEncryptedVolumesResponse (*GetEncryptedVolumeRequest)(nil), // 6: opi_api.storage.v1.GetEncryptedVolumeRequest - (*EncryptedVolumeStatsRequest)(nil), // 7: opi_api.storage.v1.EncryptedVolumeStatsRequest - (*EncryptedVolumeStatsResponse)(nil), // 8: opi_api.storage.v1.EncryptedVolumeStatsResponse - (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey - (EncryptionType)(0), // 10: opi_api.storage.v1.EncryptionType - (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats - (*emptypb.Empty)(nil), // 13: google.protobuf.Empty + (*StatsEncryptedVolumeRequest)(nil), // 7: opi_api.storage.v1.StatsEncryptedVolumeRequest + (*StatsEncryptedVolumeResponse)(nil), // 8: opi_api.storage.v1.StatsEncryptedVolumeResponse + (EncryptionType)(0), // 9: opi_api.storage.v1.EncryptionType + (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask + (*VolumeStats)(nil), // 11: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 12: google.protobuf.Empty } var file_middleend_encryption_proto_depIdxs = []int32{ - 9, // 0: opi_api.storage.v1.EncryptedVolume.volume_id:type_name -> opi_api.common.v1.ObjectKey - 10, // 1: opi_api.storage.v1.EncryptedVolume.cipher:type_name -> opi_api.storage.v1.EncryptionType - 0, // 2: opi_api.storage.v1.CreateEncryptedVolumeRequest.encrypted_volume:type_name -> opi_api.storage.v1.EncryptedVolume - 0, // 3: opi_api.storage.v1.UpdateEncryptedVolumeRequest.encrypted_volume:type_name -> opi_api.storage.v1.EncryptedVolume - 11, // 4: opi_api.storage.v1.UpdateEncryptedVolumeRequest.update_mask:type_name -> google.protobuf.FieldMask - 0, // 5: opi_api.storage.v1.ListEncryptedVolumesResponse.encrypted_volumes:type_name -> opi_api.storage.v1.EncryptedVolume - 9, // 6: opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id:type_name -> opi_api.common.v1.ObjectKey - 9, // 7: opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id:type_name -> opi_api.common.v1.ObjectKey - 12, // 8: opi_api.storage.v1.EncryptedVolumeStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 1, // 9: opi_api.storage.v1.MiddleendEncryptionService.CreateEncryptedVolume:input_type -> opi_api.storage.v1.CreateEncryptedVolumeRequest - 2, // 10: opi_api.storage.v1.MiddleendEncryptionService.DeleteEncryptedVolume:input_type -> opi_api.storage.v1.DeleteEncryptedVolumeRequest - 3, // 11: opi_api.storage.v1.MiddleendEncryptionService.UpdateEncryptedVolume:input_type -> opi_api.storage.v1.UpdateEncryptedVolumeRequest - 4, // 12: opi_api.storage.v1.MiddleendEncryptionService.ListEncryptedVolumes:input_type -> opi_api.storage.v1.ListEncryptedVolumesRequest - 6, // 13: opi_api.storage.v1.MiddleendEncryptionService.GetEncryptedVolume:input_type -> opi_api.storage.v1.GetEncryptedVolumeRequest - 7, // 14: opi_api.storage.v1.MiddleendEncryptionService.EncryptedVolumeStats:input_type -> opi_api.storage.v1.EncryptedVolumeStatsRequest - 0, // 15: opi_api.storage.v1.MiddleendEncryptionService.CreateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume - 13, // 16: opi_api.storage.v1.MiddleendEncryptionService.DeleteEncryptedVolume:output_type -> google.protobuf.Empty - 0, // 17: opi_api.storage.v1.MiddleendEncryptionService.UpdateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume - 5, // 18: opi_api.storage.v1.MiddleendEncryptionService.ListEncryptedVolumes:output_type -> opi_api.storage.v1.ListEncryptedVolumesResponse - 0, // 19: opi_api.storage.v1.MiddleendEncryptionService.GetEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume - 8, // 20: opi_api.storage.v1.MiddleendEncryptionService.EncryptedVolumeStats:output_type -> opi_api.storage.v1.EncryptedVolumeStatsResponse - 15, // [15:21] is the sub-list for method output_type - 9, // [9:15] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name + 9, // 0: opi_api.storage.v1.EncryptedVolume.cipher:type_name -> opi_api.storage.v1.EncryptionType + 0, // 1: opi_api.storage.v1.CreateEncryptedVolumeRequest.encrypted_volume:type_name -> opi_api.storage.v1.EncryptedVolume + 0, // 2: opi_api.storage.v1.UpdateEncryptedVolumeRequest.encrypted_volume:type_name -> opi_api.storage.v1.EncryptedVolume + 10, // 3: opi_api.storage.v1.UpdateEncryptedVolumeRequest.update_mask:type_name -> google.protobuf.FieldMask + 0, // 4: opi_api.storage.v1.ListEncryptedVolumesResponse.encrypted_volumes:type_name -> opi_api.storage.v1.EncryptedVolume + 11, // 5: opi_api.storage.v1.StatsEncryptedVolumeResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 6: opi_api.storage.v1.MiddleendEncryptionService.CreateEncryptedVolume:input_type -> opi_api.storage.v1.CreateEncryptedVolumeRequest + 2, // 7: opi_api.storage.v1.MiddleendEncryptionService.DeleteEncryptedVolume:input_type -> opi_api.storage.v1.DeleteEncryptedVolumeRequest + 3, // 8: opi_api.storage.v1.MiddleendEncryptionService.UpdateEncryptedVolume:input_type -> opi_api.storage.v1.UpdateEncryptedVolumeRequest + 4, // 9: opi_api.storage.v1.MiddleendEncryptionService.ListEncryptedVolumes:input_type -> opi_api.storage.v1.ListEncryptedVolumesRequest + 6, // 10: opi_api.storage.v1.MiddleendEncryptionService.GetEncryptedVolume:input_type -> opi_api.storage.v1.GetEncryptedVolumeRequest + 7, // 11: opi_api.storage.v1.MiddleendEncryptionService.StatsEncryptedVolume:input_type -> opi_api.storage.v1.StatsEncryptedVolumeRequest + 0, // 12: opi_api.storage.v1.MiddleendEncryptionService.CreateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume + 12, // 13: opi_api.storage.v1.MiddleendEncryptionService.DeleteEncryptedVolume:output_type -> google.protobuf.Empty + 0, // 14: opi_api.storage.v1.MiddleendEncryptionService.UpdateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume + 5, // 15: opi_api.storage.v1.MiddleendEncryptionService.ListEncryptedVolumes:output_type -> opi_api.storage.v1.ListEncryptedVolumesResponse + 0, // 16: opi_api.storage.v1.MiddleendEncryptionService.GetEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume + 8, // 17: opi_api.storage.v1.MiddleendEncryptionService.StatsEncryptedVolume:output_type -> opi_api.storage.v1.StatsEncryptedVolumeResponse + 12, // [12:18] is the sub-list for method output_type + 6, // [6:12] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_middleend_encryption_proto_init() } @@ -888,7 +873,7 @@ func file_middleend_encryption_proto_init() { } } file_middleend_encryption_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncryptedVolumeStatsRequest); i { + switch v := v.(*StatsEncryptedVolumeRequest); i { case 0: return &v.state case 1: @@ -900,7 +885,7 @@ func file_middleend_encryption_proto_init() { } } file_middleend_encryption_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncryptedVolumeStatsResponse); i { + switch v := v.(*StatsEncryptedVolumeResponse); i { case 0: return &v.state case 1: @@ -949,7 +934,7 @@ type MiddleendEncryptionServiceClient interface { UpdateEncryptedVolume(ctx context.Context, in *UpdateEncryptedVolumeRequest, opts ...grpc.CallOption) (*EncryptedVolume, error) ListEncryptedVolumes(ctx context.Context, in *ListEncryptedVolumesRequest, opts ...grpc.CallOption) (*ListEncryptedVolumesResponse, error) GetEncryptedVolume(ctx context.Context, in *GetEncryptedVolumeRequest, opts ...grpc.CallOption) (*EncryptedVolume, error) - EncryptedVolumeStats(ctx context.Context, in *EncryptedVolumeStatsRequest, opts ...grpc.CallOption) (*EncryptedVolumeStatsResponse, error) + StatsEncryptedVolume(ctx context.Context, in *StatsEncryptedVolumeRequest, opts ...grpc.CallOption) (*StatsEncryptedVolumeResponse, error) } type middleendEncryptionServiceClient struct { @@ -1005,9 +990,9 @@ func (c *middleendEncryptionServiceClient) GetEncryptedVolume(ctx context.Contex return out, nil } -func (c *middleendEncryptionServiceClient) EncryptedVolumeStats(ctx context.Context, in *EncryptedVolumeStatsRequest, opts ...grpc.CallOption) (*EncryptedVolumeStatsResponse, error) { - out := new(EncryptedVolumeStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.MiddleendEncryptionService/EncryptedVolumeStats", in, out, opts...) +func (c *middleendEncryptionServiceClient) StatsEncryptedVolume(ctx context.Context, in *StatsEncryptedVolumeRequest, opts ...grpc.CallOption) (*StatsEncryptedVolumeResponse, error) { + out := new(StatsEncryptedVolumeResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.MiddleendEncryptionService/StatsEncryptedVolume", in, out, opts...) if err != nil { return nil, err } @@ -1021,7 +1006,7 @@ type MiddleendEncryptionServiceServer interface { UpdateEncryptedVolume(context.Context, *UpdateEncryptedVolumeRequest) (*EncryptedVolume, error) ListEncryptedVolumes(context.Context, *ListEncryptedVolumesRequest) (*ListEncryptedVolumesResponse, error) GetEncryptedVolume(context.Context, *GetEncryptedVolumeRequest) (*EncryptedVolume, error) - EncryptedVolumeStats(context.Context, *EncryptedVolumeStatsRequest) (*EncryptedVolumeStatsResponse, error) + StatsEncryptedVolume(context.Context, *StatsEncryptedVolumeRequest) (*StatsEncryptedVolumeResponse, error) } // UnimplementedMiddleendEncryptionServiceServer can be embedded to have forward compatible implementations. @@ -1043,8 +1028,8 @@ func (*UnimplementedMiddleendEncryptionServiceServer) ListEncryptedVolumes(conte func (*UnimplementedMiddleendEncryptionServiceServer) GetEncryptedVolume(context.Context, *GetEncryptedVolumeRequest) (*EncryptedVolume, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEncryptedVolume not implemented") } -func (*UnimplementedMiddleendEncryptionServiceServer) EncryptedVolumeStats(context.Context, *EncryptedVolumeStatsRequest) (*EncryptedVolumeStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EncryptedVolumeStats not implemented") +func (*UnimplementedMiddleendEncryptionServiceServer) StatsEncryptedVolume(context.Context, *StatsEncryptedVolumeRequest) (*StatsEncryptedVolumeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsEncryptedVolume not implemented") } func RegisterMiddleendEncryptionServiceServer(s *grpc.Server, srv MiddleendEncryptionServiceServer) { @@ -1141,20 +1126,20 @@ func _MiddleendEncryptionService_GetEncryptedVolume_Handler(srv interface{}, ctx return interceptor(ctx, in, info, handler) } -func _MiddleendEncryptionService_EncryptedVolumeStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EncryptedVolumeStatsRequest) +func _MiddleendEncryptionService_StatsEncryptedVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsEncryptedVolumeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MiddleendEncryptionServiceServer).EncryptedVolumeStats(ctx, in) + return srv.(MiddleendEncryptionServiceServer).StatsEncryptedVolume(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.MiddleendEncryptionService/EncryptedVolumeStats", + FullMethod: "/opi_api.storage.v1.MiddleendEncryptionService/StatsEncryptedVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MiddleendEncryptionServiceServer).EncryptedVolumeStats(ctx, req.(*EncryptedVolumeStatsRequest)) + return srv.(MiddleendEncryptionServiceServer).StatsEncryptedVolume(ctx, req.(*StatsEncryptedVolumeRequest)) } return interceptor(ctx, in, info, handler) } @@ -1184,8 +1169,8 @@ var _MiddleendEncryptionService_serviceDesc = grpc.ServiceDesc{ Handler: _MiddleendEncryptionService_GetEncryptedVolume_Handler, }, { - MethodName: "EncryptedVolumeStats", - Handler: _MiddleendEncryptionService_EncryptedVolumeStats_Handler, + MethodName: "StatsEncryptedVolume", + Handler: _MiddleendEncryptionService_StatsEncryptedVolume_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/middleend_qos_volume.pb.go b/storage/v1alpha1/gen/go/middleend_qos_volume.pb.go index b550d78a..737b41d2 100644 --- a/storage/v1alpha1/gen/go/middleend_qos_volume.pb.go +++ b/storage/v1alpha1/gen/go/middleend_qos_volume.pb.go @@ -111,8 +111,8 @@ type CreateQosVolumeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - QosVolume *QosVolume `protobuf:"bytes,2,opt,name=qos_volume,json=qosVolume,proto3" json:"qos_volume,omitempty"` - QosVolumeId string `protobuf:"bytes,3,opt,name=qos_volume_id,json=qosVolumeId,proto3" json:"qos_volume_id,omitempty"` + QosVolume *QosVolume `protobuf:"bytes,1,opt,name=qos_volume,json=qosVolume,proto3" json:"qos_volume,omitempty"` + QosVolumeId string `protobuf:"bytes,2,opt,name=qos_volume_id,json=qosVolumeId,proto3" json:"qos_volume_id,omitempty"` } func (x *CreateQosVolumeRequest) Reset() { @@ -450,16 +450,16 @@ func (x *GetQosVolumeRequest) GetName() string { return "" } -type QosVolumeStatsRequest struct { +type StatsQosVolumeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VolumeId *_go.ObjectKey `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *QosVolumeStatsRequest) Reset() { - *x = QosVolumeStatsRequest{} +func (x *StatsQosVolumeRequest) Reset() { + *x = StatsQosVolumeRequest{} if protoimpl.UnsafeEnabled { mi := &file_middleend_qos_volume_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -467,13 +467,13 @@ func (x *QosVolumeStatsRequest) Reset() { } } -func (x *QosVolumeStatsRequest) String() string { +func (x *StatsQosVolumeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QosVolumeStatsRequest) ProtoMessage() {} +func (*StatsQosVolumeRequest) ProtoMessage() {} -func (x *QosVolumeStatsRequest) ProtoReflect() protoreflect.Message { +func (x *StatsQosVolumeRequest) ProtoReflect() protoreflect.Message { mi := &file_middleend_qos_volume_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -485,29 +485,28 @@ func (x *QosVolumeStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use QosVolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*QosVolumeStatsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsQosVolumeRequest.ProtoReflect.Descriptor instead. +func (*StatsQosVolumeRequest) Descriptor() ([]byte, []int) { return file_middleend_qos_volume_proto_rawDescGZIP(), []int{7} } -func (x *QosVolumeStatsRequest) GetVolumeId() *_go.ObjectKey { +func (x *StatsQosVolumeRequest) GetName() string { if x != nil { - return x.VolumeId + return x.Name } - return nil + return "" } -type QosVolumeStatsResponse struct { +type StatsQosVolumeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *QosVolumeStatsResponse) Reset() { - *x = QosVolumeStatsResponse{} +func (x *StatsQosVolumeResponse) Reset() { + *x = StatsQosVolumeResponse{} if protoimpl.UnsafeEnabled { mi := &file_middleend_qos_volume_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -515,13 +514,13 @@ func (x *QosVolumeStatsResponse) Reset() { } } -func (x *QosVolumeStatsResponse) String() string { +func (x *StatsQosVolumeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QosVolumeStatsResponse) ProtoMessage() {} +func (*StatsQosVolumeResponse) ProtoMessage() {} -func (x *QosVolumeStatsResponse) ProtoReflect() protoreflect.Message { +func (x *StatsQosVolumeResponse) ProtoReflect() protoreflect.Message { mi := &file_middleend_qos_volume_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -533,19 +532,12 @@ func (x *QosVolumeStatsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use QosVolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*QosVolumeStatsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use StatsQosVolumeResponse.ProtoReflect.Descriptor instead. +func (*StatsQosVolumeResponse) Descriptor() ([]byte, []int) { return file_middleend_qos_volume_proto_rawDescGZIP(), []int{8} } -func (x *QosVolumeStatsResponse) GetId() *_go.ObjectKey { - if x != nil { - return x.Id - } - return nil -} - -func (x *QosVolumeStatsResponse) GetStats() *VolumeStats { +func (x *StatsQosVolumeResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } @@ -571,142 +563,143 @@ var file_middleend_qos_volume_proto_rawDesc = []byte{ 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x02, 0x0a, 0x09, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x39, 0x0a, - 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, - 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x3a, 0x37, 0xea, 0x41, 0x34, 0x0a, 0x20, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x7d, 0x22, 0x7f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x71, - 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, - 0xe0, 0x41, 0x02, 0x52, 0x09, 0x71, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x22, - 0x0a, 0x0d, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x22, 0x77, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, - 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb8, 0x01, 0x0a, 0x16, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x09, 0x71, 0x6f, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, - 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, - 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, - 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x51, - 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x51, 0x6f, 0x73, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x4c, - 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0a, 0x71, 0x6f, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4f, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x51, - 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, - 0x0a, 0x15, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x16, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x32, 0xf6, 0x06, 0x0a, 0x19, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x51, - 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x98, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x51, - 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x3a, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x73, 0x3a, 0x0a, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, - 0x41, 0x18, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x71, 0x6f, 0x73, - 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x02, 0x0a, 0x09, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x27, 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2f, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x39, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, + 0x79, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x6d, + 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, - 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x71, 0x6f, 0x73, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x7d, 0x2f, 0x7b, 0x71, 0x6f, 0x73, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0xda, 0x41, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, - 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, 0x31, - 0x2f, 0x7b, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x71, - 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x16, 0x71, 0x6f, 0x73, 0x5f, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, - 0x73, 0x6b, 0x12, 0x8e, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x51, - 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x3d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x12, 0x89, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x6f, 0x73, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x69, + 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x6f, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x3a, 0x37, 0xea, 0x41, 0x34, 0x0a, 0x20, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x51, + 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0x22, 0x7f, 0x0a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, + 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x71, 0x6f, + 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x71, 0x6f, 0x73, 0x5f, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x71, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x16, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, + 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb8, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, + 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3c, 0x0a, 0x0a, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x09, 0x71, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3b, 0x0a, + 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, + 0x91, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, + 0x0a, 0x0b, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x0a, 0x71, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x26, + 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x51, 0x6f, 0x73, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, + 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2f, 0x51, 0x6f, 0x73, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x16, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, 0x8c, 0x07, 0x0a, 0x19, + 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x0f, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x31, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x2f, 0x7b, 0x71, 0x6f, 0x73, - 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x69, 0x0a, 0x0e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x66, 0x0a, 0x12, 0x6f, 0x70, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, + 0x22, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x3a, 0x0a, 0x71, + 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x18, 0x71, 0x6f, 0x73, 0x5f, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x5f, 0x69, 0x64, 0x12, 0x7d, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x6f, + 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x19, 0x2a, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x51, + 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x6f, + 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, 0x31, 0x2f, + 0x7b, 0x71, 0x6f, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x71, 0x6f, + 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0xda, 0x41, 0x16, 0x71, 0x6f, 0x73, 0x5f, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, + 0x6b, 0x12, 0x8e, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, + 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x3d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x7d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x12, 0x7e, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x6f, 0x73, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x51, 0x6f, + 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x95, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x51, 0x6f, 0x73, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x29, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x51, 0x6f, 0x73, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x74, + 0x61, 0x74, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x66, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x51, 0x6f, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, @@ -737,8 +730,8 @@ var file_middleend_qos_volume_proto_goTypes = []interface{}{ (*ListQosVolumesRequest)(nil), // 4: opi_api.storage.v1.ListQosVolumesRequest (*ListQosVolumesResponse)(nil), // 5: opi_api.storage.v1.ListQosVolumesResponse (*GetQosVolumeRequest)(nil), // 6: opi_api.storage.v1.GetQosVolumeRequest - (*QosVolumeStatsRequest)(nil), // 7: opi_api.storage.v1.QosVolumeStatsRequest - (*QosVolumeStatsResponse)(nil), // 8: opi_api.storage.v1.QosVolumeStatsResponse + (*StatsQosVolumeRequest)(nil), // 7: opi_api.storage.v1.StatsQosVolumeRequest + (*StatsQosVolumeResponse)(nil), // 8: opi_api.storage.v1.StatsQosVolumeResponse (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey (*QosLimit)(nil), // 10: opi_api.storage.v1.QosLimit (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask @@ -753,26 +746,24 @@ var file_middleend_qos_volume_proto_depIdxs = []int32{ 0, // 4: opi_api.storage.v1.UpdateQosVolumeRequest.qos_volume:type_name -> opi_api.storage.v1.QosVolume 11, // 5: opi_api.storage.v1.UpdateQosVolumeRequest.update_mask:type_name -> google.protobuf.FieldMask 0, // 6: opi_api.storage.v1.ListQosVolumesResponse.qos_volumes:type_name -> opi_api.storage.v1.QosVolume - 9, // 7: opi_api.storage.v1.QosVolumeStatsRequest.volume_id:type_name -> opi_api.common.v1.ObjectKey - 9, // 8: opi_api.storage.v1.QosVolumeStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 12, // 9: opi_api.storage.v1.QosVolumeStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats - 1, // 10: opi_api.storage.v1.MiddleendQosVolumeService.CreateQosVolume:input_type -> opi_api.storage.v1.CreateQosVolumeRequest - 2, // 11: opi_api.storage.v1.MiddleendQosVolumeService.DeleteQosVolume:input_type -> opi_api.storage.v1.DeleteQosVolumeRequest - 3, // 12: opi_api.storage.v1.MiddleendQosVolumeService.UpdateQosVolume:input_type -> opi_api.storage.v1.UpdateQosVolumeRequest - 4, // 13: opi_api.storage.v1.MiddleendQosVolumeService.ListQosVolumes:input_type -> opi_api.storage.v1.ListQosVolumesRequest - 6, // 14: opi_api.storage.v1.MiddleendQosVolumeService.GetQosVolume:input_type -> opi_api.storage.v1.GetQosVolumeRequest - 7, // 15: opi_api.storage.v1.MiddleendQosVolumeService.QosVolumeStats:input_type -> opi_api.storage.v1.QosVolumeStatsRequest - 0, // 16: opi_api.storage.v1.MiddleendQosVolumeService.CreateQosVolume:output_type -> opi_api.storage.v1.QosVolume - 13, // 17: opi_api.storage.v1.MiddleendQosVolumeService.DeleteQosVolume:output_type -> google.protobuf.Empty - 0, // 18: opi_api.storage.v1.MiddleendQosVolumeService.UpdateQosVolume:output_type -> opi_api.storage.v1.QosVolume - 5, // 19: opi_api.storage.v1.MiddleendQosVolumeService.ListQosVolumes:output_type -> opi_api.storage.v1.ListQosVolumesResponse - 0, // 20: opi_api.storage.v1.MiddleendQosVolumeService.GetQosVolume:output_type -> opi_api.storage.v1.QosVolume - 8, // 21: opi_api.storage.v1.MiddleendQosVolumeService.QosVolumeStats:output_type -> opi_api.storage.v1.QosVolumeStatsResponse - 16, // [16:22] is the sub-list for method output_type - 10, // [10:16] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 12, // 7: opi_api.storage.v1.StatsQosVolumeResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 8: opi_api.storage.v1.MiddleendQosVolumeService.CreateQosVolume:input_type -> opi_api.storage.v1.CreateQosVolumeRequest + 2, // 9: opi_api.storage.v1.MiddleendQosVolumeService.DeleteQosVolume:input_type -> opi_api.storage.v1.DeleteQosVolumeRequest + 3, // 10: opi_api.storage.v1.MiddleendQosVolumeService.UpdateQosVolume:input_type -> opi_api.storage.v1.UpdateQosVolumeRequest + 4, // 11: opi_api.storage.v1.MiddleendQosVolumeService.ListQosVolumes:input_type -> opi_api.storage.v1.ListQosVolumesRequest + 6, // 12: opi_api.storage.v1.MiddleendQosVolumeService.GetQosVolume:input_type -> opi_api.storage.v1.GetQosVolumeRequest + 7, // 13: opi_api.storage.v1.MiddleendQosVolumeService.StatsQosVolume:input_type -> opi_api.storage.v1.StatsQosVolumeRequest + 0, // 14: opi_api.storage.v1.MiddleendQosVolumeService.CreateQosVolume:output_type -> opi_api.storage.v1.QosVolume + 13, // 15: opi_api.storage.v1.MiddleendQosVolumeService.DeleteQosVolume:output_type -> google.protobuf.Empty + 0, // 16: opi_api.storage.v1.MiddleendQosVolumeService.UpdateQosVolume:output_type -> opi_api.storage.v1.QosVolume + 5, // 17: opi_api.storage.v1.MiddleendQosVolumeService.ListQosVolumes:output_type -> opi_api.storage.v1.ListQosVolumesResponse + 0, // 18: opi_api.storage.v1.MiddleendQosVolumeService.GetQosVolume:output_type -> opi_api.storage.v1.QosVolume + 8, // 19: opi_api.storage.v1.MiddleendQosVolumeService.StatsQosVolume:output_type -> opi_api.storage.v1.StatsQosVolumeResponse + 14, // [14:20] is the sub-list for method output_type + 8, // [8:14] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } func init() { file_middleend_qos_volume_proto_init() } @@ -867,7 +858,7 @@ func file_middleend_qos_volume_proto_init() { } } file_middleend_qos_volume_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QosVolumeStatsRequest); i { + switch v := v.(*StatsQosVolumeRequest); i { case 0: return &v.state case 1: @@ -879,7 +870,7 @@ func file_middleend_qos_volume_proto_init() { } } file_middleend_qos_volume_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QosVolumeStatsResponse); i { + switch v := v.(*StatsQosVolumeResponse); i { case 0: return &v.state case 1: @@ -928,7 +919,7 @@ type MiddleendQosVolumeServiceClient interface { UpdateQosVolume(ctx context.Context, in *UpdateQosVolumeRequest, opts ...grpc.CallOption) (*QosVolume, error) ListQosVolumes(ctx context.Context, in *ListQosVolumesRequest, opts ...grpc.CallOption) (*ListQosVolumesResponse, error) GetQosVolume(ctx context.Context, in *GetQosVolumeRequest, opts ...grpc.CallOption) (*QosVolume, error) - QosVolumeStats(ctx context.Context, in *QosVolumeStatsRequest, opts ...grpc.CallOption) (*QosVolumeStatsResponse, error) + StatsQosVolume(ctx context.Context, in *StatsQosVolumeRequest, opts ...grpc.CallOption) (*StatsQosVolumeResponse, error) } type middleendQosVolumeServiceClient struct { @@ -984,9 +975,9 @@ func (c *middleendQosVolumeServiceClient) GetQosVolume(ctx context.Context, in * return out, nil } -func (c *middleendQosVolumeServiceClient) QosVolumeStats(ctx context.Context, in *QosVolumeStatsRequest, opts ...grpc.CallOption) (*QosVolumeStatsResponse, error) { - out := new(QosVolumeStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.MiddleendQosVolumeService/QosVolumeStats", in, out, opts...) +func (c *middleendQosVolumeServiceClient) StatsQosVolume(ctx context.Context, in *StatsQosVolumeRequest, opts ...grpc.CallOption) (*StatsQosVolumeResponse, error) { + out := new(StatsQosVolumeResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.MiddleendQosVolumeService/StatsQosVolume", in, out, opts...) if err != nil { return nil, err } @@ -1000,7 +991,7 @@ type MiddleendQosVolumeServiceServer interface { UpdateQosVolume(context.Context, *UpdateQosVolumeRequest) (*QosVolume, error) ListQosVolumes(context.Context, *ListQosVolumesRequest) (*ListQosVolumesResponse, error) GetQosVolume(context.Context, *GetQosVolumeRequest) (*QosVolume, error) - QosVolumeStats(context.Context, *QosVolumeStatsRequest) (*QosVolumeStatsResponse, error) + StatsQosVolume(context.Context, *StatsQosVolumeRequest) (*StatsQosVolumeResponse, error) } // UnimplementedMiddleendQosVolumeServiceServer can be embedded to have forward compatible implementations. @@ -1022,8 +1013,8 @@ func (*UnimplementedMiddleendQosVolumeServiceServer) ListQosVolumes(context.Cont func (*UnimplementedMiddleendQosVolumeServiceServer) GetQosVolume(context.Context, *GetQosVolumeRequest) (*QosVolume, error) { return nil, status.Errorf(codes.Unimplemented, "method GetQosVolume not implemented") } -func (*UnimplementedMiddleendQosVolumeServiceServer) QosVolumeStats(context.Context, *QosVolumeStatsRequest) (*QosVolumeStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QosVolumeStats not implemented") +func (*UnimplementedMiddleendQosVolumeServiceServer) StatsQosVolume(context.Context, *StatsQosVolumeRequest) (*StatsQosVolumeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StatsQosVolume not implemented") } func RegisterMiddleendQosVolumeServiceServer(s *grpc.Server, srv MiddleendQosVolumeServiceServer) { @@ -1120,20 +1111,20 @@ func _MiddleendQosVolumeService_GetQosVolume_Handler(srv interface{}, ctx contex return interceptor(ctx, in, info, handler) } -func _MiddleendQosVolumeService_QosVolumeStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QosVolumeStatsRequest) +func _MiddleendQosVolumeService_StatsQosVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatsQosVolumeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MiddleendQosVolumeServiceServer).QosVolumeStats(ctx, in) + return srv.(MiddleendQosVolumeServiceServer).StatsQosVolume(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.MiddleendQosVolumeService/QosVolumeStats", + FullMethod: "/opi_api.storage.v1.MiddleendQosVolumeService/StatsQosVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MiddleendQosVolumeServiceServer).QosVolumeStats(ctx, req.(*QosVolumeStatsRequest)) + return srv.(MiddleendQosVolumeServiceServer).StatsQosVolume(ctx, req.(*StatsQosVolumeRequest)) } return interceptor(ctx, in, info, handler) } @@ -1163,8 +1154,8 @@ var _MiddleendQosVolumeService_serviceDesc = grpc.ServiceDesc{ Handler: _MiddleendQosVolumeService_GetQosVolume_Handler, }, { - MethodName: "QosVolumeStats", - Handler: _MiddleendQosVolumeService_QosVolumeStats_Handler, + MethodName: "StatsQosVolume", + Handler: _MiddleendQosVolumeService_StatsQosVolume_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolume.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolume.java index 970f6ee1..1d0f6a99 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolume.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolume.java @@ -126,7 +126,7 @@ private AioVolume( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -149,7 +149,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -646,7 +646,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -668,7 +668,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -691,7 +691,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -712,7 +712,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -728,7 +728,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeOrBuilder.java index 5a38f029..9444cb00 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeOrBuilder.java @@ -14,7 +14,7 @@ public interface AioVolumeOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface AioVolumeOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeServiceGrpc.java index 544ce741..56f299fe 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeServiceGrpc.java @@ -173,35 +173,35 @@ opi_api.storage.v1.AioVolume> getGetAioVolumeMethod() { return getGetAioVolumeMethod; } - private static volatile io.grpc.MethodDescriptor getAioVolumeStatsMethod; + private static volatile io.grpc.MethodDescriptor getStatsAioVolumeMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioVolumeStats", - requestType = opi_api.storage.v1.AioVolumeStatsRequest.class, - responseType = opi_api.storage.v1.AioVolumeStatsResponse.class, + fullMethodName = SERVICE_NAME + '/' + "StatsAioVolume", + requestType = opi_api.storage.v1.StatsAioVolumeRequest.class, + responseType = opi_api.storage.v1.StatsAioVolumeResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioVolumeStatsMethod() { - io.grpc.MethodDescriptor getAioVolumeStatsMethod; - if ((getAioVolumeStatsMethod = AioVolumeServiceGrpc.getAioVolumeStatsMethod) == null) { + public static io.grpc.MethodDescriptor getStatsAioVolumeMethod() { + io.grpc.MethodDescriptor getStatsAioVolumeMethod; + if ((getStatsAioVolumeMethod = AioVolumeServiceGrpc.getStatsAioVolumeMethod) == null) { synchronized (AioVolumeServiceGrpc.class) { - if ((getAioVolumeStatsMethod = AioVolumeServiceGrpc.getAioVolumeStatsMethod) == null) { - AioVolumeServiceGrpc.getAioVolumeStatsMethod = getAioVolumeStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getStatsAioVolumeMethod = AioVolumeServiceGrpc.getStatsAioVolumeMethod) == null) { + AioVolumeServiceGrpc.getStatsAioVolumeMethod = getStatsAioVolumeMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioVolumeStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsAioVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioVolumeStatsRequest.getDefaultInstance())) + opi_api.storage.v1.StatsAioVolumeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioVolumeStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AioVolumeServiceMethodDescriptorSupplier("AioVolumeStats")) + opi_api.storage.v1.StatsAioVolumeResponse.getDefaultInstance())) + .setSchemaDescriptor(new AioVolumeServiceMethodDescriptorSupplier("StatsAioVolume")) .build(); } } } - return getAioVolumeStatsMethod; + return getStatsAioVolumeMethod; } /** @@ -292,9 +292,9 @@ public void getAioVolume(opi_api.storage.v1.GetAioVolumeRequest request, /** */ - public void aioVolumeStats(opi_api.storage.v1.AioVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioVolumeStatsMethod(), responseObserver); + public void statsAioVolume(opi_api.storage.v1.StatsAioVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsAioVolumeMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { @@ -335,12 +335,12 @@ public void aioVolumeStats(opi_api.storage.v1.AioVolumeStatsRequest request, opi_api.storage.v1.AioVolume>( this, METHODID_GET_AIO_VOLUME))) .addMethod( - getAioVolumeStatsMethod(), + getStatsAioVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioVolumeStatsRequest, - opi_api.storage.v1.AioVolumeStatsResponse>( - this, METHODID_AIO_VOLUME_STATS))) + opi_api.storage.v1.StatsAioVolumeRequest, + opi_api.storage.v1.StatsAioVolumeResponse>( + this, METHODID_STATS_AIO_VOLUME))) .build(); } } @@ -404,10 +404,10 @@ public void getAioVolume(opi_api.storage.v1.GetAioVolumeRequest request, /** */ - public void aioVolumeStats(opi_api.storage.v1.AioVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void statsAioVolume(opi_api.storage.v1.StatsAioVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioVolumeStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStatsAioVolumeMethod(), getCallOptions()), request, responseObserver); } } @@ -465,9 +465,9 @@ public opi_api.storage.v1.AioVolume getAioVolume(opi_api.storage.v1.GetAioVolume /** */ - public opi_api.storage.v1.AioVolumeStatsResponse aioVolumeStats(opi_api.storage.v1.AioVolumeStatsRequest request) { + public opi_api.storage.v1.StatsAioVolumeResponse statsAioVolume(opi_api.storage.v1.StatsAioVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioVolumeStatsMethod(), getCallOptions(), request); + getChannel(), getStatsAioVolumeMethod(), getCallOptions(), request); } } @@ -530,10 +530,10 @@ public com.google.common.util.concurrent.ListenableFuture aioVolumeStats( - opi_api.storage.v1.AioVolumeStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture statsAioVolume( + opi_api.storage.v1.StatsAioVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioVolumeStatsMethod(), getCallOptions()), request); + getChannel().newCall(getStatsAioVolumeMethod(), getCallOptions()), request); } } @@ -542,7 +542,7 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -581,9 +581,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getAioVolume((opi_api.storage.v1.GetAioVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_AIO_VOLUME_STATS: - serviceImpl.aioVolumeStats((opi_api.storage.v1.AioVolumeStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_STATS_AIO_VOLUME: + serviceImpl.statsAioVolume((opi_api.storage.v1.StatsAioVolumeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -651,7 +651,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateAioVolumeMethod()) .addMethod(getListAioVolumesMethod()) .addMethod(getGetAioVolumeMethod()) - .addMethod(getAioVolumeStatsMethod()) + .addMethod(getStatsAioVolumeMethod()) .build(); } } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsRequest.java deleted file mode 100644 index 8663a948..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsRequest.java +++ /dev/null @@ -1,607 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.AioVolumeStatsRequest} - */ -public final class AioVolumeStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioVolumeStatsRequest) - AioVolumeStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use AioVolumeStatsRequest.newBuilder() to construct. - private AioVolumeStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AioVolumeStatsRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AioVolumeStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AioVolumeStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (handle_ != null) { - subBuilder = handle_.toBuilder(); - } - handle_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(handle_); - handle_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioVolumeStatsRequest.class, opi_api.storage.v1.AioVolumeStatsRequest.Builder.class); - } - - public static final int HANDLE_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey handle_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - @java.lang.Override - public boolean hasHandle() { - return handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getHandle() { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - return getHandle(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (handle_ != null) { - output.writeMessage(1, getHandle()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (handle_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHandle()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.AioVolumeStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.AioVolumeStatsRequest other = (opi_api.storage.v1.AioVolumeStatsRequest) obj; - - if (hasHandle() != other.hasHandle()) return false; - if (hasHandle()) { - if (!getHandle() - .equals(other.getHandle())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasHandle()) { - hash = (37 * hash) + HANDLE_FIELD_NUMBER; - hash = (53 * hash) + getHandle().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioVolumeStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.AioVolumeStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.AioVolumeStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioVolumeStatsRequest) - opi_api.storage.v1.AioVolumeStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioVolumeStatsRequest.class, opi_api.storage.v1.AioVolumeStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.AioVolumeStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (handleBuilder_ == null) { - handle_ = null; - } else { - handle_ = null; - handleBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioVolumeStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsRequest build() { - opi_api.storage.v1.AioVolumeStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsRequest buildPartial() { - opi_api.storage.v1.AioVolumeStatsRequest result = new opi_api.storage.v1.AioVolumeStatsRequest(this); - if (handleBuilder_ == null) { - result.handle_ = handle_; - } else { - result.handle_ = handleBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioVolumeStatsRequest) { - return mergeFrom((opi_api.storage.v1.AioVolumeStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.AioVolumeStatsRequest other) { - if (other == opi_api.storage.v1.AioVolumeStatsRequest.getDefaultInstance()) return this; - if (other.hasHandle()) { - mergeHandle(other.getHandle()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.AioVolumeStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioVolumeStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey handle_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> handleBuilder_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - public boolean hasHandle() { - return handleBuilder_ != null || handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - public opi_api.common.v1.ObjectKey getHandle() { - if (handleBuilder_ == null) { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } else { - return handleBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - handle_ = value; - onChanged(); - } else { - handleBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (handleBuilder_ == null) { - handle_ = builderForValue.build(); - onChanged(); - } else { - handleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder mergeHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (handle_ != null) { - handle_ = - opi_api.common.v1.ObjectKey.newBuilder(handle_).mergeFrom(value).buildPartial(); - } else { - handle_ = value; - } - onChanged(); - } else { - handleBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder clearHandle() { - if (handleBuilder_ == null) { - handle_ = null; - onChanged(); - } else { - handle_ = null; - handleBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getHandleBuilder() { - - onChanged(); - return getHandleFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - if (handleBuilder_ != null) { - return handleBuilder_.getMessageOrBuilder(); - } else { - return handle_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getHandleFieldBuilder() { - if (handleBuilder_ == null) { - handleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getHandle(), - getParentForChildren(), - isClean()); - handle_ = null; - } - return handleBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioVolumeStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioVolumeStatsRequest) - private static final opi_api.storage.v1.AioVolumeStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioVolumeStatsRequest(); - } - - public static opi_api.storage.v1.AioVolumeStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AioVolumeStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AioVolumeStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsRequestOrBuilder.java deleted file mode 100644 index 1028ab20..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -public interface AioVolumeStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioVolumeStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - boolean hasHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - opi_api.common.v1.ObjectKey getHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsResponse.java deleted file mode 100644 index 4f405604..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.AioVolumeStatsResponse} - */ -public final class AioVolumeStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioVolumeStatsResponse) - AioVolumeStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use AioVolumeStatsResponse.newBuilder() to construct. - private AioVolumeStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AioVolumeStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AioVolumeStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AioVolumeStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (handle_ != null) { - subBuilder = handle_.toBuilder(); - } - handle_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(handle_); - handle_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioVolumeStatsResponse.class, opi_api.storage.v1.AioVolumeStatsResponse.Builder.class); - } - - public static final int HANDLE_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey handle_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - @java.lang.Override - public boolean hasHandle() { - return handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getHandle() { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - return getHandle(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (handle_ != null) { - output.writeMessage(1, getHandle()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (handle_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHandle()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.AioVolumeStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.AioVolumeStatsResponse other = (opi_api.storage.v1.AioVolumeStatsResponse) obj; - - if (hasHandle() != other.hasHandle()) return false; - if (hasHandle()) { - if (!getHandle() - .equals(other.getHandle())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasHandle()) { - hash = (37 * hash) + HANDLE_FIELD_NUMBER; - hash = (53 * hash) + getHandle().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioVolumeStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.AioVolumeStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.AioVolumeStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioVolumeStatsResponse) - opi_api.storage.v1.AioVolumeStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioVolumeStatsResponse.class, opi_api.storage.v1.AioVolumeStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.AioVolumeStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (handleBuilder_ == null) { - handle_ = null; - } else { - handle_ = null; - handleBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioVolumeStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.AioVolumeStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsResponse build() { - opi_api.storage.v1.AioVolumeStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsResponse buildPartial() { - opi_api.storage.v1.AioVolumeStatsResponse result = new opi_api.storage.v1.AioVolumeStatsResponse(this); - if (handleBuilder_ == null) { - result.handle_ = handle_; - } else { - result.handle_ = handleBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioVolumeStatsResponse) { - return mergeFrom((opi_api.storage.v1.AioVolumeStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.AioVolumeStatsResponse other) { - if (other == opi_api.storage.v1.AioVolumeStatsResponse.getDefaultInstance()) return this; - if (other.hasHandle()) { - mergeHandle(other.getHandle()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.AioVolumeStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioVolumeStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey handle_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> handleBuilder_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - public boolean hasHandle() { - return handleBuilder_ != null || handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - public opi_api.common.v1.ObjectKey getHandle() { - if (handleBuilder_ == null) { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } else { - return handleBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - handle_ = value; - onChanged(); - } else { - handleBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (handleBuilder_ == null) { - handle_ = builderForValue.build(); - onChanged(); - } else { - handleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder mergeHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (handle_ != null) { - handle_ = - opi_api.common.v1.ObjectKey.newBuilder(handle_).mergeFrom(value).buildPartial(); - } else { - handle_ = value; - } - onChanged(); - } else { - handleBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder clearHandle() { - if (handleBuilder_ == null) { - handle_ = null; - onChanged(); - } else { - handle_ = null; - handleBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getHandleBuilder() { - - onChanged(); - return getHandleFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - if (handleBuilder_ != null) { - return handleBuilder_.getMessageOrBuilder(); - } else { - return handle_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getHandleFieldBuilder() { - if (handleBuilder_ == null) { - handleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getHandle(), - getParentForChildren(), - isClean()); - handle_ = null; - } - return handleBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioVolumeStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioVolumeStatsResponse) - private static final opi_api.storage.v1.AioVolumeStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioVolumeStatsResponse(); - } - - public static opi_api.storage.v1.AioVolumeStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AioVolumeStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AioVolumeStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.AioVolumeStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsResponseOrBuilder.java deleted file mode 100644 index d7e4d63c..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioVolumeStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -public interface AioVolumeStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioVolumeStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - boolean hasHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - opi_api.common.v1.ObjectKey getHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java index cd696e94..deba812c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java @@ -50,15 +50,15 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_GetAioVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioVolumeStatsRequest_descriptor; + internal_static_opi_api_storage_v1_StatsAioVolumeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioVolumeStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsAioVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioVolumeStatsResponse_descriptor; + internal_static_opi_api_storage_v1_StatsAioVolumeResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioVolumeStatsResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsAioVolumeResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -73,58 +73,59 @@ public static void registerAllExtensions( "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" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -135,7 +136,6 @@ public static void registerAllExtensions( com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - opi_api.common.v1.ObjectKeyProto.getDescriptor(), opi_api.storage.v1.OpiCommonProto.getDescriptor(), opi_api.common.v1.UuidProto.getDescriptor(), }); @@ -181,18 +181,18 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_GetAioVolumeRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_AioVolumeStatsRequest_descriptor = + internal_static_opi_api_storage_v1_StatsAioVolumeRequest_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_opi_api_storage_v1_AioVolumeStatsRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsAioVolumeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioVolumeStatsRequest_descriptor, - new java.lang.String[] { "Handle", }); - internal_static_opi_api_storage_v1_AioVolumeStatsResponse_descriptor = + internal_static_opi_api_storage_v1_StatsAioVolumeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_opi_api_storage_v1_StatsAioVolumeResponse_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_opi_api_storage_v1_AioVolumeStatsResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsAioVolumeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioVolumeStatsResponse_descriptor, - new java.lang.String[] { "Handle", "Stats", }); + internal_static_opi_api_storage_v1_StatsAioVolumeResponse_descriptor, + new java.lang.String[] { "Stats", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); @@ -208,7 +208,6 @@ public static void registerAllExtensions( com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - opi_api.common.v1.ObjectKeyProto.getDescriptor(); opi_api.storage.v1.OpiCommonProto.getDescriptor(); opi_api.common.v1.UuidProto.getDescriptor(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java index 04b8eb24..75bf1266 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java @@ -50,15 +50,15 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_GetNullVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullVolumeStatsRequest_descriptor; + internal_static_opi_api_storage_v1_StatsNullVolumeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullVolumeStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsNullVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullVolumeStatsResponse_descriptor; + internal_static_opi_api_storage_v1_StatsNullVolumeResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullVolumeStatsResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsNullVolumeResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -73,59 +73,59 @@ public static void registerAllExtensions( "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" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -136,7 +136,6 @@ public static void registerAllExtensions( com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - opi_api.common.v1.ObjectKeyProto.getDescriptor(), opi_api.storage.v1.OpiCommonProto.getDescriptor(), opi_api.common.v1.UuidProto.getDescriptor(), }); @@ -182,18 +181,18 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_GetNullVolumeRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_NullVolumeStatsRequest_descriptor = + internal_static_opi_api_storage_v1_StatsNullVolumeRequest_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_opi_api_storage_v1_NullVolumeStatsRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsNullVolumeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullVolumeStatsRequest_descriptor, - new java.lang.String[] { "Handle", }); - internal_static_opi_api_storage_v1_NullVolumeStatsResponse_descriptor = + internal_static_opi_api_storage_v1_StatsNullVolumeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_opi_api_storage_v1_StatsNullVolumeResponse_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_opi_api_storage_v1_NullVolumeStatsResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsNullVolumeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullVolumeStatsResponse_descriptor, - new java.lang.String[] { "Handle", "Stats", }); + internal_static_opi_api_storage_v1_StatsNullVolumeResponse_descriptor, + new java.lang.String[] { "Stats", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); @@ -209,7 +208,6 @@ public static void registerAllExtensions( com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - opi_api.common.v1.ObjectKeyProto.getDescriptor(); opi_api.storage.v1.OpiCommonProto.getDescriptor(); opi_api.common.v1.UuidProto.getDescriptor(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java index 836b6afa..3b1c62a9 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java @@ -60,20 +60,20 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_GetNvmeRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_descriptor; + internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_descriptor; + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_descriptor; + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_opi_api_storage_v1_ListNvmeRemoteNamespacesRequest_descriptor; static final @@ -115,15 +115,15 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_GetNvmePathRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NvmePathStatsRequest_descriptor; + internal_static_opi_api_storage_v1_StatsNvmePathRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NvmePathStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsNvmePathRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NvmePathStatsResponse_descriptor; + internal_static_opi_api_storage_v1_StatsNvmePathResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NvmePathStatsResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsNvmePathResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -139,133 +139,145 @@ public static void registerAllExtensions( "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" + @@ -273,16 +285,17 @@ public static void registerAllExtensions( "\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" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -350,23 +363,23 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_GetNvmeRemoteControllerRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_descriptor = + internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(9); - internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_descriptor, + internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_descriptor = + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(10); - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_descriptor, + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_descriptor = + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_descriptor = getDescriptor().getMessageTypes().get(11); - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_descriptor, + internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_descriptor, new java.lang.String[] { "Stats", }); internal_static_opi_api_storage_v1_ListNvmeRemoteNamespacesRequest_descriptor = getDescriptor().getMessageTypes().get(12); @@ -416,17 +429,17 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_GetNvmePathRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_NvmePathStatsRequest_descriptor = + internal_static_opi_api_storage_v1_StatsNvmePathRequest_descriptor = getDescriptor().getMessageTypes().get(20); - internal_static_opi_api_storage_v1_NvmePathStatsRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsNvmePathRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NvmePathStatsRequest_descriptor, + internal_static_opi_api_storage_v1_StatsNvmePathRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_NvmePathStatsResponse_descriptor = + internal_static_opi_api_storage_v1_StatsNvmePathResponse_descriptor = getDescriptor().getMessageTypes().get(21); - internal_static_opi_api_storage_v1_NvmePathStatsResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsNvmePathResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NvmePathStatsResponse_descriptor, + internal_static_opi_api_storage_v1_StatsNvmePathResponse_descriptor, new java.lang.String[] { "Stats", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequest.java index 11bc2bbb..8e1c4dab 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequest.java @@ -49,7 +49,7 @@ private CreateAioVolumeRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.AioVolume.Builder subBuilder = null; if (aioVolume_ != null) { subBuilder = aioVolume_.toBuilder(); @@ -62,7 +62,7 @@ private CreateAioVolumeRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); aioVolumeId_ = s; @@ -100,10 +100,10 @@ private CreateAioVolumeRequest( opi_api.storage.v1.CreateAioVolumeRequest.class, opi_api.storage.v1.CreateAioVolumeRequest.Builder.class); } - public static final int AIO_VOLUME_FIELD_NUMBER = 2; + public static final int AIO_VOLUME_FIELD_NUMBER = 1; private opi_api.storage.v1.AioVolume aioVolume_; /** - * .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]; * @return Whether the aioVolume field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasAioVolume() { return aioVolume_ != null; } /** - * .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]; * @return The aioVolume. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.AioVolume getAioVolume() { return aioVolume_ == null ? opi_api.storage.v1.AioVolume.getDefaultInstance() : aioVolume_; } /** - * .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]; */ @java.lang.Override public opi_api.storage.v1.AioVolumeOrBuilder getAioVolumeOrBuilder() { return getAioVolume(); } - public static final int AIO_VOLUME_ID_FIELD_NUMBER = 3; + public static final int AIO_VOLUME_ID_FIELD_NUMBER = 2; private volatile java.lang.Object aioVolumeId_; /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return The aioVolumeId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getAioVolumeId() { } } /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return The bytes for aioVolumeId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (aioVolume_ != null) { - output.writeMessage(2, getAioVolume()); + output.writeMessage(1, getAioVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(aioVolumeId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, aioVolumeId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, aioVolumeId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (aioVolume_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAioVolume()); + .computeMessageSize(1, getAioVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(aioVolumeId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, aioVolumeId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, aioVolumeId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.AioVolume, opi_api.storage.v1.AioVolume.Builder, opi_api.storage.v1.AioVolumeOrBuilder> aioVolumeBuilder_; /** - * .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]; * @return Whether the aioVolume field is set. */ public boolean hasAioVolume() { return aioVolumeBuilder_ != null || aioVolume_ != null; } /** - * .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]; * @return The aioVolume. */ public opi_api.storage.v1.AioVolume getAioVolume() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.AioVolume getAioVolume() { } } /** - * .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]; */ public Builder setAioVolume(opi_api.storage.v1.AioVolume value) { if (aioVolumeBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setAioVolume(opi_api.storage.v1.AioVolume value) { return this; } /** - * .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]; */ public Builder setAioVolume( opi_api.storage.v1.AioVolume.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setAioVolume( return this; } /** - * .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]; */ public Builder mergeAioVolume(opi_api.storage.v1.AioVolume value) { if (aioVolumeBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeAioVolume(opi_api.storage.v1.AioVolume value) { return this; } /** - * .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]; */ public Builder clearAioVolume() { if (aioVolumeBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearAioVolume() { return this; } /** - * .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]; */ public opi_api.storage.v1.AioVolume.Builder getAioVolumeBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.AioVolume.Builder getAioVolumeBuilder() { return getAioVolumeFieldBuilder().getBuilder(); } /** - * .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]; */ public opi_api.storage.v1.AioVolumeOrBuilder getAioVolumeOrBuilder() { if (aioVolumeBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.AioVolumeOrBuilder getAioVolumeOrBuilder() { } } /** - * .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]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.AioVolume, opi_api.storage.v1.AioVolume.Builder, opi_api.storage.v1.AioVolumeOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.AioVolumeOrBuilder getAioVolumeOrBuilder() { private java.lang.Object aioVolumeId_ = ""; /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return The aioVolumeId. */ public java.lang.String getAioVolumeId() { @@ -633,7 +633,7 @@ public java.lang.String getAioVolumeId() { } } /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return The bytes for aioVolumeId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getAioVolumeId() { } } /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @param value The aioVolumeId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setAioVolumeId( return this; } /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return This builder for chaining. */ public Builder clearAioVolumeId() { @@ -675,7 +675,7 @@ public Builder clearAioVolumeId() { return this; } /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @param value The bytes for aioVolumeId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequestOrBuilder.java index c35e7333..5a1aba8c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioVolumeRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateAioVolumeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .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]; * @return Whether the aioVolume field is set. */ boolean hasAioVolume(); /** - * .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]; * @return The aioVolume. */ opi_api.storage.v1.AioVolume getAioVolume(); /** - * .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]; */ opi_api.storage.v1.AioVolumeOrBuilder getAioVolumeOrBuilder(); /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return The aioVolumeId. */ java.lang.String getAioVolumeId(); /** - * string aio_volume_id = 3; + * string aio_volume_id = 2; * @return The bytes for aioVolumeId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequest.java index c00bc6a1..c4780cf8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequest.java @@ -49,7 +49,7 @@ private CreateEncryptedVolumeRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.EncryptedVolume.Builder subBuilder = null; if (encryptedVolume_ != null) { subBuilder = encryptedVolume_.toBuilder(); @@ -62,7 +62,7 @@ private CreateEncryptedVolumeRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); encryptedVolumeId_ = s; @@ -100,10 +100,10 @@ private CreateEncryptedVolumeRequest( opi_api.storage.v1.CreateEncryptedVolumeRequest.class, opi_api.storage.v1.CreateEncryptedVolumeRequest.Builder.class); } - public static final int ENCRYPTED_VOLUME_FIELD_NUMBER = 2; + public static final int ENCRYPTED_VOLUME_FIELD_NUMBER = 1; private opi_api.storage.v1.EncryptedVolume encryptedVolume_; /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the encryptedVolume field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasEncryptedVolume() { return encryptedVolume_ != null; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptedVolume. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.EncryptedVolume getEncryptedVolume() { return encryptedVolume_ == null ? opi_api.storage.v1.EncryptedVolume.getDefaultInstance() : encryptedVolume_; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.EncryptedVolumeOrBuilder getEncryptedVolumeOrBuilder() { return getEncryptedVolume(); } - public static final int ENCRYPTED_VOLUME_ID_FIELD_NUMBER = 3; + public static final int ENCRYPTED_VOLUME_ID_FIELD_NUMBER = 2; private volatile java.lang.Object encryptedVolumeId_; /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return The encryptedVolumeId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getEncryptedVolumeId() { } } /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return The bytes for encryptedVolumeId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (encryptedVolume_ != null) { - output.writeMessage(2, getEncryptedVolume()); + output.writeMessage(1, getEncryptedVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptedVolumeId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, encryptedVolumeId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, encryptedVolumeId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (encryptedVolume_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEncryptedVolume()); + .computeMessageSize(1, getEncryptedVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptedVolumeId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, encryptedVolumeId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, encryptedVolumeId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.EncryptedVolume, opi_api.storage.v1.EncryptedVolume.Builder, opi_api.storage.v1.EncryptedVolumeOrBuilder> encryptedVolumeBuilder_; /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the encryptedVolume field is set. */ public boolean hasEncryptedVolume() { return encryptedVolumeBuilder_ != null || encryptedVolume_ != null; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptedVolume. */ public opi_api.storage.v1.EncryptedVolume getEncryptedVolume() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.EncryptedVolume getEncryptedVolume() { } } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEncryptedVolume(opi_api.storage.v1.EncryptedVolume value) { if (encryptedVolumeBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setEncryptedVolume(opi_api.storage.v1.EncryptedVolume value) { return this; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEncryptedVolume( opi_api.storage.v1.EncryptedVolume.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setEncryptedVolume( return this; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEncryptedVolume(opi_api.storage.v1.EncryptedVolume value) { if (encryptedVolumeBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeEncryptedVolume(opi_api.storage.v1.EncryptedVolume value) { return this; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEncryptedVolume() { if (encryptedVolumeBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearEncryptedVolume() { return this; } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.EncryptedVolume.Builder getEncryptedVolumeBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.EncryptedVolume.Builder getEncryptedVolumeBuilder() { return getEncryptedVolumeFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.EncryptedVolumeOrBuilder getEncryptedVolumeOrBuilder() { if (encryptedVolumeBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.EncryptedVolumeOrBuilder getEncryptedVolumeOrBuilder() } } /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.EncryptedVolume, opi_api.storage.v1.EncryptedVolume.Builder, opi_api.storage.v1.EncryptedVolumeOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.EncryptedVolumeOrBuilder getEncryptedVolumeOrBuilder() private java.lang.Object encryptedVolumeId_ = ""; /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return The encryptedVolumeId. */ public java.lang.String getEncryptedVolumeId() { @@ -633,7 +633,7 @@ public java.lang.String getEncryptedVolumeId() { } } /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return The bytes for encryptedVolumeId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getEncryptedVolumeId() { } } /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @param value The encryptedVolumeId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setEncryptedVolumeId( return this; } /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return This builder for chaining. */ public Builder clearEncryptedVolumeId() { @@ -675,7 +675,7 @@ public Builder clearEncryptedVolumeId() { return this; } /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @param value The bytes for encryptedVolumeId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequestOrBuilder.java index 89560b4e..975adc46 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateEncryptedVolumeRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateEncryptedVolumeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the encryptedVolume field is set. */ boolean hasEncryptedVolume(); /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptedVolume. */ opi_api.storage.v1.EncryptedVolume getEncryptedVolume(); /** - * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.EncryptedVolume encrypted_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.EncryptedVolumeOrBuilder getEncryptedVolumeOrBuilder(); /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return The encryptedVolumeId. */ java.lang.String getEncryptedVolumeId(); /** - * string encrypted_volume_id = 3; + * string encrypted_volume_id = 2; * @return The bytes for encryptedVolumeId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequest.java index 00459e53..5398d355 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequest.java @@ -49,7 +49,7 @@ private CreateNullVolumeRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.NullVolume.Builder subBuilder = null; if (nullVolume_ != null) { subBuilder = nullVolume_.toBuilder(); @@ -62,7 +62,7 @@ private CreateNullVolumeRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); nullVolumeId_ = s; @@ -100,10 +100,10 @@ private CreateNullVolumeRequest( opi_api.storage.v1.CreateNullVolumeRequest.class, opi_api.storage.v1.CreateNullVolumeRequest.Builder.class); } - public static final int NULL_VOLUME_FIELD_NUMBER = 2; + public static final int NULL_VOLUME_FIELD_NUMBER = 1; private opi_api.storage.v1.NullVolume nullVolume_; /** - * .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]; * @return Whether the nullVolume field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasNullVolume() { return nullVolume_ != null; } /** - * .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]; * @return The nullVolume. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.NullVolume getNullVolume() { return nullVolume_ == null ? opi_api.storage.v1.NullVolume.getDefaultInstance() : nullVolume_; } /** - * .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]; */ @java.lang.Override public opi_api.storage.v1.NullVolumeOrBuilder getNullVolumeOrBuilder() { return getNullVolume(); } - public static final int NULL_VOLUME_ID_FIELD_NUMBER = 3; + public static final int NULL_VOLUME_ID_FIELD_NUMBER = 2; private volatile java.lang.Object nullVolumeId_; /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return The nullVolumeId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getNullVolumeId() { } } /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return The bytes for nullVolumeId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nullVolume_ != null) { - output.writeMessage(2, getNullVolume()); + output.writeMessage(1, getNullVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nullVolumeId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nullVolumeId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nullVolumeId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (nullVolume_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNullVolume()); + .computeMessageSize(1, getNullVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nullVolumeId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nullVolumeId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nullVolumeId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NullVolume, opi_api.storage.v1.NullVolume.Builder, opi_api.storage.v1.NullVolumeOrBuilder> nullVolumeBuilder_; /** - * .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]; * @return Whether the nullVolume field is set. */ public boolean hasNullVolume() { return nullVolumeBuilder_ != null || nullVolume_ != null; } /** - * .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]; * @return The nullVolume. */ public opi_api.storage.v1.NullVolume getNullVolume() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.NullVolume getNullVolume() { } } /** - * .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]; */ public Builder setNullVolume(opi_api.storage.v1.NullVolume value) { if (nullVolumeBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setNullVolume(opi_api.storage.v1.NullVolume value) { return this; } /** - * .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]; */ public Builder setNullVolume( opi_api.storage.v1.NullVolume.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setNullVolume( return this; } /** - * .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]; */ public Builder mergeNullVolume(opi_api.storage.v1.NullVolume value) { if (nullVolumeBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeNullVolume(opi_api.storage.v1.NullVolume value) { return this; } /** - * .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]; */ public Builder clearNullVolume() { if (nullVolumeBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearNullVolume() { return this; } /** - * .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]; */ public opi_api.storage.v1.NullVolume.Builder getNullVolumeBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.NullVolume.Builder getNullVolumeBuilder() { return getNullVolumeFieldBuilder().getBuilder(); } /** - * .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]; */ public opi_api.storage.v1.NullVolumeOrBuilder getNullVolumeOrBuilder() { if (nullVolumeBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.NullVolumeOrBuilder getNullVolumeOrBuilder() { } } /** - * .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]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NullVolume, opi_api.storage.v1.NullVolume.Builder, opi_api.storage.v1.NullVolumeOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.NullVolumeOrBuilder getNullVolumeOrBuilder() { private java.lang.Object nullVolumeId_ = ""; /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return The nullVolumeId. */ public java.lang.String getNullVolumeId() { @@ -633,7 +633,7 @@ public java.lang.String getNullVolumeId() { } } /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return The bytes for nullVolumeId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getNullVolumeId() { } } /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @param value The nullVolumeId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setNullVolumeId( return this; } /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return This builder for chaining. */ public Builder clearNullVolumeId() { @@ -675,7 +675,7 @@ public Builder clearNullVolumeId() { return this; } /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @param value The bytes for nullVolumeId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequestOrBuilder.java index 999b1a9d..92af247c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullVolumeRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateNullVolumeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .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]; * @return Whether the nullVolume field is set. */ boolean hasNullVolume(); /** - * .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]; * @return The nullVolume. */ opi_api.storage.v1.NullVolume getNullVolume(); /** - * .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]; */ opi_api.storage.v1.NullVolumeOrBuilder getNullVolumeOrBuilder(); /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return The nullVolumeId. */ java.lang.String getNullVolumeId(); /** - * string null_volume_id = 3; + * string null_volume_id = 2; * @return The bytes for nullVolumeId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequest.java index 381d10ae..69501fe1 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequest.java @@ -49,7 +49,7 @@ private CreateNvmeControllerRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.NvmeController.Builder subBuilder = null; if (nvmeController_ != null) { subBuilder = nvmeController_.toBuilder(); @@ -62,7 +62,7 @@ private CreateNvmeControllerRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); nvmeControllerId_ = s; @@ -100,10 +100,10 @@ private CreateNvmeControllerRequest( opi_api.storage.v1.CreateNvmeControllerRequest.class, opi_api.storage.v1.CreateNvmeControllerRequest.Builder.class); } - public static final int NVME_CONTROLLER_FIELD_NUMBER = 2; + public static final int NVME_CONTROLLER_FIELD_NUMBER = 1; private opi_api.storage.v1.NvmeController nvmeController_; /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeController field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasNvmeController() { return nvmeController_ != null; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeController. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.NvmeController getNvmeController() { return nvmeController_ == null ? opi_api.storage.v1.NvmeController.getDefaultInstance() : nvmeController_; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.NvmeControllerOrBuilder getNvmeControllerOrBuilder() { return getNvmeController(); } - public static final int NVME_CONTROLLER_ID_FIELD_NUMBER = 3; + public static final int NVME_CONTROLLER_ID_FIELD_NUMBER = 2; private volatile java.lang.Object nvmeControllerId_; /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return The nvmeControllerId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getNvmeControllerId() { } } /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return The bytes for nvmeControllerId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nvmeController_ != null) { - output.writeMessage(2, getNvmeController()); + output.writeMessage(1, getNvmeController()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeControllerId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nvmeControllerId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nvmeControllerId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (nvmeController_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNvmeController()); + .computeMessageSize(1, getNvmeController()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeControllerId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nvmeControllerId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nvmeControllerId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeController, opi_api.storage.v1.NvmeController.Builder, opi_api.storage.v1.NvmeControllerOrBuilder> nvmeControllerBuilder_; /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeController field is set. */ public boolean hasNvmeController() { return nvmeControllerBuilder_ != null || nvmeController_ != null; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeController. */ public opi_api.storage.v1.NvmeController getNvmeController() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.NvmeController getNvmeController() { } } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeController(opi_api.storage.v1.NvmeController value) { if (nvmeControllerBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setNvmeController(opi_api.storage.v1.NvmeController value) { return this; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeController( opi_api.storage.v1.NvmeController.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setNvmeController( return this; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNvmeController(opi_api.storage.v1.NvmeController value) { if (nvmeControllerBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeNvmeController(opi_api.storage.v1.NvmeController value) { return this; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNvmeController() { if (nvmeControllerBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearNvmeController() { return this; } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeController.Builder getNvmeControllerBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.NvmeController.Builder getNvmeControllerBuilder() { return getNvmeControllerFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeControllerOrBuilder getNvmeControllerOrBuilder() { if (nvmeControllerBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.NvmeControllerOrBuilder getNvmeControllerOrBuilder() { } } /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeController, opi_api.storage.v1.NvmeController.Builder, opi_api.storage.v1.NvmeControllerOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.NvmeControllerOrBuilder getNvmeControllerOrBuilder() { private java.lang.Object nvmeControllerId_ = ""; /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return The nvmeControllerId. */ public java.lang.String getNvmeControllerId() { @@ -633,7 +633,7 @@ public java.lang.String getNvmeControllerId() { } } /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return The bytes for nvmeControllerId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getNvmeControllerId() { } } /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @param value The nvmeControllerId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setNvmeControllerId( return this; } /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return This builder for chaining. */ public Builder clearNvmeControllerId() { @@ -675,7 +675,7 @@ public Builder clearNvmeControllerId() { return this; } /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @param value The bytes for nvmeControllerId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequestOrBuilder.java index e610136b..a6d6d10e 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeControllerRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateNvmeControllerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeController field is set. */ boolean hasNvmeController(); /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeController. */ opi_api.storage.v1.NvmeController getNvmeController(); /** - * .opi_api.storage.v1.NvmeController nvme_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeController nvme_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.NvmeControllerOrBuilder getNvmeControllerOrBuilder(); /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return The nvmeControllerId. */ java.lang.String getNvmeControllerId(); /** - * string nvme_controller_id = 3; + * string nvme_controller_id = 2; * @return The bytes for nvmeControllerId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequest.java index c4b67259..09d69a11 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequest.java @@ -49,7 +49,7 @@ private CreateNvmeNamespaceRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.NvmeNamespace.Builder subBuilder = null; if (nvmeNamespace_ != null) { subBuilder = nvmeNamespace_.toBuilder(); @@ -62,7 +62,7 @@ private CreateNvmeNamespaceRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); nvmeNamespaceId_ = s; @@ -100,10 +100,10 @@ private CreateNvmeNamespaceRequest( opi_api.storage.v1.CreateNvmeNamespaceRequest.class, opi_api.storage.v1.CreateNvmeNamespaceRequest.Builder.class); } - public static final int NVME_NAMESPACE_FIELD_NUMBER = 2; + public static final int NVME_NAMESPACE_FIELD_NUMBER = 1; private opi_api.storage.v1.NvmeNamespace nvmeNamespace_; /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeNamespace field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasNvmeNamespace() { return nvmeNamespace_ != null; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeNamespace. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.NvmeNamespace getNvmeNamespace() { return nvmeNamespace_ == null ? opi_api.storage.v1.NvmeNamespace.getDefaultInstance() : nvmeNamespace_; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.NvmeNamespaceOrBuilder getNvmeNamespaceOrBuilder() { return getNvmeNamespace(); } - public static final int NVME_NAMESPACE_ID_FIELD_NUMBER = 3; + public static final int NVME_NAMESPACE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object nvmeNamespaceId_; /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return The nvmeNamespaceId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getNvmeNamespaceId() { } } /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return The bytes for nvmeNamespaceId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nvmeNamespace_ != null) { - output.writeMessage(2, getNvmeNamespace()); + output.writeMessage(1, getNvmeNamespace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeNamespaceId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nvmeNamespaceId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nvmeNamespaceId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (nvmeNamespace_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNvmeNamespace()); + .computeMessageSize(1, getNvmeNamespace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeNamespaceId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nvmeNamespaceId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nvmeNamespaceId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeNamespace, opi_api.storage.v1.NvmeNamespace.Builder, opi_api.storage.v1.NvmeNamespaceOrBuilder> nvmeNamespaceBuilder_; /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeNamespace field is set. */ public boolean hasNvmeNamespace() { return nvmeNamespaceBuilder_ != null || nvmeNamespace_ != null; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeNamespace. */ public opi_api.storage.v1.NvmeNamespace getNvmeNamespace() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.NvmeNamespace getNvmeNamespace() { } } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeNamespace(opi_api.storage.v1.NvmeNamespace value) { if (nvmeNamespaceBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setNvmeNamespace(opi_api.storage.v1.NvmeNamespace value) { return this; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeNamespace( opi_api.storage.v1.NvmeNamespace.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setNvmeNamespace( return this; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNvmeNamespace(opi_api.storage.v1.NvmeNamespace value) { if (nvmeNamespaceBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeNvmeNamespace(opi_api.storage.v1.NvmeNamespace value) { return this; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNvmeNamespace() { if (nvmeNamespaceBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearNvmeNamespace() { return this; } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeNamespace.Builder getNvmeNamespaceBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.NvmeNamespace.Builder getNvmeNamespaceBuilder() { return getNvmeNamespaceFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeNamespaceOrBuilder getNvmeNamespaceOrBuilder() { if (nvmeNamespaceBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.NvmeNamespaceOrBuilder getNvmeNamespaceOrBuilder() { } } /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeNamespace, opi_api.storage.v1.NvmeNamespace.Builder, opi_api.storage.v1.NvmeNamespaceOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.NvmeNamespaceOrBuilder getNvmeNamespaceOrBuilder() { private java.lang.Object nvmeNamespaceId_ = ""; /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return The nvmeNamespaceId. */ public java.lang.String getNvmeNamespaceId() { @@ -633,7 +633,7 @@ public java.lang.String getNvmeNamespaceId() { } } /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return The bytes for nvmeNamespaceId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getNvmeNamespaceId() { } } /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @param value The nvmeNamespaceId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setNvmeNamespaceId( return this; } /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return This builder for chaining. */ public Builder clearNvmeNamespaceId() { @@ -675,7 +675,7 @@ public Builder clearNvmeNamespaceId() { return this; } /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @param value The bytes for nvmeNamespaceId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequestOrBuilder.java index 500e51c7..413b9e3c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeNamespaceRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateNvmeNamespaceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeNamespace field is set. */ boolean hasNvmeNamespace(); /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeNamespace. */ opi_api.storage.v1.NvmeNamespace getNvmeNamespace(); /** - * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeNamespace nvme_namespace = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.NvmeNamespaceOrBuilder getNvmeNamespaceOrBuilder(); /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return The nvmeNamespaceId. */ java.lang.String getNvmeNamespaceId(); /** - * string nvme_namespace_id = 3; + * string nvme_namespace_id = 2; * @return The bytes for nvmeNamespaceId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequest.java index 4f0fecd1..9d9f0448 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequest.java @@ -49,7 +49,7 @@ private CreateNvmeRemoteControllerRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.NvmeRemoteController.Builder subBuilder = null; if (nvmeRemoteController_ != null) { subBuilder = nvmeRemoteController_.toBuilder(); @@ -62,7 +62,7 @@ private CreateNvmeRemoteControllerRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); nvmeRemoteControllerId_ = s; @@ -100,10 +100,10 @@ private CreateNvmeRemoteControllerRequest( opi_api.storage.v1.CreateNvmeRemoteControllerRequest.class, opi_api.storage.v1.CreateNvmeRemoteControllerRequest.Builder.class); } - public static final int NVME_REMOTE_CONTROLLER_FIELD_NUMBER = 2; + public static final int NVME_REMOTE_CONTROLLER_FIELD_NUMBER = 1; private opi_api.storage.v1.NvmeRemoteController nvmeRemoteController_; /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeRemoteController field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasNvmeRemoteController() { return nvmeRemoteController_ != null; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeRemoteController. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.NvmeRemoteController getNvmeRemoteController() { return nvmeRemoteController_ == null ? opi_api.storage.v1.NvmeRemoteController.getDefaultInstance() : nvmeRemoteController_; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.NvmeRemoteControllerOrBuilder getNvmeRemoteControllerOrBuilder() { return getNvmeRemoteController(); } - public static final int NVME_REMOTE_CONTROLLER_ID_FIELD_NUMBER = 3; + public static final int NVME_REMOTE_CONTROLLER_ID_FIELD_NUMBER = 2; private volatile java.lang.Object nvmeRemoteControllerId_; /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return The nvmeRemoteControllerId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getNvmeRemoteControllerId() { } } /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return The bytes for nvmeRemoteControllerId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nvmeRemoteController_ != null) { - output.writeMessage(2, getNvmeRemoteController()); + output.writeMessage(1, getNvmeRemoteController()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeRemoteControllerId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nvmeRemoteControllerId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nvmeRemoteControllerId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (nvmeRemoteController_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNvmeRemoteController()); + .computeMessageSize(1, getNvmeRemoteController()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeRemoteControllerId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nvmeRemoteControllerId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nvmeRemoteControllerId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeRemoteController, opi_api.storage.v1.NvmeRemoteController.Builder, opi_api.storage.v1.NvmeRemoteControllerOrBuilder> nvmeRemoteControllerBuilder_; /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeRemoteController field is set. */ public boolean hasNvmeRemoteController() { return nvmeRemoteControllerBuilder_ != null || nvmeRemoteController_ != null; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeRemoteController. */ public opi_api.storage.v1.NvmeRemoteController getNvmeRemoteController() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.NvmeRemoteController getNvmeRemoteController() { } } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeRemoteController(opi_api.storage.v1.NvmeRemoteController value) { if (nvmeRemoteControllerBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setNvmeRemoteController(opi_api.storage.v1.NvmeRemoteController v return this; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeRemoteController( opi_api.storage.v1.NvmeRemoteController.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setNvmeRemoteController( return this; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNvmeRemoteController(opi_api.storage.v1.NvmeRemoteController value) { if (nvmeRemoteControllerBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeNvmeRemoteController(opi_api.storage.v1.NvmeRemoteController return this; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNvmeRemoteController() { if (nvmeRemoteControllerBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearNvmeRemoteController() { return this; } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeRemoteController.Builder getNvmeRemoteControllerBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.NvmeRemoteController.Builder getNvmeRemoteControllerBu return getNvmeRemoteControllerFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeRemoteControllerOrBuilder getNvmeRemoteControllerOrBuilder() { if (nvmeRemoteControllerBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.NvmeRemoteControllerOrBuilder getNvmeRemoteControllerO } } /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeRemoteController, opi_api.storage.v1.NvmeRemoteController.Builder, opi_api.storage.v1.NvmeRemoteControllerOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.NvmeRemoteControllerOrBuilder getNvmeRemoteControllerO private java.lang.Object nvmeRemoteControllerId_ = ""; /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return The nvmeRemoteControllerId. */ public java.lang.String getNvmeRemoteControllerId() { @@ -633,7 +633,7 @@ public java.lang.String getNvmeRemoteControllerId() { } } /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return The bytes for nvmeRemoteControllerId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getNvmeRemoteControllerId() { } } /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @param value The nvmeRemoteControllerId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setNvmeRemoteControllerId( return this; } /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return This builder for chaining. */ public Builder clearNvmeRemoteControllerId() { @@ -675,7 +675,7 @@ public Builder clearNvmeRemoteControllerId() { return this; } /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @param value The bytes for nvmeRemoteControllerId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequestOrBuilder.java index 2435d49a..887a9248 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeRemoteControllerRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateNvmeRemoteControllerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeRemoteController field is set. */ boolean hasNvmeRemoteController(); /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeRemoteController. */ opi_api.storage.v1.NvmeRemoteController getNvmeRemoteController(); /** - * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeRemoteController nvme_remote_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.NvmeRemoteControllerOrBuilder getNvmeRemoteControllerOrBuilder(); /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return The nvmeRemoteControllerId. */ java.lang.String getNvmeRemoteControllerId(); /** - * string nvme_remote_controller_id = 3; + * string nvme_remote_controller_id = 2; * @return The bytes for nvmeRemoteControllerId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequest.java index 12ac91d8..88ee86b0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequest.java @@ -49,7 +49,7 @@ private CreateNvmeSubsystemRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.NvmeSubsystem.Builder subBuilder = null; if (nvmeSubsystem_ != null) { subBuilder = nvmeSubsystem_.toBuilder(); @@ -62,7 +62,7 @@ private CreateNvmeSubsystemRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); nvmeSubsystemId_ = s; @@ -100,10 +100,10 @@ private CreateNvmeSubsystemRequest( opi_api.storage.v1.CreateNvmeSubsystemRequest.class, opi_api.storage.v1.CreateNvmeSubsystemRequest.Builder.class); } - public static final int NVME_SUBSYSTEM_FIELD_NUMBER = 2; + public static final int NVME_SUBSYSTEM_FIELD_NUMBER = 1; private opi_api.storage.v1.NvmeSubsystem nvmeSubsystem_; /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeSubsystem field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasNvmeSubsystem() { return nvmeSubsystem_ != null; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeSubsystem. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.NvmeSubsystem getNvmeSubsystem() { return nvmeSubsystem_ == null ? opi_api.storage.v1.NvmeSubsystem.getDefaultInstance() : nvmeSubsystem_; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.NvmeSubsystemOrBuilder getNvmeSubsystemOrBuilder() { return getNvmeSubsystem(); } - public static final int NVME_SUBSYSTEM_ID_FIELD_NUMBER = 3; + public static final int NVME_SUBSYSTEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object nvmeSubsystemId_; /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return The nvmeSubsystemId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getNvmeSubsystemId() { } } /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return The bytes for nvmeSubsystemId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nvmeSubsystem_ != null) { - output.writeMessage(2, getNvmeSubsystem()); + output.writeMessage(1, getNvmeSubsystem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeSubsystemId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nvmeSubsystemId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nvmeSubsystemId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (nvmeSubsystem_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNvmeSubsystem()); + .computeMessageSize(1, getNvmeSubsystem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nvmeSubsystemId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nvmeSubsystemId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nvmeSubsystemId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeSubsystem, opi_api.storage.v1.NvmeSubsystem.Builder, opi_api.storage.v1.NvmeSubsystemOrBuilder> nvmeSubsystemBuilder_; /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeSubsystem field is set. */ public boolean hasNvmeSubsystem() { return nvmeSubsystemBuilder_ != null || nvmeSubsystem_ != null; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeSubsystem. */ public opi_api.storage.v1.NvmeSubsystem getNvmeSubsystem() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.NvmeSubsystem getNvmeSubsystem() { } } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeSubsystem(opi_api.storage.v1.NvmeSubsystem value) { if (nvmeSubsystemBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setNvmeSubsystem(opi_api.storage.v1.NvmeSubsystem value) { return this; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNvmeSubsystem( opi_api.storage.v1.NvmeSubsystem.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setNvmeSubsystem( return this; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNvmeSubsystem(opi_api.storage.v1.NvmeSubsystem value) { if (nvmeSubsystemBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeNvmeSubsystem(opi_api.storage.v1.NvmeSubsystem value) { return this; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNvmeSubsystem() { if (nvmeSubsystemBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearNvmeSubsystem() { return this; } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeSubsystem.Builder getNvmeSubsystemBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.NvmeSubsystem.Builder getNvmeSubsystemBuilder() { return getNvmeSubsystemFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.NvmeSubsystemOrBuilder getNvmeSubsystemOrBuilder() { if (nvmeSubsystemBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.NvmeSubsystemOrBuilder getNvmeSubsystemOrBuilder() { } } /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.NvmeSubsystem, opi_api.storage.v1.NvmeSubsystem.Builder, opi_api.storage.v1.NvmeSubsystemOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.NvmeSubsystemOrBuilder getNvmeSubsystemOrBuilder() { private java.lang.Object nvmeSubsystemId_ = ""; /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return The nvmeSubsystemId. */ public java.lang.String getNvmeSubsystemId() { @@ -633,7 +633,7 @@ public java.lang.String getNvmeSubsystemId() { } } /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return The bytes for nvmeSubsystemId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getNvmeSubsystemId() { } } /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @param value The nvmeSubsystemId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setNvmeSubsystemId( return this; } /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return This builder for chaining. */ public Builder clearNvmeSubsystemId() { @@ -675,7 +675,7 @@ public Builder clearNvmeSubsystemId() { return this; } /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @param value The bytes for nvmeSubsystemId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequestOrBuilder.java index b80cae23..3e64a4c1 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNvmeSubsystemRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateNvmeSubsystemRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nvmeSubsystem field is set. */ boolean hasNvmeSubsystem(); /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The nvmeSubsystem. */ opi_api.storage.v1.NvmeSubsystem getNvmeSubsystem(); /** - * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.NvmeSubsystem nvme_subsystem = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.NvmeSubsystemOrBuilder getNvmeSubsystemOrBuilder(); /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return The nvmeSubsystemId. */ java.lang.String getNvmeSubsystemId(); /** - * string nvme_subsystem_id = 3; + * string nvme_subsystem_id = 2; * @return The bytes for nvmeSubsystemId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequest.java index 381920e6..90c65f4a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequest.java @@ -49,7 +49,7 @@ private CreateQosVolumeRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.QosVolume.Builder subBuilder = null; if (qosVolume_ != null) { subBuilder = qosVolume_.toBuilder(); @@ -62,7 +62,7 @@ private CreateQosVolumeRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); qosVolumeId_ = s; @@ -100,10 +100,10 @@ private CreateQosVolumeRequest( opi_api.storage.v1.CreateQosVolumeRequest.class, opi_api.storage.v1.CreateQosVolumeRequest.Builder.class); } - public static final int QOS_VOLUME_FIELD_NUMBER = 2; + public static final int QOS_VOLUME_FIELD_NUMBER = 1; private opi_api.storage.v1.QosVolume qosVolume_; /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the qosVolume field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasQosVolume() { return qosVolume_ != null; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The qosVolume. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.QosVolume getQosVolume() { return qosVolume_ == null ? opi_api.storage.v1.QosVolume.getDefaultInstance() : qosVolume_; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.QosVolumeOrBuilder getQosVolumeOrBuilder() { return getQosVolume(); } - public static final int QOS_VOLUME_ID_FIELD_NUMBER = 3; + public static final int QOS_VOLUME_ID_FIELD_NUMBER = 2; private volatile java.lang.Object qosVolumeId_; /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return The qosVolumeId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getQosVolumeId() { } } /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return The bytes for qosVolumeId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (qosVolume_ != null) { - output.writeMessage(2, getQosVolume()); + output.writeMessage(1, getQosVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qosVolumeId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, qosVolumeId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qosVolumeId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (qosVolume_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQosVolume()); + .computeMessageSize(1, getQosVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qosVolumeId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, qosVolumeId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qosVolumeId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.QosVolume, opi_api.storage.v1.QosVolume.Builder, opi_api.storage.v1.QosVolumeOrBuilder> qosVolumeBuilder_; /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the qosVolume field is set. */ public boolean hasQosVolume() { return qosVolumeBuilder_ != null || qosVolume_ != null; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The qosVolume. */ public opi_api.storage.v1.QosVolume getQosVolume() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.QosVolume getQosVolume() { } } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQosVolume(opi_api.storage.v1.QosVolume value) { if (qosVolumeBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setQosVolume(opi_api.storage.v1.QosVolume value) { return this; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQosVolume( opi_api.storage.v1.QosVolume.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setQosVolume( return this; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQosVolume(opi_api.storage.v1.QosVolume value) { if (qosVolumeBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeQosVolume(opi_api.storage.v1.QosVolume value) { return this; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQosVolume() { if (qosVolumeBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearQosVolume() { return this; } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.QosVolume.Builder getQosVolumeBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.QosVolume.Builder getQosVolumeBuilder() { return getQosVolumeFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.QosVolumeOrBuilder getQosVolumeOrBuilder() { if (qosVolumeBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.QosVolumeOrBuilder getQosVolumeOrBuilder() { } } /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.QosVolume, opi_api.storage.v1.QosVolume.Builder, opi_api.storage.v1.QosVolumeOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.QosVolumeOrBuilder getQosVolumeOrBuilder() { private java.lang.Object qosVolumeId_ = ""; /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return The qosVolumeId. */ public java.lang.String getQosVolumeId() { @@ -633,7 +633,7 @@ public java.lang.String getQosVolumeId() { } } /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return The bytes for qosVolumeId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getQosVolumeId() { } } /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @param value The qosVolumeId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setQosVolumeId( return this; } /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return This builder for chaining. */ public Builder clearQosVolumeId() { @@ -675,7 +675,7 @@ public Builder clearQosVolumeId() { return this; } /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @param value The bytes for qosVolumeId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequestOrBuilder.java index 9d84eb20..81c3dce7 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateQosVolumeRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateQosVolumeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the qosVolume field is set. */ boolean hasQosVolume(); /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The qosVolume. */ opi_api.storage.v1.QosVolume getQosVolume(); /** - * .opi_api.storage.v1.QosVolume qos_volume = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.QosVolume qos_volume = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.QosVolumeOrBuilder getQosVolumeOrBuilder(); /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return The qosVolumeId. */ java.lang.String getQosVolumeId(); /** - * string qos_volume_id = 3; + * string qos_volume_id = 2; * @return The bytes for qosVolumeId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java index 801678c0..54e01ef0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java @@ -49,7 +49,7 @@ private CreateVirtioBlkRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.VirtioBlk.Builder subBuilder = null; if (virtioBlk_ != null) { subBuilder = virtioBlk_.toBuilder(); @@ -62,7 +62,7 @@ private CreateVirtioBlkRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); virtioBlkId_ = s; @@ -100,10 +100,10 @@ private CreateVirtioBlkRequest( opi_api.storage.v1.CreateVirtioBlkRequest.class, opi_api.storage.v1.CreateVirtioBlkRequest.Builder.class); } - public static final int VIRTIO_BLK_FIELD_NUMBER = 2; + public static final int VIRTIO_BLK_FIELD_NUMBER = 1; private opi_api.storage.v1.VirtioBlk virtioBlk_; /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioBlk field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasVirtioBlk() { return virtioBlk_ != null; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioBlk. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.VirtioBlk getVirtioBlk() { return virtioBlk_ == null ? opi_api.storage.v1.VirtioBlk.getDefaultInstance() : virtioBlk_; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.VirtioBlkOrBuilder getVirtioBlkOrBuilder() { return getVirtioBlk(); } - public static final int VIRTIO_BLK_ID_FIELD_NUMBER = 3; + public static final int VIRTIO_BLK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object virtioBlkId_; /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return The virtioBlkId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getVirtioBlkId() { } } /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return The bytes for virtioBlkId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (virtioBlk_ != null) { - output.writeMessage(2, getVirtioBlk()); + output.writeMessage(1, getVirtioBlk()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioBlkId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, virtioBlkId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, virtioBlkId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (virtioBlk_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVirtioBlk()); + .computeMessageSize(1, getVirtioBlk()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioBlkId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, virtioBlkId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, virtioBlkId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioBlk, opi_api.storage.v1.VirtioBlk.Builder, opi_api.storage.v1.VirtioBlkOrBuilder> virtioBlkBuilder_; /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioBlk field is set. */ public boolean hasVirtioBlk() { return virtioBlkBuilder_ != null || virtioBlk_ != null; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioBlk. */ public opi_api.storage.v1.VirtioBlk getVirtioBlk() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.VirtioBlk getVirtioBlk() { } } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioBlk(opi_api.storage.v1.VirtioBlk value) { if (virtioBlkBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setVirtioBlk(opi_api.storage.v1.VirtioBlk value) { return this; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioBlk( opi_api.storage.v1.VirtioBlk.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setVirtioBlk( return this; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeVirtioBlk(opi_api.storage.v1.VirtioBlk value) { if (virtioBlkBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeVirtioBlk(opi_api.storage.v1.VirtioBlk value) { return this; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearVirtioBlk() { if (virtioBlkBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearVirtioBlk() { return this; } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioBlk.Builder getVirtioBlkBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.VirtioBlk.Builder getVirtioBlkBuilder() { return getVirtioBlkFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioBlkOrBuilder getVirtioBlkOrBuilder() { if (virtioBlkBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.VirtioBlkOrBuilder getVirtioBlkOrBuilder() { } } /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioBlk, opi_api.storage.v1.VirtioBlk.Builder, opi_api.storage.v1.VirtioBlkOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.VirtioBlkOrBuilder getVirtioBlkOrBuilder() { private java.lang.Object virtioBlkId_ = ""; /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return The virtioBlkId. */ public java.lang.String getVirtioBlkId() { @@ -633,7 +633,7 @@ public java.lang.String getVirtioBlkId() { } } /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return The bytes for virtioBlkId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getVirtioBlkId() { } } /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @param value The virtioBlkId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setVirtioBlkId( return this; } /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return This builder for chaining. */ public Builder clearVirtioBlkId() { @@ -675,7 +675,7 @@ public Builder clearVirtioBlkId() { return this; } /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @param value The bytes for virtioBlkId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java index b01174a5..1468c199 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateVirtioBlkRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioBlk field is set. */ boolean hasVirtioBlk(); /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioBlk. */ opi_api.storage.v1.VirtioBlk getVirtioBlk(); /** - * .opi_api.storage.v1.VirtioBlk virtio_blk = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioBlk virtio_blk = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.VirtioBlkOrBuilder getVirtioBlkOrBuilder(); /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return The virtioBlkId. */ java.lang.String getVirtioBlkId(); /** - * string virtio_blk_id = 3; + * string virtio_blk_id = 2; * @return The bytes for virtioBlkId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java index f83f9ae9..76537ee7 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java @@ -49,7 +49,7 @@ private CreateVirtioScsiControllerRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.VirtioScsiController.Builder subBuilder = null; if (virtioScsiController_ != null) { subBuilder = virtioScsiController_.toBuilder(); @@ -62,7 +62,7 @@ private CreateVirtioScsiControllerRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); virtioScsiControllerId_ = s; @@ -100,10 +100,10 @@ private CreateVirtioScsiControllerRequest( opi_api.storage.v1.CreateVirtioScsiControllerRequest.class, opi_api.storage.v1.CreateVirtioScsiControllerRequest.Builder.class); } - public static final int VIRTIO_SCSI_CONTROLLER_FIELD_NUMBER = 2; + public static final int VIRTIO_SCSI_CONTROLLER_FIELD_NUMBER = 1; private opi_api.storage.v1.VirtioScsiController virtioScsiController_; /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiController field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasVirtioScsiController() { return virtioScsiController_ != null; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiController. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.VirtioScsiController getVirtioScsiController() { return virtioScsiController_ == null ? opi_api.storage.v1.VirtioScsiController.getDefaultInstance() : virtioScsiController_; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.VirtioScsiControllerOrBuilder getVirtioScsiControllerOrBuilder() { return getVirtioScsiController(); } - public static final int VIRTIO_SCSI_CONTROLLER_ID_FIELD_NUMBER = 3; + public static final int VIRTIO_SCSI_CONTROLLER_ID_FIELD_NUMBER = 2; private volatile java.lang.Object virtioScsiControllerId_; /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return The virtioScsiControllerId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getVirtioScsiControllerId() { } } /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return The bytes for virtioScsiControllerId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (virtioScsiController_ != null) { - output.writeMessage(2, getVirtioScsiController()); + output.writeMessage(1, getVirtioScsiController()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioScsiControllerId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, virtioScsiControllerId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, virtioScsiControllerId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (virtioScsiController_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVirtioScsiController()); + .computeMessageSize(1, getVirtioScsiController()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioScsiControllerId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, virtioScsiControllerId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, virtioScsiControllerId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioScsiController, opi_api.storage.v1.VirtioScsiController.Builder, opi_api.storage.v1.VirtioScsiControllerOrBuilder> virtioScsiControllerBuilder_; /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiController field is set. */ public boolean hasVirtioScsiController() { return virtioScsiControllerBuilder_ != null || virtioScsiController_ != null; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiController. */ public opi_api.storage.v1.VirtioScsiController getVirtioScsiController() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.VirtioScsiController getVirtioScsiController() { } } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioScsiController(opi_api.storage.v1.VirtioScsiController value) { if (virtioScsiControllerBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setVirtioScsiController(opi_api.storage.v1.VirtioScsiController v return this; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioScsiController( opi_api.storage.v1.VirtioScsiController.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setVirtioScsiController( return this; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeVirtioScsiController(opi_api.storage.v1.VirtioScsiController value) { if (virtioScsiControllerBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeVirtioScsiController(opi_api.storage.v1.VirtioScsiController return this; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearVirtioScsiController() { if (virtioScsiControllerBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearVirtioScsiController() { return this; } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioScsiController.Builder getVirtioScsiControllerBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.VirtioScsiController.Builder getVirtioScsiControllerBu return getVirtioScsiControllerFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getVirtioScsiControllerOrBuilder() { if (virtioScsiControllerBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getVirtioScsiControllerO } } /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioScsiController, opi_api.storage.v1.VirtioScsiController.Builder, opi_api.storage.v1.VirtioScsiControllerOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getVirtioScsiControllerO private java.lang.Object virtioScsiControllerId_ = ""; /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return The virtioScsiControllerId. */ public java.lang.String getVirtioScsiControllerId() { @@ -633,7 +633,7 @@ public java.lang.String getVirtioScsiControllerId() { } } /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return The bytes for virtioScsiControllerId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getVirtioScsiControllerId() { } } /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @param value The virtioScsiControllerId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setVirtioScsiControllerId( return this; } /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return This builder for chaining. */ public Builder clearVirtioScsiControllerId() { @@ -675,7 +675,7 @@ public Builder clearVirtioScsiControllerId() { return this; } /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @param value The bytes for virtioScsiControllerId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java index 1d01f925..e4f54e3b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateVirtioScsiControllerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiController field is set. */ boolean hasVirtioScsiController(); /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiController. */ opi_api.storage.v1.VirtioScsiController getVirtioScsiController(); /** - * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiController virtio_scsi_controller = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.VirtioScsiControllerOrBuilder getVirtioScsiControllerOrBuilder(); /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return The virtioScsiControllerId. */ java.lang.String getVirtioScsiControllerId(); /** - * string virtio_scsi_controller_id = 3; + * string virtio_scsi_controller_id = 2; * @return The bytes for virtioScsiControllerId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java index 1f2440be..b832d956 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java @@ -49,7 +49,7 @@ private CreateVirtioScsiLunRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.VirtioScsiLun.Builder subBuilder = null; if (virtioScsiLun_ != null) { subBuilder = virtioScsiLun_.toBuilder(); @@ -62,7 +62,7 @@ private CreateVirtioScsiLunRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); virtioScsiLunId_ = s; @@ -100,10 +100,10 @@ private CreateVirtioScsiLunRequest( opi_api.storage.v1.CreateVirtioScsiLunRequest.class, opi_api.storage.v1.CreateVirtioScsiLunRequest.Builder.class); } - public static final int VIRTIO_SCSI_LUN_FIELD_NUMBER = 2; + public static final int VIRTIO_SCSI_LUN_FIELD_NUMBER = 1; private opi_api.storage.v1.VirtioScsiLun virtioScsiLun_; /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiLun field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasVirtioScsiLun() { return virtioScsiLun_ != null; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiLun. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.VirtioScsiLun getVirtioScsiLun() { return virtioScsiLun_ == null ? opi_api.storage.v1.VirtioScsiLun.getDefaultInstance() : virtioScsiLun_; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.VirtioScsiLunOrBuilder getVirtioScsiLunOrBuilder() { return getVirtioScsiLun(); } - public static final int VIRTIO_SCSI_LUN_ID_FIELD_NUMBER = 3; + public static final int VIRTIO_SCSI_LUN_ID_FIELD_NUMBER = 2; private volatile java.lang.Object virtioScsiLunId_; /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return The virtioScsiLunId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getVirtioScsiLunId() { } } /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return The bytes for virtioScsiLunId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (virtioScsiLun_ != null) { - output.writeMessage(2, getVirtioScsiLun()); + output.writeMessage(1, getVirtioScsiLun()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioScsiLunId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, virtioScsiLunId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, virtioScsiLunId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (virtioScsiLun_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVirtioScsiLun()); + .computeMessageSize(1, getVirtioScsiLun()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioScsiLunId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, virtioScsiLunId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, virtioScsiLunId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioScsiLun, opi_api.storage.v1.VirtioScsiLun.Builder, opi_api.storage.v1.VirtioScsiLunOrBuilder> virtioScsiLunBuilder_; /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiLun field is set. */ public boolean hasVirtioScsiLun() { return virtioScsiLunBuilder_ != null || virtioScsiLun_ != null; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiLun. */ public opi_api.storage.v1.VirtioScsiLun getVirtioScsiLun() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.VirtioScsiLun getVirtioScsiLun() { } } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioScsiLun(opi_api.storage.v1.VirtioScsiLun value) { if (virtioScsiLunBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setVirtioScsiLun(opi_api.storage.v1.VirtioScsiLun value) { return this; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioScsiLun( opi_api.storage.v1.VirtioScsiLun.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setVirtioScsiLun( return this; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeVirtioScsiLun(opi_api.storage.v1.VirtioScsiLun value) { if (virtioScsiLunBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeVirtioScsiLun(opi_api.storage.v1.VirtioScsiLun value) { return this; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearVirtioScsiLun() { if (virtioScsiLunBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearVirtioScsiLun() { return this; } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioScsiLun.Builder getVirtioScsiLunBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.VirtioScsiLun.Builder getVirtioScsiLunBuilder() { return getVirtioScsiLunFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioScsiLunOrBuilder getVirtioScsiLunOrBuilder() { if (virtioScsiLunBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.VirtioScsiLunOrBuilder getVirtioScsiLunOrBuilder() { } } /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioScsiLun, opi_api.storage.v1.VirtioScsiLun.Builder, opi_api.storage.v1.VirtioScsiLunOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.VirtioScsiLunOrBuilder getVirtioScsiLunOrBuilder() { private java.lang.Object virtioScsiLunId_ = ""; /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return The virtioScsiLunId. */ public java.lang.String getVirtioScsiLunId() { @@ -633,7 +633,7 @@ public java.lang.String getVirtioScsiLunId() { } } /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return The bytes for virtioScsiLunId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getVirtioScsiLunId() { } } /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @param value The virtioScsiLunId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setVirtioScsiLunId( return this; } /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return This builder for chaining. */ public Builder clearVirtioScsiLunId() { @@ -675,7 +675,7 @@ public Builder clearVirtioScsiLunId() { return this; } /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @param value The bytes for virtioScsiLunId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java index 986bc295..ebc5fa6c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateVirtioScsiLunRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiLun field is set. */ boolean hasVirtioScsiLun(); /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiLun. */ opi_api.storage.v1.VirtioScsiLun getVirtioScsiLun(); /** - * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiLun virtio_scsi_lun = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.VirtioScsiLunOrBuilder getVirtioScsiLunOrBuilder(); /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return The virtioScsiLunId. */ java.lang.String getVirtioScsiLunId(); /** - * string virtio_scsi_lun_id = 3; + * string virtio_scsi_lun_id = 2; * @return The bytes for virtioScsiLunId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java index f2428e2a..7be22912 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java @@ -49,7 +49,7 @@ private CreateVirtioScsiTargetRequest( case 0: done = true; break; - case 18: { + case 10: { opi_api.storage.v1.VirtioScsiTarget.Builder subBuilder = null; if (virtioScsiTarget_ != null) { subBuilder = virtioScsiTarget_.toBuilder(); @@ -62,7 +62,7 @@ private CreateVirtioScsiTargetRequest( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); virtioScsiTargetId_ = s; @@ -100,10 +100,10 @@ private CreateVirtioScsiTargetRequest( opi_api.storage.v1.CreateVirtioScsiTargetRequest.class, opi_api.storage.v1.CreateVirtioScsiTargetRequest.Builder.class); } - public static final int VIRTIO_SCSI_TARGET_FIELD_NUMBER = 2; + public static final int VIRTIO_SCSI_TARGET_FIELD_NUMBER = 1; private opi_api.storage.v1.VirtioScsiTarget virtioScsiTarget_; /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiTarget field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasVirtioScsiTarget() { return virtioScsiTarget_ != null; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiTarget. */ @java.lang.Override @@ -119,17 +119,17 @@ public opi_api.storage.v1.VirtioScsiTarget getVirtioScsiTarget() { return virtioScsiTarget_ == null ? opi_api.storage.v1.VirtioScsiTarget.getDefaultInstance() : virtioScsiTarget_; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public opi_api.storage.v1.VirtioScsiTargetOrBuilder getVirtioScsiTargetOrBuilder() { return getVirtioScsiTarget(); } - public static final int VIRTIO_SCSI_TARGET_ID_FIELD_NUMBER = 3; + public static final int VIRTIO_SCSI_TARGET_ID_FIELD_NUMBER = 2; private volatile java.lang.Object virtioScsiTargetId_; /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return The virtioScsiTargetId. */ @java.lang.Override @@ -146,7 +146,7 @@ public java.lang.String getVirtioScsiTargetId() { } } /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return The bytes for virtioScsiTargetId. */ @java.lang.Override @@ -179,10 +179,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (virtioScsiTarget_ != null) { - output.writeMessage(2, getVirtioScsiTarget()); + output.writeMessage(1, getVirtioScsiTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioScsiTargetId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, virtioScsiTargetId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, virtioScsiTargetId_); } unknownFields.writeTo(output); } @@ -195,10 +195,10 @@ public int getSerializedSize() { size = 0; if (virtioScsiTarget_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVirtioScsiTarget()); + .computeMessageSize(1, getVirtioScsiTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtioScsiTargetId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, virtioScsiTargetId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, virtioScsiTargetId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,14 +500,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioScsiTarget, opi_api.storage.v1.VirtioScsiTarget.Builder, opi_api.storage.v1.VirtioScsiTargetOrBuilder> virtioScsiTargetBuilder_; /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiTarget field is set. */ public boolean hasVirtioScsiTarget() { return virtioScsiTargetBuilder_ != null || virtioScsiTarget_ != null; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiTarget. */ public opi_api.storage.v1.VirtioScsiTarget getVirtioScsiTarget() { @@ -518,7 +518,7 @@ public opi_api.storage.v1.VirtioScsiTarget getVirtioScsiTarget() { } } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioScsiTarget(opi_api.storage.v1.VirtioScsiTarget value) { if (virtioScsiTargetBuilder_ == null) { @@ -534,7 +534,7 @@ public Builder setVirtioScsiTarget(opi_api.storage.v1.VirtioScsiTarget value) { return this; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setVirtioScsiTarget( opi_api.storage.v1.VirtioScsiTarget.Builder builderForValue) { @@ -548,7 +548,7 @@ public Builder setVirtioScsiTarget( return this; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeVirtioScsiTarget(opi_api.storage.v1.VirtioScsiTarget value) { if (virtioScsiTargetBuilder_ == null) { @@ -566,7 +566,7 @@ public Builder mergeVirtioScsiTarget(opi_api.storage.v1.VirtioScsiTarget value) return this; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearVirtioScsiTarget() { if (virtioScsiTargetBuilder_ == null) { @@ -580,7 +580,7 @@ public Builder clearVirtioScsiTarget() { return this; } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioScsiTarget.Builder getVirtioScsiTargetBuilder() { @@ -588,7 +588,7 @@ public opi_api.storage.v1.VirtioScsiTarget.Builder getVirtioScsiTargetBuilder() return getVirtioScsiTargetFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getVirtioScsiTargetOrBuilder() { if (virtioScsiTargetBuilder_ != null) { @@ -599,7 +599,7 @@ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getVirtioScsiTargetOrBuilder } } /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VirtioScsiTarget, opi_api.storage.v1.VirtioScsiTarget.Builder, opi_api.storage.v1.VirtioScsiTargetOrBuilder> @@ -617,7 +617,7 @@ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getVirtioScsiTargetOrBuilder private java.lang.Object virtioScsiTargetId_ = ""; /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return The virtioScsiTargetId. */ public java.lang.String getVirtioScsiTargetId() { @@ -633,7 +633,7 @@ public java.lang.String getVirtioScsiTargetId() { } } /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return The bytes for virtioScsiTargetId. */ public com.google.protobuf.ByteString @@ -650,7 +650,7 @@ public java.lang.String getVirtioScsiTargetId() { } } /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @param value The virtioScsiTargetId to set. * @return This builder for chaining. */ @@ -665,7 +665,7 @@ public Builder setVirtioScsiTargetId( return this; } /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return This builder for chaining. */ public Builder clearVirtioScsiTargetId() { @@ -675,7 +675,7 @@ public Builder clearVirtioScsiTargetId() { return this; } /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @param value The bytes for virtioScsiTargetId to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java index 1171e85a..bb8c37ce 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java @@ -8,27 +8,27 @@ public interface CreateVirtioScsiTargetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the virtioScsiTarget field is set. */ boolean hasVirtioScsiTarget(); /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The virtioScsiTarget. */ opi_api.storage.v1.VirtioScsiTarget getVirtioScsiTarget(); /** - * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .opi_api.storage.v1.VirtioScsiTarget virtio_scsi_target = 1 [(.google.api.field_behavior) = REQUIRED]; */ opi_api.storage.v1.VirtioScsiTargetOrBuilder getVirtioScsiTargetOrBuilder(); /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return The virtioScsiTargetId. */ java.lang.String getVirtioScsiTargetId(); /** - * string virtio_scsi_target_id = 3; + * string virtio_scsi_target_id = 2; * @return The bytes for virtioScsiTargetId. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequest.java index f56496e7..7bdf8ea8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequest.java @@ -95,10 +95,6 @@ private DeleteNvmeRemoteControllerRequest( public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @@ -116,10 +112,6 @@ public java.lang.String getName() { } } /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @@ -476,10 +468,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @@ -496,10 +484,6 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @@ -517,10 +501,6 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. @@ -536,10 +516,6 @@ public Builder setName( return this; } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ @@ -550,10 +526,6 @@ public Builder clearName() { return this; } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequestOrBuilder.java index ed675cc9..8c8bc0a2 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNvmeRemoteControllerRequestOrBuilder.java @@ -8,19 +8,11 @@ public interface DeleteNvmeRemoteControllerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolume.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolume.java index 9a8b694b..f4a2f4f1 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolume.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolume.java @@ -17,6 +17,7 @@ private EncryptedVolume(com.google.protobuf.GeneratedMessageV3.Builder builde } private EncryptedVolume() { name_ = ""; + volumeNameRef_ = ""; key_ = com.google.protobuf.ByteString.EMPTY; cipher_ = 0; } @@ -58,16 +59,9 @@ private EncryptedVolume( break; } case 18: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (volumeId_ != null) { - subBuilder = volumeId_.toBuilder(); - } - volumeId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(volumeId_); - volumeId_ = subBuilder.buildPartial(); - } + java.lang.String s = input.readStringRequireUtf8(); + volumeNameRef_ = s; break; } case 26: { @@ -122,7 +116,7 @@ private EncryptedVolume( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -145,7 +139,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -163,42 +157,50 @@ public java.lang.String getName() { } } - public static final int VOLUME_ID_FIELD_NUMBER = 2; - private opi_api.common.v1.ObjectKey volumeId_; + public static final int VOLUME_NAME_REF_FIELD_NUMBER = 2; + private volatile java.lang.Object volumeNameRef_; /** *
    * The back/middle-end volume to back this volume
    * 
* - * .opi_api.common.v1.ObjectKey volume_id = 2; - * @return Whether the volumeId field is set. + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The volumeNameRef. */ @java.lang.Override - public boolean hasVolumeId() { - return volumeId_ != null; - } - /** - *
-   * The back/middle-end volume to back this volume
-   * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 2; - * @return The volumeId. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getVolumeId() { - return volumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; + public java.lang.String getVolumeNameRef() { + java.lang.Object ref = volumeNameRef_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + volumeNameRef_ = s; + return s; + } } /** *
    * The back/middle-end volume to back this volume
    * 
* - * .opi_api.common.v1.ObjectKey volume_id = 2; + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for volumeNameRef. */ @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder() { - return getVolumeId(); + public com.google.protobuf.ByteString + getVolumeNameRefBytes() { + java.lang.Object ref = volumeNameRef_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + volumeNameRef_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } public static final int KEY_FIELD_NUMBER = 3; @@ -260,8 +262,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (volumeId_ != null) { - output.writeMessage(2, getVolumeId()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeNameRef_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, volumeNameRef_); } if (!key_.isEmpty()) { output.writeBytes(3, key_); @@ -281,9 +283,8 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (volumeId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVolumeId()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeNameRef_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, volumeNameRef_); } if (!key_.isEmpty()) { size += com.google.protobuf.CodedOutputStream @@ -310,11 +311,8 @@ public boolean equals(final java.lang.Object obj) { if (!getName() .equals(other.getName())) return false; - if (hasVolumeId() != other.hasVolumeId()) return false; - if (hasVolumeId()) { - if (!getVolumeId() - .equals(other.getVolumeId())) return false; - } + if (!getVolumeNameRef() + .equals(other.getVolumeNameRef())) return false; if (!getKey() .equals(other.getKey())) return false; if (cipher_ != other.cipher_) return false; @@ -331,10 +329,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - if (hasVolumeId()) { - hash = (37 * hash) + VOLUME_ID_FIELD_NUMBER; - hash = (53 * hash) + getVolumeId().hashCode(); - } + hash = (37 * hash) + VOLUME_NAME_REF_FIELD_NUMBER; + hash = (53 * hash) + getVolumeNameRef().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + CIPHER_FIELD_NUMBER; @@ -474,12 +470,8 @@ public Builder clear() { super.clear(); name_ = ""; - if (volumeIdBuilder_ == null) { - volumeId_ = null; - } else { - volumeId_ = null; - volumeIdBuilder_ = null; - } + volumeNameRef_ = ""; + key_ = com.google.protobuf.ByteString.EMPTY; cipher_ = 0; @@ -511,11 +503,7 @@ public opi_api.storage.v1.EncryptedVolume build() { public opi_api.storage.v1.EncryptedVolume buildPartial() { opi_api.storage.v1.EncryptedVolume result = new opi_api.storage.v1.EncryptedVolume(this); result.name_ = name_; - if (volumeIdBuilder_ == null) { - result.volumeId_ = volumeId_; - } else { - result.volumeId_ = volumeIdBuilder_.build(); - } + result.volumeNameRef_ = volumeNameRef_; result.key_ = key_; result.cipher_ = cipher_; onBuilt(); @@ -570,8 +558,9 @@ public Builder mergeFrom(opi_api.storage.v1.EncryptedVolume other) { name_ = other.name_; onChanged(); } - if (other.hasVolumeId()) { - mergeVolumeId(other.getVolumeId()); + if (!other.getVolumeNameRef().isEmpty()) { + volumeNameRef_ = other.volumeNameRef_; + onChanged(); } if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); @@ -616,7 +605,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -638,7 +627,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -661,7 +650,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -682,7 +671,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -698,7 +687,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -714,93 +703,65 @@ public Builder setNameBytes( return this; } - private opi_api.common.v1.ObjectKey volumeId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> volumeIdBuilder_; - /** - *
-     * The back/middle-end volume to back this volume
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 2; - * @return Whether the volumeId field is set. - */ - public boolean hasVolumeId() { - return volumeIdBuilder_ != null || volumeId_ != null; - } + private java.lang.Object volumeNameRef_ = ""; /** *
      * The back/middle-end volume to back this volume
      * 
* - * .opi_api.common.v1.ObjectKey volume_id = 2; - * @return The volumeId. + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The volumeNameRef. */ - public opi_api.common.v1.ObjectKey getVolumeId() { - if (volumeIdBuilder_ == null) { - return volumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } else { - return volumeIdBuilder_.getMessage(); - } - } - /** - *
-     * The back/middle-end volume to back this volume
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 2; - */ - public Builder setVolumeId(opi_api.common.v1.ObjectKey value) { - if (volumeIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - volumeId_ = value; - onChanged(); + public java.lang.String getVolumeNameRef() { + java.lang.Object ref = volumeNameRef_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + volumeNameRef_ = s; + return s; } else { - volumeIdBuilder_.setMessage(value); + return (java.lang.String) ref; } - - return this; } /** *
      * The back/middle-end volume to back this volume
      * 
* - * .opi_api.common.v1.ObjectKey volume_id = 2; + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for volumeNameRef. */ - public Builder setVolumeId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (volumeIdBuilder_ == null) { - volumeId_ = builderForValue.build(); - onChanged(); + public com.google.protobuf.ByteString + getVolumeNameRefBytes() { + java.lang.Object ref = volumeNameRef_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + volumeNameRef_ = b; + return b; } else { - volumeIdBuilder_.setMessage(builderForValue.build()); + return (com.google.protobuf.ByteString) ref; } - - return this; } /** *
      * The back/middle-end volume to back this volume
      * 
* - * .opi_api.common.v1.ObjectKey volume_id = 2; + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The volumeNameRef to set. + * @return This builder for chaining. */ - public Builder mergeVolumeId(opi_api.common.v1.ObjectKey value) { - if (volumeIdBuilder_ == null) { - if (volumeId_ != null) { - volumeId_ = - opi_api.common.v1.ObjectKey.newBuilder(volumeId_).mergeFrom(value).buildPartial(); - } else { - volumeId_ = value; - } - onChanged(); - } else { - volumeIdBuilder_.mergeFrom(value); - } - + public Builder setVolumeNameRef( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + volumeNameRef_ = value; + onChanged(); return this; } /** @@ -808,17 +769,13 @@ public Builder mergeVolumeId(opi_api.common.v1.ObjectKey value) { * The back/middle-end volume to back this volume * * - * .opi_api.common.v1.ObjectKey volume_id = 2; + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. */ - public Builder clearVolumeId() { - if (volumeIdBuilder_ == null) { - volumeId_ = null; - onChanged(); - } else { - volumeId_ = null; - volumeIdBuilder_ = null; - } - + public Builder clearVolumeNameRef() { + + volumeNameRef_ = getDefaultInstance().getVolumeNameRef(); + onChanged(); return this; } /** @@ -826,47 +783,20 @@ public Builder clearVolumeId() { * The back/middle-end volume to back this volume * * - * .opi_api.common.v1.ObjectKey volume_id = 2; + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for volumeNameRef to set. + * @return This builder for chaining. */ - public opi_api.common.v1.ObjectKey.Builder getVolumeIdBuilder() { + public Builder setVolumeNameRefBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + volumeNameRef_ = value; onChanged(); - return getVolumeIdFieldBuilder().getBuilder(); - } - /** - *
-     * The back/middle-end volume to back this volume
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 2; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder() { - if (volumeIdBuilder_ != null) { - return volumeIdBuilder_.getMessageOrBuilder(); - } else { - return volumeId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } - } - /** - *
-     * The back/middle-end volume to back this volume
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getVolumeIdFieldBuilder() { - if (volumeIdBuilder_ == null) { - volumeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getVolumeId(), - getParentForChildren(), - isClean()); - volumeId_ = null; - } - return volumeIdBuilder_; + return this; } private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeOrBuilder.java index 483d1bd3..31b0bf60 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeOrBuilder.java @@ -14,7 +14,7 @@ public interface EncryptedVolumeOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface EncryptedVolumeOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString @@ -36,27 +36,20 @@ public interface EncryptedVolumeOrBuilder extends * The back/middle-end volume to back this volume * * - * .opi_api.common.v1.ObjectKey volume_id = 2; - * @return Whether the volumeId field is set. + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The volumeNameRef. */ - boolean hasVolumeId(); + java.lang.String getVolumeNameRef(); /** *
    * The back/middle-end volume to back this volume
    * 
* - * .opi_api.common.v1.ObjectKey volume_id = 2; - * @return The volumeId. + * string volume_name_ref = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for volumeNameRef. */ - opi_api.common.v1.ObjectKey getVolumeId(); - /** - *
-   * The back/middle-end volume to back this volume
-   * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 2; - */ - opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder(); + com.google.protobuf.ByteString + getVolumeNameRefBytes(); /** *
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsRequest.java
deleted file mode 100644
index 05e45211..00000000
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsRequest.java
+++ /dev/null
@@ -1,607 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: middleend_encryption.proto
-
-package opi_api.storage.v1;
-
-/**
- * Protobuf type {@code opi_api.storage.v1.EncryptedVolumeStatsRequest}
- */
-public final class EncryptedVolumeStatsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
-    // @@protoc_insertion_point(message_implements:opi_api.storage.v1.EncryptedVolumeStatsRequest)
-    EncryptedVolumeStatsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
-  // Use EncryptedVolumeStatsRequest.newBuilder() to construct.
-  private EncryptedVolumeStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
-    super(builder);
-  }
-  private EncryptedVolumeStatsRequest() {
-  }
-
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
-    return new EncryptedVolumeStatsRequest();
-  }
-
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
-  private EncryptedVolumeStatsRequest(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10: {
-            opi_api.common.v1.ObjectKey.Builder subBuilder = null;
-            if (encryptedVolumeId_ != null) {
-              subBuilder = encryptedVolumeId_.toBuilder();
-            }
-            encryptedVolumeId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(encryptedVolumeId_);
-              encryptedVolumeId_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_descriptor;
-  }
-
-  @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internalGetFieldAccessorTable() {
-    return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_fieldAccessorTable
-        .ensureFieldAccessorsInitialized(
-            opi_api.storage.v1.EncryptedVolumeStatsRequest.class, opi_api.storage.v1.EncryptedVolumeStatsRequest.Builder.class);
-  }
-
-  public static final int ENCRYPTED_VOLUME_ID_FIELD_NUMBER = 1;
-  private opi_api.common.v1.ObjectKey encryptedVolumeId_;
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return Whether the encryptedVolumeId field is set.
-   */
-  @java.lang.Override
-  public boolean hasEncryptedVolumeId() {
-    return encryptedVolumeId_ != null;
-  }
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return The encryptedVolumeId.
-   */
-  @java.lang.Override
-  public opi_api.common.v1.ObjectKey getEncryptedVolumeId() {
-    return encryptedVolumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : encryptedVolumeId_;
-  }
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   */
-  @java.lang.Override
-  public opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder() {
-    return getEncryptedVolumeId();
-  }
-
-  private byte memoizedIsInitialized = -1;
-  @java.lang.Override
-  public final boolean isInitialized() {
-    byte isInitialized = memoizedIsInitialized;
-    if (isInitialized == 1) return true;
-    if (isInitialized == 0) return false;
-
-    memoizedIsInitialized = 1;
-    return true;
-  }
-
-  @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (encryptedVolumeId_ != null) {
-      output.writeMessage(1, getEncryptedVolumeId());
-    }
-    unknownFields.writeTo(output);
-  }
-
-  @java.lang.Override
-  public int getSerializedSize() {
-    int size = memoizedSize;
-    if (size != -1) return size;
-
-    size = 0;
-    if (encryptedVolumeId_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEncryptedVolumeId());
-    }
-    size += unknownFields.getSerializedSize();
-    memoizedSize = size;
-    return size;
-  }
-
-  @java.lang.Override
-  public boolean equals(final java.lang.Object obj) {
-    if (obj == this) {
-     return true;
-    }
-    if (!(obj instanceof opi_api.storage.v1.EncryptedVolumeStatsRequest)) {
-      return super.equals(obj);
-    }
-    opi_api.storage.v1.EncryptedVolumeStatsRequest other = (opi_api.storage.v1.EncryptedVolumeStatsRequest) obj;
-
-    if (hasEncryptedVolumeId() != other.hasEncryptedVolumeId()) return false;
-    if (hasEncryptedVolumeId()) {
-      if (!getEncryptedVolumeId()
-          .equals(other.getEncryptedVolumeId())) return false;
-    }
-    if (!unknownFields.equals(other.unknownFields)) return false;
-    return true;
-  }
-
-  @java.lang.Override
-  public int hashCode() {
-    if (memoizedHashCode != 0) {
-      return memoizedHashCode;
-    }
-    int hash = 41;
-    hash = (19 * hash) + getDescriptor().hashCode();
-    if (hasEncryptedVolumeId()) {
-      hash = (37 * hash) + ENCRYPTED_VOLUME_ID_FIELD_NUMBER;
-      hash = (53 * hash) + getEncryptedVolumeId().hashCode();
-    }
-    hash = (29 * hash) + unknownFields.hashCode();
-    memoizedHashCode = hash;
-    return hash;
-  }
-
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      com.google.protobuf.ByteString data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      com.google.protobuf.ByteString data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
-  }
-
-  @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
-  public static Builder newBuilder() {
-    return DEFAULT_INSTANCE.toBuilder();
-  }
-  public static Builder newBuilder(opi_api.storage.v1.EncryptedVolumeStatsRequest prototype) {
-    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
-  }
-  @java.lang.Override
-  public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
-  }
-
-  @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-    Builder builder = new Builder(parent);
-    return builder;
-  }
-  /**
-   * Protobuf type {@code opi_api.storage.v1.EncryptedVolumeStatsRequest}
-   */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
-      // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.EncryptedVolumeStatsRequest)
-      opi_api.storage.v1.EncryptedVolumeStatsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_descriptor;
-    }
-
-    @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              opi_api.storage.v1.EncryptedVolumeStatsRequest.class, opi_api.storage.v1.EncryptedVolumeStatsRequest.Builder.class);
-    }
-
-    // Construct using opi_api.storage.v1.EncryptedVolumeStatsRequest.newBuilder()
-    private Builder() {
-      maybeForceBuilderInitialization();
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
-      maybeForceBuilderInitialization();
-    }
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
-    }
-    @java.lang.Override
-    public Builder clear() {
-      super.clear();
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeId_ = null;
-      } else {
-        encryptedVolumeId_ = null;
-        encryptedVolumeIdBuilder_ = null;
-      }
-      return this;
-    }
-
-    @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_descriptor;
-    }
-
-    @java.lang.Override
-    public opi_api.storage.v1.EncryptedVolumeStatsRequest getDefaultInstanceForType() {
-      return opi_api.storage.v1.EncryptedVolumeStatsRequest.getDefaultInstance();
-    }
-
-    @java.lang.Override
-    public opi_api.storage.v1.EncryptedVolumeStatsRequest build() {
-      opi_api.storage.v1.EncryptedVolumeStatsRequest result = buildPartial();
-      if (!result.isInitialized()) {
-        throw newUninitializedMessageException(result);
-      }
-      return result;
-    }
-
-    @java.lang.Override
-    public opi_api.storage.v1.EncryptedVolumeStatsRequest buildPartial() {
-      opi_api.storage.v1.EncryptedVolumeStatsRequest result = new opi_api.storage.v1.EncryptedVolumeStatsRequest(this);
-      if (encryptedVolumeIdBuilder_ == null) {
-        result.encryptedVolumeId_ = encryptedVolumeId_;
-      } else {
-        result.encryptedVolumeId_ = encryptedVolumeIdBuilder_.build();
-      }
-      onBuilt();
-      return result;
-    }
-
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
-      return super.setField(field, value);
-    }
-    @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-    @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-    @java.lang.Override
-    public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other instanceof opi_api.storage.v1.EncryptedVolumeStatsRequest) {
-        return mergeFrom((opi_api.storage.v1.EncryptedVolumeStatsRequest)other);
-      } else {
-        super.mergeFrom(other);
-        return this;
-      }
-    }
-
-    public Builder mergeFrom(opi_api.storage.v1.EncryptedVolumeStatsRequest other) {
-      if (other == opi_api.storage.v1.EncryptedVolumeStatsRequest.getDefaultInstance()) return this;
-      if (other.hasEncryptedVolumeId()) {
-        mergeEncryptedVolumeId(other.getEncryptedVolumeId());
-      }
-      this.mergeUnknownFields(other.unknownFields);
-      onChanged();
-      return this;
-    }
-
-    @java.lang.Override
-    public final boolean isInitialized() {
-      return true;
-    }
-
-    @java.lang.Override
-    public Builder mergeFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      opi_api.storage.v1.EncryptedVolumeStatsRequest parsedMessage = null;
-      try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (opi_api.storage.v1.EncryptedVolumeStatsRequest) e.getUnfinishedMessage();
-        throw e.unwrapIOException();
-      } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
-      return this;
-    }
-
-    private opi_api.common.v1.ObjectKey encryptedVolumeId_;
-    private com.google.protobuf.SingleFieldBuilderV3<
-        opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> encryptedVolumeIdBuilder_;
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     * @return Whether the encryptedVolumeId field is set.
-     */
-    public boolean hasEncryptedVolumeId() {
-      return encryptedVolumeIdBuilder_ != null || encryptedVolumeId_ != null;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     * @return The encryptedVolumeId.
-     */
-    public opi_api.common.v1.ObjectKey getEncryptedVolumeId() {
-      if (encryptedVolumeIdBuilder_ == null) {
-        return encryptedVolumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : encryptedVolumeId_;
-      } else {
-        return encryptedVolumeIdBuilder_.getMessage();
-      }
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder setEncryptedVolumeId(opi_api.common.v1.ObjectKey value) {
-      if (encryptedVolumeIdBuilder_ == null) {
-        if (value == null) {
-          throw new NullPointerException();
-        }
-        encryptedVolumeId_ = value;
-        onChanged();
-      } else {
-        encryptedVolumeIdBuilder_.setMessage(value);
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder setEncryptedVolumeId(
-        opi_api.common.v1.ObjectKey.Builder builderForValue) {
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeId_ = builderForValue.build();
-        onChanged();
-      } else {
-        encryptedVolumeIdBuilder_.setMessage(builderForValue.build());
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder mergeEncryptedVolumeId(opi_api.common.v1.ObjectKey value) {
-      if (encryptedVolumeIdBuilder_ == null) {
-        if (encryptedVolumeId_ != null) {
-          encryptedVolumeId_ =
-            opi_api.common.v1.ObjectKey.newBuilder(encryptedVolumeId_).mergeFrom(value).buildPartial();
-        } else {
-          encryptedVolumeId_ = value;
-        }
-        onChanged();
-      } else {
-        encryptedVolumeIdBuilder_.mergeFrom(value);
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder clearEncryptedVolumeId() {
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeId_ = null;
-        onChanged();
-      } else {
-        encryptedVolumeId_ = null;
-        encryptedVolumeIdBuilder_ = null;
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public opi_api.common.v1.ObjectKey.Builder getEncryptedVolumeIdBuilder() {
-      
-      onChanged();
-      return getEncryptedVolumeIdFieldBuilder().getBuilder();
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder() {
-      if (encryptedVolumeIdBuilder_ != null) {
-        return encryptedVolumeIdBuilder_.getMessageOrBuilder();
-      } else {
-        return encryptedVolumeId_ == null ?
-            opi_api.common.v1.ObjectKey.getDefaultInstance() : encryptedVolumeId_;
-      }
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    private com.google.protobuf.SingleFieldBuilderV3<
-        opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> 
-        getEncryptedVolumeIdFieldBuilder() {
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>(
-                getEncryptedVolumeId(),
-                getParentForChildren(),
-                isClean());
-        encryptedVolumeId_ = null;
-      }
-      return encryptedVolumeIdBuilder_;
-    }
-    @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
-
-    // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.EncryptedVolumeStatsRequest)
-  }
-
-  // @@protoc_insertion_point(class_scope:opi_api.storage.v1.EncryptedVolumeStatsRequest)
-  private static final opi_api.storage.v1.EncryptedVolumeStatsRequest DEFAULT_INSTANCE;
-  static {
-    DEFAULT_INSTANCE = new opi_api.storage.v1.EncryptedVolumeStatsRequest();
-  }
-
-  public static opi_api.storage.v1.EncryptedVolumeStatsRequest getDefaultInstance() {
-    return DEFAULT_INSTANCE;
-  }
-
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public EncryptedVolumeStatsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new EncryptedVolumeStatsRequest(input, extensionRegistry);
-    }
-  };
-
-  public static com.google.protobuf.Parser parser() {
-    return PARSER;
-  }
-
-  @java.lang.Override
-  public com.google.protobuf.Parser getParserForType() {
-    return PARSER;
-  }
-
-  @java.lang.Override
-  public opi_api.storage.v1.EncryptedVolumeStatsRequest getDefaultInstanceForType() {
-    return DEFAULT_INSTANCE;
-  }
-
-}
-
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsRequestOrBuilder.java
deleted file mode 100644
index 8344f099..00000000
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsRequestOrBuilder.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: middleend_encryption.proto
-
-package opi_api.storage.v1;
-
-public interface EncryptedVolumeStatsRequestOrBuilder extends
-    // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.EncryptedVolumeStatsRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return Whether the encryptedVolumeId field is set.
-   */
-  boolean hasEncryptedVolumeId();
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return The encryptedVolumeId.
-   */
-  opi_api.common.v1.ObjectKey getEncryptedVolumeId();
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   */
-  opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder();
-}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java
deleted file mode 100644
index 0e801637..00000000
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java
+++ /dev/null
@@ -1,795 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: middleend_encryption.proto
-
-package opi_api.storage.v1;
-
-/**
- * Protobuf type {@code opi_api.storage.v1.EncryptedVolumeStatsResponse}
- */
-public final class EncryptedVolumeStatsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
-    // @@protoc_insertion_point(message_implements:opi_api.storage.v1.EncryptedVolumeStatsResponse)
-    EncryptedVolumeStatsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
-  // Use EncryptedVolumeStatsResponse.newBuilder() to construct.
-  private EncryptedVolumeStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
-    super(builder);
-  }
-  private EncryptedVolumeStatsResponse() {
-  }
-
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
-    return new EncryptedVolumeStatsResponse();
-  }
-
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
-    return this.unknownFields;
-  }
-  private EncryptedVolumeStatsResponse(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10: {
-            opi_api.common.v1.ObjectKey.Builder subBuilder = null;
-            if (encryptedVolumeId_ != null) {
-              subBuilder = encryptedVolumeId_.toBuilder();
-            }
-            encryptedVolumeId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(encryptedVolumeId_);
-              encryptedVolumeId_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 18: {
-            opi_api.storage.v1.VolumeStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_descriptor;
-  }
-
-  @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internalGetFieldAccessorTable() {
-    return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_fieldAccessorTable
-        .ensureFieldAccessorsInitialized(
-            opi_api.storage.v1.EncryptedVolumeStatsResponse.class, opi_api.storage.v1.EncryptedVolumeStatsResponse.Builder.class);
-  }
-
-  public static final int ENCRYPTED_VOLUME_ID_FIELD_NUMBER = 1;
-  private opi_api.common.v1.ObjectKey encryptedVolumeId_;
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return Whether the encryptedVolumeId field is set.
-   */
-  @java.lang.Override
-  public boolean hasEncryptedVolumeId() {
-    return encryptedVolumeId_ != null;
-  }
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return The encryptedVolumeId.
-   */
-  @java.lang.Override
-  public opi_api.common.v1.ObjectKey getEncryptedVolumeId() {
-    return encryptedVolumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : encryptedVolumeId_;
-  }
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   */
-  @java.lang.Override
-  public opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder() {
-    return getEncryptedVolumeId();
-  }
-
-  public static final int STATS_FIELD_NUMBER = 2;
-  private opi_api.storage.v1.VolumeStats stats_;
-  /**
-   * .opi_api.storage.v1.VolumeStats stats = 2;
-   * @return Whether the stats field is set.
-   */
-  @java.lang.Override
-  public boolean hasStats() {
-    return stats_ != null;
-  }
-  /**
-   * .opi_api.storage.v1.VolumeStats stats = 2;
-   * @return The stats.
-   */
-  @java.lang.Override
-  public opi_api.storage.v1.VolumeStats getStats() {
-    return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_;
-  }
-  /**
-   * .opi_api.storage.v1.VolumeStats stats = 2;
-   */
-  @java.lang.Override
-  public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() {
-    return getStats();
-  }
-
-  private byte memoizedIsInitialized = -1;
-  @java.lang.Override
-  public final boolean isInitialized() {
-    byte isInitialized = memoizedIsInitialized;
-    if (isInitialized == 1) return true;
-    if (isInitialized == 0) return false;
-
-    memoizedIsInitialized = 1;
-    return true;
-  }
-
-  @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (encryptedVolumeId_ != null) {
-      output.writeMessage(1, getEncryptedVolumeId());
-    }
-    if (stats_ != null) {
-      output.writeMessage(2, getStats());
-    }
-    unknownFields.writeTo(output);
-  }
-
-  @java.lang.Override
-  public int getSerializedSize() {
-    int size = memoizedSize;
-    if (size != -1) return size;
-
-    size = 0;
-    if (encryptedVolumeId_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEncryptedVolumeId());
-    }
-    if (stats_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStats());
-    }
-    size += unknownFields.getSerializedSize();
-    memoizedSize = size;
-    return size;
-  }
-
-  @java.lang.Override
-  public boolean equals(final java.lang.Object obj) {
-    if (obj == this) {
-     return true;
-    }
-    if (!(obj instanceof opi_api.storage.v1.EncryptedVolumeStatsResponse)) {
-      return super.equals(obj);
-    }
-    opi_api.storage.v1.EncryptedVolumeStatsResponse other = (opi_api.storage.v1.EncryptedVolumeStatsResponse) obj;
-
-    if (hasEncryptedVolumeId() != other.hasEncryptedVolumeId()) return false;
-    if (hasEncryptedVolumeId()) {
-      if (!getEncryptedVolumeId()
-          .equals(other.getEncryptedVolumeId())) return false;
-    }
-    if (hasStats() != other.hasStats()) return false;
-    if (hasStats()) {
-      if (!getStats()
-          .equals(other.getStats())) return false;
-    }
-    if (!unknownFields.equals(other.unknownFields)) return false;
-    return true;
-  }
-
-  @java.lang.Override
-  public int hashCode() {
-    if (memoizedHashCode != 0) {
-      return memoizedHashCode;
-    }
-    int hash = 41;
-    hash = (19 * hash) + getDescriptor().hashCode();
-    if (hasEncryptedVolumeId()) {
-      hash = (37 * hash) + ENCRYPTED_VOLUME_ID_FIELD_NUMBER;
-      hash = (53 * hash) + getEncryptedVolumeId().hashCode();
-    }
-    if (hasStats()) {
-      hash = (37 * hash) + STATS_FIELD_NUMBER;
-      hash = (53 * hash) + getStats().hashCode();
-    }
-    hash = (29 * hash) + unknownFields.hashCode();
-    memoizedHashCode = hash;
-    return hash;
-  }
-
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      com.google.protobuf.ByteString data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      com.google.protobuf.ByteString data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    return PARSER.parseFrom(data, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
-  }
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
-  }
-
-  @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
-  public static Builder newBuilder() {
-    return DEFAULT_INSTANCE.toBuilder();
-  }
-  public static Builder newBuilder(opi_api.storage.v1.EncryptedVolumeStatsResponse prototype) {
-    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
-  }
-  @java.lang.Override
-  public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
-  }
-
-  @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-    Builder builder = new Builder(parent);
-    return builder;
-  }
-  /**
-   * Protobuf type {@code opi_api.storage.v1.EncryptedVolumeStatsResponse}
-   */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
-      // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.EncryptedVolumeStatsResponse)
-      opi_api.storage.v1.EncryptedVolumeStatsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_descriptor;
-    }
-
-    @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              opi_api.storage.v1.EncryptedVolumeStatsResponse.class, opi_api.storage.v1.EncryptedVolumeStatsResponse.Builder.class);
-    }
-
-    // Construct using opi_api.storage.v1.EncryptedVolumeStatsResponse.newBuilder()
-    private Builder() {
-      maybeForceBuilderInitialization();
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
-      maybeForceBuilderInitialization();
-    }
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
-    }
-    @java.lang.Override
-    public Builder clear() {
-      super.clear();
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeId_ = null;
-      } else {
-        encryptedVolumeId_ = null;
-        encryptedVolumeIdBuilder_ = null;
-      }
-      if (statsBuilder_ == null) {
-        stats_ = null;
-      } else {
-        stats_ = null;
-        statsBuilder_ = null;
-      }
-      return this;
-    }
-
-    @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_descriptor;
-    }
-
-    @java.lang.Override
-    public opi_api.storage.v1.EncryptedVolumeStatsResponse getDefaultInstanceForType() {
-      return opi_api.storage.v1.EncryptedVolumeStatsResponse.getDefaultInstance();
-    }
-
-    @java.lang.Override
-    public opi_api.storage.v1.EncryptedVolumeStatsResponse build() {
-      opi_api.storage.v1.EncryptedVolumeStatsResponse result = buildPartial();
-      if (!result.isInitialized()) {
-        throw newUninitializedMessageException(result);
-      }
-      return result;
-    }
-
-    @java.lang.Override
-    public opi_api.storage.v1.EncryptedVolumeStatsResponse buildPartial() {
-      opi_api.storage.v1.EncryptedVolumeStatsResponse result = new opi_api.storage.v1.EncryptedVolumeStatsResponse(this);
-      if (encryptedVolumeIdBuilder_ == null) {
-        result.encryptedVolumeId_ = encryptedVolumeId_;
-      } else {
-        result.encryptedVolumeId_ = encryptedVolumeIdBuilder_.build();
-      }
-      if (statsBuilder_ == null) {
-        result.stats_ = stats_;
-      } else {
-        result.stats_ = statsBuilder_.build();
-      }
-      onBuilt();
-      return result;
-    }
-
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
-      return super.setField(field, value);
-    }
-    @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-    @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-    @java.lang.Override
-    public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other instanceof opi_api.storage.v1.EncryptedVolumeStatsResponse) {
-        return mergeFrom((opi_api.storage.v1.EncryptedVolumeStatsResponse)other);
-      } else {
-        super.mergeFrom(other);
-        return this;
-      }
-    }
-
-    public Builder mergeFrom(opi_api.storage.v1.EncryptedVolumeStatsResponse other) {
-      if (other == opi_api.storage.v1.EncryptedVolumeStatsResponse.getDefaultInstance()) return this;
-      if (other.hasEncryptedVolumeId()) {
-        mergeEncryptedVolumeId(other.getEncryptedVolumeId());
-      }
-      if (other.hasStats()) {
-        mergeStats(other.getStats());
-      }
-      this.mergeUnknownFields(other.unknownFields);
-      onChanged();
-      return this;
-    }
-
-    @java.lang.Override
-    public final boolean isInitialized() {
-      return true;
-    }
-
-    @java.lang.Override
-    public Builder mergeFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      opi_api.storage.v1.EncryptedVolumeStatsResponse parsedMessage = null;
-      try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (opi_api.storage.v1.EncryptedVolumeStatsResponse) e.getUnfinishedMessage();
-        throw e.unwrapIOException();
-      } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
-      return this;
-    }
-
-    private opi_api.common.v1.ObjectKey encryptedVolumeId_;
-    private com.google.protobuf.SingleFieldBuilderV3<
-        opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> encryptedVolumeIdBuilder_;
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     * @return Whether the encryptedVolumeId field is set.
-     */
-    public boolean hasEncryptedVolumeId() {
-      return encryptedVolumeIdBuilder_ != null || encryptedVolumeId_ != null;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     * @return The encryptedVolumeId.
-     */
-    public opi_api.common.v1.ObjectKey getEncryptedVolumeId() {
-      if (encryptedVolumeIdBuilder_ == null) {
-        return encryptedVolumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : encryptedVolumeId_;
-      } else {
-        return encryptedVolumeIdBuilder_.getMessage();
-      }
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder setEncryptedVolumeId(opi_api.common.v1.ObjectKey value) {
-      if (encryptedVolumeIdBuilder_ == null) {
-        if (value == null) {
-          throw new NullPointerException();
-        }
-        encryptedVolumeId_ = value;
-        onChanged();
-      } else {
-        encryptedVolumeIdBuilder_.setMessage(value);
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder setEncryptedVolumeId(
-        opi_api.common.v1.ObjectKey.Builder builderForValue) {
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeId_ = builderForValue.build();
-        onChanged();
-      } else {
-        encryptedVolumeIdBuilder_.setMessage(builderForValue.build());
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder mergeEncryptedVolumeId(opi_api.common.v1.ObjectKey value) {
-      if (encryptedVolumeIdBuilder_ == null) {
-        if (encryptedVolumeId_ != null) {
-          encryptedVolumeId_ =
-            opi_api.common.v1.ObjectKey.newBuilder(encryptedVolumeId_).mergeFrom(value).buildPartial();
-        } else {
-          encryptedVolumeId_ = value;
-        }
-        onChanged();
-      } else {
-        encryptedVolumeIdBuilder_.mergeFrom(value);
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public Builder clearEncryptedVolumeId() {
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeId_ = null;
-        onChanged();
-      } else {
-        encryptedVolumeId_ = null;
-        encryptedVolumeIdBuilder_ = null;
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public opi_api.common.v1.ObjectKey.Builder getEncryptedVolumeIdBuilder() {
-      
-      onChanged();
-      return getEncryptedVolumeIdFieldBuilder().getBuilder();
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    public opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder() {
-      if (encryptedVolumeIdBuilder_ != null) {
-        return encryptedVolumeIdBuilder_.getMessageOrBuilder();
-      } else {
-        return encryptedVolumeId_ == null ?
-            opi_api.common.v1.ObjectKey.getDefaultInstance() : encryptedVolumeId_;
-      }
-    }
-    /**
-     * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-     */
-    private com.google.protobuf.SingleFieldBuilderV3<
-        opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> 
-        getEncryptedVolumeIdFieldBuilder() {
-      if (encryptedVolumeIdBuilder_ == null) {
-        encryptedVolumeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>(
-                getEncryptedVolumeId(),
-                getParentForChildren(),
-                isClean());
-        encryptedVolumeId_ = null;
-      }
-      return encryptedVolumeIdBuilder_;
-    }
-
-    private opi_api.storage.v1.VolumeStats stats_;
-    private com.google.protobuf.SingleFieldBuilderV3<
-        opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_;
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     * @return Whether the stats field is set.
-     */
-    public boolean hasStats() {
-      return statsBuilder_ != null || stats_ != null;
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     * @return The stats.
-     */
-    public opi_api.storage.v1.VolumeStats getStats() {
-      if (statsBuilder_ == null) {
-        return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_;
-      } else {
-        return statsBuilder_.getMessage();
-      }
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    public Builder setStats(opi_api.storage.v1.VolumeStats value) {
-      if (statsBuilder_ == null) {
-        if (value == null) {
-          throw new NullPointerException();
-        }
-        stats_ = value;
-        onChanged();
-      } else {
-        statsBuilder_.setMessage(value);
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    public Builder setStats(
-        opi_api.storage.v1.VolumeStats.Builder builderForValue) {
-      if (statsBuilder_ == null) {
-        stats_ = builderForValue.build();
-        onChanged();
-      } else {
-        statsBuilder_.setMessage(builderForValue.build());
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    public Builder mergeStats(opi_api.storage.v1.VolumeStats value) {
-      if (statsBuilder_ == null) {
-        if (stats_ != null) {
-          stats_ =
-            opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial();
-        } else {
-          stats_ = value;
-        }
-        onChanged();
-      } else {
-        statsBuilder_.mergeFrom(value);
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    public Builder clearStats() {
-      if (statsBuilder_ == null) {
-        stats_ = null;
-        onChanged();
-      } else {
-        stats_ = null;
-        statsBuilder_ = null;
-      }
-
-      return this;
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() {
-      
-      onChanged();
-      return getStatsFieldBuilder().getBuilder();
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() {
-      if (statsBuilder_ != null) {
-        return statsBuilder_.getMessageOrBuilder();
-      } else {
-        return stats_ == null ?
-            opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_;
-      }
-    }
-    /**
-     * .opi_api.storage.v1.VolumeStats stats = 2;
-     */
-    private com.google.protobuf.SingleFieldBuilderV3<
-        opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> 
-        getStatsFieldBuilder() {
-      if (statsBuilder_ == null) {
-        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>(
-                getStats(),
-                getParentForChildren(),
-                isClean());
-        stats_ = null;
-      }
-      return statsBuilder_;
-    }
-    @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
-
-    // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.EncryptedVolumeStatsResponse)
-  }
-
-  // @@protoc_insertion_point(class_scope:opi_api.storage.v1.EncryptedVolumeStatsResponse)
-  private static final opi_api.storage.v1.EncryptedVolumeStatsResponse DEFAULT_INSTANCE;
-  static {
-    DEFAULT_INSTANCE = new opi_api.storage.v1.EncryptedVolumeStatsResponse();
-  }
-
-  public static opi_api.storage.v1.EncryptedVolumeStatsResponse getDefaultInstance() {
-    return DEFAULT_INSTANCE;
-  }
-
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public EncryptedVolumeStatsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new EncryptedVolumeStatsResponse(input, extensionRegistry);
-    }
-  };
-
-  public static com.google.protobuf.Parser parser() {
-    return PARSER;
-  }
-
-  @java.lang.Override
-  public com.google.protobuf.Parser getParserForType() {
-    return PARSER;
-  }
-
-  @java.lang.Override
-  public opi_api.storage.v1.EncryptedVolumeStatsResponse getDefaultInstanceForType() {
-    return DEFAULT_INSTANCE;
-  }
-
-}
-
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java
deleted file mode 100644
index 59f3ca78..00000000
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java
+++ /dev/null
@@ -1,39 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: middleend_encryption.proto
-
-package opi_api.storage.v1;
-
-public interface EncryptedVolumeStatsResponseOrBuilder extends
-    // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.EncryptedVolumeStatsResponse)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return Whether the encryptedVolumeId field is set.
-   */
-  boolean hasEncryptedVolumeId();
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   * @return The encryptedVolumeId.
-   */
-  opi_api.common.v1.ObjectKey getEncryptedVolumeId();
-  /**
-   * .opi_api.common.v1.ObjectKey encrypted_volume_id = 1;
-   */
-  opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder();
-
-  /**
-   * .opi_api.storage.v1.VolumeStats stats = 2;
-   * @return Whether the stats field is set.
-   */
-  boolean hasStats();
-  /**
-   * .opi_api.storage.v1.VolumeStats stats = 2;
-   * @return The stats.
-   */
-  opi_api.storage.v1.VolumeStats getStats();
-  /**
-   * .opi_api.storage.v1.VolumeStats stats = 2;
-   */
-  opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder();
-}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java
index 26f4e0eb..38c1c006 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java
@@ -90,15 +90,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetNvmeSubsystemRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
     internal_static_opi_api_storage_v1_CreateNvmeControllerRequest_descriptor;
   static final 
@@ -130,15 +130,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetNvmeControllerRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
     internal_static_opi_api_storage_v1_CreateNvmeNamespaceRequest_descriptor;
   static final 
@@ -170,15 +170,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetNvmeNamespaceRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_fieldAccessorTable;
 
   public static com.google.protobuf.Descriptors.FileDescriptor
       getDescriptor() {
@@ -194,192 +194,202 @@ public static void registerAllExtensions(
       "e.proto\032\033google/protobuf/empty.proto\032\034go" +
       "ogle/api/annotations.proto\032\037google/api/f" +
       "ield_behavior.proto\032 google/protobuf/fie" +
-      "ld_mask.proto\"\310\001\n\rNvmeSubsystem\022\014\n\004name\030" +
-      "\001 \001(\t\0223\n\004spec\030\002 \001(\0132%.opi_api.storage.v1" +
-      ".NvmeSubsystemSpec\0227\n\006status\030\003 \001(\0132\'.opi" +
-      "_api.storage.v1.NvmeSubsystemStatus:;\352A8" +
-      "\n$storage.opiproject.org/NvmeSubsystem\022\020" +
-      "volumes/{volume}\"e\n\021NvmeSubsystemSpec\022\013\n" +
-      "\003nqn\030\001 \001(\t\022\025\n\rserial_number\030\002 \001(\t\022\024\n\014mod" +
-      "el_number\030\003 \001(\t\022\026\n\016max_namespaces\030\004 \001(\003\"" +
-      "B\n\023NvmeSubsystemStatus\022\031\n\021firmware_revis" +
-      "ion\030\001 \001(\t\022\020\n\010fru_guid\030\002 \001(\014\"\314\001\n\016NvmeCont" +
-      "roller\022\014\n\004name\030\001 \001(\t\0224\n\004spec\030\002 \001(\0132&.opi" +
-      "_api.storage.v1.NvmeControllerSpec\0228\n\006st" +
-      "atus\030\003 \001(\0132(.opi_api.storage.v1.NvmeCont" +
-      "rollerStatus:<\352A9\n%storage.opiproject.or" +
-      "g/NvmeController\022\020volumes/{volume}\"\266\002\n\022N" +
-      "vmeControllerSpec\022\032\n\022nvme_controller_id\030" +
-      "\001 \001(\005\022\032\n\022subsystem_name_ref\030\002 \001(\t\0220\n\007pci" +
-      "e_id\030\003 \001(\0132\037.opi_api.storage.v1.PciEndpo" +
-      "int\022\017\n\007max_nsq\030\004 \001(\005\022\017\n\007max_ncq\030\005 \001(\005\022\014\n" +
-      "\004sqes\030\006 \001(\005\022\014\n\004cqes\030\007 \001(\005\022\026\n\016max_namespa" +
-      "ces\030\010 \001(\005\022/\n\tmin_limit\030\t \001(\0132\034.opi_api.s" +
-      "torage.v1.QosLimit\022/\n\tmax_limit\030\n \001(\0132\034." +
-      "opi_api.storage.v1.QosLimit\"&\n\024NvmeContr" +
-      "ollerStatus\022\016\n\006active\030\001 \001(\010\"\310\001\n\rNvmeName" +
-      "space\022\014\n\004name\030\001 \001(\t\0223\n\004spec\030\002 \001(\0132%.opi_" +
-      "api.storage.v1.NvmeNamespaceSpec\0227\n\006stat" +
-      "us\030\003 \001(\0132\'.opi_api.storage.v1.NvmeNamesp" +
-      "aceStatus:;\352A8\n$storage.opiproject.org/N" +
-      "vmeNamespace\022\020volumes/{volume}\"\240\001\n\021NvmeN" +
-      "amespaceSpec\022\032\n\022subsystem_name_ref\030\001 \001(\t" +
-      "\022\021\n\thost_nsid\030\002 \001(\005\022\r\n\005nguid\030\003 \001(\t\022\r\n\005eu" +
-      "i64\030\004 \001(\003\022%\n\004uuid\030\005 \001(\0132\027.opi_api.common" +
-      ".v1.Uuid\022\027\n\017volume_name_ref\030\006 \001(\t\"\232\001\n\023Nv" +
-      "meNamespaceStatus\022<\n\tpci_state\030\001 \001(\0162).o" +
-      "pi_api.storage.v1.NvmeNamespacePciState\022" +
-      "E\n\016pci_oper_state\030\002 \001(\0162-.opi_api.storag" +
-      "e.v1.NvmeNamespacePciOperState\"w\n\032Create" +
-      "NvmeSubsystemRequest\022>\n\016nvme_subsystem\030\002" +
-      " \001(\0132!.opi_api.storage.v1.NvmeSubsystemB" +
-      "\003\340A\002\022\031\n\021nvme_subsystem_id\030\003 \001(\t\"k\n\032Delet" +
-      "eNvmeSubsystemRequest\0226\n\004name\030\001 \001(\tB(\340A\002" +
-      "\372A\"\n opi_api.storage.v1/NvmeSubsystem\022\025\n" +
-      "\rallow_missing\030\002 \001(\010\"\237\001\n\032UpdateNvmeSubsy" +
-      "stemRequest\0229\n\016nvme_subsystem\030\001 \001(\0132!.op" +
-      "i_api.storage.v1.NvmeSubsystem\022/\n\013update" +
-      "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022" +
-      "\025\n\rallow_missing\030\003 \001(\010\"|\n\031ListNvmeSubsys" +
-      "temsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi" +
-      "_api.storage.v1/NvmeSubsystem\022\021\n\tpage_si" +
-      "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListNvme" +
-      "SubsystemsResponse\022:\n\017nvme_subsystems\030\001 " +
-      "\003(\0132!.opi_api.storage.v1.NvmeSubsystem\022\027" +
-      "\n\017next_page_token\030\002 \001(\t\"Q\n\027GetNvmeSubsys" +
-      "temRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_ap" +
-      "i.storage.v1/NvmeSubsystem\"7\n\031NvmeSubsys" +
-      "temStatsRequest\022\032\n\022subsystem_name_ref\030\001 " +
-      "\001(\t\"L\n\032NvmeSubsystemStatsResponse\022.\n\005sta" +
-      "ts\030\001 \001(\0132\037.opi_api.storage.v1.VolumeStat" +
-      "s\"{\n\033CreateNvmeControllerRequest\022@\n\017nvme" +
-      "_controller\030\002 \001(\0132\".opi_api.storage.v1.N" +
-      "vmeControllerB\003\340A\002\022\032\n\022nvme_controller_id" +
-      "\030\003 \001(\t\"m\n\033DeleteNvmeControllerRequest\0227\n" +
-      "\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/" +
-      "NvmeController\022\025\n\rallow_missing\030\002 \001(\010\"\242\001" +
-      "\n\033UpdateNvmeControllerRequest\022;\n\017nvme_co" +
-      "ntroller\030\001 \001(\0132\".opi_api.storage.v1.Nvme" +
-      "Controller\022/\n\013update_mask\030\002 \001(\0132\032.google" +
-      ".protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001" +
-      "(\010\"~\n\032ListNvmeControllersRequest\0229\n\006pare" +
-      "nt\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/Nvm" +
-      "eController\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
-      "oken\030\003 \001(\t\"t\n\033ListNvmeControllersRespons" +
-      "e\022<\n\020nvme_controllers\030\001 \003(\0132\".opi_api.st" +
-      "orage.v1.NvmeController\022\027\n\017next_page_tok" +
-      "en\030\002 \001(\t\"S\n\030GetNvmeControllerRequest\0227\n\004" +
-      "name\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/N" +
-      "vmeController\"*\n\032NvmeControllerStatsRequ" +
-      "est\022\014\n\004name\030\001 \001(\t\"[\n\033NvmeControllerStats" +
-      "Response\022\014\n\004name\030\001 \001(\t\022.\n\005stats\030\002 \001(\0132\037." +
-      "opi_api.storage.v1.VolumeStats\"w\n\032Create" +
-      "NvmeNamespaceRequest\022>\n\016nvme_namespace\030\002" +
-      " \001(\0132!.opi_api.storage.v1.NvmeNamespaceB" +
-      "\003\340A\002\022\031\n\021nvme_namespace_id\030\003 \001(\t\"k\n\032Delet" +
-      "eNvmeNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340A\002" +
-      "\372A\"\n opi_api.storage.v1/NvmeNamespace\022\025\n" +
-      "\rallow_missing\030\002 \001(\010\"\237\001\n\032UpdateNvmeNames" +
-      "paceRequest\0229\n\016nvme_namespace\030\001 \001(\0132!.op" +
-      "i_api.storage.v1.NvmeNamespace\022/\n\013update" +
-      "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022" +
-      "\025\n\rallow_missing\030\003 \001(\010\"|\n\031ListNvmeNamesp" +
-      "acesRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi" +
-      "_api.storage.v1/NvmeNamespace\022\021\n\tpage_si" +
-      "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListNvme" +
-      "NamespacesResponse\022:\n\017nvme_namespaces\030\001 " +
-      "\003(\0132!.opi_api.storage.v1.NvmeNamespace\022\027" +
-      "\n\017next_page_token\030\002 \001(\t\"Q\n\027GetNvmeNamesp" +
-      "aceRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_ap" +
-      "i.storage.v1/NvmeNamespace\")\n\031NvmeNamesp" +
-      "aceStatsRequest\022\014\n\004name\030\001 \001(\t\"Z\n\032NvmeNam" +
-      "espaceStatsResponse\022\014\n\004name\030\001 \001(\t\022.\n\005sta" +
-      "ts\030\002 \001(\0132\037.opi_api.storage.v1.VolumeStat" +
-      "s*\265\001\n\025NvmeNamespacePciState\022(\n$NVME_NAME" +
-      "SPACE_PCI_STATE_UNSPECIFIED\020\000\022%\n!NVME_NA" +
-      "MESPACE_PCI_STATE_DISABLED\020\001\022$\n NVME_NAM" +
-      "ESPACE_PCI_STATE_ENABLED\020\002\022%\n!NVME_NAMES" +
-      "PACE_PCI_STATE_DELETING\020\003*\237\001\n\031NvmeNamesp" +
-      "acePciOperState\022-\n)NVME_NAMESPACE_PCI_OP" +
-      "ER_STATE_UNSPECIFIED\020\000\022(\n$NVME_NAMESPACE" +
-      "_PCI_OPER_STATE_ONLINE\020\001\022)\n%NVME_NAMESPA" +
-      "CE_PCI_OPER_STATE_OFFLINE\020\0022\332\026\n\023Frontend" +
-      "NvmeService\022\260\001\n\023CreateNvmeSubsystem\022..op" +
-      "i_api.storage.v1.CreateNvmeSubsystemRequ" +
-      "est\032!.opi_api.storage.v1.NvmeSubsystem\"F" +
-      "\202\323\344\223\002\035\"\013/v1/volumes:\016nvme_subsystem\332A nv" +
-      "me_subsystem,nvme_subsystem_id\022\217\001\n\023Delet" +
-      "eNvmeSubsystem\022..opi_api.storage.v1.Dele" +
-      "teNvmeSubsystemRequest\032\026.google.protobuf" +
-      ".Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems}/{s" +
-      "ubsystem}\332A\004name\022\303\001\n\023UpdateNvmeSubsystem" +
-      "\022..opi_api.storage.v1.UpdateNvmeSubsyste" +
-      "mRequest\032!.opi_api.storage.v1.NvmeSubsys" +
-      "tem\"Y\202\323\344\223\00262$/v1/{nvme_subsystem.name=su" +
-      "bsystems}:\016nvme_subsystem\332A\032nvme_subsyst" +
-      "em,update_mask\022\235\001\n\022ListNvmeSubsystems\022-." +
-      "opi_api.storage.v1.ListNvmeSubsystemsReq" +
-      "uest\032..opi_api.storage.v1.ListNvmeSubsys" +
-      "temsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsys" +
-      "tems}\332A\006parent\022\224\001\n\020GetNvmeSubsystem\022+.op" +
-      "i_api.storage.v1.GetNvmeSubsystemRequest" +
-      "\032!.opi_api.storage.v1.NvmeSubsystem\"0\202\323\344" +
-      "\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A" +
-      "\004name\022u\n\022NvmeSubsystemStats\022-.opi_api.st" +
-      "orage.v1.NvmeSubsystemStatsRequest\032..opi" +
-      "_api.storage.v1.NvmeSubsystemStatsRespon" +
-      "se\"\000\022\266\001\n\024CreateNvmeController\022/.opi_api." +
-      "storage.v1.CreateNvmeControllerRequest\032\"" +
-      ".opi_api.storage.v1.NvmeController\"I\202\323\344\223" +
-      "\002\036\"\013/v1/volumes:\017nvme_controller\332A\"nvme_" +
-      "controller,nvme_controller_id\022\223\001\n\024Delete" +
-      "NvmeController\022/.opi_api.storage.v1.Dele" +
-      "teNvmeControllerRequest\032\026.google.protobu" +
-      "f.Empty\"2\202\323\344\223\002%*#/v1/{name=controllers}/" +
-      "{controller}\332A\004name\022\311\001\n\024UpdateNvmeContro" +
-      "ller\022/.opi_api.storage.v1.UpdateNvmeCont" +
-      "rollerRequest\032\".opi_api.storage.v1.NvmeC" +
-      "ontroller\"\\\202\323\344\223\00282%/v1/{nvme_controller." +
-      "name=subsystems}:\017nvme_controller\332A\033nvme" +
-      "_controller,update_mask\022\240\001\n\023ListNvmeCont" +
-      "rollers\022..opi_api.storage.v1.ListNvmeCon" +
-      "trollersRequest\032/.opi_api.storage.v1.Lis" +
-      "tNvmeControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{p" +
-      "arent=subsystems}\332A\006parent\022\230\001\n\021GetNvmeCo" +
-      "ntroller\022,.opi_api.storage.v1.GetNvmeCon" +
-      "trollerRequest\032\".opi_api.storage.v1.Nvme" +
-      "Controller\"1\202\323\344\223\002$\022\"/v1/{name=subsystems" +
-      "}/{controller}\332A\004name\022x\n\023NvmeControllerS" +
-      "tats\022..opi_api.storage.v1.NvmeController" +
-      "StatsRequest\032/.opi_api.storage.v1.NvmeCo" +
-      "ntrollerStatsResponse\"\000\022\260\001\n\023CreateNvmeNa" +
-      "mespace\022..opi_api.storage.v1.CreateNvmeN" +
-      "amespaceRequest\032!.opi_api.storage.v1.Nvm" +
-      "eNamespace\"F\202\323\344\223\002\035\"\013/v1/volumes:\016nvme_na" +
-      "mespace\332A nvme_namespace,nvme_namespace_" +
-      "id\022\217\001\n\023DeleteNvmeNamespace\022..opi_api.sto" +
-      "rage.v1.DeleteNvmeNamespaceRequest\032\026.goo" +
-      "gle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=na" +
-      "mespaces}/{namespace}\332A\004name\022\303\001\n\023UpdateN" +
-      "vmeNamespace\022..opi_api.storage.v1.Update" +
-      "NvmeNamespaceRequest\032!.opi_api.storage.v" +
-      "1.NvmeNamespace\"Y\202\323\344\223\00262$/v1/{nvme_names" +
-      "pace.name=subsystems}:\016nvme_namespace\332A\032" +
-      "nvme_namespace,update_mask\022\235\001\n\022ListNvmeN" +
-      "amespaces\022-.opi_api.storage.v1.ListNvmeN" +
-      "amespacesRequest\032..opi_api.storage.v1.Li" +
-      "stNvmeNamespacesResponse\"(\202\323\344\223\002\031\022\027/v1/{p" +
-      "arent=subsystems}\332A\006parent\022\224\001\n\020GetNvmeNa" +
-      "mespace\022+.opi_api.storage.v1.GetNvmeName" +
-      "spaceRequest\032!.opi_api.storage.v1.NvmeNa" +
-      "mespace\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{" +
-      "namespace}\332A\004name\022u\n\022NvmeNamespaceStats\022" +
-      "-.opi_api.storage.v1.NvmeNamespaceStatsR" +
-      "equest\032..opi_api.storage.v1.NvmeNamespac" +
-      "eStatsResponse\"\000Bd\n\022opi_api.storage.v1B\025" +
-      "FrontendNvmePcieProtoP\001Z5github.com/opip" +
-      "roject/opi-api/storage/v1alpha1/gen/gob\006" +
-      "proto3"
+      "ld_mask.proto\"\365\001\n\rNvmeSubsystem\0229\n\004name\030" +
+      "\001 \001(\tB+\340A\003\340A\005\372A\"\n opi_api.storage.v1/Nvm" +
+      "eSubsystem\0223\n\004spec\030\002 \001(\0132%.opi_api.stora" +
+      "ge.v1.NvmeSubsystemSpec\0227\n\006status\030\003 \001(\0132" +
+      "\'.opi_api.storage.v1.NvmeSubsystemStatus" +
+      ":;\352A8\n$storage.opiproject.org/NvmeSubsys" +
+      "tem\022\020volumes/{volume}\"e\n\021NvmeSubsystemSp" +
+      "ec\022\013\n\003nqn\030\001 \001(\t\022\025\n\rserial_number\030\002 \001(\t\022\024" +
+      "\n\014model_number\030\003 \001(\t\022\026\n\016max_namespaces\030\004" +
+      " \001(\003\"B\n\023NvmeSubsystemStatus\022\031\n\021firmware_" +
+      "revision\030\001 \001(\t\022\020\n\010fru_guid\030\002 \001(\014\"\372\001\n\016Nvm" +
+      "eController\022:\n\004name\030\001 \001(\tB,\340A\003\340A\005\372A#\n!op" +
+      "i_api.storage.v1/NvmeController\0224\n\004spec\030" +
+      "\002 \001(\0132&.opi_api.storage.v1.NvmeControlle" +
+      "rSpec\0228\n\006status\030\003 \001(\0132(.opi_api.storage." +
+      "v1.NvmeControllerStatus:<\352A9\n%storage.op" +
+      "iproject.org/NvmeController\022\020volumes/{vo" +
+      "lume}\"\340\002\n\022NvmeControllerSpec\022\032\n\022nvme_con" +
+      "troller_id\030\001 \001(\005\022D\n\022subsystem_name_ref\030\002" +
+      " \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NvmeSub" +
+      "system\0220\n\007pcie_id\030\003 \001(\0132\037.opi_api.storag" +
+      "e.v1.PciEndpoint\022\017\n\007max_nsq\030\004 \001(\005\022\017\n\007max" +
+      "_ncq\030\005 \001(\005\022\014\n\004sqes\030\006 \001(\005\022\014\n\004cqes\030\007 \001(\005\022\026" +
+      "\n\016max_namespaces\030\010 \001(\005\022/\n\tmin_limit\030\t \001(" +
+      "\0132\034.opi_api.storage.v1.QosLimit\022/\n\tmax_l" +
+      "imit\030\n \001(\0132\034.opi_api.storage.v1.QosLimit" +
+      "\"&\n\024NvmeControllerStatus\022\016\n\006active\030\001 \001(\010" +
+      "\"\365\001\n\rNvmeNamespace\0229\n\004name\030\001 \001(\tB+\340A\003\340A\005" +
+      "\372A\"\n opi_api.storage.v1/NvmeNamespace\0223\n" +
+      "\004spec\030\002 \001(\0132%.opi_api.storage.v1.NvmeNam" +
+      "espaceSpec\0227\n\006status\030\003 \001(\0132\'.opi_api.sto" +
+      "rage.v1.NvmeNamespaceStatus:;\352A8\n$storag" +
+      "e.opiproject.org/NvmeNamespace\022\020volumes/" +
+      "{volume}\"\317\001\n\021NvmeNamespaceSpec\022D\n\022subsys" +
+      "tem_name_ref\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stor" +
+      "age.v1/NvmeSubsystem\022\021\n\thost_nsid\030\002 \001(\005\022" +
+      "\r\n\005nguid\030\003 \001(\t\022\r\n\005eui64\030\004 \001(\003\022%\n\004uuid\030\005 " +
+      "\001(\0132\027.opi_api.common.v1.Uuid\022\034\n\017volume_n" +
+      "ame_ref\030\006 \001(\tB\003\340A\002\"\232\001\n\023NvmeNamespaceStat" +
+      "us\022<\n\tpci_state\030\001 \001(\0162).opi_api.storage." +
+      "v1.NvmeNamespacePciState\022E\n\016pci_oper_sta" +
+      "te\030\002 \001(\0162-.opi_api.storage.v1.NvmeNamesp" +
+      "acePciOperState\"w\n\032CreateNvmeSubsystemRe" +
+      "quest\022>\n\016nvme_subsystem\030\001 \001(\0132!.opi_api." +
+      "storage.v1.NvmeSubsystemB\003\340A\002\022\031\n\021nvme_su" +
+      "bsystem_id\030\002 \001(\t\"k\n\032DeleteNvmeSubsystemR" +
+      "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.st" +
+      "orage.v1/NvmeSubsystem\022\025\n\rallow_missing\030" +
+      "\002 \001(\010\"\237\001\n\032UpdateNvmeSubsystemRequest\0229\n\016" +
+      "nvme_subsystem\030\001 \001(\0132!.opi_api.storage.v" +
+      "1.NvmeSubsystem\022/\n\013update_mask\030\002 \001(\0132\032.g" +
+      "oogle.protobuf.FieldMask\022\025\n\rallow_missin" +
+      "g\030\003 \001(\010\"|\n\031ListNvmeSubsystemsRequest\0228\n\006" +
+      "parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1" +
+      "/NvmeSubsystem\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" +
+      "e_token\030\003 \001(\t\"q\n\032ListNvmeSubsystemsRespo" +
+      "nse\022:\n\017nvme_subsystems\030\001 \003(\0132!.opi_api.s" +
+      "torage.v1.NvmeSubsystem\022\027\n\017next_page_tok" +
+      "en\030\002 \001(\t\"Q\n\027GetNvmeSubsystemRequest\0226\n\004n" +
+      "ame\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Nv" +
+      "meSubsystem\"S\n\031StatsNvmeSubsystemRequest" +
+      "\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage." +
+      "v1/NvmeSubsystem\"L\n\032StatsNvmeSubsystemRe" +
+      "sponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage." +
+      "v1.VolumeStats\"{\n\033CreateNvmeControllerRe" +
+      "quest\022@\n\017nvme_controller\030\001 \001(\0132\".opi_api" +
+      ".storage.v1.NvmeControllerB\003\340A\002\022\032\n\022nvme_" +
+      "controller_id\030\002 \001(\t\"m\n\033DeleteNvmeControl" +
+      "lerRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_ap" +
+      "i.storage.v1/NvmeController\022\025\n\rallow_mis" +
+      "sing\030\002 \001(\010\"\242\001\n\033UpdateNvmeControllerReque" +
+      "st\022;\n\017nvme_controller\030\001 \001(\0132\".opi_api.st" +
+      "orage.v1.NvmeController\022/\n\013update_mask\030\002" +
+      " \001(\0132\032.google.protobuf.FieldMask\022\025\n\rallo" +
+      "w_missing\030\003 \001(\010\"~\n\032ListNvmeControllersRe" +
+      "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!opi_api.s" +
+      "torage.v1/NvmeController\022\021\n\tpage_size\030\002 " +
+      "\001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\033ListNvmeContr" +
+      "ollersResponse\022<\n\020nvme_controllers\030\001 \003(\013" +
+      "2\".opi_api.storage.v1.NvmeController\022\027\n\017" +
+      "next_page_token\030\002 \001(\t\"S\n\030GetNvmeControll" +
+      "erRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_api" +
+      ".storage.v1/NvmeController\"U\n\032StatsNvmeC" +
+      "ontrollerRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!" +
+      "opi_api.storage.v1/NvmeController\"M\n\033Sta" +
+      "tsNvmeControllerResponse\022.\n\005stats\030\001 \001(\0132" +
+      "\037.opi_api.storage.v1.VolumeStats\"w\n\032Crea" +
+      "teNvmeNamespaceRequest\022>\n\016nvme_namespace" +
+      "\030\001 \001(\0132!.opi_api.storage.v1.NvmeNamespac" +
+      "eB\003\340A\002\022\031\n\021nvme_namespace_id\030\002 \001(\t\"k\n\032Del" +
+      "eteNvmeNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340" +
+      "A\002\372A\"\n opi_api.storage.v1/NvmeNamespace\022" +
+      "\025\n\rallow_missing\030\002 \001(\010\"\237\001\n\032UpdateNvmeNam" +
+      "espaceRequest\0229\n\016nvme_namespace\030\001 \001(\0132!." +
+      "opi_api.storage.v1.NvmeNamespace\022/\n\013upda" +
+      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
+      "k\022\025\n\rallow_missing\030\003 \001(\010\"|\n\031ListNvmeName" +
+      "spacesRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n o" +
+      "pi_api.storage.v1/NvmeNamespace\022\021\n\tpage_" +
+      "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListNv" +
+      "meNamespacesResponse\022:\n\017nvme_namespaces\030" +
+      "\001 \003(\0132!.opi_api.storage.v1.NvmeNamespace" +
+      "\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\027GetNvmeName" +
+      "spaceRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_" +
+      "api.storage.v1/NvmeNamespace\"S\n\031StatsNvm" +
+      "eNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n" +
+      " opi_api.storage.v1/NvmeNamespace\"L\n\032Sta" +
+      "tsNvmeNamespaceResponse\022.\n\005stats\030\001 \001(\0132\037" +
+      ".opi_api.storage.v1.VolumeStats*\265\001\n\025Nvme" +
+      "NamespacePciState\022(\n$NVME_NAMESPACE_PCI_" +
+      "STATE_UNSPECIFIED\020\000\022%\n!NVME_NAMESPACE_PC" +
+      "I_STATE_DISABLED\020\001\022$\n NVME_NAMESPACE_PCI" +
+      "_STATE_ENABLED\020\002\022%\n!NVME_NAMESPACE_PCI_S" +
+      "TATE_DELETING\020\003*\237\001\n\031NvmeNamespacePciOper" +
+      "State\022-\n)NVME_NAMESPACE_PCI_OPER_STATE_U" +
+      "NSPECIFIED\020\000\022(\n$NVME_NAMESPACE_PCI_OPER_" +
+      "STATE_ONLINE\020\001\022)\n%NVME_NAMESPACE_PCI_OPE" +
+      "R_STATE_OFFLINE\020\0022\311\027\n\023FrontendNvmeServic" +
+      "e\022\260\001\n\023CreateNvmeSubsystem\022..opi_api.stor" +
+      "age.v1.CreateNvmeSubsystemRequest\032!.opi_" +
+      "api.storage.v1.NvmeSubsystem\"F\202\323\344\223\002\035\"\013/v" +
+      "1/volumes:\016nvme_subsystem\332A nvme_subsyst" +
+      "em,nvme_subsystem_id\022\211\001\n\023DeleteNvmeSubsy" +
+      "stem\022..opi_api.storage.v1.DeleteNvmeSubs" +
+      "ystemRequest\032\026.google.protobuf.Empty\"*\202\323" +
+      "\344\223\002\035*\033/v1/{name=NvmeSubsystems/*}\332A\004name" +
+      "\022\303\001\n\023UpdateNvmeSubsystem\022..opi_api.stora" +
+      "ge.v1.UpdateNvmeSubsystemRequest\032!.opi_a" +
+      "pi.storage.v1.NvmeSubsystem\"Y\202\323\344\223\00262$/v1" +
+      "/{nvme_subsystem.name=subsystems}:\016nvme_" +
+      "subsystem\332A\032nvme_subsystem,update_mask\022\235" +
+      "\001\n\022ListNvmeSubsystems\022-.opi_api.storage." +
+      "v1.ListNvmeSubsystemsRequest\032..opi_api.s" +
+      "torage.v1.ListNvmeSubsystemsResponse\"(\202\323" +
+      "\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022\216" +
+      "\001\n\020GetNvmeSubsystem\022+.opi_api.storage.v1" +
+      ".GetNvmeSubsystemRequest\032!.opi_api.stora" +
+      "ge.v1.NvmeSubsystem\"*\202\323\344\223\002\035\022\033/v1/{name=N" +
+      "vmeSubsystems/*}\332A\004name\022\245\001\n\022StatsNvmeSub" +
+      "system\022-.opi_api.storage.v1.StatsNvmeSub" +
+      "systemRequest\032..opi_api.storage.v1.Stats" +
+      "NvmeSubsystemResponse\"0\202\323\344\223\002#\022!/v1/{name" +
+      "=NvmeSubsystems/*}:stats\332A\004name\022\266\001\n\024Crea" +
+      "teNvmeController\022/.opi_api.storage.v1.Cr" +
+      "eateNvmeControllerRequest\032\".opi_api.stor" +
+      "age.v1.NvmeController\"I\202\323\344\223\002\036\"\013/v1/volum" +
+      "es:\017nvme_controller\332A\"nvme_controller,nv" +
+      "me_controller_id\022\214\001\n\024DeleteNvmeControlle" +
+      "r\022/.opi_api.storage.v1.DeleteNvmeControl" +
+      "lerRequest\032\026.google.protobuf.Empty\"+\202\323\344\223" +
+      "\002\036*\034/v1/{name=NvmeControllers/*}\332A\004name\022" +
+      "\311\001\n\024UpdateNvmeController\022/.opi_api.stora" +
+      "ge.v1.UpdateNvmeControllerRequest\032\".opi_" +
+      "api.storage.v1.NvmeController\"\\\202\323\344\223\00282%/" +
+      "v1/{nvme_controller.name=subsystems}:\017nv" +
+      "me_controller\332A\033nvme_controller,update_m" +
+      "ask\022\240\001\n\023ListNvmeControllers\022..opi_api.st" +
+      "orage.v1.ListNvmeControllersRequest\032/.op" +
+      "i_api.storage.v1.ListNvmeControllersResp" +
+      "onse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006" +
+      "parent\022\222\001\n\021GetNvmeController\022,.opi_api.s" +
+      "torage.v1.GetNvmeControllerRequest\032\".opi" +
+      "_api.storage.v1.NvmeController\"+\202\323\344\223\002\036\022\034" +
+      "/v1/{name=NvmeControllers/*}\332A\004name\022\251\001\n\023" +
+      "StatsNvmeController\022..opi_api.storage.v1" +
+      ".StatsNvmeControllerRequest\032/.opi_api.st" +
+      "orage.v1.StatsNvmeControllerResponse\"1\202\323" +
+      "\344\223\002$\022\"/v1/{name=NvmeControllers/*}:stats" +
+      "\332A\004name\022\260\001\n\023CreateNvmeNamespace\022..opi_ap" +
+      "i.storage.v1.CreateNvmeNamespaceRequest\032" +
+      "!.opi_api.storage.v1.NvmeNamespace\"F\202\323\344\223" +
+      "\002\035\"\013/v1/volumes:\016nvme_namespace\332A nvme_n" +
+      "amespace,nvme_namespace_id\022\211\001\n\023DeleteNvm" +
+      "eNamespace\022..opi_api.storage.v1.DeleteNv" +
+      "meNamespaceRequest\032\026.google.protobuf.Emp" +
+      "ty\"*\202\323\344\223\002\035*\033/v1/{name=NvmeNamespaces/*}\332" +
+      "A\004name\022\303\001\n\023UpdateNvmeNamespace\022..opi_api" +
+      ".storage.v1.UpdateNvmeNamespaceRequest\032!" +
+      ".opi_api.storage.v1.NvmeNamespace\"Y\202\323\344\223\002" +
+      "62$/v1/{nvme_namespace.name=subsystems}:" +
+      "\016nvme_namespace\332A\032nvme_namespace,update_" +
+      "mask\022\235\001\n\022ListNvmeNamespaces\022-.opi_api.st" +
+      "orage.v1.ListNvmeNamespacesRequest\032..opi" +
+      "_api.storage.v1.ListNvmeNamespacesRespon" +
+      "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa" +
+      "rent\022\216\001\n\020GetNvmeNamespace\022+.opi_api.stor" +
+      "age.v1.GetNvmeNamespaceRequest\032!.opi_api" +
+      ".storage.v1.NvmeNamespace\"*\202\323\344\223\002\035\022\033/v1/{" +
+      "name=NvmeNamespaces/*}\332A\004name\022\245\001\n\022StatsN" +
+      "vmeNamespace\022-.opi_api.storage.v1.StatsN" +
+      "vmeNamespaceRequest\032..opi_api.storage.v1" +
+      ".StatsNvmeNamespaceResponse\"0\202\323\344\223\002#\022!/v1" +
+      "/{name=NvmeNamespaces/*}:stats\332A\004nameBd\n" +
+      "\022opi_api.storage.v1B\025FrontendNvmePciePro" +
+      "toP\001Z5github.com/opiproject/opi-api/stor" +
+      "age/v1alpha1/gen/gob\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
@@ -483,17 +493,17 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetNvmeSubsystemRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_descriptor =
       getDescriptor().getMessageTypes().get(15);
-    internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_descriptor,
-        new java.lang.String[] { "SubsystemNameRef", });
-    internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_descriptor =
+        internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_descriptor =
       getDescriptor().getMessageTypes().get(16);
-    internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_descriptor,
+        internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_descriptor,
         new java.lang.String[] { "Stats", });
     internal_static_opi_api_storage_v1_CreateNvmeControllerRequest_descriptor =
       getDescriptor().getMessageTypes().get(17);
@@ -531,18 +541,18 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetNvmeControllerRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_descriptor =
       getDescriptor().getMessageTypes().get(23);
-    internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_descriptor,
+        internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_descriptor =
+    internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_descriptor =
       getDescriptor().getMessageTypes().get(24);
-    internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_descriptor,
-        new java.lang.String[] { "Name", "Stats", });
+        internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_descriptor,
+        new java.lang.String[] { "Stats", });
     internal_static_opi_api_storage_v1_CreateNvmeNamespaceRequest_descriptor =
       getDescriptor().getMessageTypes().get(25);
     internal_static_opi_api_storage_v1_CreateNvmeNamespaceRequest_fieldAccessorTable = new
@@ -579,18 +589,18 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetNvmeNamespaceRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_descriptor =
       getDescriptor().getMessageTypes().get(31);
-    internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_descriptor,
+        internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_descriptor =
+    internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_descriptor =
       getDescriptor().getMessageTypes().get(32);
-    internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_descriptor,
-        new java.lang.String[] { "Name", "Stats", });
+        internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_descriptor,
+        new java.lang.String[] { "Stats", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmeServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmeServiceGrpc.java
index 07e59e09..0ec8fd4e 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmeServiceGrpc.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmeServiceGrpc.java
@@ -173,35 +173,35 @@ opi_api.storage.v1.NvmeSubsystem> getGetNvmeSubsystemMethod() {
     return getGetNvmeSubsystemMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getNvmeSubsystemStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsNvmeSubsystemMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "NvmeSubsystemStats",
-      requestType = opi_api.storage.v1.NvmeSubsystemStatsRequest.class,
-      responseType = opi_api.storage.v1.NvmeSubsystemStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsNvmeSubsystem",
+      requestType = opi_api.storage.v1.StatsNvmeSubsystemRequest.class,
+      responseType = opi_api.storage.v1.StatsNvmeSubsystemResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getNvmeSubsystemStatsMethod() {
-    io.grpc.MethodDescriptor getNvmeSubsystemStatsMethod;
-    if ((getNvmeSubsystemStatsMethod = FrontendNvmeServiceGrpc.getNvmeSubsystemStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsNvmeSubsystemMethod() {
+    io.grpc.MethodDescriptor getStatsNvmeSubsystemMethod;
+    if ((getStatsNvmeSubsystemMethod = FrontendNvmeServiceGrpc.getStatsNvmeSubsystemMethod) == null) {
       synchronized (FrontendNvmeServiceGrpc.class) {
-        if ((getNvmeSubsystemStatsMethod = FrontendNvmeServiceGrpc.getNvmeSubsystemStatsMethod) == null) {
-          FrontendNvmeServiceGrpc.getNvmeSubsystemStatsMethod = getNvmeSubsystemStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsNvmeSubsystemMethod = FrontendNvmeServiceGrpc.getStatsNvmeSubsystemMethod) == null) {
+          FrontendNvmeServiceGrpc.getStatsNvmeSubsystemMethod = getStatsNvmeSubsystemMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NvmeSubsystemStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsNvmeSubsystem"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.NvmeSubsystemStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsNvmeSubsystemRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.NvmeSubsystemStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendNvmeServiceMethodDescriptorSupplier("NvmeSubsystemStats"))
+                  opi_api.storage.v1.StatsNvmeSubsystemResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendNvmeServiceMethodDescriptorSupplier("StatsNvmeSubsystem"))
               .build();
         }
       }
     }
-    return getNvmeSubsystemStatsMethod;
+    return getStatsNvmeSubsystemMethod;
   }
 
   private static volatile io.grpc.MethodDescriptor getGetNvmeControllerMethod() {
     return getGetNvmeControllerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getNvmeControllerStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsNvmeControllerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "NvmeControllerStats",
-      requestType = opi_api.storage.v1.NvmeControllerStatsRequest.class,
-      responseType = opi_api.storage.v1.NvmeControllerStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsNvmeController",
+      requestType = opi_api.storage.v1.StatsNvmeControllerRequest.class,
+      responseType = opi_api.storage.v1.StatsNvmeControllerResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getNvmeControllerStatsMethod() {
-    io.grpc.MethodDescriptor getNvmeControllerStatsMethod;
-    if ((getNvmeControllerStatsMethod = FrontendNvmeServiceGrpc.getNvmeControllerStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsNvmeControllerMethod() {
+    io.grpc.MethodDescriptor getStatsNvmeControllerMethod;
+    if ((getStatsNvmeControllerMethod = FrontendNvmeServiceGrpc.getStatsNvmeControllerMethod) == null) {
       synchronized (FrontendNvmeServiceGrpc.class) {
-        if ((getNvmeControllerStatsMethod = FrontendNvmeServiceGrpc.getNvmeControllerStatsMethod) == null) {
-          FrontendNvmeServiceGrpc.getNvmeControllerStatsMethod = getNvmeControllerStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsNvmeControllerMethod = FrontendNvmeServiceGrpc.getStatsNvmeControllerMethod) == null) {
+          FrontendNvmeServiceGrpc.getStatsNvmeControllerMethod = getStatsNvmeControllerMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NvmeControllerStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsNvmeController"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.NvmeControllerStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsNvmeControllerRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.NvmeControllerStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendNvmeServiceMethodDescriptorSupplier("NvmeControllerStats"))
+                  opi_api.storage.v1.StatsNvmeControllerResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendNvmeServiceMethodDescriptorSupplier("StatsNvmeController"))
               .build();
         }
       }
     }
-    return getNvmeControllerStatsMethod;
+    return getStatsNvmeControllerMethod;
   }
 
   private static volatile io.grpc.MethodDescriptor getGetNvmeNamespaceMethod() {
     return getGetNvmeNamespaceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getNvmeNamespaceStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsNvmeNamespaceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "NvmeNamespaceStats",
-      requestType = opi_api.storage.v1.NvmeNamespaceStatsRequest.class,
-      responseType = opi_api.storage.v1.NvmeNamespaceStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsNvmeNamespace",
+      requestType = opi_api.storage.v1.StatsNvmeNamespaceRequest.class,
+      responseType = opi_api.storage.v1.StatsNvmeNamespaceResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getNvmeNamespaceStatsMethod() {
-    io.grpc.MethodDescriptor getNvmeNamespaceStatsMethod;
-    if ((getNvmeNamespaceStatsMethod = FrontendNvmeServiceGrpc.getNvmeNamespaceStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsNvmeNamespaceMethod() {
+    io.grpc.MethodDescriptor getStatsNvmeNamespaceMethod;
+    if ((getStatsNvmeNamespaceMethod = FrontendNvmeServiceGrpc.getStatsNvmeNamespaceMethod) == null) {
       synchronized (FrontendNvmeServiceGrpc.class) {
-        if ((getNvmeNamespaceStatsMethod = FrontendNvmeServiceGrpc.getNvmeNamespaceStatsMethod) == null) {
-          FrontendNvmeServiceGrpc.getNvmeNamespaceStatsMethod = getNvmeNamespaceStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsNvmeNamespaceMethod = FrontendNvmeServiceGrpc.getStatsNvmeNamespaceMethod) == null) {
+          FrontendNvmeServiceGrpc.getStatsNvmeNamespaceMethod = getStatsNvmeNamespaceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NvmeNamespaceStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsNvmeNamespace"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.NvmeNamespaceStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsNvmeNamespaceRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.NvmeNamespaceStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendNvmeServiceMethodDescriptorSupplier("NvmeNamespaceStats"))
+                  opi_api.storage.v1.StatsNvmeNamespaceResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendNvmeServiceMethodDescriptorSupplier("StatsNvmeNamespace"))
               .build();
         }
       }
     }
-    return getNvmeNamespaceStatsMethod;
+    return getStatsNvmeNamespaceMethod;
   }
 
   /**
@@ -667,9 +667,9 @@ public void getNvmeSubsystem(opi_api.storage.v1.GetNvmeSubsystemRequest request,
 
     /**
      */
-    public void nvmeSubsystemStats(opi_api.storage.v1.NvmeSubsystemStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNvmeSubsystemStatsMethod(), responseObserver);
+    public void statsNvmeSubsystem(opi_api.storage.v1.StatsNvmeSubsystemRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsNvmeSubsystemMethod(), responseObserver);
     }
 
     /**
@@ -712,9 +712,9 @@ public void getNvmeController(opi_api.storage.v1.GetNvmeControllerRequest reques
 
     /**
      */
-    public void nvmeControllerStats(opi_api.storage.v1.NvmeControllerStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNvmeControllerStatsMethod(), responseObserver);
+    public void statsNvmeController(opi_api.storage.v1.StatsNvmeControllerRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsNvmeControllerMethod(), responseObserver);
     }
 
     /**
@@ -754,9 +754,9 @@ public void getNvmeNamespace(opi_api.storage.v1.GetNvmeNamespaceRequest request,
 
     /**
      */
-    public void nvmeNamespaceStats(opi_api.storage.v1.NvmeNamespaceStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNvmeNamespaceStatsMethod(), responseObserver);
+    public void statsNvmeNamespace(opi_api.storage.v1.StatsNvmeNamespaceRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsNvmeNamespaceMethod(), responseObserver);
     }
 
     @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
@@ -797,12 +797,12 @@ public void nvmeNamespaceStats(opi_api.storage.v1.NvmeNamespaceStatsRequest requ
                 opi_api.storage.v1.NvmeSubsystem>(
                   this, METHODID_GET_NVME_SUBSYSTEM)))
           .addMethod(
-            getNvmeSubsystemStatsMethod(),
+            getStatsNvmeSubsystemMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.NvmeSubsystemStatsRequest,
-                opi_api.storage.v1.NvmeSubsystemStatsResponse>(
-                  this, METHODID_NVME_SUBSYSTEM_STATS)))
+                opi_api.storage.v1.StatsNvmeSubsystemRequest,
+                opi_api.storage.v1.StatsNvmeSubsystemResponse>(
+                  this, METHODID_STATS_NVME_SUBSYSTEM)))
           .addMethod(
             getCreateNvmeControllerMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -839,12 +839,12 @@ public void nvmeNamespaceStats(opi_api.storage.v1.NvmeNamespaceStatsRequest requ
                 opi_api.storage.v1.NvmeController>(
                   this, METHODID_GET_NVME_CONTROLLER)))
           .addMethod(
-            getNvmeControllerStatsMethod(),
+            getStatsNvmeControllerMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.NvmeControllerStatsRequest,
-                opi_api.storage.v1.NvmeControllerStatsResponse>(
-                  this, METHODID_NVME_CONTROLLER_STATS)))
+                opi_api.storage.v1.StatsNvmeControllerRequest,
+                opi_api.storage.v1.StatsNvmeControllerResponse>(
+                  this, METHODID_STATS_NVME_CONTROLLER)))
           .addMethod(
             getCreateNvmeNamespaceMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -881,12 +881,12 @@ public void nvmeNamespaceStats(opi_api.storage.v1.NvmeNamespaceStatsRequest requ
                 opi_api.storage.v1.NvmeNamespace>(
                   this, METHODID_GET_NVME_NAMESPACE)))
           .addMethod(
-            getNvmeNamespaceStatsMethod(),
+            getStatsNvmeNamespaceMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.NvmeNamespaceStatsRequest,
-                opi_api.storage.v1.NvmeNamespaceStatsResponse>(
-                  this, METHODID_NVME_NAMESPACE_STATS)))
+                opi_api.storage.v1.StatsNvmeNamespaceRequest,
+                opi_api.storage.v1.StatsNvmeNamespaceResponse>(
+                  this, METHODID_STATS_NVME_NAMESPACE)))
           .build();
     }
   }
@@ -953,10 +953,10 @@ public void getNvmeSubsystem(opi_api.storage.v1.GetNvmeSubsystemRequest request,
 
     /**
      */
-    public void nvmeSubsystemStats(opi_api.storage.v1.NvmeSubsystemStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsNvmeSubsystem(opi_api.storage.v1.StatsNvmeSubsystemRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getNvmeSubsystemStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsNvmeSubsystemMethod(), getCallOptions()), request, responseObserver);
     }
 
     /**
@@ -1004,10 +1004,10 @@ public void getNvmeController(opi_api.storage.v1.GetNvmeControllerRequest reques
 
     /**
      */
-    public void nvmeControllerStats(opi_api.storage.v1.NvmeControllerStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsNvmeController(opi_api.storage.v1.StatsNvmeControllerRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getNvmeControllerStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsNvmeControllerMethod(), getCallOptions()), request, responseObserver);
     }
 
     /**
@@ -1052,10 +1052,10 @@ public void getNvmeNamespace(opi_api.storage.v1.GetNvmeNamespaceRequest request,
 
     /**
      */
-    public void nvmeNamespaceStats(opi_api.storage.v1.NvmeNamespaceStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsNvmeNamespace(opi_api.storage.v1.StatsNvmeNamespaceRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getNvmeNamespaceStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsNvmeNamespaceMethod(), getCallOptions()), request, responseObserver);
     }
   }
 
@@ -1116,9 +1116,9 @@ public opi_api.storage.v1.NvmeSubsystem getNvmeSubsystem(opi_api.storage.v1.GetN
 
     /**
      */
-    public opi_api.storage.v1.NvmeSubsystemStatsResponse nvmeSubsystemStats(opi_api.storage.v1.NvmeSubsystemStatsRequest request) {
+    public opi_api.storage.v1.StatsNvmeSubsystemResponse statsNvmeSubsystem(opi_api.storage.v1.StatsNvmeSubsystemRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getNvmeSubsystemStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsNvmeSubsystemMethod(), getCallOptions(), request);
     }
 
     /**
@@ -1161,9 +1161,9 @@ public opi_api.storage.v1.NvmeController getNvmeController(opi_api.storage.v1.Ge
 
     /**
      */
-    public opi_api.storage.v1.NvmeControllerStatsResponse nvmeControllerStats(opi_api.storage.v1.NvmeControllerStatsRequest request) {
+    public opi_api.storage.v1.StatsNvmeControllerResponse statsNvmeController(opi_api.storage.v1.StatsNvmeControllerRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getNvmeControllerStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsNvmeControllerMethod(), getCallOptions(), request);
     }
 
     /**
@@ -1203,9 +1203,9 @@ public opi_api.storage.v1.NvmeNamespace getNvmeNamespace(opi_api.storage.v1.GetN
 
     /**
      */
-    public opi_api.storage.v1.NvmeNamespaceStatsResponse nvmeNamespaceStats(opi_api.storage.v1.NvmeNamespaceStatsRequest request) {
+    public opi_api.storage.v1.StatsNvmeNamespaceResponse statsNvmeNamespace(opi_api.storage.v1.StatsNvmeNamespaceRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getNvmeNamespaceStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsNvmeNamespaceMethod(), getCallOptions(), request);
     }
   }
 
@@ -1271,10 +1271,10 @@ public com.google.common.util.concurrent.ListenableFuture nvmeSubsystemStats(
-        opi_api.storage.v1.NvmeSubsystemStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsNvmeSubsystem(
+        opi_api.storage.v1.StatsNvmeSubsystemRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getNvmeSubsystemStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsNvmeSubsystemMethod(), getCallOptions()), request);
     }
 
     /**
@@ -1322,10 +1322,10 @@ public com.google.common.util.concurrent.ListenableFuture nvmeControllerStats(
-        opi_api.storage.v1.NvmeControllerStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsNvmeController(
+        opi_api.storage.v1.StatsNvmeControllerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getNvmeControllerStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsNvmeControllerMethod(), getCallOptions()), request);
     }
 
     /**
@@ -1370,10 +1370,10 @@ public com.google.common.util.concurrent.ListenableFuture nvmeNamespaceStats(
-        opi_api.storage.v1.NvmeNamespaceStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsNvmeNamespace(
+        opi_api.storage.v1.StatsNvmeNamespaceRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getNvmeNamespaceStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsNvmeNamespaceMethod(), getCallOptions()), request);
     }
   }
 
@@ -1382,19 +1382,19 @@ public com.google.common.util.concurrent.ListenableFuture implements
       io.grpc.stub.ServerCalls.UnaryMethod,
@@ -1433,9 +1433,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getNvmeSubsystem((opi_api.storage.v1.GetNvmeSubsystemRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_NVME_SUBSYSTEM_STATS:
-          serviceImpl.nvmeSubsystemStats((opi_api.storage.v1.NvmeSubsystemStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_NVME_SUBSYSTEM:
+          serviceImpl.statsNvmeSubsystem((opi_api.storage.v1.StatsNvmeSubsystemRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_NVME_CONTROLLER:
           serviceImpl.createNvmeController((opi_api.storage.v1.CreateNvmeControllerRequest) request,
@@ -1457,9 +1457,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getNvmeController((opi_api.storage.v1.GetNvmeControllerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_NVME_CONTROLLER_STATS:
-          serviceImpl.nvmeControllerStats((opi_api.storage.v1.NvmeControllerStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_NVME_CONTROLLER:
+          serviceImpl.statsNvmeController((opi_api.storage.v1.StatsNvmeControllerRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_NVME_NAMESPACE:
           serviceImpl.createNvmeNamespace((opi_api.storage.v1.CreateNvmeNamespaceRequest) request,
@@ -1481,9 +1481,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getNvmeNamespace((opi_api.storage.v1.GetNvmeNamespaceRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_NVME_NAMESPACE_STATS:
-          serviceImpl.nvmeNamespaceStats((opi_api.storage.v1.NvmeNamespaceStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_NVME_NAMESPACE:
+          serviceImpl.statsNvmeNamespace((opi_api.storage.v1.StatsNvmeNamespaceRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1551,19 +1551,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
               .addMethod(getUpdateNvmeSubsystemMethod())
               .addMethod(getListNvmeSubsystemsMethod())
               .addMethod(getGetNvmeSubsystemMethod())
-              .addMethod(getNvmeSubsystemStatsMethod())
+              .addMethod(getStatsNvmeSubsystemMethod())
               .addMethod(getCreateNvmeControllerMethod())
               .addMethod(getDeleteNvmeControllerMethod())
               .addMethod(getUpdateNvmeControllerMethod())
               .addMethod(getListNvmeControllersMethod())
               .addMethod(getGetNvmeControllerMethod())
-              .addMethod(getNvmeControllerStatsMethod())
+              .addMethod(getStatsNvmeControllerMethod())
               .addMethod(getCreateNvmeNamespaceMethod())
               .addMethod(getDeleteNvmeNamespaceMethod())
               .addMethod(getUpdateNvmeNamespaceMethod())
               .addMethod(getListNvmeNamespacesMethod())
               .addMethod(getGetNvmeNamespaceMethod())
-              .addMethod(getNvmeNamespaceStatsMethod())
+              .addMethod(getStatsNvmeNamespaceMethod())
               .build();
         }
       }
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java
index 8df6f61f..97e861d9 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java
@@ -50,15 +50,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetVirtioBlkRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_fieldAccessorTable;
 
   public static com.google.protobuf.Descriptors.FileDescriptor
       getDescriptor() {
@@ -69,72 +69,70 @@ public static void registerAllExtensions(
   static {
     java.lang.String[] descriptorData = {
       "\n\031frontend_virtio_blk.proto\022\022opi_api.sto" +
-      "rage.v1\032\017opicommon.proto\032\020object_key.pro" +
-      "to\032\027google/api/client.proto\032\031google/api/" +
-      "resource.proto\032\033google/protobuf/empty.pr" +
-      "oto\032\034google/api/annotations.proto\032\037googl" +
-      "e/api/field_behavior.proto\032 google/proto" +
-      "buf/field_mask.proto\"\253\002\n\tVirtioBlk\022\014\n\004na" +
-      "me\030\001 \001(\t\0220\n\007pcie_id\030\002 \001(\0132\037.opi_api.stor" +
-      "age.v1.PciEndpoint\022/\n\tvolume_id\030\003 \001(\0132\034." +
-      "opi_api.common.v1.ObjectKey\022\022\n\nmax_io_qp" +
-      "s\030\004 \001(\003\022/\n\tmin_limit\030\005 \001(\0132\034.opi_api.sto" +
-      "rage.v1.QosLimit\022/\n\tmax_limit\030\006 \001(\0132\034.op" +
-      "i_api.storage.v1.QosLimit:7\352A4\n storage." +
-      "opiproject.org/VirtioBlk\022\020volumes/{volum" +
-      "e}\"g\n\026CreateVirtioBlkRequest\0226\n\nvirtio_b" +
-      "lk\030\002 \001(\0132\035.opi_api.storage.v1.VirtioBlkB" +
-      "\003\340A\002\022\025\n\rvirtio_blk_id\030\003 \001(\t\"c\n\026DeleteVir" +
-      "tioBlkRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi" +
-      "_api.storage.v1/VirtioBlk\022\025\n\rallow_missi" +
-      "ng\030\002 \001(\010\"\223\001\n\026UpdateVirtioBlkRequest\0221\n\nv" +
-      "irtio_blk\030\001 \001(\0132\035.opi_api.storage.v1.Vir" +
-      "tioBlk\022/\n\013update_mask\030\002 \001(\0132\032.google.pro" +
-      "tobuf.FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"t" +
-      "\n\025ListVirtioBlksRequest\0224\n\006parent\030\001 \001(\tB" +
-      "$\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBlk\022\021\n" +
-      "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\026" +
-      "ListVirtioBlksResponse\0222\n\013virtio_blks\030\001 " +
-      "\003(\0132\035.opi_api.storage.v1.VirtioBlk\022\027\n\017ne" +
-      "xt_page_token\030\002 \001(\t\"I\n\023GetVirtioBlkReque" +
-      "st\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storag" +
-      "e.v1/VirtioBlk\"L\n\025VirtioBlkStatsRequest\022" +
-      "3\n\rcontroller_id\030\001 \001(\0132\034.opi_api.common." +
-      "v1.ObjectKey\"r\n\026VirtioBlkStatsResponse\022(" +
-      "\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" +
-      "\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.Vol" +
-      "umeStats2\367\006\n\030FrontendVirtioBlkService\022\230\001" +
-      "\n\017CreateVirtioBlk\022*.opi_api.storage.v1.C" +
-      "reateVirtioBlkRequest\032\035.opi_api.storage." +
-      "v1.VirtioBlk\":\202\323\344\223\002\031\"\013/v1/volumes:\nvirti" +
-      "o_blk\332A\030virtio_blk,virtio_blk_id\022\207\001\n\017Del" +
+      "rage.v1\032\017opicommon.proto\032\027google/api/cli" +
+      "ent.proto\032\031google/api/resource.proto\032\033go" +
+      "ogle/protobuf/empty.proto\032\034google/api/an" +
+      "notations.proto\032\037google/api/field_behavi" +
+      "or.proto\032 google/protobuf/field_mask.pro" +
+      "to\"\301\002\n\tVirtioBlk\0225\n\004name\030\001 \001(\tB\'\340A\003\340A\005\372A" +
+      "\036\n\034opi_api.storage.v1/VirtioBlk\0220\n\007pcie_" +
+      "id\030\002 \001(\0132\037.opi_api.storage.v1.PciEndpoin" +
+      "t\022\034\n\017volume_name_ref\030\003 \001(\tB\003\340A\002\022\022\n\nmax_i" +
+      "o_qps\030\004 \001(\003\022/\n\tmin_limit\030\005 \001(\0132\034.opi_api" +
+      ".storage.v1.QosLimit\022/\n\tmax_limit\030\006 \001(\0132" +
+      "\034.opi_api.storage.v1.QosLimit:7\352A4\n stor" +
+      "age.opiproject.org/VirtioBlk\022\020volumes/{v" +
+      "olume}\"g\n\026CreateVirtioBlkRequest\0226\n\nvirt" +
+      "io_blk\030\001 \001(\0132\035.opi_api.storage.v1.Virtio" +
+      "BlkB\003\340A\002\022\025\n\rvirtio_blk_id\030\002 \001(\t\"c\n\026Delet" +
+      "eVirtioBlkRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n" +
+      "\034opi_api.storage.v1/VirtioBlk\022\025\n\rallow_m" +
+      "issing\030\002 \001(\010\"\223\001\n\026UpdateVirtioBlkRequest\022" +
+      "1\n\nvirtio_blk\030\001 \001(\0132\035.opi_api.storage.v1" +
+      ".VirtioBlk\022/\n\013update_mask\030\002 \001(\0132\032.google" +
+      ".protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001" +
+      "(\010\"t\n\025ListVirtioBlksRequest\0224\n\006parent\030\001 " +
+      "\001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBl" +
+      "k\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" +
+      "\"e\n\026ListVirtioBlksResponse\0222\n\013virtio_blk" +
+      "s\030\001 \003(\0132\035.opi_api.storage.v1.VirtioBlk\022\027" +
+      "\n\017next_page_token\030\002 \001(\t\"I\n\023GetVirtioBlkR" +
+      "equest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.st" +
+      "orage.v1/VirtioBlk\"K\n\025StatsVirtioBlkRequ" +
+      "est\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.stora" +
+      "ge.v1/VirtioBlk\"H\n\026StatsVirtioBlkRespons" +
+      "e\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1.Vo" +
+      "lumeStats2\216\007\n\030FrontendVirtioBlkService\022\230" +
+      "\001\n\017CreateVirtioBlk\022*.opi_api.storage.v1." +
+      "CreateVirtioBlkRequest\032\035.opi_api.storage" +
+      ".v1.VirtioBlk\":\202\323\344\223\002\031\"\013/v1/volumes:\nvirt" +
+      "io_blk\332A\030virtio_blk,virtio_blk_id\022}\n\017Del" +
       "eteVirtioBlk\022*.opi_api.storage.v1.Delete" +
       "VirtioBlkRequest\032\026.google.protobuf.Empty" +
-      "\"0\202\323\344\223\002#*!/v1/{name=virtioblks}/{virtiob" +
-      "lk}\332A\004name\022\253\001\n\017UpdateVirtioBlk\022*.opi_api" +
-      ".storage.v1.UpdateVirtioBlkRequest\032\035.opi" +
-      "_api.storage.v1.VirtioBlk\"M\202\323\344\223\002.2 /v1/{" +
-      "virtio_blk.name=subsystems}:\nvirtio_blk\332" +
-      "A\026virtio_blk,update_mask\022\221\001\n\016ListVirtioB" +
-      "lks\022).opi_api.storage.v1.ListVirtioBlksR" +
-      "equest\032*.opi_api.storage.v1.ListVirtioBl" +
-      "ksResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsyste" +
-      "ms}\332A\006parent\022\210\001\n\014GetVirtioBlk\022\'.opi_api." +
-      "storage.v1.GetVirtioBlkRequest\032\035.opi_api" +
-      ".storage.v1.VirtioBlk\"0\202\323\344\223\002#\022!/v1/{name" +
-      "=subsystems}/{virtioblk}\332A\004name\022i\n\016Virti" +
-      "oBlkStats\022).opi_api.storage.v1.VirtioBlk" +
-      "StatsRequest\032*.opi_api.storage.v1.Virtio" +
-      "BlkStatsResponse\"\000Be\n\022opi_api.storage.v1" +
-      "B\026FrontendVirtioBlkProtoP\001Z5github.com/o" +
-      "piproject/opi-api/storage/v1alpha1/gen/g" +
-      "ob\006proto3"
+      "\"&\202\323\344\223\002\031*\027/v1/{name=VirtioBlks/*}\332A\004name" +
+      "\022\253\001\n\017UpdateVirtioBlk\022*.opi_api.storage.v" +
+      "1.UpdateVirtioBlkRequest\032\035.opi_api.stora" +
+      "ge.v1.VirtioBlk\"M\202\323\344\223\002.2 /v1/{virtio_blk" +
+      ".name=subsystems}:\nvirtio_blk\332A\026virtio_b" +
+      "lk,update_mask\022\221\001\n\016ListVirtioBlks\022).opi_" +
+      "api.storage.v1.ListVirtioBlksRequest\032*.o" +
+      "pi_api.storage.v1.ListVirtioBlksResponse" +
+      "\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pare" +
+      "nt\022~\n\014GetVirtioBlk\022\'.opi_api.storage.v1." +
+      "GetVirtioBlkRequest\032\035.opi_api.storage.v1" +
+      ".VirtioBlk\"&\202\323\344\223\002\031\022\027/v1/{name=VirtioBlks" +
+      "/*}\332A\004name\022\225\001\n\016StatsVirtioBlk\022).opi_api." +
+      "storage.v1.StatsVirtioBlkRequest\032*.opi_a" +
+      "pi.storage.v1.StatsVirtioBlkResponse\",\202\323" +
+      "\344\223\002\037\022\035/v1/{name=VirtioBlks/*}:stats\332A\004na" +
+      "meBe\n\022opi_api.storage.v1B\026FrontendVirtio" +
+      "BlkProtoP\001Z5github.com/opiproject/opi-ap" +
+      "i/storage/v1alpha1/gen/gob\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
         new com.google.protobuf.Descriptors.FileDescriptor[] {
           opi_api.storage.v1.OpiCommonProto.getDescriptor(),
-          opi_api.common.v1.ObjectKeyProto.getDescriptor(),
           com.google.api.ClientProto.getDescriptor(),
           com.google.api.ResourceProto.getDescriptor(),
           com.google.protobuf.EmptyProto.getDescriptor(),
@@ -147,7 +145,7 @@ public static void registerAllExtensions(
     internal_static_opi_api_storage_v1_VirtioBlk_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_VirtioBlk_descriptor,
-        new java.lang.String[] { "Name", "PcieId", "VolumeId", "MaxIoQps", "MinLimit", "MaxLimit", });
+        new java.lang.String[] { "Name", "PcieId", "VolumeNameRef", "MaxIoQps", "MinLimit", "MaxLimit", });
     internal_static_opi_api_storage_v1_CreateVirtioBlkRequest_descriptor =
       getDescriptor().getMessageTypes().get(1);
     internal_static_opi_api_storage_v1_CreateVirtioBlkRequest_fieldAccessorTable = new
@@ -184,18 +182,18 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetVirtioBlkRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_descriptor =
       getDescriptor().getMessageTypes().get(7);
-    internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_descriptor,
-        new java.lang.String[] { "ControllerId", });
-    internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_descriptor =
+        internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_descriptor =
       getDescriptor().getMessageTypes().get(8);
-    internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_descriptor,
-        new java.lang.String[] { "Id", "Stats", });
+        internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_descriptor,
+        new java.lang.String[] { "Stats", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
@@ -206,7 +204,6 @@ public static void registerAllExtensions(
     com.google.protobuf.Descriptors.FileDescriptor
         .internalUpdateFileDescriptor(descriptor, registry);
     opi_api.storage.v1.OpiCommonProto.getDescriptor();
-    opi_api.common.v1.ObjectKeyProto.getDescriptor();
     com.google.api.ClientProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
     com.google.protobuf.EmptyProto.getDescriptor();
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkServiceGrpc.java
index b6a9ffae..e4b1bb04 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkServiceGrpc.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkServiceGrpc.java
@@ -173,35 +173,35 @@ opi_api.storage.v1.VirtioBlk> getGetVirtioBlkMethod() {
     return getGetVirtioBlkMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getVirtioBlkStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsVirtioBlkMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "VirtioBlkStats",
-      requestType = opi_api.storage.v1.VirtioBlkStatsRequest.class,
-      responseType = opi_api.storage.v1.VirtioBlkStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsVirtioBlk",
+      requestType = opi_api.storage.v1.StatsVirtioBlkRequest.class,
+      responseType = opi_api.storage.v1.StatsVirtioBlkResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getVirtioBlkStatsMethod() {
-    io.grpc.MethodDescriptor getVirtioBlkStatsMethod;
-    if ((getVirtioBlkStatsMethod = FrontendVirtioBlkServiceGrpc.getVirtioBlkStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsVirtioBlkMethod() {
+    io.grpc.MethodDescriptor getStatsVirtioBlkMethod;
+    if ((getStatsVirtioBlkMethod = FrontendVirtioBlkServiceGrpc.getStatsVirtioBlkMethod) == null) {
       synchronized (FrontendVirtioBlkServiceGrpc.class) {
-        if ((getVirtioBlkStatsMethod = FrontendVirtioBlkServiceGrpc.getVirtioBlkStatsMethod) == null) {
-          FrontendVirtioBlkServiceGrpc.getVirtioBlkStatsMethod = getVirtioBlkStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsVirtioBlkMethod = FrontendVirtioBlkServiceGrpc.getStatsVirtioBlkMethod) == null) {
+          FrontendVirtioBlkServiceGrpc.getStatsVirtioBlkMethod = getStatsVirtioBlkMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VirtioBlkStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsVirtioBlk"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioBlkStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsVirtioBlkRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioBlkStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendVirtioBlkServiceMethodDescriptorSupplier("VirtioBlkStats"))
+                  opi_api.storage.v1.StatsVirtioBlkResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendVirtioBlkServiceMethodDescriptorSupplier("StatsVirtioBlk"))
               .build();
         }
       }
     }
-    return getVirtioBlkStatsMethod;
+    return getStatsVirtioBlkMethod;
   }
 
   /**
@@ -292,9 +292,9 @@ public void getVirtioBlk(opi_api.storage.v1.GetVirtioBlkRequest request,
 
     /**
      */
-    public void virtioBlkStats(opi_api.storage.v1.VirtioBlkStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVirtioBlkStatsMethod(), responseObserver);
+    public void statsVirtioBlk(opi_api.storage.v1.StatsVirtioBlkRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsVirtioBlkMethod(), responseObserver);
     }
 
     @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
@@ -335,12 +335,12 @@ public void virtioBlkStats(opi_api.storage.v1.VirtioBlkStatsRequest request,
                 opi_api.storage.v1.VirtioBlk>(
                   this, METHODID_GET_VIRTIO_BLK)))
           .addMethod(
-            getVirtioBlkStatsMethod(),
+            getStatsVirtioBlkMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.VirtioBlkStatsRequest,
-                opi_api.storage.v1.VirtioBlkStatsResponse>(
-                  this, METHODID_VIRTIO_BLK_STATS)))
+                opi_api.storage.v1.StatsVirtioBlkRequest,
+                opi_api.storage.v1.StatsVirtioBlkResponse>(
+                  this, METHODID_STATS_VIRTIO_BLK)))
           .build();
     }
   }
@@ -404,10 +404,10 @@ public void getVirtioBlk(opi_api.storage.v1.GetVirtioBlkRequest request,
 
     /**
      */
-    public void virtioBlkStats(opi_api.storage.v1.VirtioBlkStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsVirtioBlk(opi_api.storage.v1.StatsVirtioBlkRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getVirtioBlkStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsVirtioBlkMethod(), getCallOptions()), request, responseObserver);
     }
   }
 
@@ -465,9 +465,9 @@ public opi_api.storage.v1.VirtioBlk getVirtioBlk(opi_api.storage.v1.GetVirtioBlk
 
     /**
      */
-    public opi_api.storage.v1.VirtioBlkStatsResponse virtioBlkStats(opi_api.storage.v1.VirtioBlkStatsRequest request) {
+    public opi_api.storage.v1.StatsVirtioBlkResponse statsVirtioBlk(opi_api.storage.v1.StatsVirtioBlkRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getVirtioBlkStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsVirtioBlkMethod(), getCallOptions(), request);
     }
   }
 
@@ -530,10 +530,10 @@ public com.google.common.util.concurrent.ListenableFuture virtioBlkStats(
-        opi_api.storage.v1.VirtioBlkStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsVirtioBlk(
+        opi_api.storage.v1.StatsVirtioBlkRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getVirtioBlkStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsVirtioBlkMethod(), getCallOptions()), request);
     }
   }
 
@@ -542,7 +542,7 @@ public com.google.common.util.concurrent.ListenableFuture implements
       io.grpc.stub.ServerCalls.UnaryMethod,
@@ -581,9 +581,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getVirtioBlk((opi_api.storage.v1.GetVirtioBlkRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_VIRTIO_BLK_STATS:
-          serviceImpl.virtioBlkStats((opi_api.storage.v1.VirtioBlkStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_VIRTIO_BLK:
+          serviceImpl.statsVirtioBlk((opi_api.storage.v1.StatsVirtioBlkRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -651,7 +651,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
               .addMethod(getUpdateVirtioBlkMethod())
               .addMethod(getListVirtioBlksMethod())
               .addMethod(getGetVirtioBlkMethod())
-              .addMethod(getVirtioBlkStatsMethod())
+              .addMethod(getStatsVirtioBlkMethod())
               .build();
         }
       }
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java
index b84bd1d8..99d65211 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java
@@ -60,15 +60,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetVirtioScsiTargetRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
     internal_static_opi_api_storage_v1_CreateVirtioScsiControllerRequest_descriptor;
   static final 
@@ -100,15 +100,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetVirtioScsiControllerRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
     internal_static_opi_api_storage_v1_CreateVirtioScsiLunRequest_descriptor;
   static final 
@@ -140,15 +140,15 @@ public static void registerAllExtensions(
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_opi_api_storage_v1_GetVirtioScsiLunRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_descriptor;
+    internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_descriptor;
   static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_fieldAccessorTable;
+      internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_fieldAccessorTable;
 
   public static com.google.protobuf.Descriptors.FileDescriptor
       getDescriptor() {
@@ -164,178 +164,182 @@ public static void registerAllExtensions(
       "/resource.proto\032\033google/protobuf/empty.p" +
       "roto\032\034google/api/annotations.proto\032\037goog" +
       "le/api/field_behavior.proto\032 google/prot" +
-      "obuf/field_mask.proto\"r\n\020VirtioScsiTarge" +
-      "t\022\014\n\004name\030\001 \001(\t\022\020\n\010max_luns\030\002 \001(\005:>\352A;\n\'" +
-      "storage.opiproject.org/VirtioScsiTarget\022" +
-      "\020volumes/{volume}\"\374\001\n\024VirtioScsiControll" +
-      "er\022\014\n\004name\030\001 \001(\t\0220\n\007pcie_id\030\002 \001(\0132\037.opi_" +
-      "api.storage.v1.PciEndpoint\022/\n\tmin_limit\030" +
-      "\003 \001(\0132\034.opi_api.storage.v1.QosLimit\022/\n\tm" +
-      "ax_limit\030\004 \001(\0132\034.opi_api.storage.v1.QosL" +
-      "imit:B\352A?\n+storage.opiproject.org/Virtio" +
-      "ScsiController\022\020volumes/{volume}\"\274\001\n\rVir" +
-      "tioScsiLun\022\014\n\004name\030\001 \001(\t\022/\n\ttarget_id\030\002 " +
-      "\001(\0132\034.opi_api.common.v1.ObjectKey\022/\n\tvol" +
-      "ume_id\030\003 \001(\0132\034.opi_api.common.v1.ObjectK" +
-      "ey:;\352A8\n$storage.opiproject.org/VirtioSc" +
-      "siLun\022\020volumes/{volume}\"\205\001\n\035CreateVirtio" +
-      "ScsiTargetRequest\022E\n\022virtio_scsi_target\030" +
-      "\002 \001(\0132$.opi_api.storage.v1.VirtioScsiTar" +
-      "getB\003\340A\002\022\035\n\025virtio_scsi_target_id\030\003 \001(\t\"" +
-      "q\n\035DeleteVirtioScsiTargetRequest\0229\n\004name" +
-      "\030\001 \001(\tB+\340A\002\372A%\n#opi_api.storage.v1/Virti" +
-      "oScsiTarget\022\025\n\rallow_missing\030\002 \001(\010\"\251\001\n\035U" +
-      "pdateVirtioScsiTargetRequest\022@\n\022virtio_s" +
-      "csi_target\030\001 \001(\0132$.opi_api.storage.v1.Vi" +
-      "rtioScsiTarget\022/\n\013update_mask\030\002 \001(\0132\032.go" +
-      "ogle.protobuf.FieldMask\022\025\n\rallow_missing" +
-      "\030\003 \001(\010\"\202\001\n\034ListVirtioScsiTargetsRequest\022" +
-      ";\n\006parent\030\001 \001(\tB+\340A\002\372A%\n#opi_api.storage" +
-      ".v1/VirtioScsiTarget\022\021\n\tpage_size\030\002 \001(\005\022" +
-      "\022\n\npage_token\030\003 \001(\t\"{\n\035ListVirtioScsiTar" +
-      "getsResponse\022A\n\023virtio_scsi_targets\030\001 \003(" +
-      "\0132$.opi_api.storage.v1.VirtioScsiTarget\022" +
-      "\027\n\017next_page_token\030\002 \001(\t\"W\n\032GetVirtioScs" +
-      "iTargetRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#op" +
-      "i_api.storage.v1/VirtioScsiTarget\"O\n\034Vir" +
-      "tioScsiTargetStatsRequest\022/\n\ttarget_id\030\001" +
-      " \001(\0132\034.opi_api.common.v1.ObjectKey\"y\n\035Vi" +
-      "rtioScsiTargetStatsResponse\022(\n\002id\030\001 \001(\0132" +
-      "\034.opi_api.common.v1.ObjectKey\022.\n\005stats\030\002" +
-      " \001(\0132\037.opi_api.storage.v1.VolumeStats\"\225\001" +
-      "\n!CreateVirtioScsiControllerRequest\022M\n\026v" +
-      "irtio_scsi_controller\030\002 \001(\0132(.opi_api.st" +
-      "orage.v1.VirtioScsiControllerB\003\340A\002\022!\n\031vi" +
-      "rtio_scsi_controller_id\030\003 \001(\t\"y\n!DeleteV" +
-      "irtioScsiControllerRequest\022=\n\004name\030\001 \001(\t" +
-      "B/\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiC" +
-      "ontroller\022\025\n\rallow_missing\030\002 \001(\010\"\265\001\n!Upd" +
-      "ateVirtioScsiControllerRequest\022H\n\026virtio" +
-      "_scsi_controller\030\001 \001(\0132(.opi_api.storage" +
-      ".v1.VirtioScsiController\022/\n\013update_mask\030" +
-      "\002 \001(\0132\032.google.protobuf.FieldMask\022\025\n\rall" +
-      "ow_missing\030\003 \001(\010\"\212\001\n ListVirtioScsiContr" +
-      "ollersRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'o" +
-      "pi_api.storage.v1/VirtioScsiController\022\021" +
-      "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\207\001" +
-      "\n!ListVirtioScsiControllersResponse\022I\n\027v" +
-      "irtio_scsi_controllers\030\001 \003(\0132(.opi_api.s" +
-      "torage.v1.VirtioScsiController\022\027\n\017next_p" +
-      "age_token\030\002 \001(\t\"_\n\036GetVirtioScsiControll" +
-      "erRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api" +
-      ".storage.v1/VirtioScsiController\"W\n Virt" +
-      "ioScsiControllerStatsRequest\0223\n\rcontroll" +
-      "er_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" +
-      "y\"}\n!VirtioScsiControllerStatsResponse\022(" +
-      "\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" +
-      "\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.Vol" +
-      "umeStats\"y\n\032CreateVirtioScsiLunRequest\022?" +
-      "\n\017virtio_scsi_lun\030\002 \001(\0132!.opi_api.storag" +
-      "e.v1.VirtioScsiLunB\003\340A\002\022\032\n\022virtio_scsi_l" +
-      "un_id\030\003 \001(\t\"k\n\032DeleteVirtioScsiLunReques" +
-      "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage" +
-      ".v1/VirtioScsiLun\022\025\n\rallow_missing\030\002 \001(\010" +
-      "\"\240\001\n\032UpdateVirtioScsiLunRequest\022:\n\017virti" +
-      "o_scsi_lun\030\001 \001(\0132!.opi_api.storage.v1.Vi" +
-      "rtioScsiLun\022/\n\013update_mask\030\002 \001(\0132\032.googl" +
-      "e.protobuf.FieldMask\022\025\n\rallow_missing\030\003 " +
-      "\001(\010\"|\n\031ListVirtioScsiLunsRequest\0228\n\006pare" +
-      "nt\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Vir" +
-      "tioScsiLun\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" +
-      "ken\030\003 \001(\t\"r\n\032ListVirtioScsiLunsResponse\022" +
-      ";\n\020virtio_scsi_luns\030\001 \003(\0132!.opi_api.stor" +
-      "age.v1.VirtioScsiLun\022\027\n\017next_page_token\030" +
-      "\002 \001(\t\"Q\n\027GetVirtioScsiLunRequest\0226\n\004name" +
-      "\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Virti" +
-      "oScsiLun\"~\n\031VirtioScsiLunStatsRequest\0223\n" +
-      "\rcontroller_id\030\001 \001(\0132\034.opi_api.common.v1" +
-      ".ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_api.com" +
-      "mon.v1.ObjectKey\"v\n\032VirtioScsiLunStatsRe" +
-      "sponse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.O" +
-      "bjectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storag" +
-      "e.v1.VolumeStats2\350\030\n\031FrontendVirtioScsiS" +
-      "ervice\022\305\001\n\026CreateVirtioScsiTarget\0221.opi_" +
-      "api.storage.v1.CreateVirtioScsiTargetReq" +
+      "obuf/field_mask.proto\"\242\001\n\020VirtioScsiTarg" +
+      "et\022<\n\004name\030\001 \001(\tB.\340A\003\340A\005\372A%\n#opi_api.sto" +
+      "rage.v1/VirtioScsiTarget\022\020\n\010max_luns\030\002 \001" +
+      "(\005:>\352A;\n\'storage.opiproject.org/VirtioSc" +
+      "siTarget\022\020volumes/{volume}\"\260\002\n\024VirtioScs" +
+      "iController\022@\n\004name\030\001 \001(\tB2\340A\003\340A\005\372A)\n\'op" +
+      "i_api.storage.v1/VirtioScsiController\0220\n" +
+      "\007pcie_id\030\002 \001(\0132\037.opi_api.storage.v1.PciE" +
+      "ndpoint\022/\n\tmin_limit\030\003 \001(\0132\034.opi_api.sto" +
+      "rage.v1.QosLimit\022/\n\tmax_limit\030\004 \001(\0132\034.op" +
+      "i_api.storage.v1.QosLimit:B\352A?\n+storage." +
+      "opiproject.org/VirtioScsiController\022\020vol" +
+      "umes/{volume}\"\351\001\n\rVirtioScsiLun\0229\n\004name\030" +
+      "\001 \001(\tB+\340A\003\340A\005\372A\"\n opi_api.storage.v1/Vir" +
+      "tioScsiLun\022/\n\ttarget_id\030\002 \001(\0132\034.opi_api." +
+      "common.v1.ObjectKey\022/\n\tvolume_id\030\003 \001(\0132\034" +
+      ".opi_api.common.v1.ObjectKey:;\352A8\n$stora" +
+      "ge.opiproject.org/VirtioScsiLun\022\020volumes" +
+      "/{volume}\"\205\001\n\035CreateVirtioScsiTargetRequ" +
+      "est\022E\n\022virtio_scsi_target\030\001 \001(\0132$.opi_ap" +
+      "i.storage.v1.VirtioScsiTargetB\003\340A\002\022\035\n\025vi" +
+      "rtio_scsi_target_id\030\002 \001(\t\"q\n\035DeleteVirti" +
+      "oScsiTargetRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%" +
+      "\n#opi_api.storage.v1/VirtioScsiTarget\022\025\n" +
+      "\rallow_missing\030\002 \001(\010\"\251\001\n\035UpdateVirtioScs" +
+      "iTargetRequest\022@\n\022virtio_scsi_target\030\001 \001" +
+      "(\0132$.opi_api.storage.v1.VirtioScsiTarget" +
+      "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." +
+      "FieldMask\022\025\n\rallow_missing\030\003 \001(\010\"\202\001\n\034Lis" +
+      "tVirtioScsiTargetsRequest\022;\n\006parent\030\001 \001(" +
+      "\tB+\340A\002\372A%\n#opi_api.storage.v1/VirtioScsi" +
+      "Target\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" +
+      "\003 \001(\t\"{\n\035ListVirtioScsiTargetsResponse\022A" +
+      "\n\023virtio_scsi_targets\030\001 \003(\0132$.opi_api.st" +
+      "orage.v1.VirtioScsiTarget\022\027\n\017next_page_t" +
+      "oken\030\002 \001(\t\"W\n\032GetVirtioScsiTargetRequest" +
+      "\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#opi_api.storage." +
+      "v1/VirtioScsiTarget\"Y\n\034StatsVirtioScsiTa" +
+      "rgetRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#opi_a" +
+      "pi.storage.v1/VirtioScsiTarget\"O\n\035StatsV" +
+      "irtioScsiTargetResponse\022.\n\005stats\030\001 \001(\0132\037" +
+      ".opi_api.storage.v1.VolumeStats\"\225\001\n!Crea" +
+      "teVirtioScsiControllerRequest\022M\n\026virtio_" +
+      "scsi_controller\030\001 \001(\0132(.opi_api.storage." +
+      "v1.VirtioScsiControllerB\003\340A\002\022!\n\031virtio_s" +
+      "csi_controller_id\030\002 \001(\t\"y\n!DeleteVirtioS" +
+      "csiControllerRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" +
+      "A)\n\'opi_api.storage.v1/VirtioScsiControl" +
+      "ler\022\025\n\rallow_missing\030\002 \001(\010\"\265\001\n!UpdateVir" +
+      "tioScsiControllerRequest\022H\n\026virtio_scsi_" +
+      "controller\030\001 \001(\0132(.opi_api.storage.v1.Vi" +
+      "rtioScsiController\022/\n\013update_mask\030\002 \001(\0132" +
+      "\032.google.protobuf.FieldMask\022\025\n\rallow_mis" +
+      "sing\030\003 \001(\010\"\212\001\n ListVirtioScsiControllers" +
+      "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_api" +
+      ".storage.v1/VirtioScsiController\022\021\n\tpage" +
+      "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\207\001\n!List" +
+      "VirtioScsiControllersResponse\022I\n\027virtio_" +
+      "scsi_controllers\030\001 \003(\0132(.opi_api.storage" +
+      ".v1.VirtioScsiController\022\027\n\017next_page_to" +
+      "ken\030\002 \001(\t\"_\n\036GetVirtioScsiControllerRequ" +
+      "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.stora" +
+      "ge.v1/VirtioScsiController\"a\n StatsVirti" +
+      "oScsiControllerRequest\022=\n\004name\030\001 \001(\tB/\340A" +
+      "\002\372A)\n\'opi_api.storage.v1/VirtioScsiContr" +
+      "oller\"S\n!StatsVirtioScsiControllerRespon" +
+      "se\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1.V" +
+      "olumeStats\"y\n\032CreateVirtioScsiLunRequest" +
+      "\022?\n\017virtio_scsi_lun\030\001 \001(\0132!.opi_api.stor" +
+      "age.v1.VirtioScsiLunB\003\340A\002\022\032\n\022virtio_scsi" +
+      "_lun_id\030\002 \001(\t\"k\n\032DeleteVirtioScsiLunRequ" +
+      "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" +
+      "ge.v1/VirtioScsiLun\022\025\n\rallow_missing\030\002 \001" +
+      "(\010\"\240\001\n\032UpdateVirtioScsiLunRequest\022:\n\017vir" +
+      "tio_scsi_lun\030\001 \001(\0132!.opi_api.storage.v1." +
+      "VirtioScsiLun\022/\n\013update_mask\030\002 \001(\0132\032.goo" +
+      "gle.protobuf.FieldMask\022\025\n\rallow_missing\030" +
+      "\003 \001(\010\"|\n\031ListVirtioScsiLunsRequest\0228\n\006pa" +
+      "rent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/V" +
+      "irtioScsiLun\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" +
+      "token\030\003 \001(\t\"r\n\032ListVirtioScsiLunsRespons" +
+      "e\022;\n\020virtio_scsi_luns\030\001 \003(\0132!.opi_api.st" +
+      "orage.v1.VirtioScsiLun\022\027\n\017next_page_toke" +
+      "n\030\002 \001(\t\"Q\n\027GetVirtioScsiLunRequest\0226\n\004na" +
+      "me\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Vir" +
+      "tioScsiLun\"\210\001\n\031StatsVirtioScsiLunRequest" +
+      "\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage." +
+      "v1/VirtioScsiLun\0223\n\rcontroller_id\030\002 \001(\0132" +
+      "\034.opi_api.common.v1.ObjectKey\"L\n\032StatsVi" +
+      "rtioScsiLunResponse\022.\n\005stats\030\001 \001(\0132\037.opi" +
+      "_api.storage.v1.VolumeStats2\313\031\n\031Frontend" +
+      "VirtioScsiService\022\305\001\n\026CreateVirtioScsiTa" +
+      "rget\0221.opi_api.storage.v1.CreateVirtioSc" +
+      "siTargetRequest\032$.opi_api.storage.v1.Vir" +
+      "tioScsiTarget\"R\202\323\344\223\002!\"\013/v1/volumes:\022virt" +
+      "io_scsi_target\332A(virtio_scsi_target,virt" +
+      "io_scsi_target_id\022\222\001\n\026DeleteVirtioScsiTa" +
+      "rget\0221.opi_api.storage.v1.DeleteVirtioSc" +
+      "siTargetRequest\032\026.google.protobuf.Empty\"" +
+      "-\202\323\344\223\002 *\036/v1/{name=VirtioScsiTargets/*}\332" +
+      "A\004name\022\330\001\n\026UpdateVirtioScsiTarget\0221.opi_" +
+      "api.storage.v1.UpdateVirtioScsiTargetReq" +
       "uest\032$.opi_api.storage.v1.VirtioScsiTarg" +
-      "et\"R\202\323\344\223\002!\"\013/v1/volumes:\022virtio_scsi_tar" +
-      "get\332A(virtio_scsi_target,virtio_scsi_tar" +
-      "get_id\022\234\001\n\026DeleteVirtioScsiTarget\0221.opi_" +
-      "api.storage.v1.DeleteVirtioScsiTargetReq" +
-      "uest\032\026.google.protobuf.Empty\"7\202\323\344\223\002**(/v" +
-      "1/{name=subsystems}/{virtioscsitarget}\332A" +
-      "\004name\022\330\001\n\026UpdateVirtioScsiTarget\0221.opi_a" +
-      "pi.storage.v1.UpdateVirtioScsiTargetRequ" +
-      "est\032$.opi_api.storage.v1.VirtioScsiTarge" +
-      "t\"e\202\323\344\223\002>2(/v1/{virtio_scsi_target.name=" +
-      "subsystems}:\022virtio_scsi_target\332A\036virtio" +
-      "_scsi_target,update_mask\022\246\001\n\025ListVirtioS" +
-      "csiTargets\0220.opi_api.storage.v1.ListVirt" +
-      "ioScsiTargetsRequest\0321.opi_api.storage.v" +
-      "1.ListVirtioScsiTargetsResponse\"(\202\323\344\223\002\031\022" +
-      "\027/v1/{parent=subsystems}\332A\006parent\022\244\001\n\023Ge" +
-      "tVirtioScsiTarget\022..opi_api.storage.v1.G" +
-      "etVirtioScsiTargetRequest\032$.opi_api.stor" +
-      "age.v1.VirtioScsiTarget\"7\202\323\344\223\002*\022(/v1/{na" +
-      "me=subsystems}/{virtioscsitarget}\332A\004name" +
-      "\022~\n\025VirtioScsiTargetStats\0220.opi_api.stor" +
-      "age.v1.VirtioScsiTargetStatsRequest\0321.op" +
-      "i_api.storage.v1.VirtioScsiTargetStatsRe" +
-      "sponse\"\000\022\335\001\n\032CreateVirtioScsiController\022" +
-      "5.opi_api.storage.v1.CreateVirtioScsiCon" +
-      "trollerRequest\032(.opi_api.storage.v1.Virt" +
-      "ioScsiController\"^\202\323\344\223\002%\"\013/v1/volumes:\026v" +
-      "irtio_scsi_controller\332A0virtio_scsi_cont" +
-      "roller,virtio_scsi_controller_id\022\247\001\n\032Del" +
-      "eteVirtioScsiController\0225.opi_api.storag" +
-      "e.v1.DeleteVirtioScsiControllerRequest\032\026" +
-      ".google.protobuf.Empty\":\202\323\344\223\002-*+/v1/{nam" +
-      "e=virtioscsictrls}/{virtioscsictrl}\332A\004na" +
-      "me\022\360\001\n\032UpdateVirtioScsiController\0225.opi_" +
-      "api.storage.v1.UpdateVirtioScsiControlle" +
-      "rRequest\032(.opi_api.storage.v1.VirtioScsi" +
-      "Controller\"q\202\323\344\223\002F2,/v1/{virtio_scsi_con" +
-      "troller.name=subsystems}:\026virtio_scsi_co" +
-      "ntroller\332A\"virtio_scsi_controller,update" +
-      "_mask\022\262\001\n\031ListVirtioScsiControllers\0224.op" +
-      "i_api.storage.v1.ListVirtioScsiControlle" +
-      "rsRequest\0325.opi_api.storage.v1.ListVirti" +
-      "oScsiControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{p" +
-      "arent=subsystems}\332A\006parent\022\256\001\n\027GetVirtio" +
-      "ScsiController\0222.opi_api.storage.v1.GetV" +
-      "irtioScsiControllerRequest\032(.opi_api.sto" +
-      "rage.v1.VirtioScsiController\"5\202\323\344\223\002(\022&/v" +
-      "1/{name=subsystems}/{virtioscsictrl}\332A\004n" +
-      "ame\022\212\001\n\031VirtioScsiControllerStats\0224.opi_" +
-      "api.storage.v1.VirtioScsiControllerStats" +
-      "Request\0325.opi_api.storage.v1.VirtioScsiC" +
-      "ontrollerStatsResponse\"\000\022\263\001\n\023CreateVirti" +
-      "oScsiLun\022..opi_api.storage.v1.CreateVirt" +
-      "ioScsiLunRequest\032!.opi_api.storage.v1.Vi" +
-      "rtioScsiLun\"I\202\323\344\223\002\036\"\013/v1/volumes:\017virtio" +
-      "_scsi_lun\332A\"virtio_scsi_lun,virtio_scsi_" +
-      "lun_id\022\227\001\n\023DeleteVirtioScsiLun\022..opi_api" +
-      ".storage.v1.DeleteVirtioScsiLunRequest\032\026" +
-      ".google.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{nam" +
-      "e=virtioscsiluns}/{virtioscsilun}\332A\004name" +
-      "\022\306\001\n\023UpdateVirtioScsiLun\022..opi_api.stora" +
-      "ge.v1.UpdateVirtioScsiLunRequest\032!.opi_a" +
-      "pi.storage.v1.VirtioScsiLun\"\\\202\323\344\223\00282%/v1" +
-      "/{virtio_scsi_lun.name=subsystems}:\017virt" +
-      "io_scsi_lun\332A\033virtio_scsi_lun,update_mas" +
-      "k\022\235\001\n\022ListVirtioScsiLuns\022-.opi_api.stora" +
-      "ge.v1.ListVirtioScsiLunsRequest\032..opi_ap" +
-      "i.storage.v1.ListVirtioScsiLunsResponse\"" +
-      "(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006paren" +
-      "t\022\230\001\n\020GetVirtioScsiLun\022+.opi_api.storage" +
-      ".v1.GetVirtioScsiLunRequest\032!.opi_api.st" +
-      "orage.v1.VirtioScsiLun\"4\202\323\344\223\002\'\022%/v1/{nam" +
-      "e=subsystems}/{virtioscsilun}\332A\004name\022u\n\022" +
-      "VirtioScsiLunStats\022-.opi_api.storage.v1." +
-      "VirtioScsiLunStatsRequest\032..opi_api.stor" +
-      "age.v1.VirtioScsiLunStatsResponse\"\000Bf\n\022o" +
-      "pi_api.storage.v1B\027FrontendVirtioScsiPro" +
-      "toP\001Z5github.com/opiproject/opi-api/stor" +
-      "age/v1alpha1/gen/gob\006proto3"
+      "et\"e\202\323\344\223\002>2(/v1/{virtio_scsi_target.name" +
+      "=subsystems}:\022virtio_scsi_target\332A\036virti" +
+      "o_scsi_target,update_mask\022\246\001\n\025ListVirtio" +
+      "ScsiTargets\0220.opi_api.storage.v1.ListVir" +
+      "tioScsiTargetsRequest\0321.opi_api.storage." +
+      "v1.ListVirtioScsiTargetsResponse\"(\202\323\344\223\002\031" +
+      "\022\027/v1/{parent=subsystems}\332A\006parent\022\232\001\n\023G" +
+      "etVirtioScsiTarget\022..opi_api.storage.v1." +
+      "GetVirtioScsiTargetRequest\032$.opi_api.sto" +
+      "rage.v1.VirtioScsiTarget\"-\202\323\344\223\002 \022\036/v1/{n" +
+      "ame=VirtioScsiTargets/*}\332A\004name\022\261\001\n\025Stat" +
+      "sVirtioScsiTarget\0220.opi_api.storage.v1.S" +
+      "tatsVirtioScsiTargetRequest\0321.opi_api.st" +
+      "orage.v1.StatsVirtioScsiTargetResponse\"3" +
+      "\202\323\344\223\002&\022$/v1/{name=VirtioScsiTargets/*}:s" +
+      "tats\332A\004name\022\335\001\n\032CreateVirtioScsiControll" +
+      "er\0225.opi_api.storage.v1.CreateVirtioScsi" +
+      "ControllerRequest\032(.opi_api.storage.v1.V" +
+      "irtioScsiController\"^\202\323\344\223\002%\"\013/v1/volumes" +
+      ":\026virtio_scsi_controller\332A0virtio_scsi_c" +
+      "ontroller,virtio_scsi_controller_id\022\236\001\n\032" +
+      "DeleteVirtioScsiController\0225.opi_api.sto" +
+      "rage.v1.DeleteVirtioScsiControllerReques" +
+      "t\032\026.google.protobuf.Empty\"1\202\323\344\223\002$*\"/v1/{" +
+      "name=VirtioScsiControllers/*}\332A\004name\022\360\001\n" +
+      "\032UpdateVirtioScsiController\0225.opi_api.st" +
+      "orage.v1.UpdateVirtioScsiControllerReque" +
+      "st\032(.opi_api.storage.v1.VirtioScsiContro" +
+      "ller\"q\202\323\344\223\002F2,/v1/{virtio_scsi_controlle" +
+      "r.name=subsystems}:\026virtio_scsi_controll" +
+      "er\332A\"virtio_scsi_controller,update_mask\022" +
+      "\262\001\n\031ListVirtioScsiControllers\0224.opi_api." +
+      "storage.v1.ListVirtioScsiControllersRequ" +
+      "est\0325.opi_api.storage.v1.ListVirtioScsiC" +
+      "ontrollersResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=" +
+      "subsystems}\332A\006parent\022\252\001\n\027GetVirtioScsiCo" +
+      "ntroller\0222.opi_api.storage.v1.GetVirtioS" +
+      "csiControllerRequest\032(.opi_api.storage.v" +
+      "1.VirtioScsiController\"1\202\323\344\223\002$\022\"/v1/{nam" +
+      "e=VirtioScsiControllers/*}\332A\004name\022\301\001\n\031St" +
+      "atsVirtioScsiController\0224.opi_api.storag" +
+      "e.v1.StatsVirtioScsiControllerRequest\0325." +
+      "opi_api.storage.v1.StatsVirtioScsiContro" +
+      "llerResponse\"7\202\323\344\223\002*\022(/v1/{name=VirtioSc" +
+      "siControllers/*}:stats\332A\004name\022\263\001\n\023Create" +
+      "VirtioScsiLun\022..opi_api.storage.v1.Creat" +
+      "eVirtioScsiLunRequest\032!.opi_api.storage." +
+      "v1.VirtioScsiLun\"I\202\323\344\223\002\036\"\013/v1/volumes:\017v" +
+      "irtio_scsi_lun\332A\"virtio_scsi_lun,virtio_" +
+      "scsi_lun_id\022\211\001\n\023DeleteVirtioScsiLun\022..op" +
+      "i_api.storage.v1.DeleteVirtioScsiLunRequ" +
+      "est\032\026.google.protobuf.Empty\"*\202\323\344\223\002\035*\033/v1" +
+      "/{name=VirtioScsiLuns/*}\332A\004name\022\306\001\n\023Upda" +
+      "teVirtioScsiLun\022..opi_api.storage.v1.Upd" +
+      "ateVirtioScsiLunRequest\032!.opi_api.storag" +
+      "e.v1.VirtioScsiLun\"\\\202\323\344\223\00282%/v1/{virtio_" +
+      "scsi_lun.name=subsystems}:\017virtio_scsi_l" +
+      "un\332A\033virtio_scsi_lun,update_mask\022\235\001\n\022Lis" +
+      "tVirtioScsiLuns\022-.opi_api.storage.v1.Lis" +
+      "tVirtioScsiLunsRequest\032..opi_api.storage" +
+      ".v1.ListVirtioScsiLunsResponse\"(\202\323\344\223\002\031\022\027" +
+      "/v1/{parent=subsystems}\332A\006parent\022\216\001\n\020Get" +
+      "VirtioScsiLun\022+.opi_api.storage.v1.GetVi" +
+      "rtioScsiLunRequest\032!.opi_api.storage.v1." +
+      "VirtioScsiLun\"*\202\323\344\223\002\035\022\033/v1/{name=VirtioS" +
+      "csiLuns/*}\332A\004name\022\245\001\n\022StatsVirtioScsiLun" +
+      "\022-.opi_api.storage.v1.StatsVirtioScsiLun" +
+      "Request\032..opi_api.storage.v1.StatsVirtio" +
+      "ScsiLunResponse\"0\202\323\344\223\002#\022!/v1/{name=Virti" +
+      "oScsiLuns/*}:stats\332A\004nameBf\n\022opi_api.sto" +
+      "rage.v1B\027FrontendVirtioScsiProtoP\001Z5gith" +
+      "ub.com/opiproject/opi-api/storage/v1alph" +
+      "a1/gen/gob\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
@@ -403,18 +407,18 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetVirtioScsiTargetRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_descriptor =
       getDescriptor().getMessageTypes().get(9);
-    internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_descriptor,
-        new java.lang.String[] { "TargetId", });
-    internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_descriptor =
+        internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_descriptor =
       getDescriptor().getMessageTypes().get(10);
-    internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_descriptor,
-        new java.lang.String[] { "Id", "Stats", });
+        internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_descriptor,
+        new java.lang.String[] { "Stats", });
     internal_static_opi_api_storage_v1_CreateVirtioScsiControllerRequest_descriptor =
       getDescriptor().getMessageTypes().get(11);
     internal_static_opi_api_storage_v1_CreateVirtioScsiControllerRequest_fieldAccessorTable = new
@@ -451,18 +455,18 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetVirtioScsiControllerRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_descriptor =
       getDescriptor().getMessageTypes().get(17);
-    internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_descriptor,
-        new java.lang.String[] { "ControllerId", });
-    internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_descriptor =
+        internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_descriptor =
       getDescriptor().getMessageTypes().get(18);
-    internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_descriptor,
-        new java.lang.String[] { "Id", "Stats", });
+        internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_descriptor,
+        new java.lang.String[] { "Stats", });
     internal_static_opi_api_storage_v1_CreateVirtioScsiLunRequest_descriptor =
       getDescriptor().getMessageTypes().get(19);
     internal_static_opi_api_storage_v1_CreateVirtioScsiLunRequest_fieldAccessorTable = new
@@ -499,18 +503,18 @@ public static void registerAllExtensions(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_opi_api_storage_v1_GetVirtioScsiLunRequest_descriptor,
         new java.lang.String[] { "Name", });
-    internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_descriptor =
+    internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_descriptor =
       getDescriptor().getMessageTypes().get(25);
-    internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_descriptor,
-        new java.lang.String[] { "ControllerId", "LunId", });
-    internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_descriptor =
+        internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_descriptor,
+        new java.lang.String[] { "Name", "ControllerId", });
+    internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_descriptor =
       getDescriptor().getMessageTypes().get(26);
-    internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_fieldAccessorTable = new
+    internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_descriptor,
-        new java.lang.String[] { "Id", "Stats", });
+        internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_descriptor,
+        new java.lang.String[] { "Stats", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiServiceGrpc.java
index 46f66371..15b4b19e 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiServiceGrpc.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiServiceGrpc.java
@@ -173,35 +173,35 @@ opi_api.storage.v1.VirtioScsiTarget> getGetVirtioScsiTargetMethod() {
     return getGetVirtioScsiTargetMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getVirtioScsiTargetStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsVirtioScsiTargetMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "VirtioScsiTargetStats",
-      requestType = opi_api.storage.v1.VirtioScsiTargetStatsRequest.class,
-      responseType = opi_api.storage.v1.VirtioScsiTargetStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsVirtioScsiTarget",
+      requestType = opi_api.storage.v1.StatsVirtioScsiTargetRequest.class,
+      responseType = opi_api.storage.v1.StatsVirtioScsiTargetResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getVirtioScsiTargetStatsMethod() {
-    io.grpc.MethodDescriptor getVirtioScsiTargetStatsMethod;
-    if ((getVirtioScsiTargetStatsMethod = FrontendVirtioScsiServiceGrpc.getVirtioScsiTargetStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsVirtioScsiTargetMethod() {
+    io.grpc.MethodDescriptor getStatsVirtioScsiTargetMethod;
+    if ((getStatsVirtioScsiTargetMethod = FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiTargetMethod) == null) {
       synchronized (FrontendVirtioScsiServiceGrpc.class) {
-        if ((getVirtioScsiTargetStatsMethod = FrontendVirtioScsiServiceGrpc.getVirtioScsiTargetStatsMethod) == null) {
-          FrontendVirtioScsiServiceGrpc.getVirtioScsiTargetStatsMethod = getVirtioScsiTargetStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsVirtioScsiTargetMethod = FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiTargetMethod) == null) {
+          FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiTargetMethod = getStatsVirtioScsiTargetMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VirtioScsiTargetStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsVirtioScsiTarget"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioScsiTargetStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsVirtioScsiTargetRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioScsiTargetStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendVirtioScsiServiceMethodDescriptorSupplier("VirtioScsiTargetStats"))
+                  opi_api.storage.v1.StatsVirtioScsiTargetResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendVirtioScsiServiceMethodDescriptorSupplier("StatsVirtioScsiTarget"))
               .build();
         }
       }
     }
-    return getVirtioScsiTargetStatsMethod;
+    return getStatsVirtioScsiTargetMethod;
   }
 
   private static volatile io.grpc.MethodDescriptor getGetVirtioScsiControllerMethod() {
     return getGetVirtioScsiControllerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getVirtioScsiControllerStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsVirtioScsiControllerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "VirtioScsiControllerStats",
-      requestType = opi_api.storage.v1.VirtioScsiControllerStatsRequest.class,
-      responseType = opi_api.storage.v1.VirtioScsiControllerStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsVirtioScsiController",
+      requestType = opi_api.storage.v1.StatsVirtioScsiControllerRequest.class,
+      responseType = opi_api.storage.v1.StatsVirtioScsiControllerResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getVirtioScsiControllerStatsMethod() {
-    io.grpc.MethodDescriptor getVirtioScsiControllerStatsMethod;
-    if ((getVirtioScsiControllerStatsMethod = FrontendVirtioScsiServiceGrpc.getVirtioScsiControllerStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsVirtioScsiControllerMethod() {
+    io.grpc.MethodDescriptor getStatsVirtioScsiControllerMethod;
+    if ((getStatsVirtioScsiControllerMethod = FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiControllerMethod) == null) {
       synchronized (FrontendVirtioScsiServiceGrpc.class) {
-        if ((getVirtioScsiControllerStatsMethod = FrontendVirtioScsiServiceGrpc.getVirtioScsiControllerStatsMethod) == null) {
-          FrontendVirtioScsiServiceGrpc.getVirtioScsiControllerStatsMethod = getVirtioScsiControllerStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsVirtioScsiControllerMethod = FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiControllerMethod) == null) {
+          FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiControllerMethod = getStatsVirtioScsiControllerMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VirtioScsiControllerStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsVirtioScsiController"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioScsiControllerStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsVirtioScsiControllerRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioScsiControllerStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendVirtioScsiServiceMethodDescriptorSupplier("VirtioScsiControllerStats"))
+                  opi_api.storage.v1.StatsVirtioScsiControllerResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendVirtioScsiServiceMethodDescriptorSupplier("StatsVirtioScsiController"))
               .build();
         }
       }
     }
-    return getVirtioScsiControllerStatsMethod;
+    return getStatsVirtioScsiControllerMethod;
   }
 
   private static volatile io.grpc.MethodDescriptor getGetVirtioScsiLunMethod() {
     return getGetVirtioScsiLunMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getVirtioScsiLunStatsMethod;
+  private static volatile io.grpc.MethodDescriptor getStatsVirtioScsiLunMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "VirtioScsiLunStats",
-      requestType = opi_api.storage.v1.VirtioScsiLunStatsRequest.class,
-      responseType = opi_api.storage.v1.VirtioScsiLunStatsResponse.class,
+      fullMethodName = SERVICE_NAME + '/' + "StatsVirtioScsiLun",
+      requestType = opi_api.storage.v1.StatsVirtioScsiLunRequest.class,
+      responseType = opi_api.storage.v1.StatsVirtioScsiLunResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getVirtioScsiLunStatsMethod() {
-    io.grpc.MethodDescriptor getVirtioScsiLunStatsMethod;
-    if ((getVirtioScsiLunStatsMethod = FrontendVirtioScsiServiceGrpc.getVirtioScsiLunStatsMethod) == null) {
+  public static io.grpc.MethodDescriptor getStatsVirtioScsiLunMethod() {
+    io.grpc.MethodDescriptor getStatsVirtioScsiLunMethod;
+    if ((getStatsVirtioScsiLunMethod = FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiLunMethod) == null) {
       synchronized (FrontendVirtioScsiServiceGrpc.class) {
-        if ((getVirtioScsiLunStatsMethod = FrontendVirtioScsiServiceGrpc.getVirtioScsiLunStatsMethod) == null) {
-          FrontendVirtioScsiServiceGrpc.getVirtioScsiLunStatsMethod = getVirtioScsiLunStatsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
+        if ((getStatsVirtioScsiLunMethod = FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiLunMethod) == null) {
+          FrontendVirtioScsiServiceGrpc.getStatsVirtioScsiLunMethod = getStatsVirtioScsiLunMethod =
+              io.grpc.MethodDescriptor.newBuilder()
               .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VirtioScsiLunStats"))
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsVirtioScsiLun"))
               .setSampledToLocalTracing(true)
               .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioScsiLunStatsRequest.getDefaultInstance()))
+                  opi_api.storage.v1.StatsVirtioScsiLunRequest.getDefaultInstance()))
               .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  opi_api.storage.v1.VirtioScsiLunStatsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FrontendVirtioScsiServiceMethodDescriptorSupplier("VirtioScsiLunStats"))
+                  opi_api.storage.v1.StatsVirtioScsiLunResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FrontendVirtioScsiServiceMethodDescriptorSupplier("StatsVirtioScsiLun"))
               .build();
         }
       }
     }
-    return getVirtioScsiLunStatsMethod;
+    return getStatsVirtioScsiLunMethod;
   }
 
   /**
@@ -664,9 +664,9 @@ public void getVirtioScsiTarget(opi_api.storage.v1.GetVirtioScsiTargetRequest re
 
     /**
      */
-    public void virtioScsiTargetStats(opi_api.storage.v1.VirtioScsiTargetStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVirtioScsiTargetStatsMethod(), responseObserver);
+    public void statsVirtioScsiTarget(opi_api.storage.v1.StatsVirtioScsiTargetRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsVirtioScsiTargetMethod(), responseObserver);
     }
 
     /**
@@ -706,9 +706,9 @@ public void getVirtioScsiController(opi_api.storage.v1.GetVirtioScsiControllerRe
 
     /**
      */
-    public void virtioScsiControllerStats(opi_api.storage.v1.VirtioScsiControllerStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVirtioScsiControllerStatsMethod(), responseObserver);
+    public void statsVirtioScsiController(opi_api.storage.v1.StatsVirtioScsiControllerRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsVirtioScsiControllerMethod(), responseObserver);
     }
 
     /**
@@ -748,9 +748,9 @@ public void getVirtioScsiLun(opi_api.storage.v1.GetVirtioScsiLunRequest request,
 
     /**
      */
-    public void virtioScsiLunStats(opi_api.storage.v1.VirtioScsiLunStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
-      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVirtioScsiLunStatsMethod(), responseObserver);
+    public void statsVirtioScsiLun(opi_api.storage.v1.StatsVirtioScsiLunRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
+      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsVirtioScsiLunMethod(), responseObserver);
     }
 
     @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
@@ -791,12 +791,12 @@ public void virtioScsiLunStats(opi_api.storage.v1.VirtioScsiLunStatsRequest requ
                 opi_api.storage.v1.VirtioScsiTarget>(
                   this, METHODID_GET_VIRTIO_SCSI_TARGET)))
           .addMethod(
-            getVirtioScsiTargetStatsMethod(),
+            getStatsVirtioScsiTargetMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.VirtioScsiTargetStatsRequest,
-                opi_api.storage.v1.VirtioScsiTargetStatsResponse>(
-                  this, METHODID_VIRTIO_SCSI_TARGET_STATS)))
+                opi_api.storage.v1.StatsVirtioScsiTargetRequest,
+                opi_api.storage.v1.StatsVirtioScsiTargetResponse>(
+                  this, METHODID_STATS_VIRTIO_SCSI_TARGET)))
           .addMethod(
             getCreateVirtioScsiControllerMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -833,12 +833,12 @@ public void virtioScsiLunStats(opi_api.storage.v1.VirtioScsiLunStatsRequest requ
                 opi_api.storage.v1.VirtioScsiController>(
                   this, METHODID_GET_VIRTIO_SCSI_CONTROLLER)))
           .addMethod(
-            getVirtioScsiControllerStatsMethod(),
+            getStatsVirtioScsiControllerMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.VirtioScsiControllerStatsRequest,
-                opi_api.storage.v1.VirtioScsiControllerStatsResponse>(
-                  this, METHODID_VIRTIO_SCSI_CONTROLLER_STATS)))
+                opi_api.storage.v1.StatsVirtioScsiControllerRequest,
+                opi_api.storage.v1.StatsVirtioScsiControllerResponse>(
+                  this, METHODID_STATS_VIRTIO_SCSI_CONTROLLER)))
           .addMethod(
             getCreateVirtioScsiLunMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -875,12 +875,12 @@ public void virtioScsiLunStats(opi_api.storage.v1.VirtioScsiLunStatsRequest requ
                 opi_api.storage.v1.VirtioScsiLun>(
                   this, METHODID_GET_VIRTIO_SCSI_LUN)))
           .addMethod(
-            getVirtioScsiLunStatsMethod(),
+            getStatsVirtioScsiLunMethod(),
             io.grpc.stub.ServerCalls.asyncUnaryCall(
               new MethodHandlers<
-                opi_api.storage.v1.VirtioScsiLunStatsRequest,
-                opi_api.storage.v1.VirtioScsiLunStatsResponse>(
-                  this, METHODID_VIRTIO_SCSI_LUN_STATS)))
+                opi_api.storage.v1.StatsVirtioScsiLunRequest,
+                opi_api.storage.v1.StatsVirtioScsiLunResponse>(
+                  this, METHODID_STATS_VIRTIO_SCSI_LUN)))
           .build();
     }
   }
@@ -944,10 +944,10 @@ public void getVirtioScsiTarget(opi_api.storage.v1.GetVirtioScsiTargetRequest re
 
     /**
      */
-    public void virtioScsiTargetStats(opi_api.storage.v1.VirtioScsiTargetStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsVirtioScsiTarget(opi_api.storage.v1.StatsVirtioScsiTargetRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getVirtioScsiTargetStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsVirtioScsiTargetMethod(), getCallOptions()), request, responseObserver);
     }
 
     /**
@@ -992,10 +992,10 @@ public void getVirtioScsiController(opi_api.storage.v1.GetVirtioScsiControllerRe
 
     /**
      */
-    public void virtioScsiControllerStats(opi_api.storage.v1.VirtioScsiControllerStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsVirtioScsiController(opi_api.storage.v1.StatsVirtioScsiControllerRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getVirtioScsiControllerStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsVirtioScsiControllerMethod(), getCallOptions()), request, responseObserver);
     }
 
     /**
@@ -1040,10 +1040,10 @@ public void getVirtioScsiLun(opi_api.storage.v1.GetVirtioScsiLunRequest request,
 
     /**
      */
-    public void virtioScsiLunStats(opi_api.storage.v1.VirtioScsiLunStatsRequest request,
-        io.grpc.stub.StreamObserver responseObserver) {
+    public void statsVirtioScsiLun(opi_api.storage.v1.StatsVirtioScsiLunRequest request,
+        io.grpc.stub.StreamObserver responseObserver) {
       io.grpc.stub.ClientCalls.asyncUnaryCall(
-          getChannel().newCall(getVirtioScsiLunStatsMethod(), getCallOptions()), request, responseObserver);
+          getChannel().newCall(getStatsVirtioScsiLunMethod(), getCallOptions()), request, responseObserver);
     }
   }
 
@@ -1101,9 +1101,9 @@ public opi_api.storage.v1.VirtioScsiTarget getVirtioScsiTarget(opi_api.storage.v
 
     /**
      */
-    public opi_api.storage.v1.VirtioScsiTargetStatsResponse virtioScsiTargetStats(opi_api.storage.v1.VirtioScsiTargetStatsRequest request) {
+    public opi_api.storage.v1.StatsVirtioScsiTargetResponse statsVirtioScsiTarget(opi_api.storage.v1.StatsVirtioScsiTargetRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getVirtioScsiTargetStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsVirtioScsiTargetMethod(), getCallOptions(), request);
     }
 
     /**
@@ -1143,9 +1143,9 @@ public opi_api.storage.v1.VirtioScsiController getVirtioScsiController(opi_api.s
 
     /**
      */
-    public opi_api.storage.v1.VirtioScsiControllerStatsResponse virtioScsiControllerStats(opi_api.storage.v1.VirtioScsiControllerStatsRequest request) {
+    public opi_api.storage.v1.StatsVirtioScsiControllerResponse statsVirtioScsiController(opi_api.storage.v1.StatsVirtioScsiControllerRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getVirtioScsiControllerStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsVirtioScsiControllerMethod(), getCallOptions(), request);
     }
 
     /**
@@ -1185,9 +1185,9 @@ public opi_api.storage.v1.VirtioScsiLun getVirtioScsiLun(opi_api.storage.v1.GetV
 
     /**
      */
-    public opi_api.storage.v1.VirtioScsiLunStatsResponse virtioScsiLunStats(opi_api.storage.v1.VirtioScsiLunStatsRequest request) {
+    public opi_api.storage.v1.StatsVirtioScsiLunResponse statsVirtioScsiLun(opi_api.storage.v1.StatsVirtioScsiLunRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
-          getChannel(), getVirtioScsiLunStatsMethod(), getCallOptions(), request);
+          getChannel(), getStatsVirtioScsiLunMethod(), getCallOptions(), request);
     }
   }
 
@@ -1250,10 +1250,10 @@ public com.google.common.util.concurrent.ListenableFuture virtioScsiTargetStats(
-        opi_api.storage.v1.VirtioScsiTargetStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsVirtioScsiTarget(
+        opi_api.storage.v1.StatsVirtioScsiTargetRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getVirtioScsiTargetStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsVirtioScsiTargetMethod(), getCallOptions()), request);
     }
 
     /**
@@ -1298,10 +1298,10 @@ public com.google.common.util.concurrent.ListenableFuture virtioScsiControllerStats(
-        opi_api.storage.v1.VirtioScsiControllerStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsVirtioScsiController(
+        opi_api.storage.v1.StatsVirtioScsiControllerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getVirtioScsiControllerStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsVirtioScsiControllerMethod(), getCallOptions()), request);
     }
 
     /**
@@ -1346,10 +1346,10 @@ public com.google.common.util.concurrent.ListenableFuture virtioScsiLunStats(
-        opi_api.storage.v1.VirtioScsiLunStatsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture statsVirtioScsiLun(
+        opi_api.storage.v1.StatsVirtioScsiLunRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getVirtioScsiLunStatsMethod(), getCallOptions()), request);
+          getChannel().newCall(getStatsVirtioScsiLunMethod(), getCallOptions()), request);
     }
   }
 
@@ -1358,19 +1358,19 @@ public com.google.common.util.concurrent.ListenableFuture implements
       io.grpc.stub.ServerCalls.UnaryMethod,
@@ -1409,9 +1409,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getVirtioScsiTarget((opi_api.storage.v1.GetVirtioScsiTargetRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_VIRTIO_SCSI_TARGET_STATS:
-          serviceImpl.virtioScsiTargetStats((opi_api.storage.v1.VirtioScsiTargetStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_VIRTIO_SCSI_TARGET:
+          serviceImpl.statsVirtioScsiTarget((opi_api.storage.v1.StatsVirtioScsiTargetRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_VIRTIO_SCSI_CONTROLLER:
           serviceImpl.createVirtioScsiController((opi_api.storage.v1.CreateVirtioScsiControllerRequest) request,
@@ -1433,9 +1433,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getVirtioScsiController((opi_api.storage.v1.GetVirtioScsiControllerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_VIRTIO_SCSI_CONTROLLER_STATS:
-          serviceImpl.virtioScsiControllerStats((opi_api.storage.v1.VirtioScsiControllerStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_VIRTIO_SCSI_CONTROLLER:
+          serviceImpl.statsVirtioScsiController((opi_api.storage.v1.StatsVirtioScsiControllerRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_VIRTIO_SCSI_LUN:
           serviceImpl.createVirtioScsiLun((opi_api.storage.v1.CreateVirtioScsiLunRequest) request,
@@ -1457,9 +1457,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
           serviceImpl.getVirtioScsiLun((opi_api.storage.v1.GetVirtioScsiLunRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
-        case METHODID_VIRTIO_SCSI_LUN_STATS:
-          serviceImpl.virtioScsiLunStats((opi_api.storage.v1.VirtioScsiLunStatsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+        case METHODID_STATS_VIRTIO_SCSI_LUN:
+          serviceImpl.statsVirtioScsiLun((opi_api.storage.v1.StatsVirtioScsiLunRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1527,19 +1527,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
               .addMethod(getUpdateVirtioScsiTargetMethod())
               .addMethod(getListVirtioScsiTargetsMethod())
               .addMethod(getGetVirtioScsiTargetMethod())
-              .addMethod(getVirtioScsiTargetStatsMethod())
+              .addMethod(getStatsVirtioScsiTargetMethod())
               .addMethod(getCreateVirtioScsiControllerMethod())
               .addMethod(getDeleteVirtioScsiControllerMethod())
               .addMethod(getUpdateVirtioScsiControllerMethod())
               .addMethod(getListVirtioScsiControllersMethod())
               .addMethod(getGetVirtioScsiControllerMethod())
-              .addMethod(getVirtioScsiControllerStatsMethod())
+              .addMethod(getStatsVirtioScsiControllerMethod())
               .addMethod(getCreateVirtioScsiLunMethod())
               .addMethod(getDeleteVirtioScsiLunMethod())
               .addMethod(getUpdateVirtioScsiLunMethod())
               .addMethod(getListVirtioScsiLunsMethod())
               .addMethod(getGetVirtioScsiLunMethod())
-              .addMethod(getVirtioScsiLunStatsMethod())
+              .addMethod(getStatsVirtioScsiLunMethod())
               .build();
         }
       }
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequest.java
index 4fecf8b0..a7030ee6 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequest.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequest.java
@@ -90,10 +90,6 @@ private GetNvmePathRequest(
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   * 
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @@ -111,10 +107,6 @@ public java.lang.String getName() { } } /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @@ -437,10 +429,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @@ -457,10 +445,6 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @@ -478,10 +462,6 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. @@ -497,10 +477,6 @@ public Builder setName( return this; } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ @@ -511,10 +487,6 @@ public Builder clearName() { return this; } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequestOrBuilder.java index 4a547efd..9c09c97b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmePathRequestOrBuilder.java @@ -8,19 +8,11 @@ public interface GetNvmePathRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequest.java index a4706446..66245b9d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequest.java @@ -90,10 +90,6 @@ private GetNvmeRemoteControllerRequest( public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @@ -111,10 +107,6 @@ public java.lang.String getName() { } } /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @@ -437,10 +429,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @@ -457,10 +445,6 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @@ -478,10 +462,6 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. @@ -497,10 +477,6 @@ public Builder setName( return this; } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ @@ -511,10 +487,6 @@ public Builder clearName() { return this; } /** - *
-     * object's unique identifier
-     * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequestOrBuilder.java index 7e3b9747..b70b83e3 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNvmeRemoteControllerRequestOrBuilder.java @@ -8,19 +8,11 @@ public interface GetNvmeRemoteControllerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - *
-   * object's unique identifier
-   * 
- * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionProto.java index d3ab4c54..6c35572a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionProto.java @@ -50,15 +50,15 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_GetEncryptedVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_descriptor; + internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_descriptor; + internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -69,76 +69,75 @@ public static void registerAllExtensions( static { java.lang.String[] descriptorData = { "\n\032middleend_encryption.proto\022\022opi_api.st" + - "orage.v1\032\017opicommon.proto\032\020object_key.pr" + - "oto\032\027google/api/client.proto\032\031google/api" + - "/resource.proto\032\033google/protobuf/empty.p" + - "roto\032\034google/api/annotations.proto\032\037goog" + - "le/api/field_behavior.proto\032 google/prot" + - "obuf/field_mask.proto\"\320\001\n\017EncryptedVolum" + - "e\022\014\n\004name\030\001 \001(\t\022/\n\tvolume_id\030\002 \001(\0132\034.opi" + - "_api.common.v1.ObjectKey\022\013\n\003key\030\003 \001(\014\0222\n" + - "\006cipher\030\004 \001(\0162\".opi_api.storage.v1.Encry" + - "ptionType:=\352A:\n&storage.opiproject.org/E" + - "ncryptedVolume\022\020volumes/{volume}\"\177\n\034Crea" + - "teEncryptedVolumeRequest\022B\n\020encrypted_vo" + - "lume\030\002 \001(\0132#.opi_api.storage.v1.Encrypte" + - "dVolumeB\003\340A\002\022\033\n\023encrypted_volume_id\030\003 \001(" + - "\t\"o\n\034DeleteEncryptedVolumeRequest\0228\n\004nam" + - "e\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.storage.v1/Encr" + - "yptedVolume\022\025\n\rallow_missing\030\002 \001(\010\"\245\001\n\034U" + - "pdateEncryptedVolumeRequest\022=\n\020encrypted" + - "_volume\030\001 \001(\0132#.opi_api.storage.v1.Encry" + - "ptedVolume\022/\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001" + - "(\010\"\200\001\n\033ListEncryptedVolumesRequest\022:\n\006pa" + - "rent\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.storage.v1/E" + - "ncryptedVolume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\"w\n\034ListEncryptedVolumesRes" + - "ponse\022>\n\021encrypted_volumes\030\001 \003(\0132#.opi_a" + - "pi.storage.v1.EncryptedVolume\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"U\n\031GetEncryptedVolumeRequ" + + "orage.v1\032\017opicommon.proto\032\027google/api/cl" + + "ient.proto\032\031google/api/resource.proto\032\033g" + + "oogle/protobuf/empty.proto\032\034google/api/a" + + "nnotations.proto\032\037google/api/field_behav" + + "ior.proto\032 google/protobuf/field_mask.pr" + + "oto\"\354\001\n\017EncryptedVolume\022;\n\004name\030\001 \001(\tB-\340" + + "A\003\340A\005\372A$\n\"opi_api.storage.v1/EncryptedVo" + + "lume\022\034\n\017volume_name_ref\030\002 \001(\tB\003\340A\002\022\013\n\003ke" + + "y\030\003 \001(\014\0222\n\006cipher\030\004 \001(\0162\".opi_api.storag" + + "e.v1.EncryptionType:=\352A:\n&storage.opipro" + + "ject.org/EncryptedVolume\022\020volumes/{volum" + + "e}\"\177\n\034CreateEncryptedVolumeRequest\022B\n\020en" + + "crypted_volume\030\001 \001(\0132#.opi_api.storage.v" + + "1.EncryptedVolumeB\003\340A\002\022\033\n\023encrypted_volu" + + "me_id\030\002 \001(\t\"o\n\034DeleteEncryptedVolumeRequ" + "est\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.stora" + - "ge.v1/EncryptedVolume\"X\n\033EncryptedVolume" + - "StatsRequest\0229\n\023encrypted_volume_id\030\001 \001(" + - "\0132\034.opi_api.common.v1.ObjectKey\"\211\001\n\034Encr" + - "yptedVolumeStatsResponse\0229\n\023encrypted_vo" + - "lume_id\030\001 \001(\0132\034.opi_api.common.v1.Object" + - "Key\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1." + - "VolumeStats2\367\007\n\032MiddleendEncryptionServi" + - "ce\022\274\001\n\025CreateEncryptedVolume\0220.opi_api.s" + - "torage.v1.CreateEncryptedVolumeRequest\032#" + - ".opi_api.storage.v1.EncryptedVolume\"L\202\323\344" + - "\223\002\037\"\013/v1/volumes:\020encrypted_volume\332A$enc" + - "rypted_volume,encrypted_volume_id\022\215\001\n\025De" + - "leteEncryptedVolume\0220.opi_api.storage.v1" + - ".DeleteEncryptedVolumeRequest\032\026.google.p" + - "rotobuf.Empty\"*\202\323\344\223\002\035*\033/v1/{name=volumes" + - "}/{volume}\332A\004name\022\317\001\n\025UpdateEncryptedVol" + - "ume\0220.opi_api.storage.v1.UpdateEncrypted" + - "VolumeRequest\032#.opi_api.storage.v1.Encry" + - "ptedVolume\"_\202\323\344\223\002:2&/v1/{encrypted_volum" + - "e.name=subsystems}:\020encrypted_volume\332A\034e" + - "ncrypted_volume,update_mask\022\240\001\n\024ListEncr" + - "yptedVolumes\022/.opi_api.storage.v1.ListEn" + - "cryptedVolumesRequest\0320.opi_api.storage." + - "v1.ListEncryptedVolumesResponse\"%\202\323\344\223\002\026\022" + - "\024/v1/{parent=volumes}\332A\006parent\022\227\001\n\022GetEn" + - "cryptedVolume\022-.opi_api.storage.v1.GetEn" + - "cryptedVolumeRequest\032#.opi_api.storage.v" + - "1.EncryptedVolume\"-\202\323\344\223\002 \022\036/v1/{name=sub" + - "systems}/{volume}\332A\004name\022{\n\024EncryptedVol" + - "umeStats\022/.opi_api.storage.v1.EncryptedV" + - "olumeStatsRequest\0320.opi_api.storage.v1.E" + - "ncryptedVolumeStatsResponse\"\000Bg\n\022opi_api" + - ".storage.v1B\030MiddleendEncryptionProtoP\001Z" + - "5github.com/opiproject/opi-api/storage/v" + - "1alpha1/gen/gob\006proto3" + "ge.v1/EncryptedVolume\022\025\n\rallow_missing\030\002" + + " \001(\010\"\245\001\n\034UpdateEncryptedVolumeRequest\022=\n" + + "\020encrypted_volume\030\001 \001(\0132#.opi_api.storag" + + "e.v1.EncryptedVolume\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\022\025\n\rallow_m" + + "issing\030\003 \001(\010\"\200\001\n\033ListEncryptedVolumesReq" + + "uest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"opi_api.st" + + "orage.v1/EncryptedVolume\022\021\n\tpage_size\030\002 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\034ListEncrypted" + + "VolumesResponse\022>\n\021encrypted_volumes\030\001 \003" + + "(\0132#.opi_api.storage.v1.EncryptedVolume\022" + + "\027\n\017next_page_token\030\002 \001(\t\"U\n\031GetEncrypted" + + "VolumeRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"opi" + + "_api.storage.v1/EncryptedVolume\"W\n\033Stats" + + "EncryptedVolumeRequest\0228\n\004name\030\001 \001(\tB*\340A" + + "\002\372A$\n\"opi_api.storage.v1/EncryptedVolume" + + "\"N\n\034StatsEncryptedVolumeResponse\022.\n\005stat" + + "s\030\001 \001(\0132\037.opi_api.storage.v1.VolumeStats" + + "2\253\010\n\032MiddleendEncryptionService\022\274\001\n\025Crea" + + "teEncryptedVolume\0220.opi_api.storage.v1.C" + + "reateEncryptedVolumeRequest\032#.opi_api.st" + + "orage.v1.EncryptedVolume\"L\202\323\344\223\002\037\"\013/v1/vo" + + "lumes:\020encrypted_volume\332A$encrypted_volu" + + "me,encrypted_volume_id\022\217\001\n\025DeleteEncrypt" + + "edVolume\0220.opi_api.storage.v1.DeleteEncr" + + "yptedVolumeRequest\032\026.google.protobuf.Emp" + + "ty\",\202\323\344\223\002\037*\035/v1/{name=EncryptedVolumes/*" + + "}\332A\004name\022\317\001\n\025UpdateEncryptedVolume\0220.opi" + + "_api.storage.v1.UpdateEncryptedVolumeReq" + + "uest\032#.opi_api.storage.v1.EncryptedVolum" + + "e\"_\202\323\344\223\002:2&/v1/{encrypted_volume.name=su" + + "bsystems}:\020encrypted_volume\332A\034encrypted_" + + "volume,update_mask\022\240\001\n\024ListEncryptedVolu" + + "mes\022/.opi_api.storage.v1.ListEncryptedVo" + + "lumesRequest\0320.opi_api.storage.v1.ListEn" + + "cryptedVolumesResponse\"%\202\323\344\223\002\026\022\024/v1/{par" + + "ent=volumes}\332A\006parent\022\226\001\n\022GetEncryptedVo" + + "lume\022-.opi_api.storage.v1.GetEncryptedVo" + + "lumeRequest\032#.opi_api.storage.v1.Encrypt" + + "edVolume\",\202\323\344\223\002\037\022\035/v1/{name=EncryptedVol" + + "umes/*}\332A\004name\022\255\001\n\024StatsEncryptedVolume\022" + + "/.opi_api.storage.v1.StatsEncryptedVolum" + + "eRequest\0320.opi_api.storage.v1.StatsEncry" + + "ptedVolumeResponse\"2\202\323\344\223\002%\022#/v1/{name=En" + + "cryptedVolumes/*}:stats\332A\004nameBg\n\022opi_ap" + + "i.storage.v1B\030MiddleendEncryptionProtoP\001" + + "Z5github.com/opiproject/opi-api/storage/" + + "v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { opi_api.storage.v1.OpiCommonProto.getDescriptor(), - opi_api.common.v1.ObjectKeyProto.getDescriptor(), com.google.api.ClientProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), @@ -151,7 +150,7 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_EncryptedVolume_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_EncryptedVolume_descriptor, - new java.lang.String[] { "Name", "VolumeId", "Key", "Cipher", }); + new java.lang.String[] { "Name", "VolumeNameRef", "Key", "Cipher", }); internal_static_opi_api_storage_v1_CreateEncryptedVolumeRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_opi_api_storage_v1_CreateEncryptedVolumeRequest_fieldAccessorTable = new @@ -188,18 +187,18 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_GetEncryptedVolumeRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_descriptor = + internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_EncryptedVolumeStatsRequest_descriptor, - new java.lang.String[] { "EncryptedVolumeId", }); - internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_descriptor = + internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_EncryptedVolumeStatsResponse_descriptor, - new java.lang.String[] { "EncryptedVolumeId", "Stats", }); + internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_descriptor, + new java.lang.String[] { "Stats", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); @@ -210,7 +209,6 @@ public static void registerAllExtensions( com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); opi_api.storage.v1.OpiCommonProto.getDescriptor(); - opi_api.common.v1.ObjectKeyProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionServiceGrpc.java index 212f85b9..e3023620 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendEncryptionServiceGrpc.java @@ -173,35 +173,35 @@ opi_api.storage.v1.EncryptedVolume> getGetEncryptedVolumeMethod() { return getGetEncryptedVolumeMethod; } - private static volatile io.grpc.MethodDescriptor getEncryptedVolumeStatsMethod; + private static volatile io.grpc.MethodDescriptor getStatsEncryptedVolumeMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EncryptedVolumeStats", - requestType = opi_api.storage.v1.EncryptedVolumeStatsRequest.class, - responseType = opi_api.storage.v1.EncryptedVolumeStatsResponse.class, + fullMethodName = SERVICE_NAME + '/' + "StatsEncryptedVolume", + requestType = opi_api.storage.v1.StatsEncryptedVolumeRequest.class, + responseType = opi_api.storage.v1.StatsEncryptedVolumeResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getEncryptedVolumeStatsMethod() { - io.grpc.MethodDescriptor getEncryptedVolumeStatsMethod; - if ((getEncryptedVolumeStatsMethod = MiddleendEncryptionServiceGrpc.getEncryptedVolumeStatsMethod) == null) { + public static io.grpc.MethodDescriptor getStatsEncryptedVolumeMethod() { + io.grpc.MethodDescriptor getStatsEncryptedVolumeMethod; + if ((getStatsEncryptedVolumeMethod = MiddleendEncryptionServiceGrpc.getStatsEncryptedVolumeMethod) == null) { synchronized (MiddleendEncryptionServiceGrpc.class) { - if ((getEncryptedVolumeStatsMethod = MiddleendEncryptionServiceGrpc.getEncryptedVolumeStatsMethod) == null) { - MiddleendEncryptionServiceGrpc.getEncryptedVolumeStatsMethod = getEncryptedVolumeStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getStatsEncryptedVolumeMethod = MiddleendEncryptionServiceGrpc.getStatsEncryptedVolumeMethod) == null) { + MiddleendEncryptionServiceGrpc.getStatsEncryptedVolumeMethod = getStatsEncryptedVolumeMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EncryptedVolumeStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsEncryptedVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.EncryptedVolumeStatsRequest.getDefaultInstance())) + opi_api.storage.v1.StatsEncryptedVolumeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.EncryptedVolumeStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MiddleendEncryptionServiceMethodDescriptorSupplier("EncryptedVolumeStats")) + opi_api.storage.v1.StatsEncryptedVolumeResponse.getDefaultInstance())) + .setSchemaDescriptor(new MiddleendEncryptionServiceMethodDescriptorSupplier("StatsEncryptedVolume")) .build(); } } } - return getEncryptedVolumeStatsMethod; + return getStatsEncryptedVolumeMethod; } /** @@ -292,9 +292,9 @@ public void getEncryptedVolume(opi_api.storage.v1.GetEncryptedVolumeRequest requ /** */ - public void encryptedVolumeStats(opi_api.storage.v1.EncryptedVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEncryptedVolumeStatsMethod(), responseObserver); + public void statsEncryptedVolume(opi_api.storage.v1.StatsEncryptedVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsEncryptedVolumeMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { @@ -335,12 +335,12 @@ public void encryptedVolumeStats(opi_api.storage.v1.EncryptedVolumeStatsRequest opi_api.storage.v1.EncryptedVolume>( this, METHODID_GET_ENCRYPTED_VOLUME))) .addMethod( - getEncryptedVolumeStatsMethod(), + getStatsEncryptedVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.EncryptedVolumeStatsRequest, - opi_api.storage.v1.EncryptedVolumeStatsResponse>( - this, METHODID_ENCRYPTED_VOLUME_STATS))) + opi_api.storage.v1.StatsEncryptedVolumeRequest, + opi_api.storage.v1.StatsEncryptedVolumeResponse>( + this, METHODID_STATS_ENCRYPTED_VOLUME))) .build(); } } @@ -404,10 +404,10 @@ public void getEncryptedVolume(opi_api.storage.v1.GetEncryptedVolumeRequest requ /** */ - public void encryptedVolumeStats(opi_api.storage.v1.EncryptedVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void statsEncryptedVolume(opi_api.storage.v1.StatsEncryptedVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEncryptedVolumeStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStatsEncryptedVolumeMethod(), getCallOptions()), request, responseObserver); } } @@ -465,9 +465,9 @@ public opi_api.storage.v1.EncryptedVolume getEncryptedVolume(opi_api.storage.v1. /** */ - public opi_api.storage.v1.EncryptedVolumeStatsResponse encryptedVolumeStats(opi_api.storage.v1.EncryptedVolumeStatsRequest request) { + public opi_api.storage.v1.StatsEncryptedVolumeResponse statsEncryptedVolume(opi_api.storage.v1.StatsEncryptedVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getEncryptedVolumeStatsMethod(), getCallOptions(), request); + getChannel(), getStatsEncryptedVolumeMethod(), getCallOptions(), request); } } @@ -530,10 +530,10 @@ public com.google.common.util.concurrent.ListenableFuture encryptedVolumeStats( - opi_api.storage.v1.EncryptedVolumeStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture statsEncryptedVolume( + opi_api.storage.v1.StatsEncryptedVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getEncryptedVolumeStatsMethod(), getCallOptions()), request); + getChannel().newCall(getStatsEncryptedVolumeMethod(), getCallOptions()), request); } } @@ -542,7 +542,7 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -581,9 +581,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getEncryptedVolume((opi_api.storage.v1.GetEncryptedVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_ENCRYPTED_VOLUME_STATS: - serviceImpl.encryptedVolumeStats((opi_api.storage.v1.EncryptedVolumeStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_STATS_ENCRYPTED_VOLUME: + serviceImpl.statsEncryptedVolume((opi_api.storage.v1.StatsEncryptedVolumeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -651,7 +651,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateEncryptedVolumeMethod()) .addMethod(getListEncryptedVolumesMethod()) .addMethod(getGetEncryptedVolumeMethod()) - .addMethod(getEncryptedVolumeStatsMethod()) + .addMethod(getStatsEncryptedVolumeMethod()) .build(); } } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeProto.java index 2553672e..8c70ceac 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeProto.java @@ -50,15 +50,15 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_GetQosVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_QosVolumeStatsRequest_descriptor; + internal_static_opi_api_storage_v1_StatsQosVolumeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_QosVolumeStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsQosVolumeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_QosVolumeStatsResponse_descriptor; + internal_static_opi_api_storage_v1_StatsQosVolumeResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_QosVolumeStatsResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_StatsQosVolumeResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -74,59 +74,59 @@ public static void registerAllExtensions( "/resource.proto\032\033google/protobuf/empty.p" + "roto\032\034google/api/annotations.proto\032\037goog" + "le/api/field_behavior.proto\032 google/prot" + - "obuf/field_mask.proto\"\345\001\n\tQosVolume\022\014\n\004n" + - "ame\030\001 \001(\t\022/\n\tvolume_id\030\002 \001(\0132\034.opi_api.c" + - "ommon.v1.ObjectKey\022/\n\tmin_limit\030\003 \001(\0132\034." + - "opi_api.storage.v1.QosLimit\022/\n\tmax_limit" + - "\030\004 \001(\0132\034.opi_api.storage.v1.QosLimit:7\352A" + - "4\n storage.opiproject.org/QosVolume\022\020vol" + - "umes/{volume}\"g\n\026CreateQosVolumeRequest\022" + - "6\n\nqos_volume\030\002 \001(\0132\035.opi_api.storage.v1" + - ".QosVolumeB\003\340A\002\022\025\n\rqos_volume_id\030\003 \001(\t\"c" + - "\n\026DeleteQosVolumeRequest\0222\n\004name\030\001 \001(\tB$" + - "\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume\022\025\n\r" + - "allow_missing\030\002 \001(\010\"\223\001\n\026UpdateQosVolumeR" + - "equest\0221\n\nqos_volume\030\001 \001(\0132\035.opi_api.sto" + - "rage.v1.QosVolume\022/\n\013update_mask\030\002 \001(\0132\032" + - ".google.protobuf.FieldMask\022\025\n\rallow_miss" + - "ing\030\003 \001(\010\"t\n\025ListQosVolumesRequest\0224\n\006pa" + - "rent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/Q" + - "osVolume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\"e\n\026ListQosVolumesResponse\0222\n\013qos" + - "_volumes\030\001 \003(\0132\035.opi_api.storage.v1.QosV" + - "olume\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetQos" + - "VolumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi" + - "_api.storage.v1/QosVolume\"H\n\025QosVolumeSt" + - "atsRequest\022/\n\tvolume_id\030\001 \001(\0132\034.opi_api." + - "common.v1.ObjectKey\"r\n\026QosVolumeStatsRes" + - "ponse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Ob" + - "jectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage" + - ".v1.VolumeStats2\366\006\n\031MiddleendQosVolumeSe" + - "rvice\022\230\001\n\017CreateQosVolume\022*.opi_api.stor" + - "age.v1.CreateQosVolumeRequest\032\035.opi_api." + - "storage.v1.QosVolume\":\202\323\344\223\002\031\"\013/v1/volume" + - "s:\nqos_volume\332A\030qos_volume,qos_volume_id" + - "\022\207\001\n\017DeleteQosVolume\022*.opi_api.storage.v" + - "1.DeleteQosVolumeRequest\032\026.google.protob" + - "uf.Empty\"0\202\323\344\223\002#*!/v1/{name=qosvolumes}/" + - "{qosvolume}\332A\004name\022\253\001\n\017UpdateQosVolume\022*" + - ".opi_api.storage.v1.UpdateQosVolumeReque" + - "st\032\035.opi_api.storage.v1.QosVolume\"M\202\323\344\223\002" + - ".2 /v1/{qos_volume.name=subsystems}:\nqos" + - "_volume\332A\026qos_volume,update_mask\022\216\001\n\016Lis" + - "tQosVolumes\022).opi_api.storage.v1.ListQos" + - "VolumesRequest\032*.opi_api.storage.v1.List" + - "QosVolumesResponse\"%\202\323\344\223\002\026\022\024/v1/{parent=" + - "volumes}\332A\006parent\022\211\001\n\014GetQosVolume\022\'.opi" + - "_api.storage.v1.GetQosVolumeRequest\032\035.op" + - "i_api.storage.v1.QosVolume\"1\202\323\344\223\002$\022\"/v1/" + - "{name=subsystems}/{qos_volume}\332A\004name\022i\n" + - "\016QosVolumeStats\022).opi_api.storage.v1.Qos" + - "VolumeStatsRequest\032*.opi_api.storage.v1." + - "QosVolumeStatsResponse\"\000Bf\n\022opi_api.stor" + - "age.v1B\027MiddleendQosVolumeProtoP\001Z5githu" + - "b.com/opiproject/opi-api/storage/v1alpha" + - "1/gen/gob\006proto3" + "obuf/field_mask.proto\"\216\002\n\tQosVolume\0225\n\004n" + + "ame\030\001 \001(\tB\'\340A\003\340A\005\372A\036\n\034opi_api.storage.v1" + + "/QosVolume\022/\n\tvolume_id\030\002 \001(\0132\034.opi_api." + + "common.v1.ObjectKey\022/\n\tmin_limit\030\003 \001(\0132\034" + + ".opi_api.storage.v1.QosLimit\022/\n\tmax_limi" + + "t\030\004 \001(\0132\034.opi_api.storage.v1.QosLimit:7\352" + + "A4\n storage.opiproject.org/QosVolume\022\020vo" + + "lumes/{volume}\"g\n\026CreateQosVolumeRequest" + + "\0226\n\nqos_volume\030\001 \001(\0132\035.opi_api.storage.v" + + "1.QosVolumeB\003\340A\002\022\025\n\rqos_volume_id\030\002 \001(\t\"" + + "c\n\026DeleteQosVolumeRequest\0222\n\004name\030\001 \001(\tB" + + "$\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume\022\025\n" + + "\rallow_missing\030\002 \001(\010\"\223\001\n\026UpdateQosVolume" + + "Request\0221\n\nqos_volume\030\001 \001(\0132\035.opi_api.st" + + "orage.v1.QosVolume\022/\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMask\022\025\n\rallow_mis" + + "sing\030\003 \001(\010\"t\n\025ListQosVolumesRequest\0224\n\006p" + + "arent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/" + + "QosVolume\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"e\n\026ListQosVolumesResponse\0222\n\013qo" + + "s_volumes\030\001 \003(\0132\035.opi_api.storage.v1.Qos" + + "Volume\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetQo" + + "sVolumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034op" + + "i_api.storage.v1/QosVolume\"K\n\025StatsQosVo" + + "lumeRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_a" + + "pi.storage.v1/QosVolume\"H\n\026StatsQosVolum" + + "eResponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.stora" + + "ge.v1.VolumeStats2\214\007\n\031MiddleendQosVolume" + + "Service\022\230\001\n\017CreateQosVolume\022*.opi_api.st" + + "orage.v1.CreateQosVolumeRequest\032\035.opi_ap" + + "i.storage.v1.QosVolume\":\202\323\344\223\002\031\"\013/v1/volu" + + "mes:\nqos_volume\332A\030qos_volume,qos_volume_" + + "id\022}\n\017DeleteQosVolume\022*.opi_api.storage." + + "v1.DeleteQosVolumeRequest\032\026.google.proto" + + "buf.Empty\"&\202\323\344\223\002\031*\027/v1/{name=QosVolumes/" + + "*}\332A\004name\022\253\001\n\017UpdateQosVolume\022*.opi_api." + + "storage.v1.UpdateQosVolumeRequest\032\035.opi_" + + "api.storage.v1.QosVolume\"M\202\323\344\223\002.2 /v1/{q" + + "os_volume.name=subsystems}:\nqos_volume\332A" + + "\026qos_volume,update_mask\022\216\001\n\016ListQosVolum" + + "es\022).opi_api.storage.v1.ListQosVolumesRe" + + "quest\032*.opi_api.storage.v1.ListQosVolume" + + "sResponse\"%\202\323\344\223\002\026\022\024/v1/{parent=volumes}\332" + + "A\006parent\022~\n\014GetQosVolume\022\'.opi_api.stora" + + "ge.v1.GetQosVolumeRequest\032\035.opi_api.stor" + + "age.v1.QosVolume\"&\202\323\344\223\002\031\022\027/v1/{name=QosV" + + "olumes/*}\332A\004name\022\225\001\n\016StatsQosVolume\022).op" + + "i_api.storage.v1.StatsQosVolumeRequest\032*" + + ".opi_api.storage.v1.StatsQosVolumeRespon" + + "se\",\202\323\344\223\002\037\022\035/v1/{name=QosVolumes/*}:stat" + + "s\332A\004nameBf\n\022opi_api.storage.v1B\027Middleen" + + "dQosVolumeProtoP\001Z5github.com/opiproject" + + "/opi-api/storage/v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -182,18 +182,18 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_GetQosVolumeRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_opi_api_storage_v1_QosVolumeStatsRequest_descriptor = + internal_static_opi_api_storage_v1_StatsQosVolumeRequest_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_opi_api_storage_v1_QosVolumeStatsRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsQosVolumeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_QosVolumeStatsRequest_descriptor, - new java.lang.String[] { "VolumeId", }); - internal_static_opi_api_storage_v1_QosVolumeStatsResponse_descriptor = + internal_static_opi_api_storage_v1_StatsQosVolumeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_opi_api_storage_v1_StatsQosVolumeResponse_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_opi_api_storage_v1_QosVolumeStatsResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_StatsQosVolumeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_QosVolumeStatsResponse_descriptor, - new java.lang.String[] { "Id", "Stats", }); + internal_static_opi_api_storage_v1_StatsQosVolumeResponse_descriptor, + new java.lang.String[] { "Stats", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeServiceGrpc.java index ed956e9d..46d2e5fa 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendQosVolumeServiceGrpc.java @@ -170,35 +170,35 @@ opi_api.storage.v1.QosVolume> getGetQosVolumeMethod() { return getGetQosVolumeMethod; } - private static volatile io.grpc.MethodDescriptor getQosVolumeStatsMethod; + private static volatile io.grpc.MethodDescriptor getStatsQosVolumeMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QosVolumeStats", - requestType = opi_api.storage.v1.QosVolumeStatsRequest.class, - responseType = opi_api.storage.v1.QosVolumeStatsResponse.class, + fullMethodName = SERVICE_NAME + '/' + "StatsQosVolume", + requestType = opi_api.storage.v1.StatsQosVolumeRequest.class, + responseType = opi_api.storage.v1.StatsQosVolumeResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQosVolumeStatsMethod() { - io.grpc.MethodDescriptor getQosVolumeStatsMethod; - if ((getQosVolumeStatsMethod = MiddleendQosVolumeServiceGrpc.getQosVolumeStatsMethod) == null) { + public static io.grpc.MethodDescriptor getStatsQosVolumeMethod() { + io.grpc.MethodDescriptor getStatsQosVolumeMethod; + if ((getStatsQosVolumeMethod = MiddleendQosVolumeServiceGrpc.getStatsQosVolumeMethod) == null) { synchronized (MiddleendQosVolumeServiceGrpc.class) { - if ((getQosVolumeStatsMethod = MiddleendQosVolumeServiceGrpc.getQosVolumeStatsMethod) == null) { - MiddleendQosVolumeServiceGrpc.getQosVolumeStatsMethod = getQosVolumeStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getStatsQosVolumeMethod = MiddleendQosVolumeServiceGrpc.getStatsQosVolumeMethod) == null) { + MiddleendQosVolumeServiceGrpc.getStatsQosVolumeMethod = getStatsQosVolumeMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QosVolumeStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsQosVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.QosVolumeStatsRequest.getDefaultInstance())) + opi_api.storage.v1.StatsQosVolumeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.QosVolumeStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MiddleendQosVolumeServiceMethodDescriptorSupplier("QosVolumeStats")) + opi_api.storage.v1.StatsQosVolumeResponse.getDefaultInstance())) + .setSchemaDescriptor(new MiddleendQosVolumeServiceMethodDescriptorSupplier("StatsQosVolume")) .build(); } } } - return getQosVolumeStatsMethod; + return getStatsQosVolumeMethod; } /** @@ -286,9 +286,9 @@ public void getQosVolume(opi_api.storage.v1.GetQosVolumeRequest request, /** */ - public void qosVolumeStats(opi_api.storage.v1.QosVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQosVolumeStatsMethod(), responseObserver); + public void statsQosVolume(opi_api.storage.v1.StatsQosVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsQosVolumeMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { @@ -329,12 +329,12 @@ public void qosVolumeStats(opi_api.storage.v1.QosVolumeStatsRequest request, opi_api.storage.v1.QosVolume>( this, METHODID_GET_QOS_VOLUME))) .addMethod( - getQosVolumeStatsMethod(), + getStatsQosVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.QosVolumeStatsRequest, - opi_api.storage.v1.QosVolumeStatsResponse>( - this, METHODID_QOS_VOLUME_STATS))) + opi_api.storage.v1.StatsQosVolumeRequest, + opi_api.storage.v1.StatsQosVolumeResponse>( + this, METHODID_STATS_QOS_VOLUME))) .build(); } } @@ -395,10 +395,10 @@ public void getQosVolume(opi_api.storage.v1.GetQosVolumeRequest request, /** */ - public void qosVolumeStats(opi_api.storage.v1.QosVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void statsQosVolume(opi_api.storage.v1.StatsQosVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQosVolumeStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStatsQosVolumeMethod(), getCallOptions()), request, responseObserver); } } @@ -453,9 +453,9 @@ public opi_api.storage.v1.QosVolume getQosVolume(opi_api.storage.v1.GetQosVolume /** */ - public opi_api.storage.v1.QosVolumeStatsResponse qosVolumeStats(opi_api.storage.v1.QosVolumeStatsRequest request) { + public opi_api.storage.v1.StatsQosVolumeResponse statsQosVolume(opi_api.storage.v1.StatsQosVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQosVolumeStatsMethod(), getCallOptions(), request); + getChannel(), getStatsQosVolumeMethod(), getCallOptions(), request); } } @@ -515,10 +515,10 @@ public com.google.common.util.concurrent.ListenableFuture qosVolumeStats( - opi_api.storage.v1.QosVolumeStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture statsQosVolume( + opi_api.storage.v1.StatsQosVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQosVolumeStatsMethod(), getCallOptions()), request); + getChannel().newCall(getStatsQosVolumeMethod(), getCallOptions()), request); } } @@ -527,7 +527,7 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -566,9 +566,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getQosVolume((opi_api.storage.v1.GetQosVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_QOS_VOLUME_STATS: - serviceImpl.qosVolumeStats((opi_api.storage.v1.QosVolumeStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_STATS_QOS_VOLUME: + serviceImpl.statsQosVolume((opi_api.storage.v1.StatsQosVolumeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -636,7 +636,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateQosVolumeMethod()) .addMethod(getListQosVolumesMethod()) .addMethod(getGetQosVolumeMethod()) - .addMethod(getQosVolumeStatsMethod()) + .addMethod(getStatsQosVolumeMethod()) .build(); } } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolume.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolume.java index b76cc1cd..3a298438 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolume.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolume.java @@ -119,7 +119,7 @@ private NullVolume( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -142,7 +142,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -584,7 +584,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -606,7 +606,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -629,7 +629,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -650,7 +650,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -666,7 +666,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeOrBuilder.java index 4caf29ff..dc645931 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeOrBuilder.java @@ -14,7 +14,7 @@ public interface NullVolumeOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface NullVolumeOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeServiceGrpc.java index f29cd19d..5ff8286f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeServiceGrpc.java @@ -173,35 +173,35 @@ opi_api.storage.v1.NullVolume> getGetNullVolumeMethod() { return getGetNullVolumeMethod; } - private static volatile io.grpc.MethodDescriptor getNullVolumeStatsMethod; + private static volatile io.grpc.MethodDescriptor getStatsNullVolumeMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NullVolumeStats", - requestType = opi_api.storage.v1.NullVolumeStatsRequest.class, - responseType = opi_api.storage.v1.NullVolumeStatsResponse.class, + fullMethodName = SERVICE_NAME + '/' + "StatsNullVolume", + requestType = opi_api.storage.v1.StatsNullVolumeRequest.class, + responseType = opi_api.storage.v1.StatsNullVolumeResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNullVolumeStatsMethod() { - io.grpc.MethodDescriptor getNullVolumeStatsMethod; - if ((getNullVolumeStatsMethod = NullVolumeServiceGrpc.getNullVolumeStatsMethod) == null) { + public static io.grpc.MethodDescriptor getStatsNullVolumeMethod() { + io.grpc.MethodDescriptor getStatsNullVolumeMethod; + if ((getStatsNullVolumeMethod = NullVolumeServiceGrpc.getStatsNullVolumeMethod) == null) { synchronized (NullVolumeServiceGrpc.class) { - if ((getNullVolumeStatsMethod = NullVolumeServiceGrpc.getNullVolumeStatsMethod) == null) { - NullVolumeServiceGrpc.getNullVolumeStatsMethod = getNullVolumeStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getStatsNullVolumeMethod = NullVolumeServiceGrpc.getStatsNullVolumeMethod) == null) { + NullVolumeServiceGrpc.getStatsNullVolumeMethod = getStatsNullVolumeMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NullVolumeStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsNullVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullVolumeStatsRequest.getDefaultInstance())) + opi_api.storage.v1.StatsNullVolumeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullVolumeStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new NullVolumeServiceMethodDescriptorSupplier("NullVolumeStats")) + opi_api.storage.v1.StatsNullVolumeResponse.getDefaultInstance())) + .setSchemaDescriptor(new NullVolumeServiceMethodDescriptorSupplier("StatsNullVolume")) .build(); } } } - return getNullVolumeStatsMethod; + return getStatsNullVolumeMethod; } /** @@ -292,9 +292,9 @@ public void getNullVolume(opi_api.storage.v1.GetNullVolumeRequest request, /** */ - public void nullVolumeStats(opi_api.storage.v1.NullVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNullVolumeStatsMethod(), responseObserver); + public void statsNullVolume(opi_api.storage.v1.StatsNullVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsNullVolumeMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { @@ -335,12 +335,12 @@ public void nullVolumeStats(opi_api.storage.v1.NullVolumeStatsRequest request, opi_api.storage.v1.NullVolume>( this, METHODID_GET_NULL_VOLUME))) .addMethod( - getNullVolumeStatsMethod(), + getStatsNullVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NullVolumeStatsRequest, - opi_api.storage.v1.NullVolumeStatsResponse>( - this, METHODID_NULL_VOLUME_STATS))) + opi_api.storage.v1.StatsNullVolumeRequest, + opi_api.storage.v1.StatsNullVolumeResponse>( + this, METHODID_STATS_NULL_VOLUME))) .build(); } } @@ -404,10 +404,10 @@ public void getNullVolume(opi_api.storage.v1.GetNullVolumeRequest request, /** */ - public void nullVolumeStats(opi_api.storage.v1.NullVolumeStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void statsNullVolume(opi_api.storage.v1.StatsNullVolumeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNullVolumeStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStatsNullVolumeMethod(), getCallOptions()), request, responseObserver); } } @@ -465,9 +465,9 @@ public opi_api.storage.v1.NullVolume getNullVolume(opi_api.storage.v1.GetNullVol /** */ - public opi_api.storage.v1.NullVolumeStatsResponse nullVolumeStats(opi_api.storage.v1.NullVolumeStatsRequest request) { + public opi_api.storage.v1.StatsNullVolumeResponse statsNullVolume(opi_api.storage.v1.StatsNullVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNullVolumeStatsMethod(), getCallOptions(), request); + getChannel(), getStatsNullVolumeMethod(), getCallOptions(), request); } } @@ -530,10 +530,10 @@ public com.google.common.util.concurrent.ListenableFuture nullVolumeStats( - opi_api.storage.v1.NullVolumeStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture statsNullVolume( + opi_api.storage.v1.StatsNullVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNullVolumeStatsMethod(), getCallOptions()), request); + getChannel().newCall(getStatsNullVolumeMethod(), getCallOptions()), request); } } @@ -542,7 +542,7 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -581,9 +581,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getNullVolume((opi_api.storage.v1.GetNullVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NULL_VOLUME_STATS: - serviceImpl.nullVolumeStats((opi_api.storage.v1.NullVolumeStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_STATS_NULL_VOLUME: + serviceImpl.statsNullVolume((opi_api.storage.v1.StatsNullVolumeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -651,7 +651,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateNullVolumeMethod()) .addMethod(getListNullVolumesMethod()) .addMethod(getGetNullVolumeMethod()) - .addMethod(getNullVolumeStatsMethod()) + .addMethod(getStatsNullVolumeMethod()) .build(); } } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsRequest.java deleted file mode 100644 index 239a0599..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsRequest.java +++ /dev/null @@ -1,607 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_null.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.NullVolumeStatsRequest} - */ -public final class NullVolumeStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullVolumeStatsRequest) - NullVolumeStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use NullVolumeStatsRequest.newBuilder() to construct. - private NullVolumeStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NullVolumeStatsRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NullVolumeStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NullVolumeStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (handle_ != null) { - subBuilder = handle_.toBuilder(); - } - handle_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(handle_); - handle_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullVolumeStatsRequest.class, opi_api.storage.v1.NullVolumeStatsRequest.Builder.class); - } - - public static final int HANDLE_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey handle_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - @java.lang.Override - public boolean hasHandle() { - return handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getHandle() { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - return getHandle(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (handle_ != null) { - output.writeMessage(1, getHandle()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (handle_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHandle()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.NullVolumeStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.NullVolumeStatsRequest other = (opi_api.storage.v1.NullVolumeStatsRequest) obj; - - if (hasHandle() != other.hasHandle()) return false; - if (hasHandle()) { - if (!getHandle() - .equals(other.getHandle())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasHandle()) { - hash = (37 * hash) + HANDLE_FIELD_NUMBER; - hash = (53 * hash) + getHandle().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NullVolumeStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.NullVolumeStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.NullVolumeStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullVolumeStatsRequest) - opi_api.storage.v1.NullVolumeStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullVolumeStatsRequest.class, opi_api.storage.v1.NullVolumeStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.NullVolumeStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (handleBuilder_ == null) { - handle_ = null; - } else { - handle_ = null; - handleBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NullVolumeStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsRequest build() { - opi_api.storage.v1.NullVolumeStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsRequest buildPartial() { - opi_api.storage.v1.NullVolumeStatsRequest result = new opi_api.storage.v1.NullVolumeStatsRequest(this); - if (handleBuilder_ == null) { - result.handle_ = handle_; - } else { - result.handle_ = handleBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullVolumeStatsRequest) { - return mergeFrom((opi_api.storage.v1.NullVolumeStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NullVolumeStatsRequest other) { - if (other == opi_api.storage.v1.NullVolumeStatsRequest.getDefaultInstance()) return this; - if (other.hasHandle()) { - mergeHandle(other.getHandle()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.NullVolumeStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullVolumeStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey handle_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> handleBuilder_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - public boolean hasHandle() { - return handleBuilder_ != null || handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - public opi_api.common.v1.ObjectKey getHandle() { - if (handleBuilder_ == null) { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } else { - return handleBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - handle_ = value; - onChanged(); - } else { - handleBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (handleBuilder_ == null) { - handle_ = builderForValue.build(); - onChanged(); - } else { - handleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder mergeHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (handle_ != null) { - handle_ = - opi_api.common.v1.ObjectKey.newBuilder(handle_).mergeFrom(value).buildPartial(); - } else { - handle_ = value; - } - onChanged(); - } else { - handleBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder clearHandle() { - if (handleBuilder_ == null) { - handle_ = null; - onChanged(); - } else { - handle_ = null; - handleBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getHandleBuilder() { - - onChanged(); - return getHandleFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - if (handleBuilder_ != null) { - return handleBuilder_.getMessageOrBuilder(); - } else { - return handle_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getHandleFieldBuilder() { - if (handleBuilder_ == null) { - handleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getHandle(), - getParentForChildren(), - isClean()); - handle_ = null; - } - return handleBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullVolumeStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullVolumeStatsRequest) - private static final opi_api.storage.v1.NullVolumeStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullVolumeStatsRequest(); - } - - public static opi_api.storage.v1.NullVolumeStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NullVolumeStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NullVolumeStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsRequestOrBuilder.java deleted file mode 100644 index 18ed61d5..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_null.proto - -package opi_api.storage.v1; - -public interface NullVolumeStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullVolumeStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - boolean hasHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - opi_api.common.v1.ObjectKey getHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsResponse.java deleted file mode 100644 index 24450136..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_null.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.NullVolumeStatsResponse} - */ -public final class NullVolumeStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullVolumeStatsResponse) - NullVolumeStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use NullVolumeStatsResponse.newBuilder() to construct. - private NullVolumeStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NullVolumeStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NullVolumeStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NullVolumeStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (handle_ != null) { - subBuilder = handle_.toBuilder(); - } - handle_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(handle_); - handle_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullVolumeStatsResponse.class, opi_api.storage.v1.NullVolumeStatsResponse.Builder.class); - } - - public static final int HANDLE_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey handle_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - @java.lang.Override - public boolean hasHandle() { - return handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getHandle() { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - return getHandle(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (handle_ != null) { - output.writeMessage(1, getHandle()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (handle_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHandle()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.NullVolumeStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.NullVolumeStatsResponse other = (opi_api.storage.v1.NullVolumeStatsResponse) obj; - - if (hasHandle() != other.hasHandle()) return false; - if (hasHandle()) { - if (!getHandle() - .equals(other.getHandle())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasHandle()) { - hash = (37 * hash) + HANDLE_FIELD_NUMBER; - hash = (53 * hash) + getHandle().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NullVolumeStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.NullVolumeStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.NullVolumeStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullVolumeStatsResponse) - opi_api.storage.v1.NullVolumeStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullVolumeStatsResponse.class, opi_api.storage.v1.NullVolumeStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.NullVolumeStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (handleBuilder_ == null) { - handle_ = null; - } else { - handle_ = null; - handleBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullVolumeStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NullVolumeStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsResponse build() { - opi_api.storage.v1.NullVolumeStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsResponse buildPartial() { - opi_api.storage.v1.NullVolumeStatsResponse result = new opi_api.storage.v1.NullVolumeStatsResponse(this); - if (handleBuilder_ == null) { - result.handle_ = handle_; - } else { - result.handle_ = handleBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullVolumeStatsResponse) { - return mergeFrom((opi_api.storage.v1.NullVolumeStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NullVolumeStatsResponse other) { - if (other == opi_api.storage.v1.NullVolumeStatsResponse.getDefaultInstance()) return this; - if (other.hasHandle()) { - mergeHandle(other.getHandle()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.NullVolumeStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullVolumeStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey handle_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> handleBuilder_; - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - public boolean hasHandle() { - return handleBuilder_ != null || handle_ != null; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - public opi_api.common.v1.ObjectKey getHandle() { - if (handleBuilder_ == null) { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } else { - return handleBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - handle_ = value; - onChanged(); - } else { - handleBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder setHandle( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (handleBuilder_ == null) { - handle_ = builderForValue.build(); - onChanged(); - } else { - handleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder mergeHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (handle_ != null) { - handle_ = - opi_api.common.v1.ObjectKey.newBuilder(handle_).mergeFrom(value).buildPartial(); - } else { - handle_ = value; - } - onChanged(); - } else { - handleBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public Builder clearHandle() { - if (handleBuilder_ == null) { - handle_ = null; - onChanged(); - } else { - handle_ = null; - handleBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getHandleBuilder() { - - onChanged(); - return getHandleFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - if (handleBuilder_ != null) { - return handleBuilder_.getMessageOrBuilder(); - } else { - return handle_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; - } - } - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getHandleFieldBuilder() { - if (handleBuilder_ == null) { - handleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getHandle(), - getParentForChildren(), - isClean()); - handle_ = null; - } - return handleBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullVolumeStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullVolumeStatsResponse) - private static final opi_api.storage.v1.NullVolumeStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullVolumeStatsResponse(); - } - - public static opi_api.storage.v1.NullVolumeStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NullVolumeStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NullVolumeStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.NullVolumeStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsResponseOrBuilder.java deleted file mode 100644 index 640d8a3f..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullVolumeStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_null.proto - -package opi_api.storage.v1; - -public interface NullVolumeStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullVolumeStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - boolean hasHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - opi_api.common.v1.ObjectKey getHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeController.java index e756049c..445c4b32 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeController.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeController.java @@ -122,7 +122,7 @@ private NvmeController( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -145,7 +145,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -609,7 +609,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -631,7 +631,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -654,7 +654,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -675,7 +675,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -691,7 +691,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerOrBuilder.java index b96b91a2..f1e7095e 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerOrBuilder.java @@ -14,7 +14,7 @@ public interface NvmeControllerOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface NvmeControllerOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpec.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpec.java index 792274d6..618de2a4 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpec.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpec.java @@ -179,7 +179,7 @@ public int getNvmeControllerId() { * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The subsystemNameRef. */ @java.lang.Override @@ -200,7 +200,7 @@ public java.lang.String getSubsystemNameRef() { * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for subsystemNameRef. */ @java.lang.Override @@ -958,7 +958,7 @@ public Builder clearNvmeControllerId() { * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The subsystemNameRef. */ public java.lang.String getSubsystemNameRef() { @@ -978,7 +978,7 @@ public java.lang.String getSubsystemNameRef() { * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for subsystemNameRef. */ public com.google.protobuf.ByteString @@ -999,7 +999,7 @@ public java.lang.String getSubsystemNameRef() { * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The subsystemNameRef to set. * @return This builder for chaining. */ @@ -1018,7 +1018,7 @@ public Builder setSubsystemNameRef( * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSubsystemNameRef() { @@ -1032,7 +1032,7 @@ public Builder clearSubsystemNameRef() { * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for subsystemNameRef to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpecOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpecOrBuilder.java index 72b0ad38..57aa3906 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpecOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerSpecOrBuilder.java @@ -23,7 +23,7 @@ public interface NvmeControllerSpecOrBuilder extends * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The subsystemNameRef. */ java.lang.String getSubsystemNameRef(); @@ -32,7 +32,7 @@ public interface NvmeControllerSpecOrBuilder extends * subsystem information * * - * string subsystem_name_ref = 2; + * string subsystem_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for subsystemNameRef. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsResponseOrBuilder.java deleted file mode 100644 index d4f3d2c3..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsResponseOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_nvme_pcie.proto - -package opi_api.storage.v1; - -public interface NvmeControllerStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeControllerStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespace.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespace.java index 65f9f5c0..61b36e39 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespace.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespace.java @@ -122,7 +122,7 @@ private NvmeNamespace( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -145,7 +145,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -609,7 +609,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -631,7 +631,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -654,7 +654,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -675,7 +675,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -691,7 +691,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceOrBuilder.java index 82d2bfb8..4a1f33e9 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceOrBuilder.java @@ -14,7 +14,7 @@ public interface NvmeNamespaceOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface NvmeNamespaceOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpec.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpec.java index 3a0bb8be..3159f6c8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpec.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpec.java @@ -131,7 +131,7 @@ private NvmeNamespaceSpec( * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The subsystemNameRef. */ @java.lang.Override @@ -152,7 +152,7 @@ public java.lang.String getSubsystemNameRef() { * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for subsystemNameRef. */ @java.lang.Override @@ -295,7 +295,7 @@ public opi_api.common.v1.UuidOrBuilder getUuidOrBuilder() { * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The volumeNameRef. */ @java.lang.Override @@ -316,7 +316,7 @@ public java.lang.String getVolumeNameRef() { * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for volumeNameRef. */ @java.lang.Override @@ -741,7 +741,7 @@ public Builder mergeFrom( * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The subsystemNameRef. */ public java.lang.String getSubsystemNameRef() { @@ -761,7 +761,7 @@ public java.lang.String getSubsystemNameRef() { * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for subsystemNameRef. */ public com.google.protobuf.ByteString @@ -782,7 +782,7 @@ public java.lang.String getSubsystemNameRef() { * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The subsystemNameRef to set. * @return This builder for chaining. */ @@ -801,7 +801,7 @@ public Builder setSubsystemNameRef( * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSubsystemNameRef() { @@ -815,7 +815,7 @@ public Builder clearSubsystemNameRef() { * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for subsystemNameRef to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public opi_api.common.v1.UuidOrBuilder getUuidOrBuilder() { * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The volumeNameRef. */ public java.lang.String getVolumeNameRef() { @@ -1206,7 +1206,7 @@ public java.lang.String getVolumeNameRef() { * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for volumeNameRef. */ public com.google.protobuf.ByteString @@ -1227,7 +1227,7 @@ public java.lang.String getVolumeNameRef() { * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @param value The volumeNameRef to set. * @return This builder for chaining. */ @@ -1246,7 +1246,7 @@ public Builder setVolumeNameRef( * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearVolumeNameRef() { @@ -1260,7 +1260,7 @@ public Builder clearVolumeNameRef() { * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for volumeNameRef to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpecOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpecOrBuilder.java index 2fd1a21e..4bae7a1a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpecOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceSpecOrBuilder.java @@ -12,7 +12,7 @@ public interface NvmeNamespaceSpecOrBuilder extends * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The subsystemNameRef. */ java.lang.String getSubsystemNameRef(); @@ -21,7 +21,7 @@ public interface NvmeNamespaceSpecOrBuilder extends * subsystem for this namespace * * - * string subsystem_name_ref = 1; + * string subsystem_name_ref = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for subsystemNameRef. */ com.google.protobuf.ByteString @@ -103,7 +103,7 @@ public interface NvmeNamespaceSpecOrBuilder extends * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The volumeNameRef. */ java.lang.String getVolumeNameRef(); @@ -112,7 +112,7 @@ public interface NvmeNamespaceSpecOrBuilder extends * The back/middle-end volume to back this namespace. * * - * string volume_name_ref = 6; + * string volume_name_ref = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for volumeNameRef. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsResponseOrBuilder.java deleted file mode 100644 index 2317e2e4..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsResponseOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_nvme_pcie.proto - -package opi_api.storage.v1; - -public interface NvmeNamespaceStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeNamespaceStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java index c563d29b..571654d8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java @@ -150,10 +150,12 @@ private NvmePath( private volatile java.lang.Object name_; /** *
+   * 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) = { ... } * @return The name. */ @java.lang.Override @@ -171,10 +173,12 @@ public java.lang.String getName() { } /** *
+   * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -195,7 +199,7 @@ public java.lang.String getName() { public static final int CONTROLLER_NAME_REF_FIELD_NUMBER = 2; private volatile java.lang.Object controllerNameRef_; /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The controllerNameRef. */ @java.lang.Override @@ -212,7 +216,7 @@ public java.lang.String getControllerNameRef() { } } /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for controllerNameRef. */ @java.lang.Override @@ -940,10 +944,12 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** *
+     * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -960,10 +966,12 @@ public java.lang.String getName() { } /** *
+     * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -981,10 +989,12 @@ public java.lang.String getName() { } /** *
+     * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -1000,10 +1010,12 @@ public Builder setName( } /** *
+     * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1014,10 +1026,12 @@ public Builder clearName() { } /** *
+     * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -1035,7 +1049,7 @@ public Builder setNameBytes( private java.lang.Object controllerNameRef_ = ""; /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The controllerNameRef. */ public java.lang.String getControllerNameRef() { @@ -1051,7 +1065,7 @@ public java.lang.String getControllerNameRef() { } } /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for controllerNameRef. */ public com.google.protobuf.ByteString @@ -1068,7 +1082,7 @@ public java.lang.String getControllerNameRef() { } } /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The controllerNameRef to set. * @return This builder for chaining. */ @@ -1083,7 +1097,7 @@ public Builder setControllerNameRef( return this; } /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearControllerNameRef() { @@ -1093,7 +1107,7 @@ public Builder clearControllerNameRef() { return this; } /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for controllerNameRef to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java index e25e34ea..27a9b505 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java @@ -9,31 +9,35 @@ public interface NvmePathOrBuilder extends /** *
+   * 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) = { ... } * @return The name. */ java.lang.String getName(); /** *
+   * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The controllerNameRef. */ java.lang.String getControllerNameRef(); /** - * string controller_name_ref = 2; + * string controller_name_ref = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for controllerNameRef. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java index f333a3ab..1e75d3be 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java @@ -129,7 +129,7 @@ private NvmeRemoteController( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -152,7 +152,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -671,7 +671,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -693,7 +693,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -716,7 +716,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -753,7 +753,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java index 43631a6b..533e6608 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java @@ -14,7 +14,7 @@ public interface NvmeRemoteControllerOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface NvmeRemoteControllerOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerServiceGrpc.java index 82124a33..2902f482 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerServiceGrpc.java @@ -173,66 +173,66 @@ opi_api.storage.v1.NvmeRemoteController> getGetNvmeRemoteControllerMethod() { return getGetNvmeRemoteControllerMethod; } - private static volatile io.grpc.MethodDescriptor getNvmeRemoteControllerResetMethod; + private static volatile io.grpc.MethodDescriptor getResetNvmeRemoteControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NvmeRemoteControllerReset", - requestType = opi_api.storage.v1.NvmeRemoteControllerResetRequest.class, + fullMethodName = SERVICE_NAME + '/' + "ResetNvmeRemoteController", + requestType = opi_api.storage.v1.ResetNvmeRemoteControllerRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNvmeRemoteControllerResetMethod() { - io.grpc.MethodDescriptor getNvmeRemoteControllerResetMethod; - if ((getNvmeRemoteControllerResetMethod = NvmeRemoteControllerServiceGrpc.getNvmeRemoteControllerResetMethod) == null) { + public static io.grpc.MethodDescriptor getResetNvmeRemoteControllerMethod() { + io.grpc.MethodDescriptor getResetNvmeRemoteControllerMethod; + if ((getResetNvmeRemoteControllerMethod = NvmeRemoteControllerServiceGrpc.getResetNvmeRemoteControllerMethod) == null) { synchronized (NvmeRemoteControllerServiceGrpc.class) { - if ((getNvmeRemoteControllerResetMethod = NvmeRemoteControllerServiceGrpc.getNvmeRemoteControllerResetMethod) == null) { - NvmeRemoteControllerServiceGrpc.getNvmeRemoteControllerResetMethod = getNvmeRemoteControllerResetMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getResetNvmeRemoteControllerMethod = NvmeRemoteControllerServiceGrpc.getResetNvmeRemoteControllerMethod) == null) { + NvmeRemoteControllerServiceGrpc.getResetNvmeRemoteControllerMethod = getResetNvmeRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NvmeRemoteControllerReset")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetNvmeRemoteController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NvmeRemoteControllerResetRequest.getDefaultInstance())) + opi_api.storage.v1.ResetNvmeRemoteControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new NvmeRemoteControllerServiceMethodDescriptorSupplier("NvmeRemoteControllerReset")) + .setSchemaDescriptor(new NvmeRemoteControllerServiceMethodDescriptorSupplier("ResetNvmeRemoteController")) .build(); } } } - return getNvmeRemoteControllerResetMethod; + return getResetNvmeRemoteControllerMethod; } - private static volatile io.grpc.MethodDescriptor getNvmeRemoteControllerStatsMethod; + private static volatile io.grpc.MethodDescriptor getStatsNvmeRemoteControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NvmeRemoteControllerStats", - requestType = opi_api.storage.v1.NvmeRemoteControllerStatsRequest.class, - responseType = opi_api.storage.v1.NvmeRemoteControllerStatsResponse.class, + fullMethodName = SERVICE_NAME + '/' + "StatsNvmeRemoteController", + requestType = opi_api.storage.v1.StatsNvmeRemoteControllerRequest.class, + responseType = opi_api.storage.v1.StatsNvmeRemoteControllerResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNvmeRemoteControllerStatsMethod() { - io.grpc.MethodDescriptor getNvmeRemoteControllerStatsMethod; - if ((getNvmeRemoteControllerStatsMethod = NvmeRemoteControllerServiceGrpc.getNvmeRemoteControllerStatsMethod) == null) { + public static io.grpc.MethodDescriptor getStatsNvmeRemoteControllerMethod() { + io.grpc.MethodDescriptor getStatsNvmeRemoteControllerMethod; + if ((getStatsNvmeRemoteControllerMethod = NvmeRemoteControllerServiceGrpc.getStatsNvmeRemoteControllerMethod) == null) { synchronized (NvmeRemoteControllerServiceGrpc.class) { - if ((getNvmeRemoteControllerStatsMethod = NvmeRemoteControllerServiceGrpc.getNvmeRemoteControllerStatsMethod) == null) { - NvmeRemoteControllerServiceGrpc.getNvmeRemoteControllerStatsMethod = getNvmeRemoteControllerStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getStatsNvmeRemoteControllerMethod = NvmeRemoteControllerServiceGrpc.getStatsNvmeRemoteControllerMethod) == null) { + NvmeRemoteControllerServiceGrpc.getStatsNvmeRemoteControllerMethod = getStatsNvmeRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NvmeRemoteControllerStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsNvmeRemoteController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NvmeRemoteControllerStatsRequest.getDefaultInstance())) + opi_api.storage.v1.StatsNvmeRemoteControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NvmeRemoteControllerStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new NvmeRemoteControllerServiceMethodDescriptorSupplier("NvmeRemoteControllerStats")) + opi_api.storage.v1.StatsNvmeRemoteControllerResponse.getDefaultInstance())) + .setSchemaDescriptor(new NvmeRemoteControllerServiceMethodDescriptorSupplier("StatsNvmeRemoteController")) .build(); } } } - return getNvmeRemoteControllerStatsMethod; + return getStatsNvmeRemoteControllerMethod; } private static volatile io.grpc.MethodDescriptor getGetNvmePathMethod() { return getGetNvmePathMethod; } - private static volatile io.grpc.MethodDescriptor getNvmePathStatsMethod; + private static volatile io.grpc.MethodDescriptor getStatsNvmePathMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NvmePathStats", - requestType = opi_api.storage.v1.NvmePathStatsRequest.class, - responseType = opi_api.storage.v1.NvmePathStatsResponse.class, + fullMethodName = SERVICE_NAME + '/' + "StatsNvmePath", + requestType = opi_api.storage.v1.StatsNvmePathRequest.class, + responseType = opi_api.storage.v1.StatsNvmePathResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNvmePathStatsMethod() { - io.grpc.MethodDescriptor getNvmePathStatsMethod; - if ((getNvmePathStatsMethod = NvmeRemoteControllerServiceGrpc.getNvmePathStatsMethod) == null) { + public static io.grpc.MethodDescriptor getStatsNvmePathMethod() { + io.grpc.MethodDescriptor getStatsNvmePathMethod; + if ((getStatsNvmePathMethod = NvmeRemoteControllerServiceGrpc.getStatsNvmePathMethod) == null) { synchronized (NvmeRemoteControllerServiceGrpc.class) { - if ((getNvmePathStatsMethod = NvmeRemoteControllerServiceGrpc.getNvmePathStatsMethod) == null) { - NvmeRemoteControllerServiceGrpc.getNvmePathStatsMethod = getNvmePathStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getStatsNvmePathMethod = NvmeRemoteControllerServiceGrpc.getStatsNvmePathMethod) == null) { + NvmeRemoteControllerServiceGrpc.getStatsNvmePathMethod = getStatsNvmePathMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NvmePathStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StatsNvmePath")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NvmePathStatsRequest.getDefaultInstance())) + opi_api.storage.v1.StatsNvmePathRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NvmePathStatsResponse.getDefaultInstance())) - .setSchemaDescriptor(new NvmeRemoteControllerServiceMethodDescriptorSupplier("NvmePathStats")) + opi_api.storage.v1.StatsNvmePathResponse.getDefaultInstance())) + .setSchemaDescriptor(new NvmeRemoteControllerServiceMethodDescriptorSupplier("StatsNvmePath")) .build(); } } } - return getNvmePathStatsMethod; + return getStatsNvmePathMethod; } /** @@ -540,16 +540,16 @@ public void getNvmeRemoteController(opi_api.storage.v1.GetNvmeRemoteControllerRe /** */ - public void nvmeRemoteControllerReset(opi_api.storage.v1.NvmeRemoteControllerResetRequest request, + public void resetNvmeRemoteController(opi_api.storage.v1.ResetNvmeRemoteControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNvmeRemoteControllerResetMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetNvmeRemoteControllerMethod(), responseObserver); } /** */ - public void nvmeRemoteControllerStats(opi_api.storage.v1.NvmeRemoteControllerStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNvmeRemoteControllerStatsMethod(), responseObserver); + public void statsNvmeRemoteController(opi_api.storage.v1.StatsNvmeRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsNvmeRemoteControllerMethod(), responseObserver); } /** @@ -596,9 +596,9 @@ public void getNvmePath(opi_api.storage.v1.GetNvmePathRequest request, /** */ - public void nvmePathStats(opi_api.storage.v1.NvmePathStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNvmePathStatsMethod(), responseObserver); + public void statsNvmePath(opi_api.storage.v1.StatsNvmePathRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStatsNvmePathMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { @@ -639,19 +639,19 @@ public void nvmePathStats(opi_api.storage.v1.NvmePathStatsRequest request, opi_api.storage.v1.NvmeRemoteController>( this, METHODID_GET_NVME_REMOTE_CONTROLLER))) .addMethod( - getNvmeRemoteControllerResetMethod(), + getResetNvmeRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NvmeRemoteControllerResetRequest, + opi_api.storage.v1.ResetNvmeRemoteControllerRequest, com.google.protobuf.Empty>( - this, METHODID_NVME_REMOTE_CONTROLLER_RESET))) + this, METHODID_RESET_NVME_REMOTE_CONTROLLER))) .addMethod( - getNvmeRemoteControllerStatsMethod(), + getStatsNvmeRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NvmeRemoteControllerStatsRequest, - opi_api.storage.v1.NvmeRemoteControllerStatsResponse>( - this, METHODID_NVME_REMOTE_CONTROLLER_STATS))) + opi_api.storage.v1.StatsNvmeRemoteControllerRequest, + opi_api.storage.v1.StatsNvmeRemoteControllerResponse>( + this, METHODID_STATS_NVME_REMOTE_CONTROLLER))) .addMethod( getListNvmeRemoteNamespacesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -695,12 +695,12 @@ public void nvmePathStats(opi_api.storage.v1.NvmePathStatsRequest request, opi_api.storage.v1.NvmePath>( this, METHODID_GET_NVME_PATH))) .addMethod( - getNvmePathStatsMethod(), + getStatsNvmePathMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NvmePathStatsRequest, - opi_api.storage.v1.NvmePathStatsResponse>( - this, METHODID_NVME_PATH_STATS))) + opi_api.storage.v1.StatsNvmePathRequest, + opi_api.storage.v1.StatsNvmePathResponse>( + this, METHODID_STATS_NVME_PATH))) .build(); } } @@ -764,18 +764,18 @@ public void getNvmeRemoteController(opi_api.storage.v1.GetNvmeRemoteControllerRe /** */ - public void nvmeRemoteControllerReset(opi_api.storage.v1.NvmeRemoteControllerResetRequest request, + public void resetNvmeRemoteController(opi_api.storage.v1.ResetNvmeRemoteControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNvmeRemoteControllerResetMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResetNvmeRemoteControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nvmeRemoteControllerStats(opi_api.storage.v1.NvmeRemoteControllerStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void statsNvmeRemoteController(opi_api.storage.v1.StatsNvmeRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNvmeRemoteControllerStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStatsNvmeRemoteControllerMethod(), getCallOptions()), request, responseObserver); } /** @@ -828,10 +828,10 @@ public void getNvmePath(opi_api.storage.v1.GetNvmePathRequest request, /** */ - public void nvmePathStats(opi_api.storage.v1.NvmePathStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void statsNvmePath(opi_api.storage.v1.StatsNvmePathRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNvmePathStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStatsNvmePathMethod(), getCallOptions()), request, responseObserver); } } @@ -889,16 +889,16 @@ public opi_api.storage.v1.NvmeRemoteController getNvmeRemoteController(opi_api.s /** */ - public com.google.protobuf.Empty nvmeRemoteControllerReset(opi_api.storage.v1.NvmeRemoteControllerResetRequest request) { + public com.google.protobuf.Empty resetNvmeRemoteController(opi_api.storage.v1.ResetNvmeRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNvmeRemoteControllerResetMethod(), getCallOptions(), request); + getChannel(), getResetNvmeRemoteControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NvmeRemoteControllerStatsResponse nvmeRemoteControllerStats(opi_api.storage.v1.NvmeRemoteControllerStatsRequest request) { + public opi_api.storage.v1.StatsNvmeRemoteControllerResponse statsNvmeRemoteController(opi_api.storage.v1.StatsNvmeRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNvmeRemoteControllerStatsMethod(), getCallOptions(), request); + getChannel(), getStatsNvmeRemoteControllerMethod(), getCallOptions(), request); } /** @@ -945,9 +945,9 @@ public opi_api.storage.v1.NvmePath getNvmePath(opi_api.storage.v1.GetNvmePathReq /** */ - public opi_api.storage.v1.NvmePathStatsResponse nvmePathStats(opi_api.storage.v1.NvmePathStatsRequest request) { + public opi_api.storage.v1.StatsNvmePathResponse statsNvmePath(opi_api.storage.v1.StatsNvmePathRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNvmePathStatsMethod(), getCallOptions(), request); + getChannel(), getStatsNvmePathMethod(), getCallOptions(), request); } } @@ -1010,18 +1010,18 @@ public com.google.common.util.concurrent.ListenableFuture nvmeRemoteControllerReset( - opi_api.storage.v1.NvmeRemoteControllerResetRequest request) { + public com.google.common.util.concurrent.ListenableFuture resetNvmeRemoteController( + opi_api.storage.v1.ResetNvmeRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNvmeRemoteControllerResetMethod(), getCallOptions()), request); + getChannel().newCall(getResetNvmeRemoteControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nvmeRemoteControllerStats( - opi_api.storage.v1.NvmeRemoteControllerStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture statsNvmeRemoteController( + opi_api.storage.v1.StatsNvmeRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNvmeRemoteControllerStatsMethod(), getCallOptions()), request); + getChannel().newCall(getStatsNvmeRemoteControllerMethod(), getCallOptions()), request); } /** @@ -1074,10 +1074,10 @@ public com.google.common.util.concurrent.ListenableFuture nvmePathStats( - opi_api.storage.v1.NvmePathStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture statsNvmePath( + opi_api.storage.v1.StatsNvmePathRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNvmePathStatsMethod(), getCallOptions()), request); + getChannel().newCall(getStatsNvmePathMethod(), getCallOptions()), request); } } @@ -1086,15 +1086,15 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1133,13 +1133,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getNvmeRemoteController((opi_api.storage.v1.GetNvmeRemoteControllerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVME_REMOTE_CONTROLLER_RESET: - serviceImpl.nvmeRemoteControllerReset((opi_api.storage.v1.NvmeRemoteControllerResetRequest) request, + case METHODID_RESET_NVME_REMOTE_CONTROLLER: + serviceImpl.resetNvmeRemoteController((opi_api.storage.v1.ResetNvmeRemoteControllerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVME_REMOTE_CONTROLLER_STATS: - serviceImpl.nvmeRemoteControllerStats((opi_api.storage.v1.NvmeRemoteControllerStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_STATS_NVME_REMOTE_CONTROLLER: + serviceImpl.statsNvmeRemoteController((opi_api.storage.v1.StatsNvmeRemoteControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_NVME_REMOTE_NAMESPACES: serviceImpl.listNvmeRemoteNamespaces((opi_api.storage.v1.ListNvmeRemoteNamespacesRequest) request, @@ -1165,9 +1165,9 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getNvmePath((opi_api.storage.v1.GetNvmePathRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVME_PATH_STATS: - serviceImpl.nvmePathStats((opi_api.storage.v1.NvmePathStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_STATS_NVME_PATH: + serviceImpl.statsNvmePath((opi_api.storage.v1.StatsNvmePathRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -1235,15 +1235,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateNvmeRemoteControllerMethod()) .addMethod(getListNvmeRemoteControllersMethod()) .addMethod(getGetNvmeRemoteControllerMethod()) - .addMethod(getNvmeRemoteControllerResetMethod()) - .addMethod(getNvmeRemoteControllerStatsMethod()) + .addMethod(getResetNvmeRemoteControllerMethod()) + .addMethod(getStatsNvmeRemoteControllerMethod()) .addMethod(getListNvmeRemoteNamespacesMethod()) .addMethod(getCreateNvmePathMethod()) .addMethod(getDeleteNvmePathMethod()) .addMethod(getUpdateNvmePathMethod()) .addMethod(getListNvmePathsMethod()) .addMethod(getGetNvmePathMethod()) - .addMethod(getNvmePathStatsMethod()) + .addMethod(getStatsNvmePathMethod()) .build(); } } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespace.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespace.java index 59146068..5144cb8d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespace.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespace.java @@ -128,10 +128,12 @@ private NvmeRemoteNamespace( private volatile java.lang.Object name_; /** *
+   * 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) = { ... } * @return The name. */ @java.lang.Override @@ -149,10 +151,12 @@ public java.lang.String getName() { } /** *
+   * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -177,7 +181,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The controllerNameRef. */ @java.lang.Override @@ -198,7 +202,7 @@ public java.lang.String getControllerNameRef() { * 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) = { ... } * @return The bytes for controllerNameRef. */ @java.lang.Override @@ -735,10 +739,12 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** *
+     * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -755,10 +761,12 @@ public java.lang.String getName() { } /** *
+     * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -776,10 +784,12 @@ public java.lang.String getName() { } /** *
+     * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -795,10 +805,12 @@ public Builder setName( } /** *
+     * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -809,10 +821,12 @@ public Builder clearName() { } /** *
+     * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -834,7 +848,7 @@ public Builder setNameBytes( * 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) = { ... } * @return The controllerNameRef. */ public java.lang.String getControllerNameRef() { @@ -854,7 +868,7 @@ public java.lang.String getControllerNameRef() { * 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) = { ... } * @return The bytes for controllerNameRef. */ public com.google.protobuf.ByteString @@ -875,7 +889,7 @@ public java.lang.String getControllerNameRef() { * 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) = { ... } * @param value The controllerNameRef to set. * @return This builder for chaining. */ @@ -894,7 +908,7 @@ public Builder setControllerNameRef( * 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) = { ... } * @return This builder for chaining. */ public Builder clearControllerNameRef() { @@ -908,7 +922,7 @@ public Builder clearControllerNameRef() { * 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) = { ... } * @param value The bytes for controllerNameRef to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespaceOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespaceOrBuilder.java index 46937be3..fd2f397f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespaceOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteNamespaceOrBuilder.java @@ -9,19 +9,23 @@ public interface NvmeRemoteNamespaceOrBuilder extends /** *
+   * 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) = { ... } * @return The name. */ java.lang.String getName(); /** *
+   * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString @@ -32,7 +36,7 @@ public interface NvmeRemoteNamespaceOrBuilder extends * 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) = { ... } * @return The controllerNameRef. */ java.lang.String getControllerNameRef(); @@ -41,7 +45,7 @@ public interface NvmeRemoteNamespaceOrBuilder extends * 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) = { ... } * @return The bytes for controllerNameRef. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystem.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystem.java index b330db60..62b1a488 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystem.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystem.java @@ -122,7 +122,7 @@ private NvmeSubsystem( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -145,7 +145,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -609,7 +609,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -631,7 +631,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -654,7 +654,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -675,7 +675,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -691,7 +691,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemOrBuilder.java index 0e2b3d60..70c4b5a9 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemOrBuilder.java @@ -14,7 +14,7 @@ public interface NvmeSubsystemOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface NvmeSubsystemOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsRequest.java deleted file mode 100644 index f3f6bda9..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsRequest.java +++ /dev/null @@ -1,557 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_nvme_pcie.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.NvmeSubsystemStatsRequest} - */ -public final class NvmeSubsystemStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeSubsystemStatsRequest) - NvmeSubsystemStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use NvmeSubsystemStatsRequest.newBuilder() to construct. - private NvmeSubsystemStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NvmeSubsystemStatsRequest() { - subsystemNameRef_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NvmeSubsystemStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NvmeSubsystemStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - subsystemNameRef_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeSubsystemStatsRequest.class, opi_api.storage.v1.NvmeSubsystemStatsRequest.Builder.class); - } - - public static final int SUBSYSTEM_NAME_REF_FIELD_NUMBER = 1; - private volatile java.lang.Object subsystemNameRef_; - /** - * string subsystem_name_ref = 1; - * @return The subsystemNameRef. - */ - @java.lang.Override - public java.lang.String getSubsystemNameRef() { - java.lang.Object ref = subsystemNameRef_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subsystemNameRef_ = s; - return s; - } - } - /** - * string subsystem_name_ref = 1; - * @return The bytes for subsystemNameRef. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getSubsystemNameRefBytes() { - java.lang.Object ref = subsystemNameRef_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subsystemNameRef_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subsystemNameRef_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subsystemNameRef_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subsystemNameRef_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subsystemNameRef_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.NvmeSubsystemStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.NvmeSubsystemStatsRequest other = (opi_api.storage.v1.NvmeSubsystemStatsRequest) obj; - - if (!getSubsystemNameRef() - .equals(other.getSubsystemNameRef())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUBSYSTEM_NAME_REF_FIELD_NUMBER; - hash = (53 * hash) + getSubsystemNameRef().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NvmeSubsystemStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.NvmeSubsystemStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.NvmeSubsystemStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeSubsystemStatsRequest) - opi_api.storage.v1.NvmeSubsystemStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeSubsystemStatsRequest.class, opi_api.storage.v1.NvmeSubsystemStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.NvmeSubsystemStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - subsystemNameRef_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeSubsystemStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsRequest build() { - opi_api.storage.v1.NvmeSubsystemStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsRequest buildPartial() { - opi_api.storage.v1.NvmeSubsystemStatsRequest result = new opi_api.storage.v1.NvmeSubsystemStatsRequest(this); - result.subsystemNameRef_ = subsystemNameRef_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeSubsystemStatsRequest) { - return mergeFrom((opi_api.storage.v1.NvmeSubsystemStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NvmeSubsystemStatsRequest other) { - if (other == opi_api.storage.v1.NvmeSubsystemStatsRequest.getDefaultInstance()) return this; - if (!other.getSubsystemNameRef().isEmpty()) { - subsystemNameRef_ = other.subsystemNameRef_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.NvmeSubsystemStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeSubsystemStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object subsystemNameRef_ = ""; - /** - * string subsystem_name_ref = 1; - * @return The subsystemNameRef. - */ - public java.lang.String getSubsystemNameRef() { - java.lang.Object ref = subsystemNameRef_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subsystemNameRef_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string subsystem_name_ref = 1; - * @return The bytes for subsystemNameRef. - */ - public com.google.protobuf.ByteString - getSubsystemNameRefBytes() { - java.lang.Object ref = subsystemNameRef_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subsystemNameRef_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string subsystem_name_ref = 1; - * @param value The subsystemNameRef to set. - * @return This builder for chaining. - */ - public Builder setSubsystemNameRef( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - subsystemNameRef_ = value; - onChanged(); - return this; - } - /** - * string subsystem_name_ref = 1; - * @return This builder for chaining. - */ - public Builder clearSubsystemNameRef() { - - subsystemNameRef_ = getDefaultInstance().getSubsystemNameRef(); - onChanged(); - return this; - } - /** - * string subsystem_name_ref = 1; - * @param value The bytes for subsystemNameRef to set. - * @return This builder for chaining. - */ - public Builder setSubsystemNameRefBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - subsystemNameRef_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeSubsystemStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeSubsystemStatsRequest) - private static final opi_api.storage.v1.NvmeSubsystemStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeSubsystemStatsRequest(); - } - - public static opi_api.storage.v1.NvmeSubsystemStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NvmeSubsystemStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeSubsystemStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsRequestOrBuilder.java deleted file mode 100644 index d85f2264..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsRequestOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_nvme_pcie.proto - -package opi_api.storage.v1; - -public interface NvmeSubsystemStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeSubsystemStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * string subsystem_name_ref = 1; - * @return The subsystemNameRef. - */ - java.lang.String getSubsystemNameRef(); - /** - * string subsystem_name_ref = 1; - * @return The bytes for subsystemNameRef. - */ - com.google.protobuf.ByteString - getSubsystemNameRefBytes(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolume.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolume.java index 81a5c19d..ff210e2b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolume.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolume.java @@ -135,7 +135,7 @@ private QosVolume( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -158,7 +158,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -666,7 +666,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -688,7 +688,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -711,7 +711,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -732,7 +732,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -748,7 +748,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeOrBuilder.java index ef5bb32e..762efbc7 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeOrBuilder.java @@ -14,7 +14,7 @@ public interface QosVolumeOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface QosVolumeOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsRequest.java deleted file mode 100644 index 0d128ae8..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsRequest.java +++ /dev/null @@ -1,607 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: middleend_qos_volume.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.QosVolumeStatsRequest} - */ -public final class QosVolumeStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.QosVolumeStatsRequest) - QosVolumeStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use QosVolumeStatsRequest.newBuilder() to construct. - private QosVolumeStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private QosVolumeStatsRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new QosVolumeStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private QosVolumeStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (volumeId_ != null) { - subBuilder = volumeId_.toBuilder(); - } - volumeId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(volumeId_); - volumeId_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.QosVolumeStatsRequest.class, opi_api.storage.v1.QosVolumeStatsRequest.Builder.class); - } - - public static final int VOLUME_ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey volumeId_; - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - * @return Whether the volumeId field is set. - */ - @java.lang.Override - public boolean hasVolumeId() { - return volumeId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - * @return The volumeId. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getVolumeId() { - return volumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder() { - return getVolumeId(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (volumeId_ != null) { - output.writeMessage(1, getVolumeId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (volumeId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getVolumeId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.QosVolumeStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.QosVolumeStatsRequest other = (opi_api.storage.v1.QosVolumeStatsRequest) obj; - - if (hasVolumeId() != other.hasVolumeId()) return false; - if (hasVolumeId()) { - if (!getVolumeId() - .equals(other.getVolumeId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasVolumeId()) { - hash = (37 * hash) + VOLUME_ID_FIELD_NUMBER; - hash = (53 * hash) + getVolumeId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.QosVolumeStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.QosVolumeStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.QosVolumeStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.QosVolumeStatsRequest) - opi_api.storage.v1.QosVolumeStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.QosVolumeStatsRequest.class, opi_api.storage.v1.QosVolumeStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.QosVolumeStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (volumeIdBuilder_ == null) { - volumeId_ = null; - } else { - volumeId_ = null; - volumeIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.QosVolumeStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsRequest build() { - opi_api.storage.v1.QosVolumeStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsRequest buildPartial() { - opi_api.storage.v1.QosVolumeStatsRequest result = new opi_api.storage.v1.QosVolumeStatsRequest(this); - if (volumeIdBuilder_ == null) { - result.volumeId_ = volumeId_; - } else { - result.volumeId_ = volumeIdBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.QosVolumeStatsRequest) { - return mergeFrom((opi_api.storage.v1.QosVolumeStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.QosVolumeStatsRequest other) { - if (other == opi_api.storage.v1.QosVolumeStatsRequest.getDefaultInstance()) return this; - if (other.hasVolumeId()) { - mergeVolumeId(other.getVolumeId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.QosVolumeStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.QosVolumeStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey volumeId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> volumeIdBuilder_; - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - * @return Whether the volumeId field is set. - */ - public boolean hasVolumeId() { - return volumeIdBuilder_ != null || volumeId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - * @return The volumeId. - */ - public opi_api.common.v1.ObjectKey getVolumeId() { - if (volumeIdBuilder_ == null) { - return volumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } else { - return volumeIdBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - public Builder setVolumeId(opi_api.common.v1.ObjectKey value) { - if (volumeIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - volumeId_ = value; - onChanged(); - } else { - volumeIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - public Builder setVolumeId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (volumeIdBuilder_ == null) { - volumeId_ = builderForValue.build(); - onChanged(); - } else { - volumeIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - public Builder mergeVolumeId(opi_api.common.v1.ObjectKey value) { - if (volumeIdBuilder_ == null) { - if (volumeId_ != null) { - volumeId_ = - opi_api.common.v1.ObjectKey.newBuilder(volumeId_).mergeFrom(value).buildPartial(); - } else { - volumeId_ = value; - } - onChanged(); - } else { - volumeIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - public Builder clearVolumeId() { - if (volumeIdBuilder_ == null) { - volumeId_ = null; - onChanged(); - } else { - volumeId_ = null; - volumeIdBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getVolumeIdBuilder() { - - onChanged(); - return getVolumeIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder() { - if (volumeIdBuilder_ != null) { - return volumeIdBuilder_.getMessageOrBuilder(); - } else { - return volumeId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } - } - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getVolumeIdFieldBuilder() { - if (volumeIdBuilder_ == null) { - volumeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getVolumeId(), - getParentForChildren(), - isClean()); - volumeId_ = null; - } - return volumeIdBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.QosVolumeStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.QosVolumeStatsRequest) - private static final opi_api.storage.v1.QosVolumeStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.QosVolumeStatsRequest(); - } - - public static opi_api.storage.v1.QosVolumeStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QosVolumeStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QosVolumeStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsRequestOrBuilder.java deleted file mode 100644 index e32a21cc..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: middleend_qos_volume.proto - -package opi_api.storage.v1; - -public interface QosVolumeStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.QosVolumeStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - * @return Whether the volumeId field is set. - */ - boolean hasVolumeId(); - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - * @return The volumeId. - */ - opi_api.common.v1.ObjectKey getVolumeId(); - /** - * .opi_api.common.v1.ObjectKey volume_id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsResponse.java deleted file mode 100644 index a0d56493..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: middleend_qos_volume.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.QosVolumeStatsResponse} - */ -public final class QosVolumeStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.QosVolumeStatsResponse) - QosVolumeStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use QosVolumeStatsResponse.newBuilder() to construct. - private QosVolumeStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private QosVolumeStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new QosVolumeStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private QosVolumeStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.QosVolumeStatsResponse.class, opi_api.storage.v1.QosVolumeStatsResponse.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey id_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getId() { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.QosVolumeStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.QosVolumeStatsResponse other = (opi_api.storage.v1.QosVolumeStatsResponse) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.QosVolumeStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.QosVolumeStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.QosVolumeStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.QosVolumeStatsResponse) - opi_api.storage.v1.QosVolumeStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.QosVolumeStatsResponse.class, opi_api.storage.v1.QosVolumeStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.QosVolumeStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_QosVolumeStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.QosVolumeStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsResponse build() { - opi_api.storage.v1.QosVolumeStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsResponse buildPartial() { - opi_api.storage.v1.QosVolumeStatsResponse result = new opi_api.storage.v1.QosVolumeStatsResponse(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.QosVolumeStatsResponse) { - return mergeFrom((opi_api.storage.v1.QosVolumeStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.QosVolumeStatsResponse other) { - if (other == opi_api.storage.v1.QosVolumeStatsResponse.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.QosVolumeStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.QosVolumeStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey id_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - public opi_api.common.v1.ObjectKey getId() { - if (idBuilder_ == null) { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder mergeId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.QosVolumeStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.QosVolumeStatsResponse) - private static final opi_api.storage.v1.QosVolumeStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.QosVolumeStatsResponse(); - } - - public static opi_api.storage.v1.QosVolumeStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QosVolumeStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QosVolumeStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.QosVolumeStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsResponseOrBuilder.java deleted file mode 100644 index 020f19cb..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/QosVolumeStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: middleend_qos_volume.proto - -package opi_api.storage.v1; - -public interface QosVolumeStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.QosVolumeStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - opi_api.common.v1.ObjectKey getId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerResetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ResetNvmeRemoteControllerRequest.java similarity index 74% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerResetRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ResetNvmeRemoteControllerRequest.java index d01ecf56..dfe76f4e 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerResetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ResetNvmeRemoteControllerRequest.java @@ -4,18 +4,18 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeRemoteControllerResetRequest} + * Protobuf type {@code opi_api.storage.v1.ResetNvmeRemoteControllerRequest} */ -public final class NvmeRemoteControllerResetRequest extends +public final class ResetNvmeRemoteControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeRemoteControllerResetRequest) - NvmeRemoteControllerResetRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) + ResetNvmeRemoteControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeRemoteControllerResetRequest.newBuilder() to construct. - private NvmeRemoteControllerResetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ResetNvmeRemoteControllerRequest.newBuilder() to construct. + private ResetNvmeRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeRemoteControllerResetRequest() { + private ResetNvmeRemoteControllerRequest() { name_ = ""; } @@ -23,7 +23,7 @@ private NvmeRemoteControllerResetRequest() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeRemoteControllerResetRequest(); + return new ResetNvmeRemoteControllerRequest(); } @java.lang.Override @@ -31,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeRemoteControllerResetRequest( + private ResetNvmeRemoteControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -76,25 +76,21 @@ private NvmeRemoteControllerResetRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeRemoteControllerResetRequest.class, opi_api.storage.v1.NvmeRemoteControllerResetRequest.Builder.class); + opi_api.storage.v1.ResetNvmeRemoteControllerRequest.class, opi_api.storage.v1.ResetNvmeRemoteControllerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -111,11 +107,7 @@ public java.lang.String getName() { } } /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -172,10 +164,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeRemoteControllerResetRequest)) { + if (!(obj instanceof opi_api.storage.v1.ResetNvmeRemoteControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.NvmeRemoteControllerResetRequest other = (opi_api.storage.v1.NvmeRemoteControllerResetRequest) obj; + opi_api.storage.v1.ResetNvmeRemoteControllerRequest other = (opi_api.storage.v1.ResetNvmeRemoteControllerRequest) obj; if (!getName() .equals(other.getName())) return false; @@ -197,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom(byte[] data) + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseDelimitedFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -272,7 +264,7 @@ public static opi_api.storage.v1.NvmeRemoteControllerResetRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeRemoteControllerResetRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.ResetNvmeRemoteControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -288,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeRemoteControllerResetRequest} + * Protobuf type {@code opi_api.storage.v1.ResetNvmeRemoteControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeRemoteControllerResetRequest) - opi_api.storage.v1.NvmeRemoteControllerResetRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) + opi_api.storage.v1.ResetNvmeRemoteControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeRemoteControllerResetRequest.class, opi_api.storage.v1.NvmeRemoteControllerResetRequest.Builder.class); + opi_api.storage.v1.ResetNvmeRemoteControllerRequest.class, opi_api.storage.v1.ResetNvmeRemoteControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.NvmeRemoteControllerResetRequest.newBuilder() + // Construct using opi_api.storage.v1.ResetNvmeRemoteControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -333,17 +325,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerResetRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ResetNvmeRemoteControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerResetRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeRemoteControllerResetRequest.getDefaultInstance(); + public opi_api.storage.v1.ResetNvmeRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.ResetNvmeRemoteControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerResetRequest build() { - opi_api.storage.v1.NvmeRemoteControllerResetRequest result = buildPartial(); + public opi_api.storage.v1.ResetNvmeRemoteControllerRequest build() { + opi_api.storage.v1.ResetNvmeRemoteControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -351,8 +343,8 @@ public opi_api.storage.v1.NvmeRemoteControllerResetRequest build() { } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerResetRequest buildPartial() { - opi_api.storage.v1.NvmeRemoteControllerResetRequest result = new opi_api.storage.v1.NvmeRemoteControllerResetRequest(this); + public opi_api.storage.v1.ResetNvmeRemoteControllerRequest buildPartial() { + opi_api.storage.v1.ResetNvmeRemoteControllerRequest result = new opi_api.storage.v1.ResetNvmeRemoteControllerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -392,16 +384,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeRemoteControllerResetRequest) { - return mergeFrom((opi_api.storage.v1.NvmeRemoteControllerResetRequest)other); + if (other instanceof opi_api.storage.v1.ResetNvmeRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.ResetNvmeRemoteControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeRemoteControllerResetRequest other) { - if (other == opi_api.storage.v1.NvmeRemoteControllerResetRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.ResetNvmeRemoteControllerRequest other) { + if (other == opi_api.storage.v1.ResetNvmeRemoteControllerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -421,11 +413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeRemoteControllerResetRequest parsedMessage = null; + opi_api.storage.v1.ResetNvmeRemoteControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeRemoteControllerResetRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.ResetNvmeRemoteControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -437,11 +429,7 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { @@ -457,11 +445,7 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -478,11 +462,7 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -497,11 +477,7 @@ public Builder setName( return this; } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -511,11 +487,7 @@ public Builder clearName() { return this; } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -543,41 +515,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeRemoteControllerResetRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerResetRequest) - private static final opi_api.storage.v1.NvmeRemoteControllerResetRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) + private static final opi_api.storage.v1.ResetNvmeRemoteControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeRemoteControllerResetRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.ResetNvmeRemoteControllerRequest(); } - public static opi_api.storage.v1.NvmeRemoteControllerResetRequest getDefaultInstance() { + public static opi_api.storage.v1.ResetNvmeRemoteControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeRemoteControllerResetRequest parsePartialFrom( + public ResetNvmeRemoteControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeRemoteControllerResetRequest(input, extensionRegistry); + return new ResetNvmeRemoteControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerResetRequest getDefaultInstanceForType() { + public opi_api.storage.v1.ResetNvmeRemoteControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ResetNvmeRemoteControllerRequestOrBuilder.java similarity index 54% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ResetNvmeRemoteControllerRequestOrBuilder.java index 62326fb1..d293a363 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ResetNvmeRemoteControllerRequestOrBuilder.java @@ -3,25 +3,17 @@ package opi_api.storage.v1; -public interface NvmeRemoteControllerStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) +public interface ResetNvmeRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) com.google.protobuf.MessageOrBuilder { /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeRequest.java new file mode 100644 index 00000000..3fdeec81 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsAioVolumeRequest} + */ +public final class StatsAioVolumeRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsAioVolumeRequest) + StatsAioVolumeRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsAioVolumeRequest.newBuilder() to construct. + private StatsAioVolumeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsAioVolumeRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsAioVolumeRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsAioVolumeRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsAioVolumeRequest.class, opi_api.storage.v1.StatsAioVolumeRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsAioVolumeRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsAioVolumeRequest other = (opi_api.storage.v1.StatsAioVolumeRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsAioVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsAioVolumeRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsAioVolumeRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsAioVolumeRequest) + opi_api.storage.v1.StatsAioVolumeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsAioVolumeRequest.class, opi_api.storage.v1.StatsAioVolumeRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsAioVolumeRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsAioVolumeRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeRequest build() { + opi_api.storage.v1.StatsAioVolumeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeRequest buildPartial() { + opi_api.storage.v1.StatsAioVolumeRequest result = new opi_api.storage.v1.StatsAioVolumeRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsAioVolumeRequest) { + return mergeFrom((opi_api.storage.v1.StatsAioVolumeRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsAioVolumeRequest other) { + if (other == opi_api.storage.v1.StatsAioVolumeRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsAioVolumeRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsAioVolumeRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsAioVolumeRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsAioVolumeRequest) + private static final opi_api.storage.v1.StatsAioVolumeRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsAioVolumeRequest(); + } + + public static opi_api.storage.v1.StatsAioVolumeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsAioVolumeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsAioVolumeRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeRequestOrBuilder.java new file mode 100644 index 00000000..148646bb --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +public interface StatsAioVolumeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsAioVolumeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeResponse.java new file mode 100644 index 00000000..a5ef1963 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsAioVolumeResponse} + */ +public final class StatsAioVolumeResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsAioVolumeResponse) + StatsAioVolumeResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsAioVolumeResponse.newBuilder() to construct. + private StatsAioVolumeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsAioVolumeResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsAioVolumeResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsAioVolumeResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsAioVolumeResponse.class, opi_api.storage.v1.StatsAioVolumeResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsAioVolumeResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsAioVolumeResponse other = (opi_api.storage.v1.StatsAioVolumeResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsAioVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsAioVolumeResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsAioVolumeResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsAioVolumeResponse) + opi_api.storage.v1.StatsAioVolumeResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsAioVolumeResponse.class, opi_api.storage.v1.StatsAioVolumeResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsAioVolumeResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_StatsAioVolumeResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsAioVolumeResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeResponse build() { + opi_api.storage.v1.StatsAioVolumeResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeResponse buildPartial() { + opi_api.storage.v1.StatsAioVolumeResponse result = new opi_api.storage.v1.StatsAioVolumeResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsAioVolumeResponse) { + return mergeFrom((opi_api.storage.v1.StatsAioVolumeResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsAioVolumeResponse other) { + if (other == opi_api.storage.v1.StatsAioVolumeResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsAioVolumeResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsAioVolumeResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsAioVolumeResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsAioVolumeResponse) + private static final opi_api.storage.v1.StatsAioVolumeResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsAioVolumeResponse(); + } + + public static opi_api.storage.v1.StatsAioVolumeResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsAioVolumeResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsAioVolumeResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsAioVolumeResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeResponseOrBuilder.java new file mode 100644 index 00000000..2e9eca5b --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsAioVolumeResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +public interface StatsAioVolumeResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsAioVolumeResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeRequest.java new file mode 100644 index 00000000..4813fc72 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_encryption.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsEncryptedVolumeRequest} + */ +public final class StatsEncryptedVolumeRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsEncryptedVolumeRequest) + StatsEncryptedVolumeRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsEncryptedVolumeRequest.newBuilder() to construct. + private StatsEncryptedVolumeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsEncryptedVolumeRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsEncryptedVolumeRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsEncryptedVolumeRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsEncryptedVolumeRequest.class, opi_api.storage.v1.StatsEncryptedVolumeRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsEncryptedVolumeRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsEncryptedVolumeRequest other = (opi_api.storage.v1.StatsEncryptedVolumeRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsEncryptedVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsEncryptedVolumeRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsEncryptedVolumeRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsEncryptedVolumeRequest) + opi_api.storage.v1.StatsEncryptedVolumeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsEncryptedVolumeRequest.class, opi_api.storage.v1.StatsEncryptedVolumeRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsEncryptedVolumeRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsEncryptedVolumeRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeRequest build() { + opi_api.storage.v1.StatsEncryptedVolumeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeRequest buildPartial() { + opi_api.storage.v1.StatsEncryptedVolumeRequest result = new opi_api.storage.v1.StatsEncryptedVolumeRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsEncryptedVolumeRequest) { + return mergeFrom((opi_api.storage.v1.StatsEncryptedVolumeRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsEncryptedVolumeRequest other) { + if (other == opi_api.storage.v1.StatsEncryptedVolumeRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsEncryptedVolumeRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsEncryptedVolumeRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsEncryptedVolumeRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsEncryptedVolumeRequest) + private static final opi_api.storage.v1.StatsEncryptedVolumeRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsEncryptedVolumeRequest(); + } + + public static opi_api.storage.v1.StatsEncryptedVolumeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsEncryptedVolumeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsEncryptedVolumeRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeRequestOrBuilder.java new file mode 100644 index 00000000..8a4d323d --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_encryption.proto + +package opi_api.storage.v1; + +public interface StatsEncryptedVolumeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsEncryptedVolumeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeResponse.java new file mode 100644 index 00000000..581a5599 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_encryption.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsEncryptedVolumeResponse} + */ +public final class StatsEncryptedVolumeResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsEncryptedVolumeResponse) + StatsEncryptedVolumeResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsEncryptedVolumeResponse.newBuilder() to construct. + private StatsEncryptedVolumeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsEncryptedVolumeResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsEncryptedVolumeResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsEncryptedVolumeResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsEncryptedVolumeResponse.class, opi_api.storage.v1.StatsEncryptedVolumeResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsEncryptedVolumeResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsEncryptedVolumeResponse other = (opi_api.storage.v1.StatsEncryptedVolumeResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsEncryptedVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsEncryptedVolumeResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsEncryptedVolumeResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsEncryptedVolumeResponse) + opi_api.storage.v1.StatsEncryptedVolumeResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsEncryptedVolumeResponse.class, opi_api.storage.v1.StatsEncryptedVolumeResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsEncryptedVolumeResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.MiddleendEncryptionProto.internal_static_opi_api_storage_v1_StatsEncryptedVolumeResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsEncryptedVolumeResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeResponse build() { + opi_api.storage.v1.StatsEncryptedVolumeResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeResponse buildPartial() { + opi_api.storage.v1.StatsEncryptedVolumeResponse result = new opi_api.storage.v1.StatsEncryptedVolumeResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsEncryptedVolumeResponse) { + return mergeFrom((opi_api.storage.v1.StatsEncryptedVolumeResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsEncryptedVolumeResponse other) { + if (other == opi_api.storage.v1.StatsEncryptedVolumeResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsEncryptedVolumeResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsEncryptedVolumeResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsEncryptedVolumeResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsEncryptedVolumeResponse) + private static final opi_api.storage.v1.StatsEncryptedVolumeResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsEncryptedVolumeResponse(); + } + + public static opi_api.storage.v1.StatsEncryptedVolumeResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsEncryptedVolumeResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsEncryptedVolumeResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsEncryptedVolumeResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeResponseOrBuilder.java new file mode 100644 index 00000000..077783b6 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsEncryptedVolumeResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_encryption.proto + +package opi_api.storage.v1; + +public interface StatsEncryptedVolumeResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsEncryptedVolumeResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeRequest.java new file mode 100644 index 00000000..58354024 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_null.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsNullVolumeRequest} + */ +public final class StatsNullVolumeRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNullVolumeRequest) + StatsNullVolumeRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsNullVolumeRequest.newBuilder() to construct. + private StatsNullVolumeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsNullVolumeRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsNullVolumeRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsNullVolumeRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsNullVolumeRequest.class, opi_api.storage.v1.StatsNullVolumeRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsNullVolumeRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsNullVolumeRequest other = (opi_api.storage.v1.StatsNullVolumeRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNullVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsNullVolumeRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsNullVolumeRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNullVolumeRequest) + opi_api.storage.v1.StatsNullVolumeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsNullVolumeRequest.class, opi_api.storage.v1.StatsNullVolumeRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsNullVolumeRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNullVolumeRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeRequest build() { + opi_api.storage.v1.StatsNullVolumeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeRequest buildPartial() { + opi_api.storage.v1.StatsNullVolumeRequest result = new opi_api.storage.v1.StatsNullVolumeRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsNullVolumeRequest) { + return mergeFrom((opi_api.storage.v1.StatsNullVolumeRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsNullVolumeRequest other) { + if (other == opi_api.storage.v1.StatsNullVolumeRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsNullVolumeRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsNullVolumeRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNullVolumeRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNullVolumeRequest) + private static final opi_api.storage.v1.StatsNullVolumeRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNullVolumeRequest(); + } + + public static opi_api.storage.v1.StatsNullVolumeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsNullVolumeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsNullVolumeRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeRequestOrBuilder.java new file mode 100644 index 00000000..bed7b8c7 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_null.proto + +package opi_api.storage.v1; + +public interface StatsNullVolumeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNullVolumeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeResponse.java new file mode 100644 index 00000000..e25d3fd8 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_null.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsNullVolumeResponse} + */ +public final class StatsNullVolumeResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNullVolumeResponse) + StatsNullVolumeResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsNullVolumeResponse.newBuilder() to construct. + private StatsNullVolumeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsNullVolumeResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsNullVolumeResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsNullVolumeResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsNullVolumeResponse.class, opi_api.storage.v1.StatsNullVolumeResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsNullVolumeResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsNullVolumeResponse other = (opi_api.storage.v1.StatsNullVolumeResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNullVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsNullVolumeResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsNullVolumeResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNullVolumeResponse) + opi_api.storage.v1.StatsNullVolumeResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsNullVolumeResponse.class, opi_api.storage.v1.StatsNullVolumeResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsNullVolumeResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_StatsNullVolumeResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNullVolumeResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeResponse build() { + opi_api.storage.v1.StatsNullVolumeResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeResponse buildPartial() { + opi_api.storage.v1.StatsNullVolumeResponse result = new opi_api.storage.v1.StatsNullVolumeResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsNullVolumeResponse) { + return mergeFrom((opi_api.storage.v1.StatsNullVolumeResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsNullVolumeResponse other) { + if (other == opi_api.storage.v1.StatsNullVolumeResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsNullVolumeResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsNullVolumeResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNullVolumeResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNullVolumeResponse) + private static final opi_api.storage.v1.StatsNullVolumeResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNullVolumeResponse(); + } + + public static opi_api.storage.v1.StatsNullVolumeResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsNullVolumeResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsNullVolumeResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNullVolumeResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeResponseOrBuilder.java new file mode 100644 index 00000000..7f7a0b8c --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNullVolumeResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_null.proto + +package opi_api.storage.v1; + +public interface StatsNullVolumeResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNullVolumeResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerRequest.java similarity index 75% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerRequest.java index fb5e93ad..132f6fd6 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerRequest.java @@ -4,18 +4,18 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeControllerStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeControllerRequest} */ -public final class NvmeControllerStatsRequest extends +public final class StatsNvmeControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeControllerStatsRequest) - NvmeControllerStatsRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeControllerRequest) + StatsNvmeControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeControllerStatsRequest.newBuilder() to construct. - private NvmeControllerStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeControllerRequest.newBuilder() to construct. + private StatsNvmeControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeControllerStatsRequest() { + private StatsNvmeControllerRequest() { name_ = ""; } @@ -23,7 +23,7 @@ private NvmeControllerStatsRequest() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeControllerStatsRequest(); + return new StatsNvmeControllerRequest(); } @java.lang.Override @@ -31,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeControllerStatsRequest( + private StatsNvmeControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -76,21 +76,21 @@ private NvmeControllerStatsRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeControllerStatsRequest.class, opi_api.storage.v1.NvmeControllerStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmeControllerRequest.class, opi_api.storage.v1.StatsNvmeControllerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -107,7 +107,7 @@ public java.lang.String getName() { } } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -164,10 +164,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeControllerStatsRequest)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.NvmeControllerStatsRequest other = (opi_api.storage.v1.NvmeControllerStatsRequest) obj; + opi_api.storage.v1.StatsNvmeControllerRequest other = (opi_api.storage.v1.StatsNvmeControllerRequest) obj; if (!getName() .equals(other.getName())) return false; @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NvmeControllerStatsRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeControllerStatsRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeControllerStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeControllerStatsRequest) - opi_api.storage.v1.NvmeControllerStatsRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeControllerRequest) + opi_api.storage.v1.StatsNvmeControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeControllerStatsRequest.class, opi_api.storage.v1.NvmeControllerStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmeControllerRequest.class, opi_api.storage.v1.StatsNvmeControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.NvmeControllerStatsRequest.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -325,17 +325,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsRequest_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeControllerStatsRequest.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsRequest build() { - opi_api.storage.v1.NvmeControllerStatsRequest result = buildPartial(); + public opi_api.storage.v1.StatsNvmeControllerRequest build() { + opi_api.storage.v1.StatsNvmeControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -343,8 +343,8 @@ public opi_api.storage.v1.NvmeControllerStatsRequest build() { } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsRequest buildPartial() { - opi_api.storage.v1.NvmeControllerStatsRequest result = new opi_api.storage.v1.NvmeControllerStatsRequest(this); + public opi_api.storage.v1.StatsNvmeControllerRequest buildPartial() { + opi_api.storage.v1.StatsNvmeControllerRequest result = new opi_api.storage.v1.StatsNvmeControllerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -384,16 +384,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeControllerStatsRequest) { - return mergeFrom((opi_api.storage.v1.NvmeControllerStatsRequest)other); + if (other instanceof opi_api.storage.v1.StatsNvmeControllerRequest) { + return mergeFrom((opi_api.storage.v1.StatsNvmeControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeControllerStatsRequest other) { - if (other == opi_api.storage.v1.NvmeControllerStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeControllerRequest other) { + if (other == opi_api.storage.v1.StatsNvmeControllerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -413,11 +413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeControllerStatsRequest parsedMessage = null; + opi_api.storage.v1.StatsNvmeControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeControllerStatsRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -429,7 +429,7 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { @@ -445,7 +445,7 @@ public java.lang.String getName() { } } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -462,7 +462,7 @@ public java.lang.String getName() { } } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -477,7 +477,7 @@ public Builder setName( return this; } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -487,7 +487,7 @@ public Builder clearName() { return this; } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -515,41 +515,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeControllerStatsRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeControllerStatsRequest) - private static final opi_api.storage.v1.NvmeControllerStatsRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeControllerRequest) + private static final opi_api.storage.v1.StatsNvmeControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeControllerStatsRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeControllerRequest(); } - public static opi_api.storage.v1.NvmeControllerStatsRequest getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeControllerStatsRequest parsePartialFrom( + public StatsNvmeControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeControllerStatsRequest(input, extensionRegistry); + return new StatsNvmeControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsRequest getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerRequestOrBuilder.java new file mode 100644 index 00000000..33cb5a39 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_nvme_pcie.proto + +package opi_api.storage.v1; + +public interface StatsNvmeControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeControllerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerResponse.java similarity index 65% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerResponse.java index 68bbeb74..0cf89ade 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerResponse.java @@ -4,26 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeControllerStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeControllerResponse} */ -public final class NvmeControllerStatsResponse extends +public final class StatsNvmeControllerResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeControllerStatsResponse) - NvmeControllerStatsResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeControllerResponse) + StatsNvmeControllerResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeControllerStatsResponse.newBuilder() to construct. - private NvmeControllerStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeControllerResponse.newBuilder() to construct. + private StatsNvmeControllerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeControllerStatsResponse() { - name_ = ""; + private StatsNvmeControllerResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeControllerStatsResponse(); + return new StatsNvmeControllerResponse(); } @java.lang.Override @@ -31,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeControllerStatsResponse( + private StatsNvmeControllerResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -50,12 +49,6 @@ private NvmeControllerStatsResponse( done = true; break; case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { opi_api.storage.v1.VolumeStats.Builder subBuilder = null; if (stats_ != null) { subBuilder = stats_.toBuilder(); @@ -89,59 +82,21 @@ private NvmeControllerStatsResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeControllerStatsResponse.class, opi_api.storage.v1.NvmeControllerStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeControllerResponse.class, opi_api.storage.v1.StatsNvmeControllerResponse.Builder.class); } - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATS_FIELD_NUMBER = 2; + public static final int STATS_FIELD_NUMBER = 1; private opi_api.storage.v1.VolumeStats stats_; /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return Whether the stats field is set. */ @java.lang.Override @@ -149,7 +104,7 @@ public boolean hasStats() { return stats_ != null; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return The stats. */ @java.lang.Override @@ -157,7 +112,7 @@ public opi_api.storage.v1.VolumeStats getStats() { return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ @java.lang.Override public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { @@ -178,11 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } if (stats_ != null) { - output.writeMessage(2, getStats()); + output.writeMessage(1, getStats()); } unknownFields.writeTo(output); } @@ -193,12 +145,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } if (stats_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); + .computeMessageSize(1, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -210,13 +159,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeControllerStatsResponse)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeControllerResponse)) { return super.equals(obj); } - opi_api.storage.v1.NvmeControllerStatsResponse other = (opi_api.storage.v1.NvmeControllerStatsResponse) obj; + opi_api.storage.v1.StatsNvmeControllerResponse other = (opi_api.storage.v1.StatsNvmeControllerResponse) obj; - if (!getName() - .equals(other.getName())) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { if (!getStats() @@ -233,8 +180,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); if (hasStats()) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode(); @@ -244,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeControllerResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeControllerResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -319,7 +264,7 @@ public static opi_api.storage.v1.NvmeControllerStatsResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeControllerStatsResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeControllerResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -335,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeControllerStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeControllerResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeControllerStatsResponse) - opi_api.storage.v1.NvmeControllerStatsResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeControllerResponse) + opi_api.storage.v1.StatsNvmeControllerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeControllerStatsResponse.class, opi_api.storage.v1.NvmeControllerStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeControllerResponse.class, opi_api.storage.v1.StatsNvmeControllerResponse.Builder.class); } - // Construct using opi_api.storage.v1.NvmeControllerStatsResponse.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeControllerResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -372,8 +317,6 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - name_ = ""; - if (statsBuilder_ == null) { stats_ = null; } else { @@ -386,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeControllerStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeControllerResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeControllerStatsResponse.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeControllerResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeControllerResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsResponse build() { - opi_api.storage.v1.NvmeControllerStatsResponse result = buildPartial(); + public opi_api.storage.v1.StatsNvmeControllerResponse build() { + opi_api.storage.v1.StatsNvmeControllerResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -404,9 +347,8 @@ public opi_api.storage.v1.NvmeControllerStatsResponse build() { } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsResponse buildPartial() { - opi_api.storage.v1.NvmeControllerStatsResponse result = new opi_api.storage.v1.NvmeControllerStatsResponse(this); - result.name_ = name_; + public opi_api.storage.v1.StatsNvmeControllerResponse buildPartial() { + opi_api.storage.v1.StatsNvmeControllerResponse result = new opi_api.storage.v1.StatsNvmeControllerResponse(this); if (statsBuilder_ == null) { result.stats_ = stats_; } else { @@ -450,20 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeControllerStatsResponse) { - return mergeFrom((opi_api.storage.v1.NvmeControllerStatsResponse)other); + if (other instanceof opi_api.storage.v1.StatsNvmeControllerResponse) { + return mergeFrom((opi_api.storage.v1.StatsNvmeControllerResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeControllerStatsResponse other) { - if (other == opi_api.storage.v1.NvmeControllerStatsResponse.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeControllerResponse other) { + if (other == opi_api.storage.v1.StatsNvmeControllerResponse.getDefaultInstance()) return this; if (other.hasStats()) { mergeStats(other.getStats()); } @@ -482,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeControllerStatsResponse parsedMessage = null; + opi_api.storage.v1.StatsNvmeControllerResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeControllerStatsResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeControllerResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,94 +434,18 @@ public Builder mergeFrom( return this; } - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - private opi_api.storage.v1.VolumeStats stats_; private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return The stats. */ public opi_api.storage.v1.VolumeStats getStats() { @@ -594,7 +456,7 @@ public opi_api.storage.v1.VolumeStats getStats() { } } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder setStats(opi_api.storage.v1.VolumeStats value) { if (statsBuilder_ == null) { @@ -610,7 +472,7 @@ public Builder setStats(opi_api.storage.v1.VolumeStats value) { return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder setStats( opi_api.storage.v1.VolumeStats.Builder builderForValue) { @@ -624,7 +486,7 @@ public Builder setStats( return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { if (statsBuilder_ == null) { @@ -642,7 +504,7 @@ public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -656,7 +518,7 @@ public Builder clearStats() { return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { @@ -664,7 +526,7 @@ public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { return getStatsFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { @@ -675,7 +537,7 @@ public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { } } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> @@ -703,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeControllerStatsResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeControllerResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeControllerStatsResponse) - private static final opi_api.storage.v1.NvmeControllerStatsResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeControllerResponse) + private static final opi_api.storage.v1.StatsNvmeControllerResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeControllerStatsResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeControllerResponse(); } - public static opi_api.storage.v1.NvmeControllerStatsResponse getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeControllerResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeControllerStatsResponse parsePartialFrom( + public StatsNvmeControllerResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeControllerStatsResponse(input, extensionRegistry); + return new StatsNvmeControllerResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeControllerStatsResponse getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeControllerResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerResponseOrBuilder.java new file mode 100644 index 00000000..fba049c1 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeControllerResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_nvme_pcie.proto + +package opi_api.storage.v1; + +public interface StatsNvmeControllerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeControllerResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceRequest.java similarity index 75% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceRequest.java index f487915e..d942a718 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceRequest.java @@ -4,18 +4,18 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeNamespaceStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeNamespaceRequest} */ -public final class NvmeNamespaceStatsRequest extends +public final class StatsNvmeNamespaceRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeNamespaceStatsRequest) - NvmeNamespaceStatsRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeNamespaceRequest) + StatsNvmeNamespaceRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeNamespaceStatsRequest.newBuilder() to construct. - private NvmeNamespaceStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeNamespaceRequest.newBuilder() to construct. + private StatsNvmeNamespaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeNamespaceStatsRequest() { + private StatsNvmeNamespaceRequest() { name_ = ""; } @@ -23,7 +23,7 @@ private NvmeNamespaceStatsRequest() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeNamespaceStatsRequest(); + return new StatsNvmeNamespaceRequest(); } @java.lang.Override @@ -31,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeNamespaceStatsRequest( + private StatsNvmeNamespaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -76,21 +76,21 @@ private NvmeNamespaceStatsRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeNamespaceStatsRequest.class, opi_api.storage.v1.NvmeNamespaceStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmeNamespaceRequest.class, opi_api.storage.v1.StatsNvmeNamespaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -107,7 +107,7 @@ public java.lang.String getName() { } } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -164,10 +164,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeNamespaceStatsRequest)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeNamespaceRequest)) { return super.equals(obj); } - opi_api.storage.v1.NvmeNamespaceStatsRequest other = (opi_api.storage.v1.NvmeNamespaceStatsRequest) obj; + opi_api.storage.v1.StatsNvmeNamespaceRequest other = (opi_api.storage.v1.StatsNvmeNamespaceRequest) obj; if (!getName() .equals(other.getName())) return false; @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NvmeNamespaceStatsRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeNamespaceStatsRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeNamespaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeNamespaceStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeNamespaceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeNamespaceStatsRequest) - opi_api.storage.v1.NvmeNamespaceStatsRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeNamespaceRequest) + opi_api.storage.v1.StatsNvmeNamespaceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeNamespaceStatsRequest.class, opi_api.storage.v1.NvmeNamespaceStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmeNamespaceRequest.class, opi_api.storage.v1.StatsNvmeNamespaceRequest.Builder.class); } - // Construct using opi_api.storage.v1.NvmeNamespaceStatsRequest.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeNamespaceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -325,17 +325,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsRequest_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeNamespaceStatsRequest.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeNamespaceRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeNamespaceRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsRequest build() { - opi_api.storage.v1.NvmeNamespaceStatsRequest result = buildPartial(); + public opi_api.storage.v1.StatsNvmeNamespaceRequest build() { + opi_api.storage.v1.StatsNvmeNamespaceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -343,8 +343,8 @@ public opi_api.storage.v1.NvmeNamespaceStatsRequest build() { } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsRequest buildPartial() { - opi_api.storage.v1.NvmeNamespaceStatsRequest result = new opi_api.storage.v1.NvmeNamespaceStatsRequest(this); + public opi_api.storage.v1.StatsNvmeNamespaceRequest buildPartial() { + opi_api.storage.v1.StatsNvmeNamespaceRequest result = new opi_api.storage.v1.StatsNvmeNamespaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -384,16 +384,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeNamespaceStatsRequest) { - return mergeFrom((opi_api.storage.v1.NvmeNamespaceStatsRequest)other); + if (other instanceof opi_api.storage.v1.StatsNvmeNamespaceRequest) { + return mergeFrom((opi_api.storage.v1.StatsNvmeNamespaceRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeNamespaceStatsRequest other) { - if (other == opi_api.storage.v1.NvmeNamespaceStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeNamespaceRequest other) { + if (other == opi_api.storage.v1.StatsNvmeNamespaceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -413,11 +413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeNamespaceStatsRequest parsedMessage = null; + opi_api.storage.v1.StatsNvmeNamespaceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeNamespaceStatsRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeNamespaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -429,7 +429,7 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { @@ -445,7 +445,7 @@ public java.lang.String getName() { } } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -462,7 +462,7 @@ public java.lang.String getName() { } } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -477,7 +477,7 @@ public Builder setName( return this; } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -487,7 +487,7 @@ public Builder clearName() { return this; } /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -515,41 +515,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeNamespaceStatsRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeNamespaceRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeNamespaceStatsRequest) - private static final opi_api.storage.v1.NvmeNamespaceStatsRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeNamespaceRequest) + private static final opi_api.storage.v1.StatsNvmeNamespaceRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeNamespaceStatsRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeNamespaceRequest(); } - public static opi_api.storage.v1.NvmeNamespaceStatsRequest getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeNamespaceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeNamespaceStatsRequest parsePartialFrom( + public StatsNvmeNamespaceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeNamespaceStatsRequest(input, extensionRegistry); + return new StatsNvmeNamespaceRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsRequest getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeNamespaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceRequestOrBuilder.java similarity index 54% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceRequestOrBuilder.java index 8333e54c..83baa898 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceRequestOrBuilder.java @@ -3,17 +3,17 @@ package opi_api.storage.v1; -public interface NvmeNamespaceStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeNamespaceStatsRequest) +public interface StatsNvmeNamespaceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeNamespaceRequest) com.google.protobuf.MessageOrBuilder { /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceResponse.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceResponse.java index 68e50c10..e7519f87 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceResponse.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeSubsystemStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeNamespaceResponse} */ -public final class NvmeSubsystemStatsResponse extends +public final class StatsNvmeNamespaceResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeSubsystemStatsResponse) - NvmeSubsystemStatsResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeNamespaceResponse) + StatsNvmeNamespaceResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeSubsystemStatsResponse.newBuilder() to construct. - private NvmeSubsystemStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeNamespaceResponse.newBuilder() to construct. + private StatsNvmeNamespaceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeSubsystemStatsResponse() { + private StatsNvmeNamespaceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeSubsystemStatsResponse(); + return new StatsNvmeNamespaceResponse(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeSubsystemStatsResponse( + private StatsNvmeNamespaceResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NvmeSubsystemStatsResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeSubsystemStatsResponse.class, opi_api.storage.v1.NvmeSubsystemStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeNamespaceResponse.class, opi_api.storage.v1.StatsNvmeNamespaceResponse.Builder.class); } public static final int STATS_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeSubsystemStatsResponse)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeNamespaceResponse)) { return super.equals(obj); } - opi_api.storage.v1.NvmeSubsystemStatsResponse other = (opi_api.storage.v1.NvmeSubsystemStatsResponse) obj; + opi_api.storage.v1.StatsNvmeNamespaceResponse other = (opi_api.storage.v1.StatsNvmeNamespaceResponse) obj; if (hasStats() != other.hasStats()) return false; if (hasStats()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeNamespaceResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NvmeSubsystemStatsResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeSubsystemStatsResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeNamespaceResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeSubsystemStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeNamespaceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeSubsystemStatsResponse) - opi_api.storage.v1.NvmeSubsystemStatsResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeNamespaceResponse) + opi_api.storage.v1.StatsNvmeNamespaceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeSubsystemStatsResponse.class, opi_api.storage.v1.NvmeSubsystemStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeNamespaceResponse.class, opi_api.storage.v1.StatsNvmeNamespaceResponse.Builder.class); } - // Construct using opi_api.storage.v1.NvmeSubsystemStatsResponse.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeNamespaceResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeSubsystemStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeNamespaceResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeSubsystemStatsResponse.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeNamespaceResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeNamespaceResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsResponse build() { - opi_api.storage.v1.NvmeSubsystemStatsResponse result = buildPartial(); + public opi_api.storage.v1.StatsNvmeNamespaceResponse build() { + opi_api.storage.v1.StatsNvmeNamespaceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NvmeSubsystemStatsResponse build() { } @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsResponse buildPartial() { - opi_api.storage.v1.NvmeSubsystemStatsResponse result = new opi_api.storage.v1.NvmeSubsystemStatsResponse(this); + public opi_api.storage.v1.StatsNvmeNamespaceResponse buildPartial() { + opi_api.storage.v1.StatsNvmeNamespaceResponse result = new opi_api.storage.v1.StatsNvmeNamespaceResponse(this); if (statsBuilder_ == null) { result.stats_ = stats_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeSubsystemStatsResponse) { - return mergeFrom((opi_api.storage.v1.NvmeSubsystemStatsResponse)other); + if (other instanceof opi_api.storage.v1.StatsNvmeNamespaceResponse) { + return mergeFrom((opi_api.storage.v1.StatsNvmeNamespaceResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeSubsystemStatsResponse other) { - if (other == opi_api.storage.v1.NvmeSubsystemStatsResponse.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeNamespaceResponse other) { + if (other == opi_api.storage.v1.StatsNvmeNamespaceResponse.getDefaultInstance()) return this; if (other.hasStats()) { mergeStats(other.getStats()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeSubsystemStatsResponse parsedMessage = null; + opi_api.storage.v1.StatsNvmeNamespaceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeSubsystemStatsResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeNamespaceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeSubsystemStatsResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeNamespaceResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeSubsystemStatsResponse) - private static final opi_api.storage.v1.NvmeSubsystemStatsResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeNamespaceResponse) + private static final opi_api.storage.v1.StatsNvmeNamespaceResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeSubsystemStatsResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeNamespaceResponse(); } - public static opi_api.storage.v1.NvmeSubsystemStatsResponse getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeNamespaceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeSubsystemStatsResponse parsePartialFrom( + public StatsNvmeNamespaceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeSubsystemStatsResponse(input, extensionRegistry); + return new StatsNvmeNamespaceResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeSubsystemStatsResponse getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeNamespaceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceResponseOrBuilder.java similarity index 87% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsResponseOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceResponseOrBuilder.java index cdea1e4e..a5053ec4 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeSubsystemStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeNamespaceResponseOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NvmeSubsystemStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeSubsystemStatsResponse) +public interface StatsNvmeNamespaceResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeNamespaceResponse) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathRequest.java similarity index 76% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathRequest.java index 10921d8a..d58b0603 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathRequest.java @@ -4,18 +4,18 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmePathStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmePathRequest} */ -public final class NvmePathStatsRequest extends +public final class StatsNvmePathRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmePathStatsRequest) - NvmePathStatsRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmePathRequest) + StatsNvmePathRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmePathStatsRequest.newBuilder() to construct. - private NvmePathStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmePathRequest.newBuilder() to construct. + private StatsNvmePathRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmePathStatsRequest() { + private StatsNvmePathRequest() { name_ = ""; } @@ -23,7 +23,7 @@ private NvmePathStatsRequest() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmePathStatsRequest(); + return new StatsNvmePathRequest(); } @java.lang.Override @@ -31,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmePathStatsRequest( + private StatsNvmePathRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -76,25 +76,21 @@ private NvmePathStatsRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmePathStatsRequest.class, opi_api.storage.v1.NvmePathStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmePathRequest.class, opi_api.storage.v1.StatsNvmePathRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -111,11 +107,7 @@ public java.lang.String getName() { } } /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -172,10 +164,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmePathStatsRequest)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmePathRequest)) { return super.equals(obj); } - opi_api.storage.v1.NvmePathStatsRequest other = (opi_api.storage.v1.NvmePathStatsRequest) obj; + opi_api.storage.v1.StatsNvmePathRequest other = (opi_api.storage.v1.StatsNvmePathRequest) obj; if (!getName() .equals(other.getName())) return false; @@ -197,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmePathRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmePathStatsRequest parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmePathRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -272,7 +264,7 @@ public static opi_api.storage.v1.NvmePathStatsRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmePathStatsRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmePathRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -288,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmePathStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmePathRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmePathStatsRequest) - opi_api.storage.v1.NvmePathStatsRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmePathRequest) + opi_api.storage.v1.StatsNvmePathRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmePathStatsRequest.class, opi_api.storage.v1.NvmePathStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmePathRequest.class, opi_api.storage.v1.StatsNvmePathRequest.Builder.class); } - // Construct using opi_api.storage.v1.NvmePathStatsRequest.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmePathRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -333,17 +325,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NvmePathStatsRequest.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmePathRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmePathRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsRequest build() { - opi_api.storage.v1.NvmePathStatsRequest result = buildPartial(); + public opi_api.storage.v1.StatsNvmePathRequest build() { + opi_api.storage.v1.StatsNvmePathRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -351,8 +343,8 @@ public opi_api.storage.v1.NvmePathStatsRequest build() { } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsRequest buildPartial() { - opi_api.storage.v1.NvmePathStatsRequest result = new opi_api.storage.v1.NvmePathStatsRequest(this); + public opi_api.storage.v1.StatsNvmePathRequest buildPartial() { + opi_api.storage.v1.StatsNvmePathRequest result = new opi_api.storage.v1.StatsNvmePathRequest(this); result.name_ = name_; onBuilt(); return result; @@ -392,16 +384,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmePathStatsRequest) { - return mergeFrom((opi_api.storage.v1.NvmePathStatsRequest)other); + if (other instanceof opi_api.storage.v1.StatsNvmePathRequest) { + return mergeFrom((opi_api.storage.v1.StatsNvmePathRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmePathStatsRequest other) { - if (other == opi_api.storage.v1.NvmePathStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmePathRequest other) { + if (other == opi_api.storage.v1.StatsNvmePathRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -421,11 +413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmePathStatsRequest parsedMessage = null; + opi_api.storage.v1.StatsNvmePathRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmePathStatsRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmePathRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -437,11 +429,7 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { @@ -457,11 +445,7 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -478,11 +462,7 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -497,11 +477,7 @@ public Builder setName( return this; } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -511,11 +487,7 @@ public Builder clearName() { return this; } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -543,41 +515,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmePathStatsRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmePathRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmePathStatsRequest) - private static final opi_api.storage.v1.NvmePathStatsRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmePathRequest) + private static final opi_api.storage.v1.StatsNvmePathRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmePathStatsRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmePathRequest(); } - public static opi_api.storage.v1.NvmePathStatsRequest getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmePathRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmePathStatsRequest parsePartialFrom( + public StatsNvmePathRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmePathStatsRequest(input, extensionRegistry); + return new StatsNvmePathRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsRequest getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmePathRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathRequestOrBuilder.java similarity index 55% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathRequestOrBuilder.java index c46805e2..befda184 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathRequestOrBuilder.java @@ -3,25 +3,17 @@ package opi_api.storage.v1; -public interface NvmePathStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmePathStatsRequest) +public interface StatsNvmePathRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmePathRequest) com.google.protobuf.MessageOrBuilder { /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathResponse.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathResponse.java index 72115fa5..c5b7d678 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathResponse.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmePathStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmePathResponse} */ -public final class NvmePathStatsResponse extends +public final class StatsNvmePathResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmePathStatsResponse) - NvmePathStatsResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmePathResponse) + StatsNvmePathResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmePathStatsResponse.newBuilder() to construct. - private NvmePathStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmePathResponse.newBuilder() to construct. + private StatsNvmePathResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmePathStatsResponse() { + private StatsNvmePathResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmePathStatsResponse(); + return new StatsNvmePathResponse(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmePathStatsResponse( + private StatsNvmePathResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NvmePathStatsResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmePathStatsResponse.class, opi_api.storage.v1.NvmePathStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmePathResponse.class, opi_api.storage.v1.StatsNvmePathResponse.Builder.class); } public static final int STATS_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmePathStatsResponse)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmePathResponse)) { return super.equals(obj); } - opi_api.storage.v1.NvmePathStatsResponse other = (opi_api.storage.v1.NvmePathStatsResponse) obj; + opi_api.storage.v1.StatsNvmePathResponse other = (opi_api.storage.v1.StatsNvmePathResponse) obj; if (hasStats() != other.hasStats()) return false; if (hasStats()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmePathResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmePathStatsResponse parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmePathResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NvmePathStatsResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmePathStatsResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmePathResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmePathStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmePathResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmePathStatsResponse) - opi_api.storage.v1.NvmePathStatsResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmePathResponse) + opi_api.storage.v1.StatsNvmePathResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmePathStatsResponse.class, opi_api.storage.v1.NvmePathStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmePathResponse.class, opi_api.storage.v1.StatsNvmePathResponse.Builder.class); } - // Construct using opi_api.storage.v1.NvmePathStatsResponse.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmePathResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmePathStatsResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmePathResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NvmePathStatsResponse.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmePathResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmePathResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsResponse build() { - opi_api.storage.v1.NvmePathStatsResponse result = buildPartial(); + public opi_api.storage.v1.StatsNvmePathResponse build() { + opi_api.storage.v1.StatsNvmePathResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NvmePathStatsResponse build() { } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsResponse buildPartial() { - opi_api.storage.v1.NvmePathStatsResponse result = new opi_api.storage.v1.NvmePathStatsResponse(this); + public opi_api.storage.v1.StatsNvmePathResponse buildPartial() { + opi_api.storage.v1.StatsNvmePathResponse result = new opi_api.storage.v1.StatsNvmePathResponse(this); if (statsBuilder_ == null) { result.stats_ = stats_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmePathStatsResponse) { - return mergeFrom((opi_api.storage.v1.NvmePathStatsResponse)other); + if (other instanceof opi_api.storage.v1.StatsNvmePathResponse) { + return mergeFrom((opi_api.storage.v1.StatsNvmePathResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmePathStatsResponse other) { - if (other == opi_api.storage.v1.NvmePathStatsResponse.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmePathResponse other) { + if (other == opi_api.storage.v1.StatsNvmePathResponse.getDefaultInstance()) return this; if (other.hasStats()) { mergeStats(other.getStats()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmePathStatsResponse parsedMessage = null; + opi_api.storage.v1.StatsNvmePathResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmePathStatsResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmePathResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmePathStatsResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmePathResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmePathStatsResponse) - private static final opi_api.storage.v1.NvmePathStatsResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmePathResponse) + private static final opi_api.storage.v1.StatsNvmePathResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmePathStatsResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmePathResponse(); } - public static opi_api.storage.v1.NvmePathStatsResponse getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmePathResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmePathStatsResponse parsePartialFrom( + public StatsNvmePathResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmePathStatsResponse(input, extensionRegistry); + return new StatsNvmePathResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmePathStatsResponse getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmePathResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathResponseOrBuilder.java similarity index 88% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsResponseOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathResponseOrBuilder.java index 9aa90f79..10911e5d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmePathResponseOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NvmePathStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmePathStatsResponse) +public interface StatsNvmePathResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmePathResponse) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerRequest.java similarity index 74% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerRequest.java index 3ada5856..95d221cf 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerRequest.java @@ -4,18 +4,18 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeRemoteControllerStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeRemoteControllerRequest} */ -public final class NvmeRemoteControllerStatsRequest extends +public final class StatsNvmeRemoteControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) - NvmeRemoteControllerStatsRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) + StatsNvmeRemoteControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeRemoteControllerStatsRequest.newBuilder() to construct. - private NvmeRemoteControllerStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeRemoteControllerRequest.newBuilder() to construct. + private StatsNvmeRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeRemoteControllerStatsRequest() { + private StatsNvmeRemoteControllerRequest() { name_ = ""; } @@ -23,7 +23,7 @@ private NvmeRemoteControllerStatsRequest() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeRemoteControllerStatsRequest(); + return new StatsNvmeRemoteControllerRequest(); } @java.lang.Override @@ -31,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeRemoteControllerStatsRequest( + private StatsNvmeRemoteControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -76,25 +76,21 @@ private NvmeRemoteControllerStatsRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeRemoteControllerStatsRequest.class, opi_api.storage.v1.NvmeRemoteControllerStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmeRemoteControllerRequest.class, opi_api.storage.v1.StatsNvmeRemoteControllerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -111,11 +107,7 @@ public java.lang.String getName() { } } /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -172,10 +164,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeRemoteControllerStatsRequest)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeRemoteControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.NvmeRemoteControllerStatsRequest other = (opi_api.storage.v1.NvmeRemoteControllerStatsRequest) obj; + opi_api.storage.v1.StatsNvmeRemoteControllerRequest other = (opi_api.storage.v1.StatsNvmeRemoteControllerRequest) obj; if (!getName() .equals(other.getName())) return false; @@ -197,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -272,7 +264,7 @@ public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeRemoteControllerStatsRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeRemoteControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -288,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeRemoteControllerStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeRemoteControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) - opi_api.storage.v1.NvmeRemoteControllerStatsRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) + opi_api.storage.v1.StatsNvmeRemoteControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeRemoteControllerStatsRequest.class, opi_api.storage.v1.NvmeRemoteControllerStatsRequest.Builder.class); + opi_api.storage.v1.StatsNvmeRemoteControllerRequest.class, opi_api.storage.v1.StatsNvmeRemoteControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.NvmeRemoteControllerStatsRequest.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeRemoteControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -333,17 +325,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeRemoteControllerStatsRequest.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeRemoteControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsRequest build() { - opi_api.storage.v1.NvmeRemoteControllerStatsRequest result = buildPartial(); + public opi_api.storage.v1.StatsNvmeRemoteControllerRequest build() { + opi_api.storage.v1.StatsNvmeRemoteControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -351,8 +343,8 @@ public opi_api.storage.v1.NvmeRemoteControllerStatsRequest build() { } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsRequest buildPartial() { - opi_api.storage.v1.NvmeRemoteControllerStatsRequest result = new opi_api.storage.v1.NvmeRemoteControllerStatsRequest(this); + public opi_api.storage.v1.StatsNvmeRemoteControllerRequest buildPartial() { + opi_api.storage.v1.StatsNvmeRemoteControllerRequest result = new opi_api.storage.v1.StatsNvmeRemoteControllerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -392,16 +384,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeRemoteControllerStatsRequest) { - return mergeFrom((opi_api.storage.v1.NvmeRemoteControllerStatsRequest)other); + if (other instanceof opi_api.storage.v1.StatsNvmeRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.StatsNvmeRemoteControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeRemoteControllerStatsRequest other) { - if (other == opi_api.storage.v1.NvmeRemoteControllerStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeRemoteControllerRequest other) { + if (other == opi_api.storage.v1.StatsNvmeRemoteControllerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -421,11 +413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeRemoteControllerStatsRequest parsedMessage = null; + opi_api.storage.v1.StatsNvmeRemoteControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeRemoteControllerStatsRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeRemoteControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -437,11 +429,7 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { @@ -457,11 +445,7 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -478,11 +462,7 @@ public java.lang.String getName() { } } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -497,11 +477,7 @@ public Builder setName( return this; } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -511,11 +487,7 @@ public Builder clearName() { return this; } /** - *
-     * object's unique identifier
-     * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -543,41 +515,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) - private static final opi_api.storage.v1.NvmeRemoteControllerStatsRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) + private static final opi_api.storage.v1.StatsNvmeRemoteControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeRemoteControllerStatsRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeRemoteControllerRequest(); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsRequest getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeRemoteControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeRemoteControllerStatsRequest parsePartialFrom( + public StatsNvmeRemoteControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeRemoteControllerStatsRequest(input, extensionRegistry); + return new StatsNvmeRemoteControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsRequest getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeRemoteControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerResetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerRequestOrBuilder.java similarity index 54% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerResetRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerRequestOrBuilder.java index c0d30bc0..4bbec275 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerResetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerRequestOrBuilder.java @@ -3,25 +3,17 @@ package opi_api.storage.v1; -public interface NvmeRemoteControllerResetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeRemoteControllerResetRequest) +public interface StatsNvmeRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) com.google.protobuf.MessageOrBuilder { /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - *
-   * object's unique identifier
-   * 
- * - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerResponse.java similarity index 79% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerResponse.java index 07e513a0..cee7ed02 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerResponse.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeRemoteControllerStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeRemoteControllerResponse} */ -public final class NvmeRemoteControllerStatsResponse extends +public final class StatsNvmeRemoteControllerResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) - NvmeRemoteControllerStatsResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) + StatsNvmeRemoteControllerResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeRemoteControllerStatsResponse.newBuilder() to construct. - private NvmeRemoteControllerStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeRemoteControllerResponse.newBuilder() to construct. + private StatsNvmeRemoteControllerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeRemoteControllerStatsResponse() { + private StatsNvmeRemoteControllerResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeRemoteControllerStatsResponse(); + return new StatsNvmeRemoteControllerResponse(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeRemoteControllerStatsResponse( + private StatsNvmeRemoteControllerResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NvmeRemoteControllerStatsResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeRemoteControllerStatsResponse.class, opi_api.storage.v1.NvmeRemoteControllerStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeRemoteControllerResponse.class, opi_api.storage.v1.StatsNvmeRemoteControllerResponse.Builder.class); } public static final int STATS_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeRemoteControllerStatsResponse)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeRemoteControllerResponse)) { return super.equals(obj); } - opi_api.storage.v1.NvmeRemoteControllerStatsResponse other = (opi_api.storage.v1.NvmeRemoteControllerStatsResponse) obj; + opi_api.storage.v1.StatsNvmeRemoteControllerResponse other = (opi_api.storage.v1.StatsNvmeRemoteControllerResponse) obj; if (hasStats() != other.hasStats()) return false; if (hasStats()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeRemoteControllerStatsResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeRemoteControllerResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeRemoteControllerStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeRemoteControllerResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) - opi_api.storage.v1.NvmeRemoteControllerStatsResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) + opi_api.storage.v1.StatsNvmeRemoteControllerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeRemoteControllerStatsResponse.class, opi_api.storage.v1.NvmeRemoteControllerStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeRemoteControllerResponse.class, opi_api.storage.v1.StatsNvmeRemoteControllerResponse.Builder.class); } - // Construct using opi_api.storage.v1.NvmeRemoteControllerStatsResponse.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeRemoteControllerResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NvmeRemoteControllerStatsResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_StatsNvmeRemoteControllerResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeRemoteControllerStatsResponse.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeRemoteControllerResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeRemoteControllerResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsResponse build() { - opi_api.storage.v1.NvmeRemoteControllerStatsResponse result = buildPartial(); + public opi_api.storage.v1.StatsNvmeRemoteControllerResponse build() { + opi_api.storage.v1.StatsNvmeRemoteControllerResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NvmeRemoteControllerStatsResponse build() { } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsResponse buildPartial() { - opi_api.storage.v1.NvmeRemoteControllerStatsResponse result = new opi_api.storage.v1.NvmeRemoteControllerStatsResponse(this); + public opi_api.storage.v1.StatsNvmeRemoteControllerResponse buildPartial() { + opi_api.storage.v1.StatsNvmeRemoteControllerResponse result = new opi_api.storage.v1.StatsNvmeRemoteControllerResponse(this); if (statsBuilder_ == null) { result.stats_ = stats_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeRemoteControllerStatsResponse) { - return mergeFrom((opi_api.storage.v1.NvmeRemoteControllerStatsResponse)other); + if (other instanceof opi_api.storage.v1.StatsNvmeRemoteControllerResponse) { + return mergeFrom((opi_api.storage.v1.StatsNvmeRemoteControllerResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeRemoteControllerStatsResponse other) { - if (other == opi_api.storage.v1.NvmeRemoteControllerStatsResponse.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeRemoteControllerResponse other) { + if (other == opi_api.storage.v1.StatsNvmeRemoteControllerResponse.getDefaultInstance()) return this; if (other.hasStats()) { mergeStats(other.getStats()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeRemoteControllerStatsResponse parsedMessage = null; + opi_api.storage.v1.StatsNvmeRemoteControllerResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeRemoteControllerStatsResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeRemoteControllerResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) - private static final opi_api.storage.v1.NvmeRemoteControllerStatsResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) + private static final opi_api.storage.v1.StatsNvmeRemoteControllerResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeRemoteControllerStatsResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeRemoteControllerResponse(); } - public static opi_api.storage.v1.NvmeRemoteControllerStatsResponse getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeRemoteControllerResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeRemoteControllerStatsResponse parsePartialFrom( + public StatsNvmeRemoteControllerResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeRemoteControllerStatsResponse(input, extensionRegistry); + return new StatsNvmeRemoteControllerResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeRemoteControllerStatsResponse getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeRemoteControllerResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerResponseOrBuilder.java similarity index 86% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsResponseOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerResponseOrBuilder.java index 04a8a0d5..4f001a5c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeRemoteControllerResponseOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NvmeRemoteControllerStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) +public interface StatsNvmeRemoteControllerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemRequest.java new file mode 100644 index 00000000..49e6c981 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_nvme_pcie.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsNvmeSubsystemRequest} + */ +public final class StatsNvmeSubsystemRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeSubsystemRequest) + StatsNvmeSubsystemRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsNvmeSubsystemRequest.newBuilder() to construct. + private StatsNvmeSubsystemRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsNvmeSubsystemRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsNvmeSubsystemRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsNvmeSubsystemRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsNvmeSubsystemRequest.class, opi_api.storage.v1.StatsNvmeSubsystemRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsNvmeSubsystemRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsNvmeSubsystemRequest other = (opi_api.storage.v1.StatsNvmeSubsystemRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsNvmeSubsystemRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeSubsystemRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsNvmeSubsystemRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeSubsystemRequest) + opi_api.storage.v1.StatsNvmeSubsystemRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsNvmeSubsystemRequest.class, opi_api.storage.v1.StatsNvmeSubsystemRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsNvmeSubsystemRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNvmeSubsystemRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeSubsystemRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsNvmeSubsystemRequest build() { + opi_api.storage.v1.StatsNvmeSubsystemRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNvmeSubsystemRequest buildPartial() { + opi_api.storage.v1.StatsNvmeSubsystemRequest result = new opi_api.storage.v1.StatsNvmeSubsystemRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsNvmeSubsystemRequest) { + return mergeFrom((opi_api.storage.v1.StatsNvmeSubsystemRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeSubsystemRequest other) { + if (other == opi_api.storage.v1.StatsNvmeSubsystemRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsNvmeSubsystemRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsNvmeSubsystemRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeSubsystemRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeSubsystemRequest) + private static final opi_api.storage.v1.StatsNvmeSubsystemRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeSubsystemRequest(); + } + + public static opi_api.storage.v1.StatsNvmeSubsystemRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsNvmeSubsystemRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsNvmeSubsystemRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsNvmeSubsystemRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemRequestOrBuilder.java similarity index 54% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemRequestOrBuilder.java index de02bcdd..d8275b60 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeControllerStatsRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemRequestOrBuilder.java @@ -3,17 +3,17 @@ package opi_api.storage.v1; -public interface NvmeControllerStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NvmeControllerStatsRequest) +public interface StatsNvmeSubsystemRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeSubsystemRequest) com.google.protobuf.MessageOrBuilder { /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemResponse.java similarity index 65% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemResponse.java index c1ccd29b..c67cea57 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeNamespaceStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemResponse.java @@ -4,26 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NvmeNamespaceStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeSubsystemResponse} */ -public final class NvmeNamespaceStatsResponse extends +public final class StatsNvmeSubsystemResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NvmeNamespaceStatsResponse) - NvmeNamespaceStatsResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsNvmeSubsystemResponse) + StatsNvmeSubsystemResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NvmeNamespaceStatsResponse.newBuilder() to construct. - private NvmeNamespaceStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsNvmeSubsystemResponse.newBuilder() to construct. + private StatsNvmeSubsystemResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NvmeNamespaceStatsResponse() { - name_ = ""; + private StatsNvmeSubsystemResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NvmeNamespaceStatsResponse(); + return new StatsNvmeSubsystemResponse(); } @java.lang.Override @@ -31,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NvmeNamespaceStatsResponse( + private StatsNvmeSubsystemResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -50,12 +49,6 @@ private NvmeNamespaceStatsResponse( done = true; break; case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { opi_api.storage.v1.VolumeStats.Builder subBuilder = null; if (stats_ != null) { subBuilder = stats_.toBuilder(); @@ -89,59 +82,21 @@ private NvmeNamespaceStatsResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeNamespaceStatsResponse.class, opi_api.storage.v1.NvmeNamespaceStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeSubsystemResponse.class, opi_api.storage.v1.StatsNvmeSubsystemResponse.Builder.class); } - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATS_FIELD_NUMBER = 2; + public static final int STATS_FIELD_NUMBER = 1; private opi_api.storage.v1.VolumeStats stats_; /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return Whether the stats field is set. */ @java.lang.Override @@ -149,7 +104,7 @@ public boolean hasStats() { return stats_ != null; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return The stats. */ @java.lang.Override @@ -157,7 +112,7 @@ public opi_api.storage.v1.VolumeStats getStats() { return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ @java.lang.Override public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { @@ -178,11 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } if (stats_ != null) { - output.writeMessage(2, getStats()); + output.writeMessage(1, getStats()); } unknownFields.writeTo(output); } @@ -193,12 +145,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } if (stats_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); + .computeMessageSize(1, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -210,13 +159,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NvmeNamespaceStatsResponse)) { + if (!(obj instanceof opi_api.storage.v1.StatsNvmeSubsystemResponse)) { return super.equals(obj); } - opi_api.storage.v1.NvmeNamespaceStatsResponse other = (opi_api.storage.v1.NvmeNamespaceStatsResponse) obj; + opi_api.storage.v1.StatsNvmeSubsystemResponse other = (opi_api.storage.v1.StatsNvmeSubsystemResponse) obj; - if (!getName() - .equals(other.getName())) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { if (!getStats() @@ -233,8 +180,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); if (hasStats()) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode(); @@ -244,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom(byte[] data) + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseDelimitedFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( + public static opi_api.storage.v1.StatsNvmeSubsystemResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -319,7 +264,7 @@ public static opi_api.storage.v1.NvmeNamespaceStatsResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NvmeNamespaceStatsResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsNvmeSubsystemResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -335,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NvmeNamespaceStatsResponse} + * Protobuf type {@code opi_api.storage.v1.StatsNvmeSubsystemResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NvmeNamespaceStatsResponse) - opi_api.storage.v1.NvmeNamespaceStatsResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsNvmeSubsystemResponse) + opi_api.storage.v1.StatsNvmeSubsystemResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_fieldAccessorTable + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NvmeNamespaceStatsResponse.class, opi_api.storage.v1.NvmeNamespaceStatsResponse.Builder.class); + opi_api.storage.v1.StatsNvmeSubsystemResponse.class, opi_api.storage.v1.StatsNvmeSubsystemResponse.Builder.class); } - // Construct using opi_api.storage.v1.NvmeNamespaceStatsResponse.newBuilder() + // Construct using opi_api.storage.v1.StatsNvmeSubsystemResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -372,8 +317,6 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - name_ = ""; - if (statsBuilder_ == null) { stats_ = null; } else { @@ -386,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_NvmeNamespaceStatsResponse_descriptor; + return opi_api.storage.v1.FrontendNvmePcieProto.internal_static_opi_api_storage_v1_StatsNvmeSubsystemResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NvmeNamespaceStatsResponse.getDefaultInstance(); + public opi_api.storage.v1.StatsNvmeSubsystemResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsNvmeSubsystemResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsResponse build() { - opi_api.storage.v1.NvmeNamespaceStatsResponse result = buildPartial(); + public opi_api.storage.v1.StatsNvmeSubsystemResponse build() { + opi_api.storage.v1.StatsNvmeSubsystemResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -404,9 +347,8 @@ public opi_api.storage.v1.NvmeNamespaceStatsResponse build() { } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsResponse buildPartial() { - opi_api.storage.v1.NvmeNamespaceStatsResponse result = new opi_api.storage.v1.NvmeNamespaceStatsResponse(this); - result.name_ = name_; + public opi_api.storage.v1.StatsNvmeSubsystemResponse buildPartial() { + opi_api.storage.v1.StatsNvmeSubsystemResponse result = new opi_api.storage.v1.StatsNvmeSubsystemResponse(this); if (statsBuilder_ == null) { result.stats_ = stats_; } else { @@ -450,20 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NvmeNamespaceStatsResponse) { - return mergeFrom((opi_api.storage.v1.NvmeNamespaceStatsResponse)other); + if (other instanceof opi_api.storage.v1.StatsNvmeSubsystemResponse) { + return mergeFrom((opi_api.storage.v1.StatsNvmeSubsystemResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NvmeNamespaceStatsResponse other) { - if (other == opi_api.storage.v1.NvmeNamespaceStatsResponse.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } + public Builder mergeFrom(opi_api.storage.v1.StatsNvmeSubsystemResponse other) { + if (other == opi_api.storage.v1.StatsNvmeSubsystemResponse.getDefaultInstance()) return this; if (other.hasStats()) { mergeStats(other.getStats()); } @@ -482,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NvmeNamespaceStatsResponse parsedMessage = null; + opi_api.storage.v1.StatsNvmeSubsystemResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NvmeNamespaceStatsResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsNvmeSubsystemResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,94 +434,18 @@ public Builder mergeFrom( return this; } - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - private opi_api.storage.v1.VolumeStats stats_; private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; * @return The stats. */ public opi_api.storage.v1.VolumeStats getStats() { @@ -594,7 +456,7 @@ public opi_api.storage.v1.VolumeStats getStats() { } } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder setStats(opi_api.storage.v1.VolumeStats value) { if (statsBuilder_ == null) { @@ -610,7 +472,7 @@ public Builder setStats(opi_api.storage.v1.VolumeStats value) { return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder setStats( opi_api.storage.v1.VolumeStats.Builder builderForValue) { @@ -624,7 +486,7 @@ public Builder setStats( return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { if (statsBuilder_ == null) { @@ -642,7 +504,7 @@ public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -656,7 +518,7 @@ public Builder clearStats() { return this; } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { @@ -664,7 +526,7 @@ public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { return getStatsFieldBuilder().getBuilder(); } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { @@ -675,7 +537,7 @@ public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { } } /** - * .opi_api.storage.v1.VolumeStats stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> @@ -703,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NvmeNamespaceStatsResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsNvmeSubsystemResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeNamespaceStatsResponse) - private static final opi_api.storage.v1.NvmeNamespaceStatsResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeSubsystemResponse) + private static final opi_api.storage.v1.StatsNvmeSubsystemResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NvmeNamespaceStatsResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsNvmeSubsystemResponse(); } - public static opi_api.storage.v1.NvmeNamespaceStatsResponse getDefaultInstance() { + public static opi_api.storage.v1.StatsNvmeSubsystemResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NvmeNamespaceStatsResponse parsePartialFrom( + public StatsNvmeSubsystemResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NvmeNamespaceStatsResponse(input, extensionRegistry); + return new StatsNvmeSubsystemResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NvmeNamespaceStatsResponse getDefaultInstanceForType() { + public opi_api.storage.v1.StatsNvmeSubsystemResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemResponseOrBuilder.java new file mode 100644 index 00000000..a0aa3238 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsNvmeSubsystemResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_nvme_pcie.proto + +package opi_api.storage.v1; + +public interface StatsNvmeSubsystemResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsNvmeSubsystemResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeRequest.java new file mode 100644 index 00000000..6f85937b --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_qos_volume.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsQosVolumeRequest} + */ +public final class StatsQosVolumeRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsQosVolumeRequest) + StatsQosVolumeRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsQosVolumeRequest.newBuilder() to construct. + private StatsQosVolumeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsQosVolumeRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsQosVolumeRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsQosVolumeRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsQosVolumeRequest.class, opi_api.storage.v1.StatsQosVolumeRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsQosVolumeRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsQosVolumeRequest other = (opi_api.storage.v1.StatsQosVolumeRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsQosVolumeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsQosVolumeRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsQosVolumeRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsQosVolumeRequest) + opi_api.storage.v1.StatsQosVolumeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsQosVolumeRequest.class, opi_api.storage.v1.StatsQosVolumeRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsQosVolumeRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsQosVolumeRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeRequest build() { + opi_api.storage.v1.StatsQosVolumeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeRequest buildPartial() { + opi_api.storage.v1.StatsQosVolumeRequest result = new opi_api.storage.v1.StatsQosVolumeRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsQosVolumeRequest) { + return mergeFrom((opi_api.storage.v1.StatsQosVolumeRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsQosVolumeRequest other) { + if (other == opi_api.storage.v1.StatsQosVolumeRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsQosVolumeRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsQosVolumeRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsQosVolumeRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsQosVolumeRequest) + private static final opi_api.storage.v1.StatsQosVolumeRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsQosVolumeRequest(); + } + + public static opi_api.storage.v1.StatsQosVolumeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsQosVolumeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsQosVolumeRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeRequestOrBuilder.java new file mode 100644 index 00000000..1a201f6f --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_qos_volume.proto + +package opi_api.storage.v1; + +public interface StatsQosVolumeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsQosVolumeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeResponse.java new file mode 100644 index 00000000..bda6e068 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_qos_volume.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsQosVolumeResponse} + */ +public final class StatsQosVolumeResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsQosVolumeResponse) + StatsQosVolumeResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsQosVolumeResponse.newBuilder() to construct. + private StatsQosVolumeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsQosVolumeResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsQosVolumeResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsQosVolumeResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsQosVolumeResponse.class, opi_api.storage.v1.StatsQosVolumeResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsQosVolumeResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsQosVolumeResponse other = (opi_api.storage.v1.StatsQosVolumeResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsQosVolumeResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsQosVolumeResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsQosVolumeResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsQosVolumeResponse) + opi_api.storage.v1.StatsQosVolumeResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsQosVolumeResponse.class, opi_api.storage.v1.StatsQosVolumeResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsQosVolumeResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.MiddleendQosVolumeProto.internal_static_opi_api_storage_v1_StatsQosVolumeResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsQosVolumeResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeResponse build() { + opi_api.storage.v1.StatsQosVolumeResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeResponse buildPartial() { + opi_api.storage.v1.StatsQosVolumeResponse result = new opi_api.storage.v1.StatsQosVolumeResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsQosVolumeResponse) { + return mergeFrom((opi_api.storage.v1.StatsQosVolumeResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsQosVolumeResponse other) { + if (other == opi_api.storage.v1.StatsQosVolumeResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsQosVolumeResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsQosVolumeResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsQosVolumeResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsQosVolumeResponse) + private static final opi_api.storage.v1.StatsQosVolumeResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsQosVolumeResponse(); + } + + public static opi_api.storage.v1.StatsQosVolumeResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsQosVolumeResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsQosVolumeResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsQosVolumeResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeResponseOrBuilder.java new file mode 100644 index 00000000..9b8888f5 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsQosVolumeResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: middleend_qos_volume.proto + +package opi_api.storage.v1; + +public interface StatsQosVolumeResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsQosVolumeResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkRequest.java new file mode 100644 index 00000000..0efe4715 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_blk.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioBlkRequest} + */ +public final class StatsVirtioBlkRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioBlkRequest) + StatsVirtioBlkRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioBlkRequest.newBuilder() to construct. + private StatsVirtioBlkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioBlkRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioBlkRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioBlkRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioBlkRequest.class, opi_api.storage.v1.StatsVirtioBlkRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioBlkRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioBlkRequest other = (opi_api.storage.v1.StatsVirtioBlkRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioBlkRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioBlkRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioBlkRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioBlkRequest) + opi_api.storage.v1.StatsVirtioBlkRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioBlkRequest.class, opi_api.storage.v1.StatsVirtioBlkRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioBlkRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioBlkRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkRequest build() { + opi_api.storage.v1.StatsVirtioBlkRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkRequest buildPartial() { + opi_api.storage.v1.StatsVirtioBlkRequest result = new opi_api.storage.v1.StatsVirtioBlkRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioBlkRequest) { + return mergeFrom((opi_api.storage.v1.StatsVirtioBlkRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioBlkRequest other) { + if (other == opi_api.storage.v1.StatsVirtioBlkRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioBlkRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioBlkRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioBlkRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioBlkRequest) + private static final opi_api.storage.v1.StatsVirtioBlkRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioBlkRequest(); + } + + public static opi_api.storage.v1.StatsVirtioBlkRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioBlkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioBlkRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkRequestOrBuilder.java new file mode 100644 index 00000000..c8fa711c --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_blk.proto + +package opi_api.storage.v1; + +public interface StatsVirtioBlkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioBlkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkResponse.java new file mode 100644 index 00000000..b69635cf --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_blk.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioBlkResponse} + */ +public final class StatsVirtioBlkResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioBlkResponse) + StatsVirtioBlkResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioBlkResponse.newBuilder() to construct. + private StatsVirtioBlkResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioBlkResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioBlkResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioBlkResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioBlkResponse.class, opi_api.storage.v1.StatsVirtioBlkResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioBlkResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioBlkResponse other = (opi_api.storage.v1.StatsVirtioBlkResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioBlkResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioBlkResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioBlkResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioBlkResponse) + opi_api.storage.v1.StatsVirtioBlkResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioBlkResponse.class, opi_api.storage.v1.StatsVirtioBlkResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioBlkResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_StatsVirtioBlkResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioBlkResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkResponse build() { + opi_api.storage.v1.StatsVirtioBlkResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkResponse buildPartial() { + opi_api.storage.v1.StatsVirtioBlkResponse result = new opi_api.storage.v1.StatsVirtioBlkResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioBlkResponse) { + return mergeFrom((opi_api.storage.v1.StatsVirtioBlkResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioBlkResponse other) { + if (other == opi_api.storage.v1.StatsVirtioBlkResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioBlkResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioBlkResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioBlkResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioBlkResponse) + private static final opi_api.storage.v1.StatsVirtioBlkResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioBlkResponse(); + } + + public static opi_api.storage.v1.StatsVirtioBlkResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioBlkResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioBlkResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioBlkResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkResponseOrBuilder.java new file mode 100644 index 00000000..d34caa71 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioBlkResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_blk.proto + +package opi_api.storage.v1; + +public interface StatsVirtioBlkResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioBlkResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerRequest.java new file mode 100644 index 00000000..0a15404e --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiControllerRequest} + */ +public final class StatsVirtioScsiControllerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioScsiControllerRequest) + StatsVirtioScsiControllerRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioScsiControllerRequest.newBuilder() to construct. + private StatsVirtioScsiControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioScsiControllerRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioScsiControllerRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioScsiControllerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiControllerRequest.class, opi_api.storage.v1.StatsVirtioScsiControllerRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioScsiControllerRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioScsiControllerRequest other = (opi_api.storage.v1.StatsVirtioScsiControllerRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioScsiControllerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiControllerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioScsiControllerRequest) + opi_api.storage.v1.StatsVirtioScsiControllerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiControllerRequest.class, opi_api.storage.v1.StatsVirtioScsiControllerRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioScsiControllerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioScsiControllerRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerRequest build() { + opi_api.storage.v1.StatsVirtioScsiControllerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerRequest buildPartial() { + opi_api.storage.v1.StatsVirtioScsiControllerRequest result = new opi_api.storage.v1.StatsVirtioScsiControllerRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioScsiControllerRequest) { + return mergeFrom((opi_api.storage.v1.StatsVirtioScsiControllerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioScsiControllerRequest other) { + if (other == opi_api.storage.v1.StatsVirtioScsiControllerRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioScsiControllerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioScsiControllerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioScsiControllerRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiControllerRequest) + private static final opi_api.storage.v1.StatsVirtioScsiControllerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioScsiControllerRequest(); + } + + public static opi_api.storage.v1.StatsVirtioScsiControllerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioScsiControllerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioScsiControllerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerRequestOrBuilder.java new file mode 100644 index 00000000..6cf58e70 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +public interface StatsVirtioScsiControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioScsiControllerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerResponse.java new file mode 100644 index 00000000..ac404329 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiControllerResponse} + */ +public final class StatsVirtioScsiControllerResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioScsiControllerResponse) + StatsVirtioScsiControllerResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioScsiControllerResponse.newBuilder() to construct. + private StatsVirtioScsiControllerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioScsiControllerResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioScsiControllerResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioScsiControllerResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiControllerResponse.class, opi_api.storage.v1.StatsVirtioScsiControllerResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioScsiControllerResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioScsiControllerResponse other = (opi_api.storage.v1.StatsVirtioScsiControllerResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioScsiControllerResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiControllerResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioScsiControllerResponse) + opi_api.storage.v1.StatsVirtioScsiControllerResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiControllerResponse.class, opi_api.storage.v1.StatsVirtioScsiControllerResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioScsiControllerResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiControllerResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioScsiControllerResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerResponse build() { + opi_api.storage.v1.StatsVirtioScsiControllerResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerResponse buildPartial() { + opi_api.storage.v1.StatsVirtioScsiControllerResponse result = new opi_api.storage.v1.StatsVirtioScsiControllerResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioScsiControllerResponse) { + return mergeFrom((opi_api.storage.v1.StatsVirtioScsiControllerResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioScsiControllerResponse other) { + if (other == opi_api.storage.v1.StatsVirtioScsiControllerResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioScsiControllerResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioScsiControllerResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioScsiControllerResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiControllerResponse) + private static final opi_api.storage.v1.StatsVirtioScsiControllerResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioScsiControllerResponse(); + } + + public static opi_api.storage.v1.StatsVirtioScsiControllerResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioScsiControllerResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioScsiControllerResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiControllerResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerResponseOrBuilder.java new file mode 100644 index 00000000..8753139b --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiControllerResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +public interface StatsVirtioScsiControllerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioScsiControllerResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunRequest.java similarity index 62% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunRequest.java index 2739ad5d..736da16c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunRequest.java @@ -4,25 +4,26 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiLunStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiLunRequest} */ -public final class VirtioScsiLunStatsRequest extends +public final class StatsVirtioScsiLunRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioScsiLunStatsRequest) - VirtioScsiLunStatsRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioScsiLunRequest) + StatsVirtioScsiLunRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use VirtioScsiLunStatsRequest.newBuilder() to construct. - private VirtioScsiLunStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use StatsVirtioScsiLunRequest.newBuilder() to construct. + private StatsVirtioScsiLunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VirtioScsiLunStatsRequest() { + private StatsVirtioScsiLunRequest() { + name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new VirtioScsiLunStatsRequest(); + return new StatsVirtioScsiLunRequest(); } @java.lang.Override @@ -30,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private VirtioScsiLunStatsRequest( + private StatsVirtioScsiLunRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -49,6 +50,12 @@ private VirtioScsiLunStatsRequest( done = true; break; case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { opi_api.common.v1.ObjectKey.Builder subBuilder = null; if (controllerId_ != null) { subBuilder = controllerId_.toBuilder(); @@ -61,19 +68,6 @@ private VirtioScsiLunStatsRequest( break; } - case 18: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (lunId_ != null) { - subBuilder = lunId_.toBuilder(); - } - lunId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lunId_); - lunId_ = subBuilder.buildPartial(); - } - - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -95,67 +89,79 @@ private VirtioScsiLunStatsRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_descriptor; + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_fieldAccessorTable + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiLunStatsRequest.class, opi_api.storage.v1.VirtioScsiLunStatsRequest.Builder.class); + opi_api.storage.v1.StatsVirtioScsiLunRequest.class, opi_api.storage.v1.StatsVirtioScsiLunRequest.Builder.class); } - public static final int CONTROLLER_ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey controllerId_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. */ @java.lang.Override - public boolean hasControllerId() { - return controllerId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getControllerId() { - return controllerId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. */ @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { - return getControllerId(); + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int LUN_ID_FIELD_NUMBER = 2; - private opi_api.common.v1.ObjectKey lunId_; + public static final int CONTROLLER_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey controllerId_; /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - * @return Whether the lunId field is set. + * .opi_api.common.v1.ObjectKey controller_id = 2; + * @return Whether the controllerId field is set. */ @java.lang.Override - public boolean hasLunId() { - return lunId_ != null; + public boolean hasControllerId() { + return controllerId_ != null; } /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - * @return The lunId. + * .opi_api.common.v1.ObjectKey controller_id = 2; + * @return The controllerId. */ @java.lang.Override - public opi_api.common.v1.ObjectKey getLunId() { - return lunId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : lunId_; + public opi_api.common.v1.ObjectKey getControllerId() { + return controllerId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; } /** - * .opi_api.common.v1.ObjectKey lun_id = 2; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getLunIdOrBuilder() { - return getLunId(); + public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { + return getControllerId(); } private byte memoizedIsInitialized = -1; @@ -172,11 +178,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (controllerId_ != null) { - output.writeMessage(1, getControllerId()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (lunId_ != null) { - output.writeMessage(2, getLunId()); + if (controllerId_ != null) { + output.writeMessage(2, getControllerId()); } unknownFields.writeTo(output); } @@ -187,13 +193,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (controllerId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getControllerId()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (lunId_ != null) { + if (controllerId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLunId()); + .computeMessageSize(2, getControllerId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,21 +210,18 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.VirtioScsiLunStatsRequest)) { + if (!(obj instanceof opi_api.storage.v1.StatsVirtioScsiLunRequest)) { return super.equals(obj); } - opi_api.storage.v1.VirtioScsiLunStatsRequest other = (opi_api.storage.v1.VirtioScsiLunStatsRequest) obj; + opi_api.storage.v1.StatsVirtioScsiLunRequest other = (opi_api.storage.v1.StatsVirtioScsiLunRequest) obj; + if (!getName() + .equals(other.getName())) return false; if (hasControllerId() != other.hasControllerId()) return false; if (hasControllerId()) { if (!getControllerId() .equals(other.getControllerId())) return false; } - if (hasLunId() != other.hasLunId()) return false; - if (hasLunId()) { - if (!getLunId() - .equals(other.getLunId())) return false; - } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,82 +233,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); if (hasControllerId()) { hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER; hash = (53 * hash) + getControllerId().hashCode(); } - if (hasLunId()) { - hash = (37 * hash) + LUN_ID_FIELD_NUMBER; - hash = (53 * hash) + getLunId().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom(byte[] data) + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseDelimitedFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( + public static opi_api.storage.v1.StatsVirtioScsiLunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -319,7 +319,7 @@ public static opi_api.storage.v1.VirtioScsiLunStatsRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.VirtioScsiLunStatsRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioScsiLunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -335,26 +335,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiLunStatsRequest} + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiLunRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioScsiLunStatsRequest) - opi_api.storage.v1.VirtioScsiLunStatsRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioScsiLunRequest) + opi_api.storage.v1.StatsVirtioScsiLunRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_descriptor; + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_fieldAccessorTable + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiLunStatsRequest.class, opi_api.storage.v1.VirtioScsiLunStatsRequest.Builder.class); + opi_api.storage.v1.StatsVirtioScsiLunRequest.class, opi_api.storage.v1.StatsVirtioScsiLunRequest.Builder.class); } - // Construct using opi_api.storage.v1.VirtioScsiLunStatsRequest.newBuilder() + // Construct using opi_api.storage.v1.StatsVirtioScsiLunRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -372,35 +372,31 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + name_ = ""; + if (controllerIdBuilder_ == null) { controllerId_ = null; } else { controllerId_ = null; controllerIdBuilder_ = null; } - if (lunIdBuilder_ == null) { - lunId_ = null; - } else { - lunId_ = null; - lunIdBuilder_ = null; - } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsRequest_descriptor; + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioScsiLunStatsRequest.getDefaultInstance(); + public opi_api.storage.v1.StatsVirtioScsiLunRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioScsiLunRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsRequest build() { - opi_api.storage.v1.VirtioScsiLunStatsRequest result = buildPartial(); + public opi_api.storage.v1.StatsVirtioScsiLunRequest build() { + opi_api.storage.v1.StatsVirtioScsiLunRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -408,18 +404,14 @@ public opi_api.storage.v1.VirtioScsiLunStatsRequest build() { } @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsRequest buildPartial() { - opi_api.storage.v1.VirtioScsiLunStatsRequest result = new opi_api.storage.v1.VirtioScsiLunStatsRequest(this); + public opi_api.storage.v1.StatsVirtioScsiLunRequest buildPartial() { + opi_api.storage.v1.StatsVirtioScsiLunRequest result = new opi_api.storage.v1.StatsVirtioScsiLunRequest(this); + result.name_ = name_; if (controllerIdBuilder_ == null) { result.controllerId_ = controllerId_; } else { result.controllerId_ = controllerIdBuilder_.build(); } - if (lunIdBuilder_ == null) { - result.lunId_ = lunId_; - } else { - result.lunId_ = lunIdBuilder_.build(); - } onBuilt(); return result; } @@ -458,22 +450,23 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioScsiLunStatsRequest) { - return mergeFrom((opi_api.storage.v1.VirtioScsiLunStatsRequest)other); + if (other instanceof opi_api.storage.v1.StatsVirtioScsiLunRequest) { + return mergeFrom((opi_api.storage.v1.StatsVirtioScsiLunRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.VirtioScsiLunStatsRequest other) { - if (other == opi_api.storage.v1.VirtioScsiLunStatsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioScsiLunRequest other) { + if (other == opi_api.storage.v1.StatsVirtioScsiLunRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } if (other.hasControllerId()) { mergeControllerId(other.getControllerId()); } - if (other.hasLunId()) { - mergeLunId(other.getLunId()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -489,11 +482,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.VirtioScsiLunStatsRequest parsedMessage = null; + opi_api.storage.v1.StatsVirtioScsiLunRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioScsiLunStatsRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.StatsVirtioScsiLunRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -503,18 +496,94 @@ public Builder mergeFrom( return this; } + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + private opi_api.common.v1.ObjectKey controllerId_; private com.google.protobuf.SingleFieldBuilderV3< opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> controllerIdBuilder_; /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; * @return Whether the controllerId field is set. */ public boolean hasControllerId() { return controllerIdBuilder_ != null || controllerId_ != null; } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; * @return The controllerId. */ public opi_api.common.v1.ObjectKey getControllerId() { @@ -525,7 +594,7 @@ public opi_api.common.v1.ObjectKey getControllerId() { } } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ public Builder setControllerId(opi_api.common.v1.ObjectKey value) { if (controllerIdBuilder_ == null) { @@ -541,7 +610,7 @@ public Builder setControllerId(opi_api.common.v1.ObjectKey value) { return this; } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ public Builder setControllerId( opi_api.common.v1.ObjectKey.Builder builderForValue) { @@ -555,7 +624,7 @@ public Builder setControllerId( return this; } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ public Builder mergeControllerId(opi_api.common.v1.ObjectKey value) { if (controllerIdBuilder_ == null) { @@ -573,7 +642,7 @@ public Builder mergeControllerId(opi_api.common.v1.ObjectKey value) { return this; } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ public Builder clearControllerId() { if (controllerIdBuilder_ == null) { @@ -587,7 +656,7 @@ public Builder clearControllerId() { return this; } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ public opi_api.common.v1.ObjectKey.Builder getControllerIdBuilder() { @@ -595,7 +664,7 @@ public opi_api.common.v1.ObjectKey.Builder getControllerIdBuilder() { return getControllerIdFieldBuilder().getBuilder(); } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { if (controllerIdBuilder_ != null) { @@ -606,7 +675,7 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { } } /** - * .opi_api.common.v1.ObjectKey controller_id = 1; + * .opi_api.common.v1.ObjectKey controller_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> @@ -621,125 +690,6 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { } return controllerIdBuilder_; } - - private opi_api.common.v1.ObjectKey lunId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> lunIdBuilder_; - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - * @return Whether the lunId field is set. - */ - public boolean hasLunId() { - return lunIdBuilder_ != null || lunId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - * @return The lunId. - */ - public opi_api.common.v1.ObjectKey getLunId() { - if (lunIdBuilder_ == null) { - return lunId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : lunId_; - } else { - return lunIdBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - public Builder setLunId(opi_api.common.v1.ObjectKey value) { - if (lunIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - lunId_ = value; - onChanged(); - } else { - lunIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - public Builder setLunId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (lunIdBuilder_ == null) { - lunId_ = builderForValue.build(); - onChanged(); - } else { - lunIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - public Builder mergeLunId(opi_api.common.v1.ObjectKey value) { - if (lunIdBuilder_ == null) { - if (lunId_ != null) { - lunId_ = - opi_api.common.v1.ObjectKey.newBuilder(lunId_).mergeFrom(value).buildPartial(); - } else { - lunId_ = value; - } - onChanged(); - } else { - lunIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - public Builder clearLunId() { - if (lunIdBuilder_ == null) { - lunId_ = null; - onChanged(); - } else { - lunId_ = null; - lunIdBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - public opi_api.common.v1.ObjectKey.Builder getLunIdBuilder() { - - onChanged(); - return getLunIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getLunIdOrBuilder() { - if (lunIdBuilder_ != null) { - return lunIdBuilder_.getMessageOrBuilder(); - } else { - return lunId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : lunId_; - } - } - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getLunIdFieldBuilder() { - if (lunIdBuilder_ == null) { - lunIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getLunId(), - getParentForChildren(), - isClean()); - lunId_ = null; - } - return lunIdBuilder_; - } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -753,41 +703,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioScsiLunStatsRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioScsiLunRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiLunStatsRequest) - private static final opi_api.storage.v1.VirtioScsiLunStatsRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiLunRequest) + private static final opi_api.storage.v1.StatsVirtioScsiLunRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioScsiLunStatsRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioScsiLunRequest(); } - public static opi_api.storage.v1.VirtioScsiLunStatsRequest getDefaultInstance() { + public static opi_api.storage.v1.StatsVirtioScsiLunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public VirtioScsiLunStatsRequest parsePartialFrom( + public StatsVirtioScsiLunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioScsiLunStatsRequest(input, extensionRegistry); + return new StatsVirtioScsiLunRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsRequest getDefaultInstanceForType() { + public opi_api.storage.v1.StatsVirtioScsiLunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunRequestOrBuilder.java new file mode 100644 index 00000000..003c6c47 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +public interface StatsVirtioScsiLunRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioScsiLunRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * .opi_api.common.v1.ObjectKey controller_id = 2; + * @return Whether the controllerId field is set. + */ + boolean hasControllerId(); + /** + * .opi_api.common.v1.ObjectKey controller_id = 2; + * @return The controllerId. + */ + opi_api.common.v1.ObjectKey getControllerId(); + /** + * .opi_api.common.v1.ObjectKey controller_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunResponse.java new file mode 100644 index 00000000..ca2b7e24 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiLunResponse} + */ +public final class StatsVirtioScsiLunResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioScsiLunResponse) + StatsVirtioScsiLunResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioScsiLunResponse.newBuilder() to construct. + private StatsVirtioScsiLunResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioScsiLunResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioScsiLunResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioScsiLunResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiLunResponse.class, opi_api.storage.v1.StatsVirtioScsiLunResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioScsiLunResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioScsiLunResponse other = (opi_api.storage.v1.StatsVirtioScsiLunResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiLunResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioScsiLunResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiLunResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioScsiLunResponse) + opi_api.storage.v1.StatsVirtioScsiLunResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiLunResponse.class, opi_api.storage.v1.StatsVirtioScsiLunResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioScsiLunResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiLunResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiLunResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioScsiLunResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiLunResponse build() { + opi_api.storage.v1.StatsVirtioScsiLunResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiLunResponse buildPartial() { + opi_api.storage.v1.StatsVirtioScsiLunResponse result = new opi_api.storage.v1.StatsVirtioScsiLunResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioScsiLunResponse) { + return mergeFrom((opi_api.storage.v1.StatsVirtioScsiLunResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioScsiLunResponse other) { + if (other == opi_api.storage.v1.StatsVirtioScsiLunResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioScsiLunResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioScsiLunResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioScsiLunResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiLunResponse) + private static final opi_api.storage.v1.StatsVirtioScsiLunResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioScsiLunResponse(); + } + + public static opi_api.storage.v1.StatsVirtioScsiLunResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioScsiLunResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioScsiLunResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiLunResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunResponseOrBuilder.java new file mode 100644 index 00000000..ba82ea6f --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiLunResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +public interface StatsVirtioScsiLunResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioScsiLunResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetRequest.java new file mode 100644 index 00000000..66d900a7 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetRequest.java @@ -0,0 +1,557 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiTargetRequest} + */ +public final class StatsVirtioScsiTargetRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioScsiTargetRequest) + StatsVirtioScsiTargetRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioScsiTargetRequest.newBuilder() to construct. + private StatsVirtioScsiTargetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioScsiTargetRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioScsiTargetRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioScsiTargetRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiTargetRequest.class, opi_api.storage.v1.StatsVirtioScsiTargetRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioScsiTargetRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioScsiTargetRequest other = (opi_api.storage.v1.StatsVirtioScsiTargetRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioScsiTargetRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiTargetRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioScsiTargetRequest) + opi_api.storage.v1.StatsVirtioScsiTargetRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiTargetRequest.class, opi_api.storage.v1.StatsVirtioScsiTargetRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioScsiTargetRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetRequest getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioScsiTargetRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetRequest build() { + opi_api.storage.v1.StatsVirtioScsiTargetRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetRequest buildPartial() { + opi_api.storage.v1.StatsVirtioScsiTargetRequest result = new opi_api.storage.v1.StatsVirtioScsiTargetRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioScsiTargetRequest) { + return mergeFrom((opi_api.storage.v1.StatsVirtioScsiTargetRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioScsiTargetRequest other) { + if (other == opi_api.storage.v1.StatsVirtioScsiTargetRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioScsiTargetRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioScsiTargetRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioScsiTargetRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiTargetRequest) + private static final opi_api.storage.v1.StatsVirtioScsiTargetRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioScsiTargetRequest(); + } + + public static opi_api.storage.v1.StatsVirtioScsiTargetRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioScsiTargetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioScsiTargetRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetRequestOrBuilder.java new file mode 100644 index 00000000..f2e8972b --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetRequestOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +public interface StatsVirtioScsiTargetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioScsiTargetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetResponse.java new file mode 100644 index 00000000..eadae14b --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetResponse.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiTargetResponse} + */ +public final class StatsVirtioScsiTargetResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.StatsVirtioScsiTargetResponse) + StatsVirtioScsiTargetResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use StatsVirtioScsiTargetResponse.newBuilder() to construct. + private StatsVirtioScsiTargetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StatsVirtioScsiTargetResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatsVirtioScsiTargetResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StatsVirtioScsiTargetResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.storage.v1.VolumeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiTargetResponse.class, opi_api.storage.v1.StatsVirtioScsiTargetResponse.Builder.class); + } + + public static final int STATS_FIELD_NUMBER = 1; + private opi_api.storage.v1.VolumeStats stats_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + @java.lang.Override + public boolean hasStats() { + return stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + @java.lang.Override + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stats_ != null) { + output.writeMessage(1, getStats()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof opi_api.storage.v1.StatsVirtioScsiTargetResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.StatsVirtioScsiTargetResponse other = (opi_api.storage.v1.StatsVirtioScsiTargetResponse) obj; + + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats() + .equals(other.getStats())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(opi_api.storage.v1.StatsVirtioScsiTargetResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code opi_api.storage.v1.StatsVirtioScsiTargetResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.StatsVirtioScsiTargetResponse) + opi_api.storage.v1.StatsVirtioScsiTargetResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.StatsVirtioScsiTargetResponse.class, opi_api.storage.v1.StatsVirtioScsiTargetResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.StatsVirtioScsiTargetResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_StatsVirtioScsiTargetResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetResponse getDefaultInstanceForType() { + return opi_api.storage.v1.StatsVirtioScsiTargetResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetResponse build() { + opi_api.storage.v1.StatsVirtioScsiTargetResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetResponse buildPartial() { + opi_api.storage.v1.StatsVirtioScsiTargetResponse result = new opi_api.storage.v1.StatsVirtioScsiTargetResponse(this); + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.StatsVirtioScsiTargetResponse) { + return mergeFrom((opi_api.storage.v1.StatsVirtioScsiTargetResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.StatsVirtioScsiTargetResponse other) { + if (other == opi_api.storage.v1.StatsVirtioScsiTargetResponse.getDefaultInstance()) return this; + if (other.hasStats()) { + mergeStats(other.getStats()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.StatsVirtioScsiTargetResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.StatsVirtioScsiTargetResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.storage.v1.VolumeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder setStats( + opi_api.storage.v1.VolumeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null ? + opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; + } + } + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.StatsVirtioScsiTargetResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiTargetResponse) + private static final opi_api.storage.v1.StatsVirtioScsiTargetResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.StatsVirtioScsiTargetResponse(); + } + + public static opi_api.storage.v1.StatsVirtioScsiTargetResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatsVirtioScsiTargetResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatsVirtioScsiTargetResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public opi_api.storage.v1.StatsVirtioScsiTargetResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetResponseOrBuilder.java new file mode 100644 index 00000000..cc54539b --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/StatsVirtioScsiTargetResponseOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: frontend_virtio_scsi.proto + +package opi_api.storage.v1; + +public interface StatsVirtioScsiTargetResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.StatsVirtioScsiTargetResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return Whether the stats field is set. + */ + boolean hasStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + * @return The stats. + */ + opi_api.storage.v1.VolumeStats getStats(); + /** + * .opi_api.storage.v1.VolumeStats stats = 1; + */ + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlk.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlk.java index 005327a5..85f50d72 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlk.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlk.java @@ -17,6 +17,7 @@ private VirtioBlk(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private VirtioBlk() { name_ = ""; + volumeNameRef_ = ""; } @java.lang.Override @@ -69,16 +70,9 @@ private VirtioBlk( break; } case 26: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (volumeId_ != null) { - subBuilder = volumeId_.toBuilder(); - } - volumeId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(volumeId_); - volumeId_ = subBuilder.buildPartial(); - } + java.lang.String s = input.readStringRequireUtf8(); + volumeNameRef_ = s; break; } case 32: { @@ -153,7 +147,7 @@ private VirtioBlk( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -176,7 +170,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -232,42 +226,50 @@ public opi_api.storage.v1.PciEndpointOrBuilder getPcieIdOrBuilder() { return getPcieId(); } - public static final int VOLUME_ID_FIELD_NUMBER = 3; - private opi_api.common.v1.ObjectKey volumeId_; - /** - *
-   * The back/middle-end volume to back this controller
-   * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 3; - * @return Whether the volumeId field is set. - */ - @java.lang.Override - public boolean hasVolumeId() { - return volumeId_ != null; - } + public static final int VOLUME_NAME_REF_FIELD_NUMBER = 3; + private volatile java.lang.Object volumeNameRef_; /** *
    * The back/middle-end volume to back this controller
    * 
* - * .opi_api.common.v1.ObjectKey volume_id = 3; - * @return The volumeId. + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The volumeNameRef. */ @java.lang.Override - public opi_api.common.v1.ObjectKey getVolumeId() { - return volumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; + public java.lang.String getVolumeNameRef() { + java.lang.Object ref = volumeNameRef_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + volumeNameRef_ = s; + return s; + } } /** *
    * The back/middle-end volume to back this controller
    * 
* - * .opi_api.common.v1.ObjectKey volume_id = 3; + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for volumeNameRef. */ @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder() { - return getVolumeId(); + public com.google.protobuf.ByteString + getVolumeNameRefBytes() { + java.lang.Object ref = volumeNameRef_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + volumeNameRef_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } public static final int MAX_IO_QPS_FIELD_NUMBER = 4; @@ -377,8 +379,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (pcieId_ != null) { output.writeMessage(2, getPcieId()); } - if (volumeId_ != null) { - output.writeMessage(3, getVolumeId()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeNameRef_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, volumeNameRef_); } if (maxIoQps_ != 0L) { output.writeInt64(4, maxIoQps_); @@ -405,9 +407,8 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPcieId()); } - if (volumeId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getVolumeId()); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeNameRef_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, volumeNameRef_); } if (maxIoQps_ != 0L) { size += com.google.protobuf.CodedOutputStream @@ -443,11 +444,8 @@ public boolean equals(final java.lang.Object obj) { if (!getPcieId() .equals(other.getPcieId())) return false; } - if (hasVolumeId() != other.hasVolumeId()) return false; - if (hasVolumeId()) { - if (!getVolumeId() - .equals(other.getVolumeId())) return false; - } + if (!getVolumeNameRef() + .equals(other.getVolumeNameRef())) return false; if (getMaxIoQps() != other.getMaxIoQps()) return false; if (hasMinLimit() != other.hasMinLimit()) return false; @@ -477,10 +475,8 @@ public int hashCode() { hash = (37 * hash) + PCIE_ID_FIELD_NUMBER; hash = (53 * hash) + getPcieId().hashCode(); } - if (hasVolumeId()) { - hash = (37 * hash) + VOLUME_ID_FIELD_NUMBER; - hash = (53 * hash) + getVolumeId().hashCode(); - } + hash = (37 * hash) + VOLUME_NAME_REF_FIELD_NUMBER; + hash = (53 * hash) + getVolumeNameRef().hashCode(); hash = (37 * hash) + MAX_IO_QPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxIoQps()); @@ -633,12 +629,8 @@ public Builder clear() { pcieId_ = null; pcieIdBuilder_ = null; } - if (volumeIdBuilder_ == null) { - volumeId_ = null; - } else { - volumeId_ = null; - volumeIdBuilder_ = null; - } + volumeNameRef_ = ""; + maxIoQps_ = 0L; if (minLimitBuilder_ == null) { @@ -685,11 +677,7 @@ public opi_api.storage.v1.VirtioBlk buildPartial() { } else { result.pcieId_ = pcieIdBuilder_.build(); } - if (volumeIdBuilder_ == null) { - result.volumeId_ = volumeId_; - } else { - result.volumeId_ = volumeIdBuilder_.build(); - } + result.volumeNameRef_ = volumeNameRef_; result.maxIoQps_ = maxIoQps_; if (minLimitBuilder_ == null) { result.minLimit_ = minLimit_; @@ -756,8 +744,9 @@ public Builder mergeFrom(opi_api.storage.v1.VirtioBlk other) { if (other.hasPcieId()) { mergePcieId(other.getPcieId()); } - if (other.hasVolumeId()) { - mergeVolumeId(other.getVolumeId()); + if (!other.getVolumeNameRef().isEmpty()) { + volumeNameRef_ = other.volumeNameRef_; + onChanged(); } if (other.getMaxIoQps() != 0L) { setMaxIoQps(other.getMaxIoQps()); @@ -805,7 +794,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -827,7 +816,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -850,7 +839,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -871,7 +860,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -887,7 +876,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -1058,93 +1047,65 @@ public opi_api.storage.v1.PciEndpointOrBuilder getPcieIdOrBuilder() { return pcieIdBuilder_; } - private opi_api.common.v1.ObjectKey volumeId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> volumeIdBuilder_; + private java.lang.Object volumeNameRef_ = ""; /** *
      * The back/middle-end volume to back this controller
      * 
* - * .opi_api.common.v1.ObjectKey volume_id = 3; - * @return Whether the volumeId field is set. + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The volumeNameRef. */ - public boolean hasVolumeId() { - return volumeIdBuilder_ != null || volumeId_ != null; - } - /** - *
-     * The back/middle-end volume to back this controller
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 3; - * @return The volumeId. - */ - public opi_api.common.v1.ObjectKey getVolumeId() { - if (volumeIdBuilder_ == null) { - return volumeId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } else { - return volumeIdBuilder_.getMessage(); - } - } - /** - *
-     * The back/middle-end volume to back this controller
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 3; - */ - public Builder setVolumeId(opi_api.common.v1.ObjectKey value) { - if (volumeIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - volumeId_ = value; - onChanged(); + public java.lang.String getVolumeNameRef() { + java.lang.Object ref = volumeNameRef_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + volumeNameRef_ = s; + return s; } else { - volumeIdBuilder_.setMessage(value); + return (java.lang.String) ref; } - - return this; } /** *
      * The back/middle-end volume to back this controller
      * 
* - * .opi_api.common.v1.ObjectKey volume_id = 3; + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for volumeNameRef. */ - public Builder setVolumeId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (volumeIdBuilder_ == null) { - volumeId_ = builderForValue.build(); - onChanged(); + public com.google.protobuf.ByteString + getVolumeNameRefBytes() { + java.lang.Object ref = volumeNameRef_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + volumeNameRef_ = b; + return b; } else { - volumeIdBuilder_.setMessage(builderForValue.build()); + return (com.google.protobuf.ByteString) ref; } - - return this; } /** *
      * The back/middle-end volume to back this controller
      * 
* - * .opi_api.common.v1.ObjectKey volume_id = 3; + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The volumeNameRef to set. + * @return This builder for chaining. */ - public Builder mergeVolumeId(opi_api.common.v1.ObjectKey value) { - if (volumeIdBuilder_ == null) { - if (volumeId_ != null) { - volumeId_ = - opi_api.common.v1.ObjectKey.newBuilder(volumeId_).mergeFrom(value).buildPartial(); - } else { - volumeId_ = value; - } - onChanged(); - } else { - volumeIdBuilder_.mergeFrom(value); - } - + public Builder setVolumeNameRef( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + volumeNameRef_ = value; + onChanged(); return this; } /** @@ -1152,17 +1113,13 @@ public Builder mergeVolumeId(opi_api.common.v1.ObjectKey value) { * The back/middle-end volume to back this controller * * - * .opi_api.common.v1.ObjectKey volume_id = 3; + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. */ - public Builder clearVolumeId() { - if (volumeIdBuilder_ == null) { - volumeId_ = null; - onChanged(); - } else { - volumeId_ = null; - volumeIdBuilder_ = null; - } - + public Builder clearVolumeNameRef() { + + volumeNameRef_ = getDefaultInstance().getVolumeNameRef(); + onChanged(); return this; } /** @@ -1170,47 +1127,20 @@ public Builder clearVolumeId() { * The back/middle-end volume to back this controller * * - * .opi_api.common.v1.ObjectKey volume_id = 3; + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for volumeNameRef to set. + * @return This builder for chaining. */ - public opi_api.common.v1.ObjectKey.Builder getVolumeIdBuilder() { + public Builder setVolumeNameRefBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + volumeNameRef_ = value; onChanged(); - return getVolumeIdFieldBuilder().getBuilder(); - } - /** - *
-     * The back/middle-end volume to back this controller
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 3; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder() { - if (volumeIdBuilder_ != null) { - return volumeIdBuilder_.getMessageOrBuilder(); - } else { - return volumeId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : volumeId_; - } - } - /** - *
-     * The back/middle-end volume to back this controller
-     * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getVolumeIdFieldBuilder() { - if (volumeIdBuilder_ == null) { - volumeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getVolumeId(), - getParentForChildren(), - isClean()); - volumeId_ = null; - } - return volumeIdBuilder_; + return this; } private long maxIoQps_ ; diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkOrBuilder.java index 4ede2037..820fd5d0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkOrBuilder.java @@ -14,7 +14,7 @@ public interface VirtioBlkOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface VirtioBlkOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString @@ -63,27 +63,20 @@ public interface VirtioBlkOrBuilder extends * The back/middle-end volume to back this controller * * - * .opi_api.common.v1.ObjectKey volume_id = 3; - * @return Whether the volumeId field is set. + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The volumeNameRef. */ - boolean hasVolumeId(); + java.lang.String getVolumeNameRef(); /** *
    * The back/middle-end volume to back this controller
    * 
* - * .opi_api.common.v1.ObjectKey volume_id = 3; - * @return The volumeId. + * string volume_name_ref = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for volumeNameRef. */ - opi_api.common.v1.ObjectKey getVolumeId(); - /** - *
-   * The back/middle-end volume to back this controller
-   * 
- * - * .opi_api.common.v1.ObjectKey volume_id = 3; - */ - opi_api.common.v1.ObjectKeyOrBuilder getVolumeIdOrBuilder(); + com.google.protobuf.ByteString + getVolumeNameRefBytes(); /** * int64 max_io_qps = 4; diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsRequest.java deleted file mode 100644 index 7b214f0c..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsRequest.java +++ /dev/null @@ -1,607 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_blk.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioBlkStatsRequest} - */ -public final class VirtioBlkStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioBlkStatsRequest) - VirtioBlkStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioBlkStatsRequest.newBuilder() to construct. - private VirtioBlkStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioBlkStatsRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioBlkStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioBlkStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (controllerId_ != null) { - subBuilder = controllerId_.toBuilder(); - } - controllerId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controllerId_); - controllerId_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioBlkStatsRequest.class, opi_api.storage.v1.VirtioBlkStatsRequest.Builder.class); - } - - public static final int CONTROLLER_ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey controllerId_; - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - @java.lang.Override - public boolean hasControllerId() { - return controllerId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getControllerId() { - return controllerId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { - return getControllerId(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (controllerId_ != null) { - output.writeMessage(1, getControllerId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (controllerId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getControllerId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioBlkStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioBlkStatsRequest other = (opi_api.storage.v1.VirtioBlkStatsRequest) obj; - - if (hasControllerId() != other.hasControllerId()) return false; - if (hasControllerId()) { - if (!getControllerId() - .equals(other.getControllerId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasControllerId()) { - hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER; - hash = (53 * hash) + getControllerId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioBlkStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioBlkStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioBlkStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioBlkStatsRequest) - opi_api.storage.v1.VirtioBlkStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioBlkStatsRequest.class, opi_api.storage.v1.VirtioBlkStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioBlkStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (controllerIdBuilder_ == null) { - controllerId_ = null; - } else { - controllerId_ = null; - controllerIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioBlkStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsRequest build() { - opi_api.storage.v1.VirtioBlkStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsRequest buildPartial() { - opi_api.storage.v1.VirtioBlkStatsRequest result = new opi_api.storage.v1.VirtioBlkStatsRequest(this); - if (controllerIdBuilder_ == null) { - result.controllerId_ = controllerId_; - } else { - result.controllerId_ = controllerIdBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioBlkStatsRequest) { - return mergeFrom((opi_api.storage.v1.VirtioBlkStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioBlkStatsRequest other) { - if (other == opi_api.storage.v1.VirtioBlkStatsRequest.getDefaultInstance()) return this; - if (other.hasControllerId()) { - mergeControllerId(other.getControllerId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioBlkStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioBlkStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey controllerId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> controllerIdBuilder_; - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - public boolean hasControllerId() { - return controllerIdBuilder_ != null || controllerId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - public opi_api.common.v1.ObjectKey getControllerId() { - if (controllerIdBuilder_ == null) { - return controllerId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; - } else { - return controllerIdBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder setControllerId(opi_api.common.v1.ObjectKey value) { - if (controllerIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - controllerId_ = value; - onChanged(); - } else { - controllerIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder setControllerId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (controllerIdBuilder_ == null) { - controllerId_ = builderForValue.build(); - onChanged(); - } else { - controllerIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder mergeControllerId(opi_api.common.v1.ObjectKey value) { - if (controllerIdBuilder_ == null) { - if (controllerId_ != null) { - controllerId_ = - opi_api.common.v1.ObjectKey.newBuilder(controllerId_).mergeFrom(value).buildPartial(); - } else { - controllerId_ = value; - } - onChanged(); - } else { - controllerIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder clearControllerId() { - if (controllerIdBuilder_ == null) { - controllerId_ = null; - onChanged(); - } else { - controllerId_ = null; - controllerIdBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getControllerIdBuilder() { - - onChanged(); - return getControllerIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { - if (controllerIdBuilder_ != null) { - return controllerIdBuilder_.getMessageOrBuilder(); - } else { - return controllerId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; - } - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getControllerIdFieldBuilder() { - if (controllerIdBuilder_ == null) { - controllerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getControllerId(), - getParentForChildren(), - isClean()); - controllerId_ = null; - } - return controllerIdBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioBlkStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioBlkStatsRequest) - private static final opi_api.storage.v1.VirtioBlkStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioBlkStatsRequest(); - } - - public static opi_api.storage.v1.VirtioBlkStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioBlkStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioBlkStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsRequestOrBuilder.java deleted file mode 100644 index 86363503..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_blk.proto - -package opi_api.storage.v1; - -public interface VirtioBlkStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioBlkStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - boolean hasControllerId(); - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - opi_api.common.v1.ObjectKey getControllerId(); - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java deleted file mode 100644 index 803d94e9..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_blk.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioBlkStatsResponse} - */ -public final class VirtioBlkStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioBlkStatsResponse) - VirtioBlkStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioBlkStatsResponse.newBuilder() to construct. - private VirtioBlkStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioBlkStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioBlkStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioBlkStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioBlkStatsResponse.class, opi_api.storage.v1.VirtioBlkStatsResponse.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey id_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getId() { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioBlkStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioBlkStatsResponse other = (opi_api.storage.v1.VirtioBlkStatsResponse) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioBlkStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioBlkStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioBlkStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioBlkStatsResponse) - opi_api.storage.v1.VirtioBlkStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioBlkStatsResponse.class, opi_api.storage.v1.VirtioBlkStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioBlkStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioBlkProto.internal_static_opi_api_storage_v1_VirtioBlkStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioBlkStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsResponse build() { - opi_api.storage.v1.VirtioBlkStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsResponse buildPartial() { - opi_api.storage.v1.VirtioBlkStatsResponse result = new opi_api.storage.v1.VirtioBlkStatsResponse(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioBlkStatsResponse) { - return mergeFrom((opi_api.storage.v1.VirtioBlkStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioBlkStatsResponse other) { - if (other == opi_api.storage.v1.VirtioBlkStatsResponse.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioBlkStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioBlkStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey id_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - public opi_api.common.v1.ObjectKey getId() { - if (idBuilder_ == null) { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder mergeId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioBlkStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioBlkStatsResponse) - private static final opi_api.storage.v1.VirtioBlkStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioBlkStatsResponse(); - } - - public static opi_api.storage.v1.VirtioBlkStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioBlkStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioBlkStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioBlkStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java deleted file mode 100644 index 1a64f928..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_blk.proto - -package opi_api.storage.v1; - -public interface VirtioBlkStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioBlkStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - opi_api.common.v1.ObjectKey getId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiController.java index 56644e66..bd04f31f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiController.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiController.java @@ -135,7 +135,7 @@ private VirtioScsiController( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -158,7 +158,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -690,7 +690,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -712,7 +712,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -735,7 +735,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -756,7 +756,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -772,7 +772,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerOrBuilder.java index 5af08a30..543f034b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerOrBuilder.java @@ -14,7 +14,7 @@ public interface VirtioScsiControllerOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface VirtioScsiControllerOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsRequest.java deleted file mode 100644 index f5ad536e..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsRequest.java +++ /dev/null @@ -1,607 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiControllerStatsRequest} - */ -public final class VirtioScsiControllerStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioScsiControllerStatsRequest) - VirtioScsiControllerStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioScsiControllerStatsRequest.newBuilder() to construct. - private VirtioScsiControllerStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioScsiControllerStatsRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioScsiControllerStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioScsiControllerStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (controllerId_ != null) { - subBuilder = controllerId_.toBuilder(); - } - controllerId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controllerId_); - controllerId_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiControllerStatsRequest.class, opi_api.storage.v1.VirtioScsiControllerStatsRequest.Builder.class); - } - - public static final int CONTROLLER_ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey controllerId_; - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - @java.lang.Override - public boolean hasControllerId() { - return controllerId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getControllerId() { - return controllerId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { - return getControllerId(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (controllerId_ != null) { - output.writeMessage(1, getControllerId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (controllerId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getControllerId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioScsiControllerStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioScsiControllerStatsRequest other = (opi_api.storage.v1.VirtioScsiControllerStatsRequest) obj; - - if (hasControllerId() != other.hasControllerId()) return false; - if (hasControllerId()) { - if (!getControllerId() - .equals(other.getControllerId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasControllerId()) { - hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER; - hash = (53 * hash) + getControllerId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioScsiControllerStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiControllerStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioScsiControllerStatsRequest) - opi_api.storage.v1.VirtioScsiControllerStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiControllerStatsRequest.class, opi_api.storage.v1.VirtioScsiControllerStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioScsiControllerStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (controllerIdBuilder_ == null) { - controllerId_ = null; - } else { - controllerId_ = null; - controllerIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioScsiControllerStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsRequest build() { - opi_api.storage.v1.VirtioScsiControllerStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsRequest buildPartial() { - opi_api.storage.v1.VirtioScsiControllerStatsRequest result = new opi_api.storage.v1.VirtioScsiControllerStatsRequest(this); - if (controllerIdBuilder_ == null) { - result.controllerId_ = controllerId_; - } else { - result.controllerId_ = controllerIdBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioScsiControllerStatsRequest) { - return mergeFrom((opi_api.storage.v1.VirtioScsiControllerStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioScsiControllerStatsRequest other) { - if (other == opi_api.storage.v1.VirtioScsiControllerStatsRequest.getDefaultInstance()) return this; - if (other.hasControllerId()) { - mergeControllerId(other.getControllerId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioScsiControllerStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioScsiControllerStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey controllerId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> controllerIdBuilder_; - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - public boolean hasControllerId() { - return controllerIdBuilder_ != null || controllerId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - public opi_api.common.v1.ObjectKey getControllerId() { - if (controllerIdBuilder_ == null) { - return controllerId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; - } else { - return controllerIdBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder setControllerId(opi_api.common.v1.ObjectKey value) { - if (controllerIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - controllerId_ = value; - onChanged(); - } else { - controllerIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder setControllerId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (controllerIdBuilder_ == null) { - controllerId_ = builderForValue.build(); - onChanged(); - } else { - controllerIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder mergeControllerId(opi_api.common.v1.ObjectKey value) { - if (controllerIdBuilder_ == null) { - if (controllerId_ != null) { - controllerId_ = - opi_api.common.v1.ObjectKey.newBuilder(controllerId_).mergeFrom(value).buildPartial(); - } else { - controllerId_ = value; - } - onChanged(); - } else { - controllerIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public Builder clearControllerId() { - if (controllerIdBuilder_ == null) { - controllerId_ = null; - onChanged(); - } else { - controllerId_ = null; - controllerIdBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getControllerIdBuilder() { - - onChanged(); - return getControllerIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { - if (controllerIdBuilder_ != null) { - return controllerIdBuilder_.getMessageOrBuilder(); - } else { - return controllerId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : controllerId_; - } - } - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getControllerIdFieldBuilder() { - if (controllerIdBuilder_ == null) { - controllerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getControllerId(), - getParentForChildren(), - isClean()); - controllerId_ = null; - } - return controllerIdBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioScsiControllerStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiControllerStatsRequest) - private static final opi_api.storage.v1.VirtioScsiControllerStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioScsiControllerStatsRequest(); - } - - public static opi_api.storage.v1.VirtioScsiControllerStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioScsiControllerStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioScsiControllerStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsRequestOrBuilder.java deleted file mode 100644 index 4bfc2169..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -public interface VirtioScsiControllerStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioScsiControllerStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - boolean hasControllerId(); - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - opi_api.common.v1.ObjectKey getControllerId(); - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java deleted file mode 100644 index 499f32b2..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiControllerStatsResponse} - */ -public final class VirtioScsiControllerStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioScsiControllerStatsResponse) - VirtioScsiControllerStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioScsiControllerStatsResponse.newBuilder() to construct. - private VirtioScsiControllerStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioScsiControllerStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioScsiControllerStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioScsiControllerStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiControllerStatsResponse.class, opi_api.storage.v1.VirtioScsiControllerStatsResponse.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey id_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getId() { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioScsiControllerStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioScsiControllerStatsResponse other = (opi_api.storage.v1.VirtioScsiControllerStatsResponse) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioScsiControllerStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiControllerStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioScsiControllerStatsResponse) - opi_api.storage.v1.VirtioScsiControllerStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiControllerStatsResponse.class, opi_api.storage.v1.VirtioScsiControllerStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioScsiControllerStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiControllerStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioScsiControllerStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsResponse build() { - opi_api.storage.v1.VirtioScsiControllerStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsResponse buildPartial() { - opi_api.storage.v1.VirtioScsiControllerStatsResponse result = new opi_api.storage.v1.VirtioScsiControllerStatsResponse(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioScsiControllerStatsResponse) { - return mergeFrom((opi_api.storage.v1.VirtioScsiControllerStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioScsiControllerStatsResponse other) { - if (other == opi_api.storage.v1.VirtioScsiControllerStatsResponse.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioScsiControllerStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioScsiControllerStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey id_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - public opi_api.common.v1.ObjectKey getId() { - if (idBuilder_ == null) { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder mergeId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioScsiControllerStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiControllerStatsResponse) - private static final opi_api.storage.v1.VirtioScsiControllerStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioScsiControllerStatsResponse(); - } - - public static opi_api.storage.v1.VirtioScsiControllerStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioScsiControllerStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioScsiControllerStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiControllerStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java deleted file mode 100644 index bbbe7371..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -public interface VirtioScsiControllerStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioScsiControllerStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - opi_api.common.v1.ObjectKey getId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLun.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLun.java index 206973c6..19ae40aa 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLun.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLun.java @@ -122,7 +122,7 @@ private VirtioScsiLun( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -145,7 +145,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -609,7 +609,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -631,7 +631,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -654,7 +654,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -675,7 +675,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -691,7 +691,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunOrBuilder.java index 6eb20c03..3b9a7ffe 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunOrBuilder.java @@ -14,7 +14,7 @@ public interface VirtioScsiLunOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface VirtioScsiLunOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsRequestOrBuilder.java deleted file mode 100644 index 4dfa967b..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsRequestOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -public interface VirtioScsiLunStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioScsiLunStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return Whether the controllerId field is set. - */ - boolean hasControllerId(); - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - * @return The controllerId. - */ - opi_api.common.v1.ObjectKey getControllerId(); - /** - * .opi_api.common.v1.ObjectKey controller_id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); - - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - * @return Whether the lunId field is set. - */ - boolean hasLunId(); - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - * @return The lunId. - */ - opi_api.common.v1.ObjectKey getLunId(); - /** - * .opi_api.common.v1.ObjectKey lun_id = 2; - */ - opi_api.common.v1.ObjectKeyOrBuilder getLunIdOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java deleted file mode 100644 index 9e65cdb8..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiLunStatsResponse} - */ -public final class VirtioScsiLunStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioScsiLunStatsResponse) - VirtioScsiLunStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioScsiLunStatsResponse.newBuilder() to construct. - private VirtioScsiLunStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioScsiLunStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioScsiLunStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioScsiLunStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiLunStatsResponse.class, opi_api.storage.v1.VirtioScsiLunStatsResponse.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey id_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getId() { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioScsiLunStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioScsiLunStatsResponse other = (opi_api.storage.v1.VirtioScsiLunStatsResponse) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiLunStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioScsiLunStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiLunStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioScsiLunStatsResponse) - opi_api.storage.v1.VirtioScsiLunStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiLunStatsResponse.class, opi_api.storage.v1.VirtioScsiLunStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioScsiLunStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiLunStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioScsiLunStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsResponse build() { - opi_api.storage.v1.VirtioScsiLunStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsResponse buildPartial() { - opi_api.storage.v1.VirtioScsiLunStatsResponse result = new opi_api.storage.v1.VirtioScsiLunStatsResponse(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioScsiLunStatsResponse) { - return mergeFrom((opi_api.storage.v1.VirtioScsiLunStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioScsiLunStatsResponse other) { - if (other == opi_api.storage.v1.VirtioScsiLunStatsResponse.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioScsiLunStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioScsiLunStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey id_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - public opi_api.common.v1.ObjectKey getId() { - if (idBuilder_ == null) { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder mergeId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioScsiLunStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiLunStatsResponse) - private static final opi_api.storage.v1.VirtioScsiLunStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioScsiLunStatsResponse(); - } - - public static opi_api.storage.v1.VirtioScsiLunStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioScsiLunStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioScsiLunStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiLunStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java deleted file mode 100644 index b5e6f7a0..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -public interface VirtioScsiLunStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioScsiLunStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - opi_api.common.v1.ObjectKey getId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTarget.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTarget.java index be1d61f2..af0e589c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTarget.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTarget.java @@ -101,7 +101,7 @@ private VirtioScsiTarget( * 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) = { ... } * @return The name. */ @java.lang.Override @@ -124,7 +124,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -484,7 +484,7 @@ public Builder mergeFrom( * 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) = { ... } * @return The name. */ public java.lang.String getName() { @@ -506,7 +506,7 @@ public java.lang.String getName() { * 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) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -529,7 +529,7 @@ public java.lang.String getName() { * 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) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -550,7 +550,7 @@ public Builder setName( * 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) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,7 +566,7 @@ public Builder clearName() { * 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetOrBuilder.java index 44a5bfa2..b1d7ae10 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetOrBuilder.java @@ -14,7 +14,7 @@ public interface VirtioScsiTargetOrBuilder extends * 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) = { ... } * @return The name. */ java.lang.String getName(); @@ -25,7 +25,7 @@ public interface VirtioScsiTargetOrBuilder extends * 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) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsRequest.java deleted file mode 100644 index 87867901..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsRequest.java +++ /dev/null @@ -1,607 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiTargetStatsRequest} - */ -public final class VirtioScsiTargetStatsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioScsiTargetStatsRequest) - VirtioScsiTargetStatsRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioScsiTargetStatsRequest.newBuilder() to construct. - private VirtioScsiTargetStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioScsiTargetStatsRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioScsiTargetStatsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioScsiTargetStatsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (targetId_ != null) { - subBuilder = targetId_.toBuilder(); - } - targetId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetId_); - targetId_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiTargetStatsRequest.class, opi_api.storage.v1.VirtioScsiTargetStatsRequest.Builder.class); - } - - public static final int TARGET_ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey targetId_; - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - * @return Whether the targetId field is set. - */ - @java.lang.Override - public boolean hasTargetId() { - return targetId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - * @return The targetId. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getTargetId() { - return targetId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : targetId_; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getTargetIdOrBuilder() { - return getTargetId(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (targetId_ != null) { - output.writeMessage(1, getTargetId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (targetId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTargetId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioScsiTargetStatsRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioScsiTargetStatsRequest other = (opi_api.storage.v1.VirtioScsiTargetStatsRequest) obj; - - if (hasTargetId() != other.hasTargetId()) return false; - if (hasTargetId()) { - if (!getTargetId() - .equals(other.getTargetId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTargetId()) { - hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; - hash = (53 * hash) + getTargetId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioScsiTargetStatsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiTargetStatsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioScsiTargetStatsRequest) - opi_api.storage.v1.VirtioScsiTargetStatsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiTargetStatsRequest.class, opi_api.storage.v1.VirtioScsiTargetStatsRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioScsiTargetStatsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (targetIdBuilder_ == null) { - targetId_ = null; - } else { - targetId_ = null; - targetIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioScsiTargetStatsRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsRequest build() { - opi_api.storage.v1.VirtioScsiTargetStatsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsRequest buildPartial() { - opi_api.storage.v1.VirtioScsiTargetStatsRequest result = new opi_api.storage.v1.VirtioScsiTargetStatsRequest(this); - if (targetIdBuilder_ == null) { - result.targetId_ = targetId_; - } else { - result.targetId_ = targetIdBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioScsiTargetStatsRequest) { - return mergeFrom((opi_api.storage.v1.VirtioScsiTargetStatsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioScsiTargetStatsRequest other) { - if (other == opi_api.storage.v1.VirtioScsiTargetStatsRequest.getDefaultInstance()) return this; - if (other.hasTargetId()) { - mergeTargetId(other.getTargetId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioScsiTargetStatsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioScsiTargetStatsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey targetId_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> targetIdBuilder_; - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - * @return Whether the targetId field is set. - */ - public boolean hasTargetId() { - return targetIdBuilder_ != null || targetId_ != null; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - * @return The targetId. - */ - public opi_api.common.v1.ObjectKey getTargetId() { - if (targetIdBuilder_ == null) { - return targetId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : targetId_; - } else { - return targetIdBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - public Builder setTargetId(opi_api.common.v1.ObjectKey value) { - if (targetIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetId_ = value; - onChanged(); - } else { - targetIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - public Builder setTargetId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (targetIdBuilder_ == null) { - targetId_ = builderForValue.build(); - onChanged(); - } else { - targetIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - public Builder mergeTargetId(opi_api.common.v1.ObjectKey value) { - if (targetIdBuilder_ == null) { - if (targetId_ != null) { - targetId_ = - opi_api.common.v1.ObjectKey.newBuilder(targetId_).mergeFrom(value).buildPartial(); - } else { - targetId_ = value; - } - onChanged(); - } else { - targetIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - public Builder clearTargetId() { - if (targetIdBuilder_ == null) { - targetId_ = null; - onChanged(); - } else { - targetId_ = null; - targetIdBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getTargetIdBuilder() { - - onChanged(); - return getTargetIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getTargetIdOrBuilder() { - if (targetIdBuilder_ != null) { - return targetIdBuilder_.getMessageOrBuilder(); - } else { - return targetId_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : targetId_; - } - } - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getTargetIdFieldBuilder() { - if (targetIdBuilder_ == null) { - targetIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getTargetId(), - getParentForChildren(), - isClean()); - targetId_ = null; - } - return targetIdBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioScsiTargetStatsRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiTargetStatsRequest) - private static final opi_api.storage.v1.VirtioScsiTargetStatsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioScsiTargetStatsRequest(); - } - - public static opi_api.storage.v1.VirtioScsiTargetStatsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioScsiTargetStatsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioScsiTargetStatsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsRequestOrBuilder.java deleted file mode 100644 index b321b5c7..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -public interface VirtioScsiTargetStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioScsiTargetStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - * @return Whether the targetId field is set. - */ - boolean hasTargetId(); - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - * @return The targetId. - */ - opi_api.common.v1.ObjectKey getTargetId(); - /** - * .opi_api.common.v1.ObjectKey target_id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getTargetIdOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java deleted file mode 100644 index 11aad4aa..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiTargetStatsResponse} - */ -public final class VirtioScsiTargetStatsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VirtioScsiTargetStatsResponse) - VirtioScsiTargetStatsResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use VirtioScsiTargetStatsResponse.newBuilder() to construct. - private VirtioScsiTargetStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VirtioScsiTargetStatsResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VirtioScsiTargetStatsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VirtioScsiTargetStatsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - opi_api.storage.v1.VolumeStats.Builder subBuilder = null; - if (stats_ != null) { - subBuilder = stats_.toBuilder(); - } - stats_ = input.readMessage(opi_api.storage.v1.VolumeStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stats_); - stats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiTargetStatsResponse.class, opi_api.storage.v1.VirtioScsiTargetStatsResponse.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey id_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - @java.lang.Override - public opi_api.common.v1.ObjectKey getId() { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATS_FIELD_NUMBER = 2; - private opi_api.storage.v1.VolumeStats stats_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - @java.lang.Override - public boolean hasStats() { - return stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStats getStats() { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - @java.lang.Override - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - return getStats(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (stats_ != null) { - output.writeMessage(2, getStats()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof opi_api.storage.v1.VirtioScsiTargetStatsResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.VirtioScsiTargetStatsResponse other = (opi_api.storage.v1.VirtioScsiTargetStatsResponse) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasStats() != other.hasStats()) return false; - if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasStats()) { - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(opi_api.storage.v1.VirtioScsiTargetStatsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code opi_api.storage.v1.VirtioScsiTargetStatsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VirtioScsiTargetStatsResponse) - opi_api.storage.v1.VirtioScsiTargetStatsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.VirtioScsiTargetStatsResponse.class, opi_api.storage.v1.VirtioScsiTargetStatsResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.VirtioScsiTargetStatsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (statsBuilder_ == null) { - stats_ = null; - } else { - stats_ = null; - statsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.FrontendVirtioScsiProto.internal_static_opi_api_storage_v1_VirtioScsiTargetStatsResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsResponse getDefaultInstanceForType() { - return opi_api.storage.v1.VirtioScsiTargetStatsResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsResponse build() { - opi_api.storage.v1.VirtioScsiTargetStatsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsResponse buildPartial() { - opi_api.storage.v1.VirtioScsiTargetStatsResponse result = new opi_api.storage.v1.VirtioScsiTargetStatsResponse(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (statsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = statsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.VirtioScsiTargetStatsResponse) { - return mergeFrom((opi_api.storage.v1.VirtioScsiTargetStatsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.VirtioScsiTargetStatsResponse other) { - if (other == opi_api.storage.v1.VirtioScsiTargetStatsResponse.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasStats()) { - mergeStats(other.getStats()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - opi_api.storage.v1.VirtioScsiTargetStatsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.VirtioScsiTargetStatsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private opi_api.common.v1.ObjectKey id_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - public opi_api.common.v1.ObjectKey getId() { - if (idBuilder_ == null) { - return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder setId( - opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder mergeId(opi_api.common.v1.ObjectKey value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; - } - } - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private opi_api.storage.v1.VolumeStats stats_; - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> statsBuilder_; - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - public boolean hasStats() { - return statsBuilder_ != null || stats_ != null; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - public opi_api.storage.v1.VolumeStats getStats() { - if (statsBuilder_ == null) { - return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } else { - return statsBuilder_.getMessage(); - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - statsBuilder_.setMessage(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder setStats( - opi_api.storage.v1.VolumeStats.Builder builderForValue) { - if (statsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - statsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder mergeStats(opi_api.storage.v1.VolumeStats value) { - if (statsBuilder_ == null) { - if (stats_ != null) { - stats_ = - opi_api.storage.v1.VolumeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - statsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public Builder clearStats() { - if (statsBuilder_ == null) { - stats_ = null; - onChanged(); - } else { - stats_ = null; - statsBuilder_ = null; - } - - return this; - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - - onChanged(); - return getStatsFieldBuilder().getBuilder(); - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { - if (statsBuilder_ != null) { - return statsBuilder_.getMessageOrBuilder(); - } else { - return stats_ == null ? - opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; - } - } - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder> - getStatsFieldBuilder() { - if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - opi_api.storage.v1.VolumeStats, opi_api.storage.v1.VolumeStats.Builder, opi_api.storage.v1.VolumeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); - stats_ = null; - } - return statsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.VirtioScsiTargetStatsResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiTargetStatsResponse) - private static final opi_api.storage.v1.VirtioScsiTargetStatsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.VirtioScsiTargetStatsResponse(); - } - - public static opi_api.storage.v1.VirtioScsiTargetStatsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtioScsiTargetStatsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VirtioScsiTargetStatsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public opi_api.storage.v1.VirtioScsiTargetStatsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java deleted file mode 100644 index 2b9aeb1c..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: frontend_virtio_scsi.proto - -package opi_api.storage.v1; - -public interface VirtioScsiTargetStatsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VirtioScsiTargetStatsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - * @return The id. - */ - opi_api.common.v1.ObjectKey getId(); - /** - * .opi_api.common.v1.ObjectKey id = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); - - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return Whether the stats field is set. - */ - boolean hasStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - * @return The stats. - */ - opi_api.storage.v1.VolumeStats getStats(); - /** - * .opi_api.storage.v1.VolumeStats stats = 2; - */ - opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); -} diff --git a/storage/v1alpha1/gen/python/backend_aio_pb2.py b/storage/v1alpha1/gen/python/backend_aio_pb2.py index a15bbf60..dabc1a41 100644 --- a/storage/v1alpha1/gen/python/backend_aio_pb2.py +++ b/storage/v1alpha1/gen/python/backend_aio_pb2.py @@ -18,12 +18,11 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -import object_key_pb2 as object__key__pb2 import opicommon_pb2 as opicommon__pb2 import uuid_pb2 as uuid__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x62\x61\x63kend_aio.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x10object_key.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xb5\x01\n\tAioVolume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x62locks_count\x18\x03 \x01(\x03\x12%\n\x04uuid\x18\x04 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid\x12\x10\n\x08\x66ilename\x18\x05 \x01(\t:7\xea\x41\x34\n storage.opiproject.org/AioVolume\x12\x10volumes/{volume}\"g\n\x16\x43reateAioVolumeRequest\x12\x36\n\naio_volume\x18\x02 \x01(\x0b\x32\x1d.opi_api.storage.v1.AioVolumeB\x03\xe0\x41\x02\x12\x15\n\raio_volume_id\x18\x03 \x01(\t\"c\n\x16\x44\x65leteAioVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x93\x01\n\x16UpdateAioVolumeRequest\x12\x31\n\naio_volume\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.AioVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"t\n\x15ListAioVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListAioVolumesResponse\x12\x32\n\x0b\x61io_volumes\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.AioVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetAioVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\"E\n\x15\x41ioVolumeStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"v\n\x16\x41ioVolumeStatsResponse\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xef\x06\n\x10\x41ioVolumeService\x12\x98\x01\n\x0f\x43reateAioVolume\x12*.opi_api.storage.v1.CreateAioVolumeRequest\x1a\x1d.opi_api.storage.v1.AioVolume\":\x82\xd3\xe4\x93\x02\x19\"\x0b/v1/volumes:\naio_volume\xda\x41\x18\x61io_volume,aio_volume_id\x12\x87\x01\n\x0f\x44\x65leteAioVolume\x12*.opi_api.storage.v1.DeleteAioVolumeRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateAioVolume\x12*.opi_api.storage.v1.UpdateAioVolumeRequest\x1a\x1d.opi_api.storage.v1.AioVolume\"M\x82\xd3\xe4\x93\x02.2 /v1/{aio_volume.name=subsystems}:\naio_volume\xda\x41\x16\x61io_volume,update_mask\x12\x91\x01\n\x0eListAioVolumes\x12).opi_api.storage.v1.ListAioVolumesRequest\x1a*.opi_api.storage.v1.ListAioVolumesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x88\x01\n\x0cGetAioVolume\x12\'.opi_api.storage.v1.GetAioVolumeRequest\x1a\x1d.opi_api.storage.v1.AioVolume\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12i\n\x0e\x41ioVolumeStats\x12).opi_api.storage.v1.AioVolumeStatsRequest\x1a*.opi_api.storage.v1.AioVolumeStatsResponse\"\x00\x42^\n\x12opi_api.storage.v1B\x0f\x42\x61\x63kendAioProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x62\x61\x63kend_aio.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xde\x01\n\tAioVolume\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x62locks_count\x18\x03 \x01(\x03\x12%\n\x04uuid\x18\x04 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid\x12\x10\n\x08\x66ilename\x18\x05 \x01(\t:7\xea\x41\x34\n storage.opiproject.org/AioVolume\x12\x10volumes/{volume}\"g\n\x16\x43reateAioVolumeRequest\x12\x36\n\naio_volume\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.AioVolumeB\x03\xe0\x41\x02\x12\x15\n\raio_volume_id\x18\x02 \x01(\t\"c\n\x16\x44\x65leteAioVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x93\x01\n\x16UpdateAioVolumeRequest\x12\x31\n\naio_volume\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.AioVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"t\n\x15ListAioVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListAioVolumesResponse\x12\x32\n\x0b\x61io_volumes\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.AioVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetAioVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\"K\n\x15StatsAioVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/AioVolume\"H\n\x16StatsAioVolumeResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\x86\x07\n\x10\x41ioVolumeService\x12\x98\x01\n\x0f\x43reateAioVolume\x12*.opi_api.storage.v1.CreateAioVolumeRequest\x1a\x1d.opi_api.storage.v1.AioVolume\":\x82\xd3\xe4\x93\x02\x19\"\x0b/v1/volumes:\naio_volume\xda\x41\x18\x61io_volume,aio_volume_id\x12}\n\x0f\x44\x65leteAioVolume\x12*.opi_api.storage.v1.DeleteAioVolumeRequest\x1a\x16.google.protobuf.Empty\"&\x82\xd3\xe4\x93\x02\x19*\x17/v1/{name=AioVolumes/*}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateAioVolume\x12*.opi_api.storage.v1.UpdateAioVolumeRequest\x1a\x1d.opi_api.storage.v1.AioVolume\"M\x82\xd3\xe4\x93\x02.2 /v1/{aio_volume.name=subsystems}:\naio_volume\xda\x41\x16\x61io_volume,update_mask\x12\x91\x01\n\x0eListAioVolumes\x12).opi_api.storage.v1.ListAioVolumesRequest\x1a*.opi_api.storage.v1.ListAioVolumesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12~\n\x0cGetAioVolume\x12\'.opi_api.storage.v1.GetAioVolumeRequest\x1a\x1d.opi_api.storage.v1.AioVolume\"&\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{name=AioVolumes/*}\xda\x41\x04name\x12\x95\x01\n\x0eStatsAioVolume\x12).opi_api.storage.v1.StatsAioVolumeRequest\x1a*.opi_api.storage.v1.StatsAioVolumeResponse\",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=AioVolumes/*}:stats\xda\x41\x04nameB^\n\x12opi_api.storage.v1B\x0f\x42\x61\x63kendAioProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -34,8 +33,8 @@ _LISTAIOVOLUMESREQUEST = DESCRIPTOR.message_types_by_name['ListAioVolumesRequest'] _LISTAIOVOLUMESRESPONSE = DESCRIPTOR.message_types_by_name['ListAioVolumesResponse'] _GETAIOVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['GetAioVolumeRequest'] -_AIOVOLUMESTATSREQUEST = DESCRIPTOR.message_types_by_name['AioVolumeStatsRequest'] -_AIOVOLUMESTATSRESPONSE = DESCRIPTOR.message_types_by_name['AioVolumeStatsResponse'] +_STATSAIOVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['StatsAioVolumeRequest'] +_STATSAIOVOLUMERESPONSE = DESCRIPTOR.message_types_by_name['StatsAioVolumeResponse'] AioVolume = _reflection.GeneratedProtocolMessageType('AioVolume', (_message.Message,), { 'DESCRIPTOR' : _AIOVOLUME, '__module__' : 'backend_aio_pb2' @@ -85,25 +84,27 @@ }) _sym_db.RegisterMessage(GetAioVolumeRequest) -AioVolumeStatsRequest = _reflection.GeneratedProtocolMessageType('AioVolumeStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOVOLUMESTATSREQUEST, +StatsAioVolumeRequest = _reflection.GeneratedProtocolMessageType('StatsAioVolumeRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSAIOVOLUMEREQUEST, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioVolumeStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsAioVolumeRequest) }) -_sym_db.RegisterMessage(AioVolumeStatsRequest) +_sym_db.RegisterMessage(StatsAioVolumeRequest) -AioVolumeStatsResponse = _reflection.GeneratedProtocolMessageType('AioVolumeStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _AIOVOLUMESTATSRESPONSE, +StatsAioVolumeResponse = _reflection.GeneratedProtocolMessageType('StatsAioVolumeResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSAIOVOLUMERESPONSE, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioVolumeStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsAioVolumeResponse) }) -_sym_db.RegisterMessage(AioVolumeStatsResponse) +_sym_db.RegisterMessage(StatsAioVolumeResponse) _AIOVOLUMESERVICE = DESCRIPTOR.services_by_name['AioVolumeService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\017BackendAioProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _AIOVOLUME.fields_by_name['name']._options = None + _AIOVOLUME.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\036\n\034opi_api.storage.v1/AioVolume' _AIOVOLUME._options = None _AIOVOLUME._serialized_options = b'\352A4\n storage.opiproject.org/AioVolume\022\020volumes/{volume}' _CREATEAIOVOLUMEREQUEST.fields_by_name['aio_volume']._options = None @@ -114,34 +115,38 @@ _LISTAIOVOLUMESREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/AioVolume' _GETAIOVOLUMEREQUEST.fields_by_name['name']._options = None _GETAIOVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/AioVolume' + _STATSAIOVOLUMEREQUEST.fields_by_name['name']._options = None + _STATSAIOVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/AioVolume' _AIOVOLUMESERVICE.methods_by_name['CreateAioVolume']._options = None _AIOVOLUMESERVICE.methods_by_name['CreateAioVolume']._serialized_options = b'\202\323\344\223\002\031\"\013/v1/volumes:\naio_volume\332A\030aio_volume,aio_volume_id' _AIOVOLUMESERVICE.methods_by_name['DeleteAioVolume']._options = None - _AIOVOLUMESERVICE.methods_by_name['DeleteAioVolume']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}\332A\004name' + _AIOVOLUMESERVICE.methods_by_name['DeleteAioVolume']._serialized_options = b'\202\323\344\223\002\031*\027/v1/{name=AioVolumes/*}\332A\004name' _AIOVOLUMESERVICE.methods_by_name['UpdateAioVolume']._options = None _AIOVOLUMESERVICE.methods_by_name['UpdateAioVolume']._serialized_options = b'\202\323\344\223\002.2 /v1/{aio_volume.name=subsystems}:\naio_volume\332A\026aio_volume,update_mask' _AIOVOLUMESERVICE.methods_by_name['ListAioVolumes']._options = None _AIOVOLUMESERVICE.methods_by_name['ListAioVolumes']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _AIOVOLUMESERVICE.methods_by_name['GetAioVolume']._options = None - _AIOVOLUMESERVICE.methods_by_name['GetAioVolume']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' - _AIOVOLUME._serialized_start=267 - _AIOVOLUME._serialized_end=448 - _CREATEAIOVOLUMEREQUEST._serialized_start=450 - _CREATEAIOVOLUMEREQUEST._serialized_end=553 - _DELETEAIOVOLUMEREQUEST._serialized_start=555 - _DELETEAIOVOLUMEREQUEST._serialized_end=654 - _UPDATEAIOVOLUMEREQUEST._serialized_start=657 - _UPDATEAIOVOLUMEREQUEST._serialized_end=804 - _LISTAIOVOLUMESREQUEST._serialized_start=806 - _LISTAIOVOLUMESREQUEST._serialized_end=922 - _LISTAIOVOLUMESRESPONSE._serialized_start=924 - _LISTAIOVOLUMESRESPONSE._serialized_end=1025 - _GETAIOVOLUMEREQUEST._serialized_start=1027 - _GETAIOVOLUMEREQUEST._serialized_end=1100 - _AIOVOLUMESTATSREQUEST._serialized_start=1102 - _AIOVOLUMESTATSREQUEST._serialized_end=1171 - _AIOVOLUMESTATSRESPONSE._serialized_start=1173 - _AIOVOLUMESTATSRESPONSE._serialized_end=1291 - _AIOVOLUMESERVICE._serialized_start=1294 - _AIOVOLUMESERVICE._serialized_end=2173 + _AIOVOLUMESERVICE.methods_by_name['GetAioVolume']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{name=AioVolumes/*}\332A\004name' + _AIOVOLUMESERVICE.methods_by_name['StatsAioVolume']._options = None + _AIOVOLUMESERVICE.methods_by_name['StatsAioVolume']._serialized_options = b'\202\323\344\223\002\037\022\035/v1/{name=AioVolumes/*}:stats\332A\004name' + _AIOVOLUME._serialized_start=249 + _AIOVOLUME._serialized_end=471 + _CREATEAIOVOLUMEREQUEST._serialized_start=473 + _CREATEAIOVOLUMEREQUEST._serialized_end=576 + _DELETEAIOVOLUMEREQUEST._serialized_start=578 + _DELETEAIOVOLUMEREQUEST._serialized_end=677 + _UPDATEAIOVOLUMEREQUEST._serialized_start=680 + _UPDATEAIOVOLUMEREQUEST._serialized_end=827 + _LISTAIOVOLUMESREQUEST._serialized_start=829 + _LISTAIOVOLUMESREQUEST._serialized_end=945 + _LISTAIOVOLUMESRESPONSE._serialized_start=947 + _LISTAIOVOLUMESRESPONSE._serialized_end=1048 + _GETAIOVOLUMEREQUEST._serialized_start=1050 + _GETAIOVOLUMEREQUEST._serialized_end=1123 + _STATSAIOVOLUMEREQUEST._serialized_start=1125 + _STATSAIOVOLUMEREQUEST._serialized_end=1200 + _STATSAIOVOLUMERESPONSE._serialized_start=1202 + _STATSAIOVOLUMERESPONSE._serialized_end=1274 + _AIOVOLUMESERVICE._serialized_start=1277 + _AIOVOLUMESERVICE._serialized_end=2179 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py b/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py index cf598148..8a9a9075 100644 --- a/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py @@ -41,10 +41,10 @@ def __init__(self, channel): request_serializer=backend__aio__pb2.GetAioVolumeRequest.SerializeToString, response_deserializer=backend__aio__pb2.AioVolume.FromString, ) - self.AioVolumeStats = channel.unary_unary( - '/opi_api.storage.v1.AioVolumeService/AioVolumeStats', - request_serializer=backend__aio__pb2.AioVolumeStatsRequest.SerializeToString, - response_deserializer=backend__aio__pb2.AioVolumeStatsResponse.FromString, + self.StatsAioVolume = channel.unary_unary( + '/opi_api.storage.v1.AioVolumeService/StatsAioVolume', + request_serializer=backend__aio__pb2.StatsAioVolumeRequest.SerializeToString, + response_deserializer=backend__aio__pb2.StatsAioVolumeResponse.FromString, ) @@ -82,7 +82,7 @@ def GetAioVolume(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def AioVolumeStats(self, request, context): + def StatsAioVolume(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -116,10 +116,10 @@ def add_AioVolumeServiceServicer_to_server(servicer, server): request_deserializer=backend__aio__pb2.GetAioVolumeRequest.FromString, response_serializer=backend__aio__pb2.AioVolume.SerializeToString, ), - 'AioVolumeStats': grpc.unary_unary_rpc_method_handler( - servicer.AioVolumeStats, - request_deserializer=backend__aio__pb2.AioVolumeStatsRequest.FromString, - response_serializer=backend__aio__pb2.AioVolumeStatsResponse.SerializeToString, + 'StatsAioVolume': grpc.unary_unary_rpc_method_handler( + servicer.StatsAioVolume, + request_deserializer=backend__aio__pb2.StatsAioVolumeRequest.FromString, + response_serializer=backend__aio__pb2.StatsAioVolumeResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -218,7 +218,7 @@ def GetAioVolume(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AioVolumeStats(request, + def StatsAioVolume(request, target, options=(), channel_credentials=None, @@ -228,8 +228,8 @@ def AioVolumeStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioVolumeService/AioVolumeStats', - backend__aio__pb2.AioVolumeStatsRequest.SerializeToString, - backend__aio__pb2.AioVolumeStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioVolumeService/StatsAioVolume', + backend__aio__pb2.StatsAioVolumeRequest.SerializeToString, + backend__aio__pb2.StatsAioVolumeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/backend_null_pb2.py b/storage/v1alpha1/gen/python/backend_null_pb2.py index 81fa392b..9efe3ab4 100644 --- a/storage/v1alpha1/gen/python/backend_null_pb2.py +++ b/storage/v1alpha1/gen/python/backend_null_pb2.py @@ -18,12 +18,11 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -import object_key_pb2 as object__key__pb2 import opicommon_pb2 as opicommon__pb2 import uuid_pb2 as uuid__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62\x61\x63kend_null.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x10object_key.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xa5\x01\n\nNullVolume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x62locks_count\x18\x03 \x01(\x03\x12%\n\x04uuid\x18\x04 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid:8\xea\x41\x35\n!storage.opiproject.org/NullVolume\x12\x10volumes/{volume}\"k\n\x17\x43reateNullVolumeRequest\x12\x38\n\x0bnull_volume\x18\x02 \x01(\x0b\x32\x1e.opi_api.storage.v1.NullVolumeB\x03\xe0\x41\x02\x12\x16\n\x0enull_volume_id\x18\x03 \x01(\t\"e\n\x17\x44\x65leteNullVolumeRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x96\x01\n\x17UpdateNullVolumeRequest\x12\x33\n\x0bnull_volume\x18\x01 \x01(\x0b\x32\x1e.opi_api.storage.v1.NullVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"v\n\x16ListNullVolumesRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"h\n\x17ListNullVolumesResponse\x12\x34\n\x0cnull_volumes\x18\x01 \x03(\x0b\x32\x1e.opi_api.storage.v1.NullVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x14GetNullVolumeRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\"F\n\x16NullVolumeStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"w\n\x17NullVolumeStatsResponse\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\x87\x07\n\x11NullVolumeService\x12\x9e\x01\n\x10\x43reateNullVolume\x12+.opi_api.storage.v1.CreateNullVolumeRequest\x1a\x1e.opi_api.storage.v1.NullVolume\"=\x82\xd3\xe4\x93\x02\x1a\"\x0b/v1/volumes:\x0bnull_volume\xda\x41\x1anull_volume,null_volume_id\x12\x89\x01\n\x10\x44\x65leteNullVolume\x12+.opi_api.storage.v1.DeleteNullVolumeRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xb1\x01\n\x10UpdateNullVolume\x12+.opi_api.storage.v1.UpdateNullVolumeRequest\x1a\x1e.opi_api.storage.v1.NullVolume\"P\x82\xd3\xe4\x93\x02\x30\x32!/v1/{null_volume.name=subsystems}:\x0bnull_volume\xda\x41\x17null_volume,update_mask\x12\x94\x01\n\x0fListNullVolumes\x12*.opi_api.storage.v1.ListNullVolumesRequest\x1a+.opi_api.storage.v1.ListNullVolumesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x8b\x01\n\rGetNullVolume\x12(.opi_api.storage.v1.GetNullVolumeRequest\x1a\x1e.opi_api.storage.v1.NullVolume\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12l\n\x0fNullVolumeStats\x12*.opi_api.storage.v1.NullVolumeStatsRequest\x1a+.opi_api.storage.v1.NullVolumeStatsResponse\"\x00\x42_\n\x12opi_api.storage.v1B\x10\x42\x61\x63kendNullProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62\x61\x63kend_null.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xcf\x01\n\nNullVolume\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x62locks_count\x18\x03 \x01(\x03\x12%\n\x04uuid\x18\x04 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid:8\xea\x41\x35\n!storage.opiproject.org/NullVolume\x12\x10volumes/{volume}\"k\n\x17\x43reateNullVolumeRequest\x12\x38\n\x0bnull_volume\x18\x01 \x01(\x0b\x32\x1e.opi_api.storage.v1.NullVolumeB\x03\xe0\x41\x02\x12\x16\n\x0enull_volume_id\x18\x02 \x01(\t\"e\n\x17\x44\x65leteNullVolumeRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x96\x01\n\x17UpdateNullVolumeRequest\x12\x33\n\x0bnull_volume\x18\x01 \x01(\x0b\x32\x1e.opi_api.storage.v1.NullVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"v\n\x16ListNullVolumesRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"h\n\x17ListNullVolumesResponse\x12\x34\n\x0cnull_volumes\x18\x01 \x03(\x0b\x32\x1e.opi_api.storage.v1.NullVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x14GetNullVolumeRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\"M\n\x16StatsNullVolumeRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dopi_api.storage.v1/NullVolume\"I\n\x17StatsNullVolumeResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xa3\x07\n\x11NullVolumeService\x12\x9e\x01\n\x10\x43reateNullVolume\x12+.opi_api.storage.v1.CreateNullVolumeRequest\x1a\x1e.opi_api.storage.v1.NullVolume\"=\x82\xd3\xe4\x93\x02\x1a\"\x0b/v1/volumes:\x0bnull_volume\xda\x41\x1anull_volume,null_volume_id\x12\x80\x01\n\x10\x44\x65leteNullVolume\x12+.opi_api.storage.v1.DeleteNullVolumeRequest\x1a\x16.google.protobuf.Empty\"\'\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=NullVolumes/*}\xda\x41\x04name\x12\xb1\x01\n\x10UpdateNullVolume\x12+.opi_api.storage.v1.UpdateNullVolumeRequest\x1a\x1e.opi_api.storage.v1.NullVolume\"P\x82\xd3\xe4\x93\x02\x30\x32!/v1/{null_volume.name=subsystems}:\x0bnull_volume\xda\x41\x17null_volume,update_mask\x12\x94\x01\n\x0fListNullVolumes\x12*.opi_api.storage.v1.ListNullVolumesRequest\x1a+.opi_api.storage.v1.ListNullVolumesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x82\x01\n\rGetNullVolume\x12(.opi_api.storage.v1.GetNullVolumeRequest\x1a\x1e.opi_api.storage.v1.NullVolume\"\'\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=NullVolumes/*}\xda\x41\x04name\x12\x99\x01\n\x0fStatsNullVolume\x12*.opi_api.storage.v1.StatsNullVolumeRequest\x1a+.opi_api.storage.v1.StatsNullVolumeResponse\"-\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=NullVolumes/*}:stats\xda\x41\x04nameB_\n\x12opi_api.storage.v1B\x10\x42\x61\x63kendNullProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -34,8 +33,8 @@ _LISTNULLVOLUMESREQUEST = DESCRIPTOR.message_types_by_name['ListNullVolumesRequest'] _LISTNULLVOLUMESRESPONSE = DESCRIPTOR.message_types_by_name['ListNullVolumesResponse'] _GETNULLVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['GetNullVolumeRequest'] -_NULLVOLUMESTATSREQUEST = DESCRIPTOR.message_types_by_name['NullVolumeStatsRequest'] -_NULLVOLUMESTATSRESPONSE = DESCRIPTOR.message_types_by_name['NullVolumeStatsResponse'] +_STATSNULLVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['StatsNullVolumeRequest'] +_STATSNULLVOLUMERESPONSE = DESCRIPTOR.message_types_by_name['StatsNullVolumeResponse'] NullVolume = _reflection.GeneratedProtocolMessageType('NullVolume', (_message.Message,), { 'DESCRIPTOR' : _NULLVOLUME, '__module__' : 'backend_null_pb2' @@ -85,25 +84,27 @@ }) _sym_db.RegisterMessage(GetNullVolumeRequest) -NullVolumeStatsRequest = _reflection.GeneratedProtocolMessageType('NullVolumeStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NULLVOLUMESTATSREQUEST, +StatsNullVolumeRequest = _reflection.GeneratedProtocolMessageType('StatsNullVolumeRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSNULLVOLUMEREQUEST, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullVolumeStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNullVolumeRequest) }) -_sym_db.RegisterMessage(NullVolumeStatsRequest) +_sym_db.RegisterMessage(StatsNullVolumeRequest) -NullVolumeStatsResponse = _reflection.GeneratedProtocolMessageType('NullVolumeStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _NULLVOLUMESTATSRESPONSE, +StatsNullVolumeResponse = _reflection.GeneratedProtocolMessageType('StatsNullVolumeResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSNULLVOLUMERESPONSE, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullVolumeStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNullVolumeResponse) }) -_sym_db.RegisterMessage(NullVolumeStatsResponse) +_sym_db.RegisterMessage(StatsNullVolumeResponse) _NULLVOLUMESERVICE = DESCRIPTOR.services_by_name['NullVolumeService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\020BackendNullProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _NULLVOLUME.fields_by_name['name']._options = None + _NULLVOLUME.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\037\n\035opi_api.storage.v1/NullVolume' _NULLVOLUME._options = None _NULLVOLUME._serialized_options = b'\352A5\n!storage.opiproject.org/NullVolume\022\020volumes/{volume}' _CREATENULLVOLUMEREQUEST.fields_by_name['null_volume']._options = None @@ -114,34 +115,38 @@ _LISTNULLVOLUMESREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\037\n\035opi_api.storage.v1/NullVolume' _GETNULLVOLUMEREQUEST.fields_by_name['name']._options = None _GETNULLVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\037\n\035opi_api.storage.v1/NullVolume' + _STATSNULLVOLUMEREQUEST.fields_by_name['name']._options = None + _STATSNULLVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\037\n\035opi_api.storage.v1/NullVolume' _NULLVOLUMESERVICE.methods_by_name['CreateNullVolume']._options = None _NULLVOLUMESERVICE.methods_by_name['CreateNullVolume']._serialized_options = b'\202\323\344\223\002\032\"\013/v1/volumes:\013null_volume\332A\032null_volume,null_volume_id' _NULLVOLUMESERVICE.methods_by_name['DeleteNullVolume']._options = None - _NULLVOLUMESERVICE.methods_by_name['DeleteNullVolume']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}\332A\004name' + _NULLVOLUMESERVICE.methods_by_name['DeleteNullVolume']._serialized_options = b'\202\323\344\223\002\032*\030/v1/{name=NullVolumes/*}\332A\004name' _NULLVOLUMESERVICE.methods_by_name['UpdateNullVolume']._options = None _NULLVOLUMESERVICE.methods_by_name['UpdateNullVolume']._serialized_options = b'\202\323\344\223\00202!/v1/{null_volume.name=subsystems}:\013null_volume\332A\027null_volume,update_mask' _NULLVOLUMESERVICE.methods_by_name['ListNullVolumes']._options = None _NULLVOLUMESERVICE.methods_by_name['ListNullVolumes']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _NULLVOLUMESERVICE.methods_by_name['GetNullVolume']._options = None - _NULLVOLUMESERVICE.methods_by_name['GetNullVolume']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' - _NULLVOLUME._serialized_start=268 - _NULLVOLUME._serialized_end=433 - _CREATENULLVOLUMEREQUEST._serialized_start=435 - _CREATENULLVOLUMEREQUEST._serialized_end=542 - _DELETENULLVOLUMEREQUEST._serialized_start=544 - _DELETENULLVOLUMEREQUEST._serialized_end=645 - _UPDATENULLVOLUMEREQUEST._serialized_start=648 - _UPDATENULLVOLUMEREQUEST._serialized_end=798 - _LISTNULLVOLUMESREQUEST._serialized_start=800 - _LISTNULLVOLUMESREQUEST._serialized_end=918 - _LISTNULLVOLUMESRESPONSE._serialized_start=920 - _LISTNULLVOLUMESRESPONSE._serialized_end=1024 - _GETNULLVOLUMEREQUEST._serialized_start=1026 - _GETNULLVOLUMEREQUEST._serialized_end=1101 - _NULLVOLUMESTATSREQUEST._serialized_start=1103 - _NULLVOLUMESTATSREQUEST._serialized_end=1173 - _NULLVOLUMESTATSRESPONSE._serialized_start=1175 - _NULLVOLUMESTATSRESPONSE._serialized_end=1294 - _NULLVOLUMESERVICE._serialized_start=1297 - _NULLVOLUMESERVICE._serialized_end=2200 + _NULLVOLUMESERVICE.methods_by_name['GetNullVolume']._serialized_options = b'\202\323\344\223\002\032\022\030/v1/{name=NullVolumes/*}\332A\004name' + _NULLVOLUMESERVICE.methods_by_name['StatsNullVolume']._options = None + _NULLVOLUMESERVICE.methods_by_name['StatsNullVolume']._serialized_options = b'\202\323\344\223\002 \022\036/v1/{name=NullVolumes/*}:stats\332A\004name' + _NULLVOLUME._serialized_start=250 + _NULLVOLUME._serialized_end=457 + _CREATENULLVOLUMEREQUEST._serialized_start=459 + _CREATENULLVOLUMEREQUEST._serialized_end=566 + _DELETENULLVOLUMEREQUEST._serialized_start=568 + _DELETENULLVOLUMEREQUEST._serialized_end=669 + _UPDATENULLVOLUMEREQUEST._serialized_start=672 + _UPDATENULLVOLUMEREQUEST._serialized_end=822 + _LISTNULLVOLUMESREQUEST._serialized_start=824 + _LISTNULLVOLUMESREQUEST._serialized_end=942 + _LISTNULLVOLUMESRESPONSE._serialized_start=944 + _LISTNULLVOLUMESRESPONSE._serialized_end=1048 + _GETNULLVOLUMEREQUEST._serialized_start=1050 + _GETNULLVOLUMEREQUEST._serialized_end=1125 + _STATSNULLVOLUMEREQUEST._serialized_start=1127 + _STATSNULLVOLUMEREQUEST._serialized_end=1204 + _STATSNULLVOLUMERESPONSE._serialized_start=1206 + _STATSNULLVOLUMERESPONSE._serialized_end=1279 + _NULLVOLUMESERVICE._serialized_start=1282 + _NULLVOLUMESERVICE._serialized_end=2213 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py b/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py index 7b37a76e..862ef0d2 100644 --- a/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py @@ -41,10 +41,10 @@ def __init__(self, channel): request_serializer=backend__null__pb2.GetNullVolumeRequest.SerializeToString, response_deserializer=backend__null__pb2.NullVolume.FromString, ) - self.NullVolumeStats = channel.unary_unary( - '/opi_api.storage.v1.NullVolumeService/NullVolumeStats', - request_serializer=backend__null__pb2.NullVolumeStatsRequest.SerializeToString, - response_deserializer=backend__null__pb2.NullVolumeStatsResponse.FromString, + self.StatsNullVolume = channel.unary_unary( + '/opi_api.storage.v1.NullVolumeService/StatsNullVolume', + request_serializer=backend__null__pb2.StatsNullVolumeRequest.SerializeToString, + response_deserializer=backend__null__pb2.StatsNullVolumeResponse.FromString, ) @@ -82,7 +82,7 @@ def GetNullVolume(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NullVolumeStats(self, request, context): + def StatsNullVolume(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -116,10 +116,10 @@ def add_NullVolumeServiceServicer_to_server(servicer, server): request_deserializer=backend__null__pb2.GetNullVolumeRequest.FromString, response_serializer=backend__null__pb2.NullVolume.SerializeToString, ), - 'NullVolumeStats': grpc.unary_unary_rpc_method_handler( - servicer.NullVolumeStats, - request_deserializer=backend__null__pb2.NullVolumeStatsRequest.FromString, - response_serializer=backend__null__pb2.NullVolumeStatsResponse.SerializeToString, + 'StatsNullVolume': grpc.unary_unary_rpc_method_handler( + servicer.StatsNullVolume, + request_deserializer=backend__null__pb2.StatsNullVolumeRequest.FromString, + response_serializer=backend__null__pb2.StatsNullVolumeResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -218,7 +218,7 @@ def GetNullVolume(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NullVolumeStats(request, + def StatsNullVolume(request, target, options=(), channel_credentials=None, @@ -228,8 +228,8 @@ def NullVolumeStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullVolumeService/NullVolumeStats', - backend__null__pb2.NullVolumeStatsRequest.SerializeToString, - backend__null__pb2.NullVolumeStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullVolumeService/StatsNullVolume', + backend__null__pb2.StatsNullVolumeRequest.SerializeToString, + backend__null__pb2.StatsNullVolumeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py index 705649a8..2c773078 100644 --- a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py +++ b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py @@ -23,7 +23,7 @@ import uuid_pb2 as uuid__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kend_nvme_tcp.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xf6\x01\n\x14NvmeRemoteController\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05hdgst\x18\x02 \x01(\x08\x12\r\n\x05\x64\x64gst\x18\x03 \x01(\x08\x12\x34\n\tmultipath\x18\x04 \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipath\x12\x17\n\x0fio_queues_count\x18\x05 \x01(\x03\x12\x12\n\nqueue_size\x18\x06 \x01(\x03\x12\x0b\n\x03psk\x18\x07 \x01(\x0c:B\xea\x41?\n+storage.opiproject.org/NvmeRemoteController\x12\x10volumes/{volume}\"\xcc\x02\n\x08NvmePath\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13\x63ontroller_name_ref\x18\x02 \x01(\t\x12\x35\n\x06trtype\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportType\x12\x35\n\x06\x61\x64rfam\x18\x04 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamily\x12\x0e\n\x06traddr\x18\x05 \x01(\t\x12\x0f\n\x07trsvcid\x18\x06 \x01(\x03\x12\x0e\n\x06subnqn\x18\x07 \x01(\t\x12\x15\n\rsource_traddr\x18\x08 \x01(\t\x12\x16\n\x0esource_trsvcid\x18\t \x01(\x03\x12\x0f\n\x07hostnqn\x18\n \x01(\t:6\xea\x41\x33\n\x1fstorage.opiproject.org/NvmePath\x12\x10volumes/{volume}\"\xd6\x01\n\x13NvmeRemoteNamespace\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13\x63ontroller_name_ref\x18\x02 \x01(\t\x12\x0c\n\x04nsid\x18\x03 \x01(\x05\x12\r\n\x05nguid\x18\x04 \x01(\t\x12\r\n\x05\x65ui64\x18\x05 \x01(\x03\x12%\n\x04uuid\x18\x06 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid:A\xea\x41>\n*storage.opiproject.org/NvmeRemoteNamespace\x12\x10volumes/{volume}\"\x95\x01\n!CreateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x02 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12!\n\x19nvme_remote_controller_id\x18\x03 \x01(\t\"y\n!DeleteNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xb5\x01\n!UpdateNvmeRemoteControllerRequest\x12H\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x8a\x01\n ListNvmeRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n!ListNvmeRemoteControllersResponse\x12I\n\x17nvme_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"0\n NvmeRemoteControllerResetRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n NvmeRemoteControllerStatsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"S\n!NvmeRemoteControllerStatsResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x88\x01\n\x1fListNvmeRemoteNamespacesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n ListNvmeRemoteNamespacesResponse\x12G\n\x16nvme_remote_namespaces\x18\x01 \x03(\x0b\x32\'.opi_api.storage.v1.NvmeRemoteNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x15\x43reateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x14\n\x0cnvme_path_id\x18\x02 \x01(\t\"a\n\x15\x44\x65leteNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x90\x01\n\x15UpdateNvmePathRequest\x12/\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"r\n\x14ListNvmePathsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"b\n\x15ListNvmePathsResponse\x12\x30\n\nnvme_paths\x18\x01 \x03(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x12GetNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"$\n\x14NvmePathStatsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"G\n\x15NvmePathStatsResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVME_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVME_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVME_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVME_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVME_ADRFAM_INTRA_HOST\x10\x05*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\xe3\x11\n\x1bNvmeRemoteControllerService\x12\xdd\x01\n\x1a\x43reateNvmeRemoteController\x12\x35.opi_api.storage.v1.CreateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"^\x82\xd3\xe4\x93\x02%\"\x0b/v1/volumes:\x16nvme_remote_controller\xda\x41\x30nvme_remote_controller,nvme_remote_controller_id\x12\x9d\x01\n\x1a\x44\x65leteNvmeRemoteController\x12\x35.opi_api.storage.v1.DeleteNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xf0\x01\n\x1aUpdateNvmeRemoteController\x12\x35.opi_api.storage.v1.UpdateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"q\x82\xd3\xe4\x93\x02\x46\x32,/v1/{nvme_remote_controller.name=subsystems}:\x16nvme_remote_controller\xda\x41\"nvme_remote_controller,update_mask\x12\xb2\x01\n\x19ListNvmeRemoteControllers\x12\x34.opi_api.storage.v1.ListNvmeRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNvmeRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa9\x01\n\x17GetNvmeRemoteController\x12\x32.opi_api.storage.v1.GetNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12k\n\x19NvmeRemoteControllerReset\x12\x34.opi_api.storage.v1.NvmeRemoteControllerResetRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x8a\x01\n\x19NvmeRemoteControllerStats\x12\x34.opi_api.storage.v1.NvmeRemoteControllerStatsRequest\x1a\x35.opi_api.storage.v1.NvmeRemoteControllerStatsResponse\"\x00\x12\xaf\x01\n\x18ListNvmeRemoteNamespaces\x12\x33.opi_api.storage.v1.ListNvmeRemoteNamespacesRequest\x1a\x34.opi_api.storage.v1.ListNvmeRemoteNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x92\x01\n\x0e\x43reateNvmePath\x12).opi_api.storage.v1.CreateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"7\x82\xd3\xe4\x93\x02\x18\"\x0b/v1/volumes:\tnvme_path\xda\x41\x16nvme_path,nvme_path_id\x12\x85\x01\n\x0e\x44\x65leteNvmePath\x12).opi_api.storage.v1.DeleteNvmePathRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xa5\x01\n\x0eUpdateNvmePath\x12).opi_api.storage.v1.UpdateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"J\x82\xd3\xe4\x93\x02,2\x1f/v1/{nvme_path.name=subsystems}:\tnvme_path\xda\x41\x15nvme_path,update_mask\x12\x8e\x01\n\rListNvmePaths\x12(.opi_api.storage.v1.ListNvmePathsRequest\x1a).opi_api.storage.v1.ListNvmePathsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x85\x01\n\x0bGetNvmePath\x12&.opi_api.storage.v1.GetNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\x66\n\rNvmePathStats\x12(.opi_api.storage.v1.NvmePathStatsRequest\x1a).opi_api.storage.v1.NvmePathStatsResponse\"\x00\x42\x62\n\x12opi_api.storage.v1B\x13\x42\x61\x63kendNvmeTcpProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kend_nvme_tcp.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xaa\x02\n\x14NvmeRemoteController\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x03\xe0\x41\x05\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\r\n\x05hdgst\x18\x02 \x01(\x08\x12\r\n\x05\x64\x64gst\x18\x03 \x01(\x08\x12\x34\n\tmultipath\x18\x04 \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipath\x12\x17\n\x0fio_queues_count\x18\x05 \x01(\x03\x12\x12\n\nqueue_size\x18\x06 \x01(\x03\x12\x0b\n\x03psk\x18\x07 \x01(\x0c:B\xea\x41?\n+storage.opiproject.org/NvmeRemoteController\x12\x10volumes/{volume}\"\xa5\x03\n\x08NvmePath\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x35\n\x06trtype\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportType\x12\x35\n\x06\x61\x64rfam\x18\x04 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamily\x12\x0e\n\x06traddr\x18\x05 \x01(\t\x12\x0f\n\x07trsvcid\x18\x06 \x01(\x03\x12\x0e\n\x06subnqn\x18\x07 \x01(\t\x12\x15\n\rsource_traddr\x18\x08 \x01(\t\x12\x16\n\x0esource_trsvcid\x18\t \x01(\x03\x12\x0f\n\x07hostnqn\x18\n \x01(\t:6\xea\x41\x33\n\x1fstorage.opiproject.org/NvmePath\x12\x10volumes/{volume}\"\xba\x02\n\x13NvmeRemoteNamespace\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x03\xe0\x41\x05\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x0c\n\x04nsid\x18\x03 \x01(\x05\x12\r\n\x05nguid\x18\x04 \x01(\t\x12\r\n\x05\x65ui64\x18\x05 \x01(\x03\x12%\n\x04uuid\x18\x06 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid:A\xea\x41>\n*storage.opiproject.org/NvmeRemoteNamespace\x12\x10volumes/{volume}\"\x95\x01\n!CreateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12!\n\x19nvme_remote_controller_id\x18\x02 \x01(\t\"y\n!DeleteNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xb5\x01\n!UpdateNvmeRemoteControllerRequest\x12H\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x8a\x01\n ListNvmeRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n!ListNvmeRemoteControllersResponse\x12I\n\x17nvme_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n ResetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n StatsNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"S\n!StatsNvmeRemoteControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x88\x01\n\x1fListNvmeRemoteNamespacesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n ListNvmeRemoteNamespacesResponse\x12G\n\x16nvme_remote_namespaces\x18\x01 \x03(\x0b\x32\'.opi_api.storage.v1.NvmeRemoteNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x15\x43reateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x14\n\x0cnvme_path_id\x18\x02 \x01(\t\"a\n\x15\x44\x65leteNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x90\x01\n\x15UpdateNvmePathRequest\x12/\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"r\n\x14ListNvmePathsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"b\n\x15ListNvmePathsResponse\x12\x30\n\nnvme_paths\x18\x01 \x03(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x12GetNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"I\n\x14StatsNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"G\n\x15StatsNvmePathResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVME_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVME_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVME_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVME_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVME_ADRFAM_INTRA_HOST\x10\x05*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\xeb\x12\n\x1bNvmeRemoteControllerService\x12\xdd\x01\n\x1a\x43reateNvmeRemoteController\x12\x35.opi_api.storage.v1.CreateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"^\x82\xd3\xe4\x93\x02%\"\x0b/v1/volumes:\x16nvme_remote_controller\xda\x41\x30nvme_remote_controller,nvme_remote_controller_id\x12\x9e\x01\n\x1a\x44\x65leteNvmeRemoteController\x12\x35.opi_api.storage.v1.DeleteNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=NvmeRemoteControllers/*}\xda\x41\x04name\x12\xf0\x01\n\x1aUpdateNvmeRemoteController\x12\x35.opi_api.storage.v1.UpdateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"q\x82\xd3\xe4\x93\x02\x46\x32,/v1/{nvme_remote_controller.name=subsystems}:\x16nvme_remote_controller\xda\x41\"nvme_remote_controller,update_mask\x12\xb2\x01\n\x19ListNvmeRemoteControllers\x12\x34.opi_api.storage.v1.ListNvmeRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNvmeRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xaa\x01\n\x17GetNvmeRemoteController\x12\x32.opi_api.storage.v1.GetNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=NvmeRemoteControllers/*}\xda\x41\x04name\x12\xa5\x01\n\x19ResetNvmeRemoteController\x12\x34.opi_api.storage.v1.ResetNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-\"(/v1/{name=NvmeRemoteControllers/*}:reset:\x01*\xda\x41\x04name\x12\xc1\x01\n\x19StatsNvmeRemoteController\x12\x34.opi_api.storage.v1.StatsNvmeRemoteControllerRequest\x1a\x35.opi_api.storage.v1.StatsNvmeRemoteControllerResponse\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=NvmeRemoteControllers/*}:stats\xda\x41\x04name\x12\xaf\x01\n\x18ListNvmeRemoteNamespaces\x12\x33.opi_api.storage.v1.ListNvmeRemoteNamespacesRequest\x1a\x34.opi_api.storage.v1.ListNvmeRemoteNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x92\x01\n\x0e\x43reateNvmePath\x12).opi_api.storage.v1.CreateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"7\x82\xd3\xe4\x93\x02\x18\"\x0b/v1/volumes:\tnvme_path\xda\x41\x16nvme_path,nvme_path_id\x12z\n\x0e\x44\x65leteNvmePath\x12).opi_api.storage.v1.DeleteNvmePathRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x18*\x16/v1/{name=NvmePaths/*}\xda\x41\x04name\x12\xa5\x01\n\x0eUpdateNvmePath\x12).opi_api.storage.v1.UpdateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"J\x82\xd3\xe4\x93\x02,2\x1f/v1/{nvme_path.name=subsystems}:\tnvme_path\xda\x41\x15nvme_path,update_mask\x12\x8e\x01\n\rListNvmePaths\x12(.opi_api.storage.v1.ListNvmePathsRequest\x1a).opi_api.storage.v1.ListNvmePathsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12z\n\x0bGetNvmePath\x12&.opi_api.storage.v1.GetNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"%\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{name=NvmePaths/*}\xda\x41\x04name\x12\x91\x01\n\rStatsNvmePath\x12(.opi_api.storage.v1.StatsNvmePathRequest\x1a).opi_api.storage.v1.StatsNvmePathResponse\"+\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{name=NvmePaths/*}:stats\xda\x41\x04nameBb\n\x12opi_api.storage.v1B\x13\x42\x61\x63kendNvmeTcpProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') _NVMETRANSPORTTYPE = DESCRIPTOR.enum_types_by_name['NvmeTransportType'] NvmeTransportType = enum_type_wrapper.EnumTypeWrapper(_NVMETRANSPORTTYPE) @@ -58,9 +58,9 @@ _LISTNVMEREMOTECONTROLLERSREQUEST = DESCRIPTOR.message_types_by_name['ListNvmeRemoteControllersRequest'] _LISTNVMEREMOTECONTROLLERSRESPONSE = DESCRIPTOR.message_types_by_name['ListNvmeRemoteControllersResponse'] _GETNVMEREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['GetNvmeRemoteControllerRequest'] -_NVMEREMOTECONTROLLERRESETREQUEST = DESCRIPTOR.message_types_by_name['NvmeRemoteControllerResetRequest'] -_NVMEREMOTECONTROLLERSTATSREQUEST = DESCRIPTOR.message_types_by_name['NvmeRemoteControllerStatsRequest'] -_NVMEREMOTECONTROLLERSTATSRESPONSE = DESCRIPTOR.message_types_by_name['NvmeRemoteControllerStatsResponse'] +_RESETNVMEREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['ResetNvmeRemoteControllerRequest'] +_STATSNVMEREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['StatsNvmeRemoteControllerRequest'] +_STATSNVMEREMOTECONTROLLERRESPONSE = DESCRIPTOR.message_types_by_name['StatsNvmeRemoteControllerResponse'] _LISTNVMEREMOTENAMESPACESREQUEST = DESCRIPTOR.message_types_by_name['ListNvmeRemoteNamespacesRequest'] _LISTNVMEREMOTENAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name['ListNvmeRemoteNamespacesResponse'] _CREATENVMEPATHREQUEST = DESCRIPTOR.message_types_by_name['CreateNvmePathRequest'] @@ -69,8 +69,8 @@ _LISTNVMEPATHSREQUEST = DESCRIPTOR.message_types_by_name['ListNvmePathsRequest'] _LISTNVMEPATHSRESPONSE = DESCRIPTOR.message_types_by_name['ListNvmePathsResponse'] _GETNVMEPATHREQUEST = DESCRIPTOR.message_types_by_name['GetNvmePathRequest'] -_NVMEPATHSTATSREQUEST = DESCRIPTOR.message_types_by_name['NvmePathStatsRequest'] -_NVMEPATHSTATSRESPONSE = DESCRIPTOR.message_types_by_name['NvmePathStatsResponse'] +_STATSNVMEPATHREQUEST = DESCRIPTOR.message_types_by_name['StatsNvmePathRequest'] +_STATSNVMEPATHRESPONSE = DESCRIPTOR.message_types_by_name['StatsNvmePathResponse'] NvmeRemoteController = _reflection.GeneratedProtocolMessageType('NvmeRemoteController', (_message.Message,), { 'DESCRIPTOR' : _NVMEREMOTECONTROLLER, '__module__' : 'backend_nvme_tcp_pb2' @@ -134,26 +134,26 @@ }) _sym_db.RegisterMessage(GetNvmeRemoteControllerRequest) -NvmeRemoteControllerResetRequest = _reflection.GeneratedProtocolMessageType('NvmeRemoteControllerResetRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMEREMOTECONTROLLERRESETREQUEST, +ResetNvmeRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('ResetNvmeRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETNVMEREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerResetRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ResetNvmeRemoteControllerRequest) }) -_sym_db.RegisterMessage(NvmeRemoteControllerResetRequest) +_sym_db.RegisterMessage(ResetNvmeRemoteControllerRequest) -NvmeRemoteControllerStatsRequest = _reflection.GeneratedProtocolMessageType('NvmeRemoteControllerStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMEREMOTECONTROLLERSTATSREQUEST, +StatsNvmeRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('StatsNvmeRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMEREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeRemoteControllerRequest) }) -_sym_db.RegisterMessage(NvmeRemoteControllerStatsRequest) +_sym_db.RegisterMessage(StatsNvmeRemoteControllerRequest) -NvmeRemoteControllerStatsResponse = _reflection.GeneratedProtocolMessageType('NvmeRemoteControllerStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMEREMOTECONTROLLERSTATSRESPONSE, +StatsNvmeRemoteControllerResponse = _reflection.GeneratedProtocolMessageType('StatsNvmeRemoteControllerResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMEREMOTECONTROLLERRESPONSE, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeRemoteControllerStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeRemoteControllerResponse) }) -_sym_db.RegisterMessage(NvmeRemoteControllerStatsResponse) +_sym_db.RegisterMessage(StatsNvmeRemoteControllerResponse) ListNvmeRemoteNamespacesRequest = _reflection.GeneratedProtocolMessageType('ListNvmeRemoteNamespacesRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTNVMEREMOTENAMESPACESREQUEST, @@ -211,29 +211,39 @@ }) _sym_db.RegisterMessage(GetNvmePathRequest) -NvmePathStatsRequest = _reflection.GeneratedProtocolMessageType('NvmePathStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMEPATHSTATSREQUEST, +StatsNvmePathRequest = _reflection.GeneratedProtocolMessageType('StatsNvmePathRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMEPATHREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmePathStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmePathRequest) }) -_sym_db.RegisterMessage(NvmePathStatsRequest) +_sym_db.RegisterMessage(StatsNvmePathRequest) -NvmePathStatsResponse = _reflection.GeneratedProtocolMessageType('NvmePathStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMEPATHSTATSRESPONSE, +StatsNvmePathResponse = _reflection.GeneratedProtocolMessageType('StatsNvmePathResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMEPATHRESPONSE, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmePathStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmePathResponse) }) -_sym_db.RegisterMessage(NvmePathStatsResponse) +_sym_db.RegisterMessage(StatsNvmePathResponse) _NVMEREMOTECONTROLLERSERVICE = DESCRIPTOR.services_by_name['NvmeRemoteControllerService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\023BackendNvmeTcpProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _NVMEREMOTECONTROLLER.fields_by_name['name']._options = None + _NVMEREMOTECONTROLLER.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A)\n\'opi_api.storage.v1/NvmeRemoteController' _NVMEREMOTECONTROLLER._options = None _NVMEREMOTECONTROLLER._serialized_options = b'\352A?\n+storage.opiproject.org/NvmeRemoteController\022\020volumes/{volume}' + _NVMEPATH.fields_by_name['name']._options = None + _NVMEPATH.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\035\n\033opi_api.storage.v1/NvmePath' + _NVMEPATH.fields_by_name['controller_name_ref']._options = None + _NVMEPATH.fields_by_name['controller_name_ref']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController' _NVMEPATH._options = None _NVMEPATH._serialized_options = b'\352A3\n\037storage.opiproject.org/NvmePath\022\020volumes/{volume}' + _NVMEREMOTENAMESPACE.fields_by_name['name']._options = None + _NVMEREMOTENAMESPACE.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A(\n&opi_api.storage.v1/NvmeRemoteNamespace' + _NVMEREMOTENAMESPACE.fields_by_name['controller_name_ref']._options = None + _NVMEREMOTENAMESPACE.fields_by_name['controller_name_ref']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController' _NVMEREMOTENAMESPACE._options = None _NVMEREMOTENAMESPACE._serialized_options = b'\352A>\n*storage.opiproject.org/NvmeRemoteNamespace\022\020volumes/{volume}' _CREATENVMEREMOTECONTROLLERREQUEST.fields_by_name['nvme_remote_controller']._options = None @@ -244,6 +254,10 @@ _LISTNVMEREMOTECONTROLLERSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController' _GETNVMEREMOTECONTROLLERREQUEST.fields_by_name['name']._options = None _GETNVMEREMOTECONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController' + _RESETNVMEREMOTECONTROLLERREQUEST.fields_by_name['name']._options = None + _RESETNVMEREMOTECONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController' + _STATSNVMEREMOTECONTROLLERREQUEST.fields_by_name['name']._options = None + _STATSNVMEREMOTECONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController' _LISTNVMEREMOTENAMESPACESREQUEST.fields_by_name['parent']._options = None _LISTNVMEREMOTENAMESPACESREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A(\n&opi_api.storage.v1/NvmeRemoteNamespace' _CREATENVMEPATHREQUEST.fields_by_name['nvme_path']._options = None @@ -254,78 +268,86 @@ _LISTNVMEPATHSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\035\n\033opi_api.storage.v1/NvmePath' _GETNVMEPATHREQUEST.fields_by_name['name']._options = None _GETNVMEPATHREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\035\n\033opi_api.storage.v1/NvmePath' + _STATSNVMEPATHREQUEST.fields_by_name['name']._options = None + _STATSNVMEPATHREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\035\n\033opi_api.storage.v1/NvmePath' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['CreateNvmeRemoteController']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['CreateNvmeRemoteController']._serialized_options = b'\202\323\344\223\002%\"\013/v1/volumes:\026nvme_remote_controller\332A0nvme_remote_controller,nvme_remote_controller_id' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['DeleteNvmeRemoteController']._options = None - _NVMEREMOTECONTROLLERSERVICE.methods_by_name['DeleteNvmeRemoteController']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}\332A\004name' + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['DeleteNvmeRemoteController']._serialized_options = b'\202\323\344\223\002$*\"/v1/{name=NvmeRemoteControllers/*}\332A\004name' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['UpdateNvmeRemoteController']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['UpdateNvmeRemoteController']._serialized_options = b'\202\323\344\223\002F2,/v1/{nvme_remote_controller.name=subsystems}:\026nvme_remote_controller\332A\"nvme_remote_controller,update_mask' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ListNvmeRemoteControllers']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ListNvmeRemoteControllers']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmeRemoteController']._options = None - _NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmeRemoteController']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmeRemoteController']._serialized_options = b'\202\323\344\223\002$\022\"/v1/{name=NvmeRemoteControllers/*}\332A\004name' + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ResetNvmeRemoteController']._options = None + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ResetNvmeRemoteController']._serialized_options = b'\202\323\344\223\002-\"(/v1/{name=NvmeRemoteControllers/*}:reset:\001*\332A\004name' + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmeRemoteController']._options = None + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmeRemoteController']._serialized_options = b'\202\323\344\223\002*\022(/v1/{name=NvmeRemoteControllers/*}:stats\332A\004name' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ListNvmeRemoteNamespaces']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ListNvmeRemoteNamespaces']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['CreateNvmePath']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['CreateNvmePath']._serialized_options = b'\202\323\344\223\002\030\"\013/v1/volumes:\tnvme_path\332A\026nvme_path,nvme_path_id' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['DeleteNvmePath']._options = None - _NVMEREMOTECONTROLLERSERVICE.methods_by_name['DeleteNvmePath']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}\332A\004name' + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['DeleteNvmePath']._serialized_options = b'\202\323\344\223\002\030*\026/v1/{name=NvmePaths/*}\332A\004name' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['UpdateNvmePath']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['UpdateNvmePath']._serialized_options = b'\202\323\344\223\002,2\037/v1/{nvme_path.name=subsystems}:\tnvme_path\332A\025nvme_path,update_mask' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ListNvmePaths']._options = None _NVMEREMOTECONTROLLERSERVICE.methods_by_name['ListNvmePaths']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmePath']._options = None - _NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmePath']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' - _NVMETRANSPORTTYPE._serialized_start=3096 - _NVMETRANSPORTTYPE._serialized_end=3276 - _NVMEADDRESSFAMILY._serialized_start=3279 - _NVMEADDRESSFAMILY._serialized_end=3447 - _NVMEMULTIPATH._serialized_start=3450 - _NVMEMULTIPATH._serialized_end=3584 + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmePath']._serialized_options = b'\202\323\344\223\002\030\022\026/v1/{name=NvmePaths/*}\332A\004name' + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmePath']._options = None + _NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmePath']._serialized_options = b'\202\323\344\223\002\036\022\034/v1/{name=NvmePaths/*}:stats\332A\004name' + _NVMETRANSPORTTYPE._serialized_start=3472 + _NVMETRANSPORTTYPE._serialized_end=3652 + _NVMEADDRESSFAMILY._serialized_start=3655 + _NVMEADDRESSFAMILY._serialized_end=3823 + _NVMEMULTIPATH._serialized_start=3826 + _NVMEMULTIPATH._serialized_end=3960 _NVMEREMOTECONTROLLER._serialized_start=254 - _NVMEREMOTECONTROLLER._serialized_end=500 - _NVMEPATH._serialized_start=503 - _NVMEPATH._serialized_end=835 - _NVMEREMOTENAMESPACE._serialized_start=838 - _NVMEREMOTENAMESPACE._serialized_end=1052 - _CREATENVMEREMOTECONTROLLERREQUEST._serialized_start=1055 - _CREATENVMEREMOTECONTROLLERREQUEST._serialized_end=1204 - _DELETENVMEREMOTECONTROLLERREQUEST._serialized_start=1206 - _DELETENVMEREMOTECONTROLLERREQUEST._serialized_end=1327 - _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_start=1330 - _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_end=1511 - _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_start=1514 - _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_end=1652 - _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_start=1655 - _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_end=1790 - _GETNVMEREMOTECONTROLLERREQUEST._serialized_start=1792 - _GETNVMEREMOTECONTROLLERREQUEST._serialized_end=1887 - _NVMEREMOTECONTROLLERRESETREQUEST._serialized_start=1889 - _NVMEREMOTECONTROLLERRESETREQUEST._serialized_end=1937 - _NVMEREMOTECONTROLLERSTATSREQUEST._serialized_start=1939 - _NVMEREMOTECONTROLLERSTATSREQUEST._serialized_end=1987 - _NVMEREMOTECONTROLLERSTATSRESPONSE._serialized_start=1989 - _NVMEREMOTECONTROLLERSTATSRESPONSE._serialized_end=2072 - _LISTNVMEREMOTENAMESPACESREQUEST._serialized_start=2075 - _LISTNVMEREMOTENAMESPACESREQUEST._serialized_end=2211 - _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_start=2214 - _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_end=2346 - _CREATENVMEPATHREQUEST._serialized_start=2348 - _CREATENVMEPATHREQUEST._serialized_end=2447 - _DELETENVMEPATHREQUEST._serialized_start=2449 - _DELETENVMEPATHREQUEST._serialized_end=2546 - _UPDATENVMEPATHREQUEST._serialized_start=2549 - _UPDATENVMEPATHREQUEST._serialized_end=2693 - _LISTNVMEPATHSREQUEST._serialized_start=2695 - _LISTNVMEPATHSREQUEST._serialized_end=2809 - _LISTNVMEPATHSRESPONSE._serialized_start=2811 - _LISTNVMEPATHSRESPONSE._serialized_end=2909 - _GETNVMEPATHREQUEST._serialized_start=2911 - _GETNVMEPATHREQUEST._serialized_end=2982 - _NVMEPATHSTATSREQUEST._serialized_start=2984 - _NVMEPATHSTATSREQUEST._serialized_end=3020 - _NVMEPATHSTATSRESPONSE._serialized_start=3022 - _NVMEPATHSTATSRESPONSE._serialized_end=3093 - _NVMEREMOTECONTROLLERSERVICE._serialized_start=3587 - _NVMEREMOTECONTROLLERSERVICE._serialized_end=5862 + _NVMEREMOTECONTROLLER._serialized_end=552 + _NVMEPATH._serialized_start=555 + _NVMEPATH._serialized_end=976 + _NVMEREMOTENAMESPACE._serialized_start=979 + _NVMEREMOTENAMESPACE._serialized_end=1293 + _CREATENVMEREMOTECONTROLLERREQUEST._serialized_start=1296 + _CREATENVMEREMOTECONTROLLERREQUEST._serialized_end=1445 + _DELETENVMEREMOTECONTROLLERREQUEST._serialized_start=1447 + _DELETENVMEREMOTECONTROLLERREQUEST._serialized_end=1568 + _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_start=1571 + _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_end=1752 + _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_start=1755 + _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_end=1893 + _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_start=1896 + _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_end=2031 + _GETNVMEREMOTECONTROLLERREQUEST._serialized_start=2033 + _GETNVMEREMOTECONTROLLERREQUEST._serialized_end=2128 + _RESETNVMEREMOTECONTROLLERREQUEST._serialized_start=2130 + _RESETNVMEREMOTECONTROLLERREQUEST._serialized_end=2227 + _STATSNVMEREMOTECONTROLLERREQUEST._serialized_start=2229 + _STATSNVMEREMOTECONTROLLERREQUEST._serialized_end=2326 + _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_start=2328 + _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_end=2411 + _LISTNVMEREMOTENAMESPACESREQUEST._serialized_start=2414 + _LISTNVMEREMOTENAMESPACESREQUEST._serialized_end=2550 + _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_start=2553 + _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_end=2685 + _CREATENVMEPATHREQUEST._serialized_start=2687 + _CREATENVMEPATHREQUEST._serialized_end=2786 + _DELETENVMEPATHREQUEST._serialized_start=2788 + _DELETENVMEPATHREQUEST._serialized_end=2885 + _UPDATENVMEPATHREQUEST._serialized_start=2888 + _UPDATENVMEPATHREQUEST._serialized_end=3032 + _LISTNVMEPATHSREQUEST._serialized_start=3034 + _LISTNVMEPATHSREQUEST._serialized_end=3148 + _LISTNVMEPATHSRESPONSE._serialized_start=3150 + _LISTNVMEPATHSRESPONSE._serialized_end=3248 + _GETNVMEPATHREQUEST._serialized_start=3250 + _GETNVMEPATHREQUEST._serialized_end=3321 + _STATSNVMEPATHREQUEST._serialized_start=3323 + _STATSNVMEPATHREQUEST._serialized_end=3396 + _STATSNVMEPATHRESPONSE._serialized_start=3398 + _STATSNVMEPATHRESPONSE._serialized_end=3469 + _NVMEREMOTECONTROLLERSERVICE._serialized_start=3963 + _NVMEREMOTECONTROLLERSERVICE._serialized_end=6374 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py index cfc56abc..4e17485a 100644 --- a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py @@ -41,15 +41,15 @@ def __init__(self, channel): request_serializer=backend__nvme__tcp__pb2.GetNvmeRemoteControllerRequest.SerializeToString, response_deserializer=backend__nvme__tcp__pb2.NvmeRemoteController.FromString, ) - self.NvmeRemoteControllerReset = channel.unary_unary( - '/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerReset', - request_serializer=backend__nvme__tcp__pb2.NvmeRemoteControllerResetRequest.SerializeToString, + self.ResetNvmeRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NvmeRemoteControllerService/ResetNvmeRemoteController', + request_serializer=backend__nvme__tcp__pb2.ResetNvmeRemoteControllerRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) - self.NvmeRemoteControllerStats = channel.unary_unary( - '/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerStats', - request_serializer=backend__nvme__tcp__pb2.NvmeRemoteControllerStatsRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NvmeRemoteControllerStatsResponse.FromString, + self.StatsNvmeRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmeRemoteController', + request_serializer=backend__nvme__tcp__pb2.StatsNvmeRemoteControllerRequest.SerializeToString, + response_deserializer=backend__nvme__tcp__pb2.StatsNvmeRemoteControllerResponse.FromString, ) self.ListNvmeRemoteNamespaces = channel.unary_unary( '/opi_api.storage.v1.NvmeRemoteControllerService/ListNvmeRemoteNamespaces', @@ -81,10 +81,10 @@ def __init__(self, channel): request_serializer=backend__nvme__tcp__pb2.GetNvmePathRequest.SerializeToString, response_deserializer=backend__nvme__tcp__pb2.NvmePath.FromString, ) - self.NvmePathStats = channel.unary_unary( - '/opi_api.storage.v1.NvmeRemoteControllerService/NvmePathStats', - request_serializer=backend__nvme__tcp__pb2.NvmePathStatsRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NvmePathStatsResponse.FromString, + self.StatsNvmePath = channel.unary_unary( + '/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmePath', + request_serializer=backend__nvme__tcp__pb2.StatsNvmePathRequest.SerializeToString, + response_deserializer=backend__nvme__tcp__pb2.StatsNvmePathResponse.FromString, ) @@ -122,13 +122,13 @@ def GetNvmeRemoteController(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NvmeRemoteControllerReset(self, request, context): + def ResetNvmeRemoteController(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NvmeRemoteControllerStats(self, request, context): + def StatsNvmeRemoteController(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -170,7 +170,7 @@ def GetNvmePath(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NvmePathStats(self, request, context): + def StatsNvmePath(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -204,15 +204,15 @@ def add_NvmeRemoteControllerServiceServicer_to_server(servicer, server): request_deserializer=backend__nvme__tcp__pb2.GetNvmeRemoteControllerRequest.FromString, response_serializer=backend__nvme__tcp__pb2.NvmeRemoteController.SerializeToString, ), - 'NvmeRemoteControllerReset': grpc.unary_unary_rpc_method_handler( - servicer.NvmeRemoteControllerReset, - request_deserializer=backend__nvme__tcp__pb2.NvmeRemoteControllerResetRequest.FromString, + 'ResetNvmeRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.ResetNvmeRemoteController, + request_deserializer=backend__nvme__tcp__pb2.ResetNvmeRemoteControllerRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), - 'NvmeRemoteControllerStats': grpc.unary_unary_rpc_method_handler( - servicer.NvmeRemoteControllerStats, - request_deserializer=backend__nvme__tcp__pb2.NvmeRemoteControllerStatsRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NvmeRemoteControllerStatsResponse.SerializeToString, + 'StatsNvmeRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.StatsNvmeRemoteController, + request_deserializer=backend__nvme__tcp__pb2.StatsNvmeRemoteControllerRequest.FromString, + response_serializer=backend__nvme__tcp__pb2.StatsNvmeRemoteControllerResponse.SerializeToString, ), 'ListNvmeRemoteNamespaces': grpc.unary_unary_rpc_method_handler( servicer.ListNvmeRemoteNamespaces, @@ -244,10 +244,10 @@ def add_NvmeRemoteControllerServiceServicer_to_server(servicer, server): request_deserializer=backend__nvme__tcp__pb2.GetNvmePathRequest.FromString, response_serializer=backend__nvme__tcp__pb2.NvmePath.SerializeToString, ), - 'NvmePathStats': grpc.unary_unary_rpc_method_handler( - servicer.NvmePathStats, - request_deserializer=backend__nvme__tcp__pb2.NvmePathStatsRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NvmePathStatsResponse.SerializeToString, + 'StatsNvmePath': grpc.unary_unary_rpc_method_handler( + servicer.StatsNvmePath, + request_deserializer=backend__nvme__tcp__pb2.StatsNvmePathRequest.FromString, + response_serializer=backend__nvme__tcp__pb2.StatsNvmePathResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -346,7 +346,7 @@ def GetNvmeRemoteController(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NvmeRemoteControllerReset(request, + def ResetNvmeRemoteController(request, target, options=(), channel_credentials=None, @@ -356,14 +356,14 @@ def NvmeRemoteControllerReset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerReset', - backend__nvme__tcp__pb2.NvmeRemoteControllerResetRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NvmeRemoteControllerService/ResetNvmeRemoteController', + backend__nvme__tcp__pb2.ResetNvmeRemoteControllerRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NvmeRemoteControllerStats(request, + def StatsNvmeRemoteController(request, target, options=(), channel_credentials=None, @@ -373,9 +373,9 @@ def NvmeRemoteControllerStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NvmeRemoteControllerService/NvmeRemoteControllerStats', - backend__nvme__tcp__pb2.NvmeRemoteControllerStatsRequest.SerializeToString, - backend__nvme__tcp__pb2.NvmeRemoteControllerStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmeRemoteController', + backend__nvme__tcp__pb2.StatsNvmeRemoteControllerRequest.SerializeToString, + backend__nvme__tcp__pb2.StatsNvmeRemoteControllerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -482,7 +482,7 @@ def GetNvmePath(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NvmePathStats(request, + def StatsNvmePath(request, target, options=(), channel_credentials=None, @@ -492,8 +492,8 @@ def NvmePathStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NvmeRemoteControllerService/NvmePathStats', - backend__nvme__tcp__pb2.NvmePathStatsRequest.SerializeToString, - backend__nvme__tcp__pb2.NvmePathStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NvmeRemoteControllerService/StatsNvmePath', + backend__nvme__tcp__pb2.StatsNvmePathRequest.SerializeToString, + backend__nvme__tcp__pb2.StatsNvmePathResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py index 44d96246..e99561c1 100644 --- a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py @@ -23,7 +23,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66rontend_nvme_pcie.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\nuuid.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xc8\x01\n\rNvmeSubsystem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32%.opi_api.storage.v1.NvmeSubsystemSpec\x12\x37\n\x06status\x18\x03 \x01(\x0b\x32\'.opi_api.storage.v1.NvmeSubsystemStatus:;\xea\x41\x38\n$storage.opiproject.org/NvmeSubsystem\x12\x10volumes/{volume}\"e\n\x11NvmeSubsystemSpec\x12\x0b\n\x03nqn\x18\x01 \x01(\t\x12\x15\n\rserial_number\x18\x02 \x01(\t\x12\x14\n\x0cmodel_number\x18\x03 \x01(\t\x12\x16\n\x0emax_namespaces\x18\x04 \x01(\x03\"B\n\x13NvmeSubsystemStatus\x12\x19\n\x11\x66irmware_revision\x18\x01 \x01(\t\x12\x10\n\x08\x66ru_guid\x18\x02 \x01(\x0c\"\xcc\x01\n\x0eNvmeController\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x04spec\x18\x02 \x01(\x0b\x32&.opi_api.storage.v1.NvmeControllerSpec\x12\x38\n\x06status\x18\x03 \x01(\x0b\x32(.opi_api.storage.v1.NvmeControllerStatus:<\xea\x41\x39\n%storage.opiproject.org/NvmeController\x12\x10volumes/{volume}\"\xb6\x02\n\x12NvmeControllerSpec\x12\x1a\n\x12nvme_controller_id\x18\x01 \x01(\x05\x12\x1a\n\x12subsystem_name_ref\x18\x02 \x01(\t\x12\x30\n\x07pcie_id\x18\x03 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12\x0f\n\x07max_nsq\x18\x04 \x01(\x05\x12\x0f\n\x07max_ncq\x18\x05 \x01(\x05\x12\x0c\n\x04sqes\x18\x06 \x01(\x05\x12\x0c\n\x04\x63qes\x18\x07 \x01(\x05\x12\x16\n\x0emax_namespaces\x18\x08 \x01(\x05\x12/\n\tmin_limit\x18\t \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\n \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\"&\n\x14NvmeControllerStatus\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\"\xc8\x01\n\rNvmeNamespace\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32%.opi_api.storage.v1.NvmeNamespaceSpec\x12\x37\n\x06status\x18\x03 \x01(\x0b\x32\'.opi_api.storage.v1.NvmeNamespaceStatus:;\xea\x41\x38\n$storage.opiproject.org/NvmeNamespace\x12\x10volumes/{volume}\"\xa0\x01\n\x11NvmeNamespaceSpec\x12\x1a\n\x12subsystem_name_ref\x18\x01 \x01(\t\x12\x11\n\thost_nsid\x18\x02 \x01(\x05\x12\r\n\x05nguid\x18\x03 \x01(\t\x12\r\n\x05\x65ui64\x18\x04 \x01(\x03\x12%\n\x04uuid\x18\x05 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid\x12\x17\n\x0fvolume_name_ref\x18\x06 \x01(\t\"\x9a\x01\n\x13NvmeNamespaceStatus\x12<\n\tpci_state\x18\x01 \x01(\x0e\x32).opi_api.storage.v1.NvmeNamespacePciState\x12\x45\n\x0epci_oper_state\x18\x02 \x01(\x0e\x32-.opi_api.storage.v1.NvmeNamespacePciOperState\"w\n\x1a\x43reateNvmeSubsystemRequest\x12>\n\x0envme_subsystem\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.NvmeSubsystemB\x03\xe0\x41\x02\x12\x19\n\x11nvme_subsystem_id\x18\x03 \x01(\t\"k\n\x1a\x44\x65leteNvmeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9f\x01\n\x1aUpdateNvmeSubsystemRequest\x12\x39\n\x0envme_subsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NvmeSubsystem\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"|\n\x19ListNvmeSubsystemsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x1aListNvmeSubsystemsResponse\x12:\n\x0fnvme_subsystems\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NvmeSubsystem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetNvmeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\"7\n\x19NvmeSubsystemStatsRequest\x12\x1a\n\x12subsystem_name_ref\x18\x01 \x01(\t\"L\n\x1aNvmeSubsystemStatsResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"{\n\x1b\x43reateNvmeControllerRequest\x12@\n\x0fnvme_controller\x18\x02 \x01(\x0b\x32\".opi_api.storage.v1.NvmeControllerB\x03\xe0\x41\x02\x12\x1a\n\x12nvme_controller_id\x18\x03 \x01(\t\"m\n\x1b\x44\x65leteNvmeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa2\x01\n\x1bUpdateNvmeControllerRequest\x12;\n\x0fnvme_controller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NvmeController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"~\n\x1aListNvmeControllersRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x1bListNvmeControllersResponse\x12<\n\x10nvme_controllers\x18\x01 \x03(\x0b\x32\".opi_api.storage.v1.NvmeController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x18GetNvmeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\"*\n\x1aNvmeControllerStatsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"[\n\x1bNvmeControllerStatsResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"w\n\x1a\x43reateNvmeNamespaceRequest\x12>\n\x0envme_namespace\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.NvmeNamespaceB\x03\xe0\x41\x02\x12\x19\n\x11nvme_namespace_id\x18\x03 \x01(\t\"k\n\x1a\x44\x65leteNvmeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9f\x01\n\x1aUpdateNvmeNamespaceRequest\x12\x39\n\x0envme_namespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NvmeNamespace\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"|\n\x19ListNvmeNamespacesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x1aListNvmeNamespacesResponse\x12:\n\x0fnvme_namespaces\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NvmeNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetNvmeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\")\n\x19NvmeNamespaceStatsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"Z\n\x1aNvmeNamespaceStatsResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\xb5\x01\n\x15NvmeNamespacePciState\x12(\n$NVME_NAMESPACE_PCI_STATE_UNSPECIFIED\x10\x00\x12%\n!NVME_NAMESPACE_PCI_STATE_DISABLED\x10\x01\x12$\n NVME_NAMESPACE_PCI_STATE_ENABLED\x10\x02\x12%\n!NVME_NAMESPACE_PCI_STATE_DELETING\x10\x03*\x9f\x01\n\x19NvmeNamespacePciOperState\x12-\n)NVME_NAMESPACE_PCI_OPER_STATE_UNSPECIFIED\x10\x00\x12(\n$NVME_NAMESPACE_PCI_OPER_STATE_ONLINE\x10\x01\x12)\n%NVME_NAMESPACE_PCI_OPER_STATE_OFFLINE\x10\x02\x32\xda\x16\n\x13\x46rontendNvmeService\x12\xb0\x01\n\x13\x43reateNvmeSubsystem\x12..opi_api.storage.v1.CreateNvmeSubsystemRequest\x1a!.opi_api.storage.v1.NvmeSubsystem\"F\x82\xd3\xe4\x93\x02\x1d\"\x0b/v1/volumes:\x0envme_subsystem\xda\x41 nvme_subsystem,nvme_subsystem_id\x12\x8f\x01\n\x13\x44\x65leteNvmeSubsystem\x12..opi_api.storage.v1.DeleteNvmeSubsystemRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xc3\x01\n\x13UpdateNvmeSubsystem\x12..opi_api.storage.v1.UpdateNvmeSubsystemRequest\x1a!.opi_api.storage.v1.NvmeSubsystem\"Y\x82\xd3\xe4\x93\x02\x36\x32$/v1/{nvme_subsystem.name=subsystems}:\x0envme_subsystem\xda\x41\x1anvme_subsystem,update_mask\x12\x9d\x01\n\x12ListNvmeSubsystems\x12-.opi_api.storage.v1.ListNvmeSubsystemsRequest\x1a..opi_api.storage.v1.ListNvmeSubsystemsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x94\x01\n\x10GetNvmeSubsystem\x12+.opi_api.storage.v1.GetNvmeSubsystemRequest\x1a!.opi_api.storage.v1.NvmeSubsystem\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12u\n\x12NvmeSubsystemStats\x12-.opi_api.storage.v1.NvmeSubsystemStatsRequest\x1a..opi_api.storage.v1.NvmeSubsystemStatsResponse\"\x00\x12\xb6\x01\n\x14\x43reateNvmeController\x12/.opi_api.storage.v1.CreateNvmeControllerRequest\x1a\".opi_api.storage.v1.NvmeController\"I\x82\xd3\xe4\x93\x02\x1e\"\x0b/v1/volumes:\x0fnvme_controller\xda\x41\"nvme_controller,nvme_controller_id\x12\x93\x01\n\x14\x44\x65leteNvmeController\x12/.opi_api.storage.v1.DeleteNvmeControllerRequest\x1a\x16.google.protobuf.Empty\"2\x82\xd3\xe4\x93\x02%*#/v1/{name=controllers}/{controller}\xda\x41\x04name\x12\xc9\x01\n\x14UpdateNvmeController\x12/.opi_api.storage.v1.UpdateNvmeControllerRequest\x1a\".opi_api.storage.v1.NvmeController\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{nvme_controller.name=subsystems}:\x0fnvme_controller\xda\x41\x1bnvme_controller,update_mask\x12\xa0\x01\n\x13ListNvmeControllers\x12..opi_api.storage.v1.ListNvmeControllersRequest\x1a/.opi_api.storage.v1.ListNvmeControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x98\x01\n\x11GetNvmeController\x12,.opi_api.storage.v1.GetNvmeControllerRequest\x1a\".opi_api.storage.v1.NvmeController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=subsystems}/{controller}\xda\x41\x04name\x12x\n\x13NvmeControllerStats\x12..opi_api.storage.v1.NvmeControllerStatsRequest\x1a/.opi_api.storage.v1.NvmeControllerStatsResponse\"\x00\x12\xb0\x01\n\x13\x43reateNvmeNamespace\x12..opi_api.storage.v1.CreateNvmeNamespaceRequest\x1a!.opi_api.storage.v1.NvmeNamespace\"F\x82\xd3\xe4\x93\x02\x1d\"\x0b/v1/volumes:\x0envme_namespace\xda\x41 nvme_namespace,nvme_namespace_id\x12\x8f\x01\n\x13\x44\x65leteNvmeNamespace\x12..opi_api.storage.v1.DeleteNvmeNamespaceRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=namespaces}/{namespace}\xda\x41\x04name\x12\xc3\x01\n\x13UpdateNvmeNamespace\x12..opi_api.storage.v1.UpdateNvmeNamespaceRequest\x1a!.opi_api.storage.v1.NvmeNamespace\"Y\x82\xd3\xe4\x93\x02\x36\x32$/v1/{nvme_namespace.name=subsystems}:\x0envme_namespace\xda\x41\x1anvme_namespace,update_mask\x12\x9d\x01\n\x12ListNvmeNamespaces\x12-.opi_api.storage.v1.ListNvmeNamespacesRequest\x1a..opi_api.storage.v1.ListNvmeNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x94\x01\n\x10GetNvmeNamespace\x12+.opi_api.storage.v1.GetNvmeNamespaceRequest\x1a!.opi_api.storage.v1.NvmeNamespace\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{namespace}\xda\x41\x04name\x12u\n\x12NvmeNamespaceStats\x12-.opi_api.storage.v1.NvmeNamespaceStatsRequest\x1a..opi_api.storage.v1.NvmeNamespaceStatsResponse\"\x00\x42\x64\n\x12opi_api.storage.v1B\x15\x46rontendNvmePcieProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66rontend_nvme_pcie.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\nuuid.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xf5\x01\n\rNvmeSubsystem\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x03\xe0\x41\x05\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32%.opi_api.storage.v1.NvmeSubsystemSpec\x12\x37\n\x06status\x18\x03 \x01(\x0b\x32\'.opi_api.storage.v1.NvmeSubsystemStatus:;\xea\x41\x38\n$storage.opiproject.org/NvmeSubsystem\x12\x10volumes/{volume}\"e\n\x11NvmeSubsystemSpec\x12\x0b\n\x03nqn\x18\x01 \x01(\t\x12\x15\n\rserial_number\x18\x02 \x01(\t\x12\x14\n\x0cmodel_number\x18\x03 \x01(\t\x12\x16\n\x0emax_namespaces\x18\x04 \x01(\x03\"B\n\x13NvmeSubsystemStatus\x12\x19\n\x11\x66irmware_revision\x18\x01 \x01(\t\x12\x10\n\x08\x66ru_guid\x18\x02 \x01(\x0c\"\xfa\x01\n\x0eNvmeController\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x03\xe0\x41\x05\xfa\x41#\n!opi_api.storage.v1/NvmeController\x12\x34\n\x04spec\x18\x02 \x01(\x0b\x32&.opi_api.storage.v1.NvmeControllerSpec\x12\x38\n\x06status\x18\x03 \x01(\x0b\x32(.opi_api.storage.v1.NvmeControllerStatus:<\xea\x41\x39\n%storage.opiproject.org/NvmeController\x12\x10volumes/{volume}\"\xe0\x02\n\x12NvmeControllerSpec\x12\x1a\n\x12nvme_controller_id\x18\x01 \x01(\x05\x12\x44\n\x12subsystem_name_ref\x18\x02 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x30\n\x07pcie_id\x18\x03 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12\x0f\n\x07max_nsq\x18\x04 \x01(\x05\x12\x0f\n\x07max_ncq\x18\x05 \x01(\x05\x12\x0c\n\x04sqes\x18\x06 \x01(\x05\x12\x0c\n\x04\x63qes\x18\x07 \x01(\x05\x12\x16\n\x0emax_namespaces\x18\x08 \x01(\x05\x12/\n\tmin_limit\x18\t \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\n \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\"&\n\x14NvmeControllerStatus\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\"\xf5\x01\n\rNvmeNamespace\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x03\xe0\x41\x05\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32%.opi_api.storage.v1.NvmeNamespaceSpec\x12\x37\n\x06status\x18\x03 \x01(\x0b\x32\'.opi_api.storage.v1.NvmeNamespaceStatus:;\xea\x41\x38\n$storage.opiproject.org/NvmeNamespace\x12\x10volumes/{volume}\"\xcf\x01\n\x11NvmeNamespaceSpec\x12\x44\n\x12subsystem_name_ref\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x11\n\thost_nsid\x18\x02 \x01(\x05\x12\r\n\x05nguid\x18\x03 \x01(\t\x12\r\n\x05\x65ui64\x18\x04 \x01(\x03\x12%\n\x04uuid\x18\x05 \x01(\x0b\x32\x17.opi_api.common.v1.Uuid\x12\x1c\n\x0fvolume_name_ref\x18\x06 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\x13NvmeNamespaceStatus\x12<\n\tpci_state\x18\x01 \x01(\x0e\x32).opi_api.storage.v1.NvmeNamespacePciState\x12\x45\n\x0epci_oper_state\x18\x02 \x01(\x0e\x32-.opi_api.storage.v1.NvmeNamespacePciOperState\"w\n\x1a\x43reateNvmeSubsystemRequest\x12>\n\x0envme_subsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NvmeSubsystemB\x03\xe0\x41\x02\x12\x19\n\x11nvme_subsystem_id\x18\x02 \x01(\t\"k\n\x1a\x44\x65leteNvmeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9f\x01\n\x1aUpdateNvmeSubsystemRequest\x12\x39\n\x0envme_subsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NvmeSubsystem\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"|\n\x19ListNvmeSubsystemsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x1aListNvmeSubsystemsResponse\x12:\n\x0fnvme_subsystems\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NvmeSubsystem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetNvmeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\"S\n\x19StatsNvmeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeSubsystem\"L\n\x1aStatsNvmeSubsystemResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"{\n\x1b\x43reateNvmeControllerRequest\x12@\n\x0fnvme_controller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NvmeControllerB\x03\xe0\x41\x02\x12\x1a\n\x12nvme_controller_id\x18\x02 \x01(\t\"m\n\x1b\x44\x65leteNvmeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa2\x01\n\x1bUpdateNvmeControllerRequest\x12;\n\x0fnvme_controller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NvmeController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"~\n\x1aListNvmeControllersRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x1bListNvmeControllersResponse\x12<\n\x10nvme_controllers\x18\x01 \x03(\x0b\x32\".opi_api.storage.v1.NvmeController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x18GetNvmeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\"U\n\x1aStatsNvmeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NvmeController\"M\n\x1bStatsNvmeControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"w\n\x1a\x43reateNvmeNamespaceRequest\x12>\n\x0envme_namespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NvmeNamespaceB\x03\xe0\x41\x02\x12\x19\n\x11nvme_namespace_id\x18\x02 \x01(\t\"k\n\x1a\x44\x65leteNvmeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9f\x01\n\x1aUpdateNvmeNamespaceRequest\x12\x39\n\x0envme_namespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NvmeNamespace\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"|\n\x19ListNvmeNamespacesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x1aListNvmeNamespacesResponse\x12:\n\x0fnvme_namespaces\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NvmeNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetNvmeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\"S\n\x19StatsNvmeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NvmeNamespace\"L\n\x1aStatsNvmeNamespaceResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\xb5\x01\n\x15NvmeNamespacePciState\x12(\n$NVME_NAMESPACE_PCI_STATE_UNSPECIFIED\x10\x00\x12%\n!NVME_NAMESPACE_PCI_STATE_DISABLED\x10\x01\x12$\n NVME_NAMESPACE_PCI_STATE_ENABLED\x10\x02\x12%\n!NVME_NAMESPACE_PCI_STATE_DELETING\x10\x03*\x9f\x01\n\x19NvmeNamespacePciOperState\x12-\n)NVME_NAMESPACE_PCI_OPER_STATE_UNSPECIFIED\x10\x00\x12(\n$NVME_NAMESPACE_PCI_OPER_STATE_ONLINE\x10\x01\x12)\n%NVME_NAMESPACE_PCI_OPER_STATE_OFFLINE\x10\x02\x32\xc9\x17\n\x13\x46rontendNvmeService\x12\xb0\x01\n\x13\x43reateNvmeSubsystem\x12..opi_api.storage.v1.CreateNvmeSubsystemRequest\x1a!.opi_api.storage.v1.NvmeSubsystem\"F\x82\xd3\xe4\x93\x02\x1d\"\x0b/v1/volumes:\x0envme_subsystem\xda\x41 nvme_subsystem,nvme_subsystem_id\x12\x89\x01\n\x13\x44\x65leteNvmeSubsystem\x12..opi_api.storage.v1.DeleteNvmeSubsystemRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/{name=NvmeSubsystems/*}\xda\x41\x04name\x12\xc3\x01\n\x13UpdateNvmeSubsystem\x12..opi_api.storage.v1.UpdateNvmeSubsystemRequest\x1a!.opi_api.storage.v1.NvmeSubsystem\"Y\x82\xd3\xe4\x93\x02\x36\x32$/v1/{nvme_subsystem.name=subsystems}:\x0envme_subsystem\xda\x41\x1anvme_subsystem,update_mask\x12\x9d\x01\n\x12ListNvmeSubsystems\x12-.opi_api.storage.v1.ListNvmeSubsystemsRequest\x1a..opi_api.storage.v1.ListNvmeSubsystemsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x8e\x01\n\x10GetNvmeSubsystem\x12+.opi_api.storage.v1.GetNvmeSubsystemRequest\x1a!.opi_api.storage.v1.NvmeSubsystem\"*\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/{name=NvmeSubsystems/*}\xda\x41\x04name\x12\xa5\x01\n\x12StatsNvmeSubsystem\x12-.opi_api.storage.v1.StatsNvmeSubsystemRequest\x1a..opi_api.storage.v1.StatsNvmeSubsystemResponse\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=NvmeSubsystems/*}:stats\xda\x41\x04name\x12\xb6\x01\n\x14\x43reateNvmeController\x12/.opi_api.storage.v1.CreateNvmeControllerRequest\x1a\".opi_api.storage.v1.NvmeController\"I\x82\xd3\xe4\x93\x02\x1e\"\x0b/v1/volumes:\x0fnvme_controller\xda\x41\"nvme_controller,nvme_controller_id\x12\x8c\x01\n\x14\x44\x65leteNvmeController\x12/.opi_api.storage.v1.DeleteNvmeControllerRequest\x1a\x16.google.protobuf.Empty\"+\x82\xd3\xe4\x93\x02\x1e*\x1c/v1/{name=NvmeControllers/*}\xda\x41\x04name\x12\xc9\x01\n\x14UpdateNvmeController\x12/.opi_api.storage.v1.UpdateNvmeControllerRequest\x1a\".opi_api.storage.v1.NvmeController\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{nvme_controller.name=subsystems}:\x0fnvme_controller\xda\x41\x1bnvme_controller,update_mask\x12\xa0\x01\n\x13ListNvmeControllers\x12..opi_api.storage.v1.ListNvmeControllersRequest\x1a/.opi_api.storage.v1.ListNvmeControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x92\x01\n\x11GetNvmeController\x12,.opi_api.storage.v1.GetNvmeControllerRequest\x1a\".opi_api.storage.v1.NvmeController\"+\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{name=NvmeControllers/*}\xda\x41\x04name\x12\xa9\x01\n\x13StatsNvmeController\x12..opi_api.storage.v1.StatsNvmeControllerRequest\x1a/.opi_api.storage.v1.StatsNvmeControllerResponse\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=NvmeControllers/*}:stats\xda\x41\x04name\x12\xb0\x01\n\x13\x43reateNvmeNamespace\x12..opi_api.storage.v1.CreateNvmeNamespaceRequest\x1a!.opi_api.storage.v1.NvmeNamespace\"F\x82\xd3\xe4\x93\x02\x1d\"\x0b/v1/volumes:\x0envme_namespace\xda\x41 nvme_namespace,nvme_namespace_id\x12\x89\x01\n\x13\x44\x65leteNvmeNamespace\x12..opi_api.storage.v1.DeleteNvmeNamespaceRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/{name=NvmeNamespaces/*}\xda\x41\x04name\x12\xc3\x01\n\x13UpdateNvmeNamespace\x12..opi_api.storage.v1.UpdateNvmeNamespaceRequest\x1a!.opi_api.storage.v1.NvmeNamespace\"Y\x82\xd3\xe4\x93\x02\x36\x32$/v1/{nvme_namespace.name=subsystems}:\x0envme_namespace\xda\x41\x1anvme_namespace,update_mask\x12\x9d\x01\n\x12ListNvmeNamespaces\x12-.opi_api.storage.v1.ListNvmeNamespacesRequest\x1a..opi_api.storage.v1.ListNvmeNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x8e\x01\n\x10GetNvmeNamespace\x12+.opi_api.storage.v1.GetNvmeNamespaceRequest\x1a!.opi_api.storage.v1.NvmeNamespace\"*\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/{name=NvmeNamespaces/*}\xda\x41\x04name\x12\xa5\x01\n\x12StatsNvmeNamespace\x12-.opi_api.storage.v1.StatsNvmeNamespaceRequest\x1a..opi_api.storage.v1.StatsNvmeNamespaceResponse\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=NvmeNamespaces/*}:stats\xda\x41\x04nameBd\n\x12opi_api.storage.v1B\x15\x46rontendNvmePcieProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') _NVMENAMESPACEPCISTATE = DESCRIPTOR.enum_types_by_name['NvmeNamespacePciState'] NvmeNamespacePciState = enum_type_wrapper.EnumTypeWrapper(_NVMENAMESPACEPCISTATE) @@ -53,24 +53,24 @@ _LISTNVMESUBSYSTEMSREQUEST = DESCRIPTOR.message_types_by_name['ListNvmeSubsystemsRequest'] _LISTNVMESUBSYSTEMSRESPONSE = DESCRIPTOR.message_types_by_name['ListNvmeSubsystemsResponse'] _GETNVMESUBSYSTEMREQUEST = DESCRIPTOR.message_types_by_name['GetNvmeSubsystemRequest'] -_NVMESUBSYSTEMSTATSREQUEST = DESCRIPTOR.message_types_by_name['NvmeSubsystemStatsRequest'] -_NVMESUBSYSTEMSTATSRESPONSE = DESCRIPTOR.message_types_by_name['NvmeSubsystemStatsResponse'] +_STATSNVMESUBSYSTEMREQUEST = DESCRIPTOR.message_types_by_name['StatsNvmeSubsystemRequest'] +_STATSNVMESUBSYSTEMRESPONSE = DESCRIPTOR.message_types_by_name['StatsNvmeSubsystemResponse'] _CREATENVMECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['CreateNvmeControllerRequest'] _DELETENVMECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['DeleteNvmeControllerRequest'] _UPDATENVMECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['UpdateNvmeControllerRequest'] _LISTNVMECONTROLLERSREQUEST = DESCRIPTOR.message_types_by_name['ListNvmeControllersRequest'] _LISTNVMECONTROLLERSRESPONSE = DESCRIPTOR.message_types_by_name['ListNvmeControllersResponse'] _GETNVMECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['GetNvmeControllerRequest'] -_NVMECONTROLLERSTATSREQUEST = DESCRIPTOR.message_types_by_name['NvmeControllerStatsRequest'] -_NVMECONTROLLERSTATSRESPONSE = DESCRIPTOR.message_types_by_name['NvmeControllerStatsResponse'] +_STATSNVMECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['StatsNvmeControllerRequest'] +_STATSNVMECONTROLLERRESPONSE = DESCRIPTOR.message_types_by_name['StatsNvmeControllerResponse'] _CREATENVMENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['CreateNvmeNamespaceRequest'] _DELETENVMENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['DeleteNvmeNamespaceRequest'] _UPDATENVMENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['UpdateNvmeNamespaceRequest'] _LISTNVMENAMESPACESREQUEST = DESCRIPTOR.message_types_by_name['ListNvmeNamespacesRequest'] _LISTNVMENAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name['ListNvmeNamespacesResponse'] _GETNVMENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['GetNvmeNamespaceRequest'] -_NVMENAMESPACESTATSREQUEST = DESCRIPTOR.message_types_by_name['NvmeNamespaceStatsRequest'] -_NVMENAMESPACESTATSRESPONSE = DESCRIPTOR.message_types_by_name['NvmeNamespaceStatsResponse'] +_STATSNVMENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name['StatsNvmeNamespaceRequest'] +_STATSNVMENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name['StatsNvmeNamespaceResponse'] NvmeSubsystem = _reflection.GeneratedProtocolMessageType('NvmeSubsystem', (_message.Message,), { 'DESCRIPTOR' : _NVMESUBSYSTEM, '__module__' : 'frontend_nvme_pcie_pb2' @@ -176,19 +176,19 @@ }) _sym_db.RegisterMessage(GetNvmeSubsystemRequest) -NvmeSubsystemStatsRequest = _reflection.GeneratedProtocolMessageType('NvmeSubsystemStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMESUBSYSTEMSTATSREQUEST, +StatsNvmeSubsystemRequest = _reflection.GeneratedProtocolMessageType('StatsNvmeSubsystemRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMESUBSYSTEMREQUEST, '__module__' : 'frontend_nvme_pcie_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeSubsystemStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeSubsystemRequest) }) -_sym_db.RegisterMessage(NvmeSubsystemStatsRequest) +_sym_db.RegisterMessage(StatsNvmeSubsystemRequest) -NvmeSubsystemStatsResponse = _reflection.GeneratedProtocolMessageType('NvmeSubsystemStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMESUBSYSTEMSTATSRESPONSE, +StatsNvmeSubsystemResponse = _reflection.GeneratedProtocolMessageType('StatsNvmeSubsystemResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMESUBSYSTEMRESPONSE, '__module__' : 'frontend_nvme_pcie_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeSubsystemStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeSubsystemResponse) }) -_sym_db.RegisterMessage(NvmeSubsystemStatsResponse) +_sym_db.RegisterMessage(StatsNvmeSubsystemResponse) CreateNvmeControllerRequest = _reflection.GeneratedProtocolMessageType('CreateNvmeControllerRequest', (_message.Message,), { 'DESCRIPTOR' : _CREATENVMECONTROLLERREQUEST, @@ -232,19 +232,19 @@ }) _sym_db.RegisterMessage(GetNvmeControllerRequest) -NvmeControllerStatsRequest = _reflection.GeneratedProtocolMessageType('NvmeControllerStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMECONTROLLERSTATSREQUEST, +StatsNvmeControllerRequest = _reflection.GeneratedProtocolMessageType('StatsNvmeControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMECONTROLLERREQUEST, '__module__' : 'frontend_nvme_pcie_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeControllerStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeControllerRequest) }) -_sym_db.RegisterMessage(NvmeControllerStatsRequest) +_sym_db.RegisterMessage(StatsNvmeControllerRequest) -NvmeControllerStatsResponse = _reflection.GeneratedProtocolMessageType('NvmeControllerStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMECONTROLLERSTATSRESPONSE, +StatsNvmeControllerResponse = _reflection.GeneratedProtocolMessageType('StatsNvmeControllerResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMECONTROLLERRESPONSE, '__module__' : 'frontend_nvme_pcie_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeControllerStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeControllerResponse) }) -_sym_db.RegisterMessage(NvmeControllerStatsResponse) +_sym_db.RegisterMessage(StatsNvmeControllerResponse) CreateNvmeNamespaceRequest = _reflection.GeneratedProtocolMessageType('CreateNvmeNamespaceRequest', (_message.Message,), { 'DESCRIPTOR' : _CREATENVMENAMESPACEREQUEST, @@ -288,31 +288,43 @@ }) _sym_db.RegisterMessage(GetNvmeNamespaceRequest) -NvmeNamespaceStatsRequest = _reflection.GeneratedProtocolMessageType('NvmeNamespaceStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMENAMESPACESTATSREQUEST, +StatsNvmeNamespaceRequest = _reflection.GeneratedProtocolMessageType('StatsNvmeNamespaceRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMENAMESPACEREQUEST, '__module__' : 'frontend_nvme_pcie_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeNamespaceStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeNamespaceRequest) }) -_sym_db.RegisterMessage(NvmeNamespaceStatsRequest) +_sym_db.RegisterMessage(StatsNvmeNamespaceRequest) -NvmeNamespaceStatsResponse = _reflection.GeneratedProtocolMessageType('NvmeNamespaceStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMENAMESPACESTATSRESPONSE, +StatsNvmeNamespaceResponse = _reflection.GeneratedProtocolMessageType('StatsNvmeNamespaceResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSNVMENAMESPACERESPONSE, '__module__' : 'frontend_nvme_pcie_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NvmeNamespaceStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsNvmeNamespaceResponse) }) -_sym_db.RegisterMessage(NvmeNamespaceStatsResponse) +_sym_db.RegisterMessage(StatsNvmeNamespaceResponse) _FRONTENDNVMESERVICE = DESCRIPTOR.services_by_name['FrontendNvmeService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\025FrontendNvmePcieProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _NVMESUBSYSTEM.fields_by_name['name']._options = None + _NVMESUBSYSTEM.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\"\n opi_api.storage.v1/NvmeSubsystem' _NVMESUBSYSTEM._options = None _NVMESUBSYSTEM._serialized_options = b'\352A8\n$storage.opiproject.org/NvmeSubsystem\022\020volumes/{volume}' + _NVMECONTROLLER.fields_by_name['name']._options = None + _NVMECONTROLLER.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A#\n!opi_api.storage.v1/NvmeController' _NVMECONTROLLER._options = None _NVMECONTROLLER._serialized_options = b'\352A9\n%storage.opiproject.org/NvmeController\022\020volumes/{volume}' + _NVMECONTROLLERSPEC.fields_by_name['subsystem_name_ref']._options = None + _NVMECONTROLLERSPEC.fields_by_name['subsystem_name_ref']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeSubsystem' + _NVMENAMESPACE.fields_by_name['name']._options = None + _NVMENAMESPACE.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\"\n opi_api.storage.v1/NvmeNamespace' _NVMENAMESPACE._options = None _NVMENAMESPACE._serialized_options = b'\352A8\n$storage.opiproject.org/NvmeNamespace\022\020volumes/{volume}' + _NVMENAMESPACESPEC.fields_by_name['subsystem_name_ref']._options = None + _NVMENAMESPACESPEC.fields_by_name['subsystem_name_ref']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeSubsystem' + _NVMENAMESPACESPEC.fields_by_name['volume_name_ref']._options = None + _NVMENAMESPACESPEC.fields_by_name['volume_name_ref']._serialized_options = b'\340A\002' _CREATENVMESUBSYSTEMREQUEST.fields_by_name['nvme_subsystem']._options = None _CREATENVMESUBSYSTEMREQUEST.fields_by_name['nvme_subsystem']._serialized_options = b'\340A\002' _DELETENVMESUBSYSTEMREQUEST.fields_by_name['name']._options = None @@ -321,6 +333,8 @@ _LISTNVMESUBSYSTEMSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeSubsystem' _GETNVMESUBSYSTEMREQUEST.fields_by_name['name']._options = None _GETNVMESUBSYSTEMREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeSubsystem' + _STATSNVMESUBSYSTEMREQUEST.fields_by_name['name']._options = None + _STATSNVMESUBSYSTEMREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeSubsystem' _CREATENVMECONTROLLERREQUEST.fields_by_name['nvme_controller']._options = None _CREATENVMECONTROLLERREQUEST.fields_by_name['nvme_controller']._serialized_options = b'\340A\002' _DELETENVMECONTROLLERREQUEST.fields_by_name['name']._options = None @@ -329,6 +343,8 @@ _LISTNVMECONTROLLERSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A#\n!opi_api.storage.v1/NvmeController' _GETNVMECONTROLLERREQUEST.fields_by_name['name']._options = None _GETNVMECONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A#\n!opi_api.storage.v1/NvmeController' + _STATSNVMECONTROLLERREQUEST.fields_by_name['name']._options = None + _STATSNVMECONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A#\n!opi_api.storage.v1/NvmeController' _CREATENVMENAMESPACEREQUEST.fields_by_name['nvme_namespace']._options = None _CREATENVMENAMESPACEREQUEST.fields_by_name['nvme_namespace']._serialized_options = b'\340A\002' _DELETENVMENAMESPACEREQUEST.fields_by_name['name']._options = None @@ -337,106 +353,114 @@ _LISTNVMENAMESPACESREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeNamespace' _GETNVMENAMESPACEREQUEST.fields_by_name['name']._options = None _GETNVMENAMESPACEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeNamespace' + _STATSNVMENAMESPACEREQUEST.fields_by_name['name']._options = None + _STATSNVMENAMESPACEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/NvmeNamespace' _FRONTENDNVMESERVICE.methods_by_name['CreateNvmeSubsystem']._options = None _FRONTENDNVMESERVICE.methods_by_name['CreateNvmeSubsystem']._serialized_options = b'\202\323\344\223\002\035\"\013/v1/volumes:\016nvme_subsystem\332A nvme_subsystem,nvme_subsystem_id' _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeSubsystem']._options = None - _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeSubsystem']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeSubsystem']._serialized_options = b'\202\323\344\223\002\035*\033/v1/{name=NvmeSubsystems/*}\332A\004name' _FRONTENDNVMESERVICE.methods_by_name['UpdateNvmeSubsystem']._options = None _FRONTENDNVMESERVICE.methods_by_name['UpdateNvmeSubsystem']._serialized_options = b'\202\323\344\223\00262$/v1/{nvme_subsystem.name=subsystems}:\016nvme_subsystem\332A\032nvme_subsystem,update_mask' _FRONTENDNVMESERVICE.methods_by_name['ListNvmeSubsystems']._options = None _FRONTENDNVMESERVICE.methods_by_name['ListNvmeSubsystems']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDNVMESERVICE.methods_by_name['GetNvmeSubsystem']._options = None - _FRONTENDNVMESERVICE.methods_by_name['GetNvmeSubsystem']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['GetNvmeSubsystem']._serialized_options = b'\202\323\344\223\002\035\022\033/v1/{name=NvmeSubsystems/*}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['StatsNvmeSubsystem']._options = None + _FRONTENDNVMESERVICE.methods_by_name['StatsNvmeSubsystem']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=NvmeSubsystems/*}:stats\332A\004name' _FRONTENDNVMESERVICE.methods_by_name['CreateNvmeController']._options = None _FRONTENDNVMESERVICE.methods_by_name['CreateNvmeController']._serialized_options = b'\202\323\344\223\002\036\"\013/v1/volumes:\017nvme_controller\332A\"nvme_controller,nvme_controller_id' _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeController']._options = None - _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeController']._serialized_options = b'\202\323\344\223\002%*#/v1/{name=controllers}/{controller}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeController']._serialized_options = b'\202\323\344\223\002\036*\034/v1/{name=NvmeControllers/*}\332A\004name' _FRONTENDNVMESERVICE.methods_by_name['UpdateNvmeController']._options = None _FRONTENDNVMESERVICE.methods_by_name['UpdateNvmeController']._serialized_options = b'\202\323\344\223\00282%/v1/{nvme_controller.name=subsystems}:\017nvme_controller\332A\033nvme_controller,update_mask' _FRONTENDNVMESERVICE.methods_by_name['ListNvmeControllers']._options = None _FRONTENDNVMESERVICE.methods_by_name['ListNvmeControllers']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDNVMESERVICE.methods_by_name['GetNvmeController']._options = None - _FRONTENDNVMESERVICE.methods_by_name['GetNvmeController']._serialized_options = b'\202\323\344\223\002$\022\"/v1/{name=subsystems}/{controller}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['GetNvmeController']._serialized_options = b'\202\323\344\223\002\036\022\034/v1/{name=NvmeControllers/*}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['StatsNvmeController']._options = None + _FRONTENDNVMESERVICE.methods_by_name['StatsNvmeController']._serialized_options = b'\202\323\344\223\002$\022\"/v1/{name=NvmeControllers/*}:stats\332A\004name' _FRONTENDNVMESERVICE.methods_by_name['CreateNvmeNamespace']._options = None _FRONTENDNVMESERVICE.methods_by_name['CreateNvmeNamespace']._serialized_options = b'\202\323\344\223\002\035\"\013/v1/volumes:\016nvme_namespace\332A nvme_namespace,nvme_namespace_id' _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeNamespace']._options = None - _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeNamespace']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=namespaces}/{namespace}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['DeleteNvmeNamespace']._serialized_options = b'\202\323\344\223\002\035*\033/v1/{name=NvmeNamespaces/*}\332A\004name' _FRONTENDNVMESERVICE.methods_by_name['UpdateNvmeNamespace']._options = None _FRONTENDNVMESERVICE.methods_by_name['UpdateNvmeNamespace']._serialized_options = b'\202\323\344\223\00262$/v1/{nvme_namespace.name=subsystems}:\016nvme_namespace\332A\032nvme_namespace,update_mask' _FRONTENDNVMESERVICE.methods_by_name['ListNvmeNamespaces']._options = None _FRONTENDNVMESERVICE.methods_by_name['ListNvmeNamespaces']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDNVMESERVICE.methods_by_name['GetNvmeNamespace']._options = None - _FRONTENDNVMESERVICE.methods_by_name['GetNvmeNamespace']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{namespace}\332A\004name' - _NVMENAMESPACEPCISTATE._serialized_start=4284 - _NVMENAMESPACEPCISTATE._serialized_end=4465 - _NVMENAMESPACEPCIOPERSTATE._serialized_start=4468 - _NVMENAMESPACEPCIOPERSTATE._serialized_end=4627 + _FRONTENDNVMESERVICE.methods_by_name['GetNvmeNamespace']._serialized_options = b'\202\323\344\223\002\035\022\033/v1/{name=NvmeNamespaces/*}\332A\004name' + _FRONTENDNVMESERVICE.methods_by_name['StatsNvmeNamespace']._options = None + _FRONTENDNVMESERVICE.methods_by_name['StatsNvmeNamespace']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=NvmeNamespaces/*}:stats\332A\004name' + _NVMENAMESPACEPCISTATE._serialized_start=4594 + _NVMENAMESPACEPCISTATE._serialized_end=4775 + _NVMENAMESPACEPCIOPERSTATE._serialized_start=4778 + _NVMENAMESPACEPCIOPERSTATE._serialized_end=4937 _NVMESUBSYSTEM._serialized_start=256 - _NVMESUBSYSTEM._serialized_end=456 - _NVMESUBSYSTEMSPEC._serialized_start=458 - _NVMESUBSYSTEMSPEC._serialized_end=559 - _NVMESUBSYSTEMSTATUS._serialized_start=561 - _NVMESUBSYSTEMSTATUS._serialized_end=627 - _NVMECONTROLLER._serialized_start=630 - _NVMECONTROLLER._serialized_end=834 - _NVMECONTROLLERSPEC._serialized_start=837 - _NVMECONTROLLERSPEC._serialized_end=1147 - _NVMECONTROLLERSTATUS._serialized_start=1149 - _NVMECONTROLLERSTATUS._serialized_end=1187 - _NVMENAMESPACE._serialized_start=1190 - _NVMENAMESPACE._serialized_end=1390 - _NVMENAMESPACESPEC._serialized_start=1393 - _NVMENAMESPACESPEC._serialized_end=1553 - _NVMENAMESPACESTATUS._serialized_start=1556 - _NVMENAMESPACESTATUS._serialized_end=1710 - _CREATENVMESUBSYSTEMREQUEST._serialized_start=1712 - _CREATENVMESUBSYSTEMREQUEST._serialized_end=1831 - _DELETENVMESUBSYSTEMREQUEST._serialized_start=1833 - _DELETENVMESUBSYSTEMREQUEST._serialized_end=1940 - _UPDATENVMESUBSYSTEMREQUEST._serialized_start=1943 - _UPDATENVMESUBSYSTEMREQUEST._serialized_end=2102 - _LISTNVMESUBSYSTEMSREQUEST._serialized_start=2104 - _LISTNVMESUBSYSTEMSREQUEST._serialized_end=2228 - _LISTNVMESUBSYSTEMSRESPONSE._serialized_start=2230 - _LISTNVMESUBSYSTEMSRESPONSE._serialized_end=2343 - _GETNVMESUBSYSTEMREQUEST._serialized_start=2345 - _GETNVMESUBSYSTEMREQUEST._serialized_end=2426 - _NVMESUBSYSTEMSTATSREQUEST._serialized_start=2428 - _NVMESUBSYSTEMSTATSREQUEST._serialized_end=2483 - _NVMESUBSYSTEMSTATSRESPONSE._serialized_start=2485 - _NVMESUBSYSTEMSTATSRESPONSE._serialized_end=2561 - _CREATENVMECONTROLLERREQUEST._serialized_start=2563 - _CREATENVMECONTROLLERREQUEST._serialized_end=2686 - _DELETENVMECONTROLLERREQUEST._serialized_start=2688 - _DELETENVMECONTROLLERREQUEST._serialized_end=2797 - _UPDATENVMECONTROLLERREQUEST._serialized_start=2800 - _UPDATENVMECONTROLLERREQUEST._serialized_end=2962 - _LISTNVMECONTROLLERSREQUEST._serialized_start=2964 - _LISTNVMECONTROLLERSREQUEST._serialized_end=3090 - _LISTNVMECONTROLLERSRESPONSE._serialized_start=3092 - _LISTNVMECONTROLLERSRESPONSE._serialized_end=3208 - _GETNVMECONTROLLERREQUEST._serialized_start=3210 - _GETNVMECONTROLLERREQUEST._serialized_end=3293 - _NVMECONTROLLERSTATSREQUEST._serialized_start=3295 - _NVMECONTROLLERSTATSREQUEST._serialized_end=3337 - _NVMECONTROLLERSTATSRESPONSE._serialized_start=3339 - _NVMECONTROLLERSTATSRESPONSE._serialized_end=3430 - _CREATENVMENAMESPACEREQUEST._serialized_start=3432 - _CREATENVMENAMESPACEREQUEST._serialized_end=3551 - _DELETENVMENAMESPACEREQUEST._serialized_start=3553 - _DELETENVMENAMESPACEREQUEST._serialized_end=3660 - _UPDATENVMENAMESPACEREQUEST._serialized_start=3663 - _UPDATENVMENAMESPACEREQUEST._serialized_end=3822 - _LISTNVMENAMESPACESREQUEST._serialized_start=3824 - _LISTNVMENAMESPACESREQUEST._serialized_end=3948 - _LISTNVMENAMESPACESRESPONSE._serialized_start=3950 - _LISTNVMENAMESPACESRESPONSE._serialized_end=4063 - _GETNVMENAMESPACEREQUEST._serialized_start=4065 - _GETNVMENAMESPACEREQUEST._serialized_end=4146 - _NVMENAMESPACESTATSREQUEST._serialized_start=4148 - _NVMENAMESPACESTATSREQUEST._serialized_end=4189 - _NVMENAMESPACESTATSRESPONSE._serialized_start=4191 - _NVMENAMESPACESTATSRESPONSE._serialized_end=4281 - _FRONTENDNVMESERVICE._serialized_start=4630 - _FRONTENDNVMESERVICE._serialized_end=7536 + _NVMESUBSYSTEM._serialized_end=501 + _NVMESUBSYSTEMSPEC._serialized_start=503 + _NVMESUBSYSTEMSPEC._serialized_end=604 + _NVMESUBSYSTEMSTATUS._serialized_start=606 + _NVMESUBSYSTEMSTATUS._serialized_end=672 + _NVMECONTROLLER._serialized_start=675 + _NVMECONTROLLER._serialized_end=925 + _NVMECONTROLLERSPEC._serialized_start=928 + _NVMECONTROLLERSPEC._serialized_end=1280 + _NVMECONTROLLERSTATUS._serialized_start=1282 + _NVMECONTROLLERSTATUS._serialized_end=1320 + _NVMENAMESPACE._serialized_start=1323 + _NVMENAMESPACE._serialized_end=1568 + _NVMENAMESPACESPEC._serialized_start=1571 + _NVMENAMESPACESPEC._serialized_end=1778 + _NVMENAMESPACESTATUS._serialized_start=1781 + _NVMENAMESPACESTATUS._serialized_end=1935 + _CREATENVMESUBSYSTEMREQUEST._serialized_start=1937 + _CREATENVMESUBSYSTEMREQUEST._serialized_end=2056 + _DELETENVMESUBSYSTEMREQUEST._serialized_start=2058 + _DELETENVMESUBSYSTEMREQUEST._serialized_end=2165 + _UPDATENVMESUBSYSTEMREQUEST._serialized_start=2168 + _UPDATENVMESUBSYSTEMREQUEST._serialized_end=2327 + _LISTNVMESUBSYSTEMSREQUEST._serialized_start=2329 + _LISTNVMESUBSYSTEMSREQUEST._serialized_end=2453 + _LISTNVMESUBSYSTEMSRESPONSE._serialized_start=2455 + _LISTNVMESUBSYSTEMSRESPONSE._serialized_end=2568 + _GETNVMESUBSYSTEMREQUEST._serialized_start=2570 + _GETNVMESUBSYSTEMREQUEST._serialized_end=2651 + _STATSNVMESUBSYSTEMREQUEST._serialized_start=2653 + _STATSNVMESUBSYSTEMREQUEST._serialized_end=2736 + _STATSNVMESUBSYSTEMRESPONSE._serialized_start=2738 + _STATSNVMESUBSYSTEMRESPONSE._serialized_end=2814 + _CREATENVMECONTROLLERREQUEST._serialized_start=2816 + _CREATENVMECONTROLLERREQUEST._serialized_end=2939 + _DELETENVMECONTROLLERREQUEST._serialized_start=2941 + _DELETENVMECONTROLLERREQUEST._serialized_end=3050 + _UPDATENVMECONTROLLERREQUEST._serialized_start=3053 + _UPDATENVMECONTROLLERREQUEST._serialized_end=3215 + _LISTNVMECONTROLLERSREQUEST._serialized_start=3217 + _LISTNVMECONTROLLERSREQUEST._serialized_end=3343 + _LISTNVMECONTROLLERSRESPONSE._serialized_start=3345 + _LISTNVMECONTROLLERSRESPONSE._serialized_end=3461 + _GETNVMECONTROLLERREQUEST._serialized_start=3463 + _GETNVMECONTROLLERREQUEST._serialized_end=3546 + _STATSNVMECONTROLLERREQUEST._serialized_start=3548 + _STATSNVMECONTROLLERREQUEST._serialized_end=3633 + _STATSNVMECONTROLLERRESPONSE._serialized_start=3635 + _STATSNVMECONTROLLERRESPONSE._serialized_end=3712 + _CREATENVMENAMESPACEREQUEST._serialized_start=3714 + _CREATENVMENAMESPACEREQUEST._serialized_end=3833 + _DELETENVMENAMESPACEREQUEST._serialized_start=3835 + _DELETENVMENAMESPACEREQUEST._serialized_end=3942 + _UPDATENVMENAMESPACEREQUEST._serialized_start=3945 + _UPDATENVMENAMESPACEREQUEST._serialized_end=4104 + _LISTNVMENAMESPACESREQUEST._serialized_start=4106 + _LISTNVMENAMESPACESREQUEST._serialized_end=4230 + _LISTNVMENAMESPACESRESPONSE._serialized_start=4232 + _LISTNVMENAMESPACESRESPONSE._serialized_end=4345 + _GETNVMENAMESPACEREQUEST._serialized_start=4347 + _GETNVMENAMESPACEREQUEST._serialized_end=4428 + _STATSNVMENAMESPACEREQUEST._serialized_start=4430 + _STATSNVMENAMESPACEREQUEST._serialized_end=4513 + _STATSNVMENAMESPACERESPONSE._serialized_start=4515 + _STATSNVMENAMESPACERESPONSE._serialized_end=4591 + _FRONTENDNVMESERVICE._serialized_start=4940 + _FRONTENDNVMESERVICE._serialized_end=7957 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2_grpc.py b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2_grpc.py index 62f6197c..9465be39 100644 --- a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2_grpc.py @@ -41,10 +41,10 @@ def __init__(self, channel): request_serializer=frontend__nvme__pcie__pb2.GetNvmeSubsystemRequest.SerializeToString, response_deserializer=frontend__nvme__pcie__pb2.NvmeSubsystem.FromString, ) - self.NvmeSubsystemStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendNvmeService/NvmeSubsystemStats', - request_serializer=frontend__nvme__pcie__pb2.NvmeSubsystemStatsRequest.SerializeToString, - response_deserializer=frontend__nvme__pcie__pb2.NvmeSubsystemStatsResponse.FromString, + self.StatsNvmeSubsystem = channel.unary_unary( + '/opi_api.storage.v1.FrontendNvmeService/StatsNvmeSubsystem', + request_serializer=frontend__nvme__pcie__pb2.StatsNvmeSubsystemRequest.SerializeToString, + response_deserializer=frontend__nvme__pcie__pb2.StatsNvmeSubsystemResponse.FromString, ) self.CreateNvmeController = channel.unary_unary( '/opi_api.storage.v1.FrontendNvmeService/CreateNvmeController', @@ -71,10 +71,10 @@ def __init__(self, channel): request_serializer=frontend__nvme__pcie__pb2.GetNvmeControllerRequest.SerializeToString, response_deserializer=frontend__nvme__pcie__pb2.NvmeController.FromString, ) - self.NvmeControllerStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendNvmeService/NvmeControllerStats', - request_serializer=frontend__nvme__pcie__pb2.NvmeControllerStatsRequest.SerializeToString, - response_deserializer=frontend__nvme__pcie__pb2.NvmeControllerStatsResponse.FromString, + self.StatsNvmeController = channel.unary_unary( + '/opi_api.storage.v1.FrontendNvmeService/StatsNvmeController', + request_serializer=frontend__nvme__pcie__pb2.StatsNvmeControllerRequest.SerializeToString, + response_deserializer=frontend__nvme__pcie__pb2.StatsNvmeControllerResponse.FromString, ) self.CreateNvmeNamespace = channel.unary_unary( '/opi_api.storage.v1.FrontendNvmeService/CreateNvmeNamespace', @@ -101,10 +101,10 @@ def __init__(self, channel): request_serializer=frontend__nvme__pcie__pb2.GetNvmeNamespaceRequest.SerializeToString, response_deserializer=frontend__nvme__pcie__pb2.NvmeNamespace.FromString, ) - self.NvmeNamespaceStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendNvmeService/NvmeNamespaceStats', - request_serializer=frontend__nvme__pcie__pb2.NvmeNamespaceStatsRequest.SerializeToString, - response_deserializer=frontend__nvme__pcie__pb2.NvmeNamespaceStatsResponse.FromString, + self.StatsNvmeNamespace = channel.unary_unary( + '/opi_api.storage.v1.FrontendNvmeService/StatsNvmeNamespace', + request_serializer=frontend__nvme__pcie__pb2.StatsNvmeNamespaceRequest.SerializeToString, + response_deserializer=frontend__nvme__pcie__pb2.StatsNvmeNamespaceResponse.FromString, ) @@ -143,7 +143,7 @@ def GetNvmeSubsystem(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NvmeSubsystemStats(self, request, context): + def StatsNvmeSubsystem(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -180,7 +180,7 @@ def GetNvmeController(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NvmeControllerStats(self, request, context): + def StatsNvmeController(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -216,7 +216,7 @@ def GetNvmeNamespace(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NvmeNamespaceStats(self, request, context): + def StatsNvmeNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -250,10 +250,10 @@ def add_FrontendNvmeServiceServicer_to_server(servicer, server): request_deserializer=frontend__nvme__pcie__pb2.GetNvmeSubsystemRequest.FromString, response_serializer=frontend__nvme__pcie__pb2.NvmeSubsystem.SerializeToString, ), - 'NvmeSubsystemStats': grpc.unary_unary_rpc_method_handler( - servicer.NvmeSubsystemStats, - request_deserializer=frontend__nvme__pcie__pb2.NvmeSubsystemStatsRequest.FromString, - response_serializer=frontend__nvme__pcie__pb2.NvmeSubsystemStatsResponse.SerializeToString, + 'StatsNvmeSubsystem': grpc.unary_unary_rpc_method_handler( + servicer.StatsNvmeSubsystem, + request_deserializer=frontend__nvme__pcie__pb2.StatsNvmeSubsystemRequest.FromString, + response_serializer=frontend__nvme__pcie__pb2.StatsNvmeSubsystemResponse.SerializeToString, ), 'CreateNvmeController': grpc.unary_unary_rpc_method_handler( servicer.CreateNvmeController, @@ -280,10 +280,10 @@ def add_FrontendNvmeServiceServicer_to_server(servicer, server): request_deserializer=frontend__nvme__pcie__pb2.GetNvmeControllerRequest.FromString, response_serializer=frontend__nvme__pcie__pb2.NvmeController.SerializeToString, ), - 'NvmeControllerStats': grpc.unary_unary_rpc_method_handler( - servicer.NvmeControllerStats, - request_deserializer=frontend__nvme__pcie__pb2.NvmeControllerStatsRequest.FromString, - response_serializer=frontend__nvme__pcie__pb2.NvmeControllerStatsResponse.SerializeToString, + 'StatsNvmeController': grpc.unary_unary_rpc_method_handler( + servicer.StatsNvmeController, + request_deserializer=frontend__nvme__pcie__pb2.StatsNvmeControllerRequest.FromString, + response_serializer=frontend__nvme__pcie__pb2.StatsNvmeControllerResponse.SerializeToString, ), 'CreateNvmeNamespace': grpc.unary_unary_rpc_method_handler( servicer.CreateNvmeNamespace, @@ -310,10 +310,10 @@ def add_FrontendNvmeServiceServicer_to_server(servicer, server): request_deserializer=frontend__nvme__pcie__pb2.GetNvmeNamespaceRequest.FromString, response_serializer=frontend__nvme__pcie__pb2.NvmeNamespace.SerializeToString, ), - 'NvmeNamespaceStats': grpc.unary_unary_rpc_method_handler( - servicer.NvmeNamespaceStats, - request_deserializer=frontend__nvme__pcie__pb2.NvmeNamespaceStatsRequest.FromString, - response_serializer=frontend__nvme__pcie__pb2.NvmeNamespaceStatsResponse.SerializeToString, + 'StatsNvmeNamespace': grpc.unary_unary_rpc_method_handler( + servicer.StatsNvmeNamespace, + request_deserializer=frontend__nvme__pcie__pb2.StatsNvmeNamespaceRequest.FromString, + response_serializer=frontend__nvme__pcie__pb2.StatsNvmeNamespaceResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -412,7 +412,7 @@ def GetNvmeSubsystem(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NvmeSubsystemStats(request, + def StatsNvmeSubsystem(request, target, options=(), channel_credentials=None, @@ -422,9 +422,9 @@ def NvmeSubsystemStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendNvmeService/NvmeSubsystemStats', - frontend__nvme__pcie__pb2.NvmeSubsystemStatsRequest.SerializeToString, - frontend__nvme__pcie__pb2.NvmeSubsystemStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendNvmeService/StatsNvmeSubsystem', + frontend__nvme__pcie__pb2.StatsNvmeSubsystemRequest.SerializeToString, + frontend__nvme__pcie__pb2.StatsNvmeSubsystemResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -514,7 +514,7 @@ def GetNvmeController(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NvmeControllerStats(request, + def StatsNvmeController(request, target, options=(), channel_credentials=None, @@ -524,9 +524,9 @@ def NvmeControllerStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendNvmeService/NvmeControllerStats', - frontend__nvme__pcie__pb2.NvmeControllerStatsRequest.SerializeToString, - frontend__nvme__pcie__pb2.NvmeControllerStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendNvmeService/StatsNvmeController', + frontend__nvme__pcie__pb2.StatsNvmeControllerRequest.SerializeToString, + frontend__nvme__pcie__pb2.StatsNvmeControllerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -616,7 +616,7 @@ def GetNvmeNamespace(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NvmeNamespaceStats(request, + def StatsNvmeNamespace(request, target, options=(), channel_credentials=None, @@ -626,8 +626,8 @@ def NvmeNamespaceStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendNvmeService/NvmeNamespaceStats', - frontend__nvme__pcie__pb2.NvmeNamespaceStatsRequest.SerializeToString, - frontend__nvme__pcie__pb2.NvmeNamespaceStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendNvmeService/StatsNvmeNamespace', + frontend__nvme__pcie__pb2.StatsNvmeNamespaceRequest.SerializeToString, + frontend__nvme__pcie__pb2.StatsNvmeNamespaceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py b/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py index 0b679fa3..a6eff148 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py @@ -13,7 +13,6 @@ import opicommon_pb2 as opicommon__pb2 -import object_key_pb2 as object__key__pb2 from google.api import client_pb2 as google_dot_api_dot_client__pb2 from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -22,7 +21,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x66rontend_virtio_blk.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xab\x02\n\tVirtioBlk\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x30\n\x07pcie_id\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12/\n\tvolume_id\x18\x03 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x12\n\nmax_io_qps\x18\x04 \x01(\x03\x12/\n\tmin_limit\x18\x05 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\x06 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit:7\xea\x41\x34\n storage.opiproject.org/VirtioBlk\x12\x10volumes/{volume}\"g\n\x16\x43reateVirtioBlkRequest\x12\x36\n\nvirtio_blk\x18\x02 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlkB\x03\xe0\x41\x02\x12\x15\n\rvirtio_blk_id\x18\x03 \x01(\t\"c\n\x16\x44\x65leteVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x93\x01\n\x16UpdateVirtioBlkRequest\x12\x31\n\nvirtio_blk\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"t\n\x15ListVirtioBlksRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListVirtioBlksResponse\x12\x32\n\x0bvirtio_blks\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\"L\n\x15VirtioBlkStatsRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"r\n\x16VirtioBlkStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xf7\x06\n\x18\x46rontendVirtioBlkService\x12\x98\x01\n\x0f\x43reateVirtioBlk\x12*.opi_api.storage.v1.CreateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\":\x82\xd3\xe4\x93\x02\x19\"\x0b/v1/volumes:\nvirtio_blk\xda\x41\x18virtio_blk,virtio_blk_id\x12\x87\x01\n\x0f\x44\x65leteVirtioBlk\x12*.opi_api.storage.v1.DeleteVirtioBlkRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=virtioblks}/{virtioblk}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateVirtioBlk\x12*.opi_api.storage.v1.UpdateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"M\x82\xd3\xe4\x93\x02.2 /v1/{virtio_blk.name=subsystems}:\nvirtio_blk\xda\x41\x16virtio_blk,update_mask\x12\x91\x01\n\x0eListVirtioBlks\x12).opi_api.storage.v1.ListVirtioBlksRequest\x1a*.opi_api.storage.v1.ListVirtioBlksResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x88\x01\n\x0cGetVirtioBlk\x12\'.opi_api.storage.v1.GetVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{virtioblk}\xda\x41\x04name\x12i\n\x0eVirtioBlkStats\x12).opi_api.storage.v1.VirtioBlkStatsRequest\x1a*.opi_api.storage.v1.VirtioBlkStatsResponse\"\x00\x42\x65\n\x12opi_api.storage.v1B\x16\x46rontendVirtioBlkProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x66rontend_virtio_blk.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xc1\x02\n\tVirtioBlk\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\x12\x30\n\x07pcie_id\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12\x1c\n\x0fvolume_name_ref\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nmax_io_qps\x18\x04 \x01(\x03\x12/\n\tmin_limit\x18\x05 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\x06 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit:7\xea\x41\x34\n storage.opiproject.org/VirtioBlk\x12\x10volumes/{volume}\"g\n\x16\x43reateVirtioBlkRequest\x12\x36\n\nvirtio_blk\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlkB\x03\xe0\x41\x02\x12\x15\n\rvirtio_blk_id\x18\x02 \x01(\t\"c\n\x16\x44\x65leteVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x93\x01\n\x16UpdateVirtioBlkRequest\x12\x31\n\nvirtio_blk\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"t\n\x15ListVirtioBlksRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListVirtioBlksResponse\x12\x32\n\x0bvirtio_blks\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\"K\n\x15StatsVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\"H\n\x16StatsVirtioBlkResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\x8e\x07\n\x18\x46rontendVirtioBlkService\x12\x98\x01\n\x0f\x43reateVirtioBlk\x12*.opi_api.storage.v1.CreateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\":\x82\xd3\xe4\x93\x02\x19\"\x0b/v1/volumes:\nvirtio_blk\xda\x41\x18virtio_blk,virtio_blk_id\x12}\n\x0f\x44\x65leteVirtioBlk\x12*.opi_api.storage.v1.DeleteVirtioBlkRequest\x1a\x16.google.protobuf.Empty\"&\x82\xd3\xe4\x93\x02\x19*\x17/v1/{name=VirtioBlks/*}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateVirtioBlk\x12*.opi_api.storage.v1.UpdateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"M\x82\xd3\xe4\x93\x02.2 /v1/{virtio_blk.name=subsystems}:\nvirtio_blk\xda\x41\x16virtio_blk,update_mask\x12\x91\x01\n\x0eListVirtioBlks\x12).opi_api.storage.v1.ListVirtioBlksRequest\x1a*.opi_api.storage.v1.ListVirtioBlksResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12~\n\x0cGetVirtioBlk\x12\'.opi_api.storage.v1.GetVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"&\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{name=VirtioBlks/*}\xda\x41\x04name\x12\x95\x01\n\x0eStatsVirtioBlk\x12).opi_api.storage.v1.StatsVirtioBlkRequest\x1a*.opi_api.storage.v1.StatsVirtioBlkResponse\",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=VirtioBlks/*}:stats\xda\x41\x04nameBe\n\x12opi_api.storage.v1B\x16\x46rontendVirtioBlkProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -33,8 +32,8 @@ _LISTVIRTIOBLKSREQUEST = DESCRIPTOR.message_types_by_name['ListVirtioBlksRequest'] _LISTVIRTIOBLKSRESPONSE = DESCRIPTOR.message_types_by_name['ListVirtioBlksResponse'] _GETVIRTIOBLKREQUEST = DESCRIPTOR.message_types_by_name['GetVirtioBlkRequest'] -_VIRTIOBLKSTATSREQUEST = DESCRIPTOR.message_types_by_name['VirtioBlkStatsRequest'] -_VIRTIOBLKSTATSRESPONSE = DESCRIPTOR.message_types_by_name['VirtioBlkStatsResponse'] +_STATSVIRTIOBLKREQUEST = DESCRIPTOR.message_types_by_name['StatsVirtioBlkRequest'] +_STATSVIRTIOBLKRESPONSE = DESCRIPTOR.message_types_by_name['StatsVirtioBlkResponse'] VirtioBlk = _reflection.GeneratedProtocolMessageType('VirtioBlk', (_message.Message,), { 'DESCRIPTOR' : _VIRTIOBLK, '__module__' : 'frontend_virtio_blk_pb2' @@ -84,25 +83,29 @@ }) _sym_db.RegisterMessage(GetVirtioBlkRequest) -VirtioBlkStatsRequest = _reflection.GeneratedProtocolMessageType('VirtioBlkStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOBLKSTATSREQUEST, +StatsVirtioBlkRequest = _reflection.GeneratedProtocolMessageType('StatsVirtioBlkRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOBLKREQUEST, '__module__' : 'frontend_virtio_blk_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioBlkStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioBlkRequest) }) -_sym_db.RegisterMessage(VirtioBlkStatsRequest) +_sym_db.RegisterMessage(StatsVirtioBlkRequest) -VirtioBlkStatsResponse = _reflection.GeneratedProtocolMessageType('VirtioBlkStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOBLKSTATSRESPONSE, +StatsVirtioBlkResponse = _reflection.GeneratedProtocolMessageType('StatsVirtioBlkResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOBLKRESPONSE, '__module__' : 'frontend_virtio_blk_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioBlkStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioBlkResponse) }) -_sym_db.RegisterMessage(VirtioBlkStatsResponse) +_sym_db.RegisterMessage(StatsVirtioBlkResponse) _FRONTENDVIRTIOBLKSERVICE = DESCRIPTOR.services_by_name['FrontendVirtioBlkService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\026FrontendVirtioBlkProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _VIRTIOBLK.fields_by_name['name']._options = None + _VIRTIOBLK.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\036\n\034opi_api.storage.v1/VirtioBlk' + _VIRTIOBLK.fields_by_name['volume_name_ref']._options = None + _VIRTIOBLK.fields_by_name['volume_name_ref']._serialized_options = b'\340A\002' _VIRTIOBLK._options = None _VIRTIOBLK._serialized_options = b'\352A4\n storage.opiproject.org/VirtioBlk\022\020volumes/{volume}' _CREATEVIRTIOBLKREQUEST.fields_by_name['virtio_blk']._options = None @@ -113,34 +116,38 @@ _LISTVIRTIOBLKSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBlk' _GETVIRTIOBLKREQUEST.fields_by_name['name']._options = None _GETVIRTIOBLKREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBlk' + _STATSVIRTIOBLKREQUEST.fields_by_name['name']._options = None + _STATSVIRTIOBLKREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/VirtioBlk' _FRONTENDVIRTIOBLKSERVICE.methods_by_name['CreateVirtioBlk']._options = None _FRONTENDVIRTIOBLKSERVICE.methods_by_name['CreateVirtioBlk']._serialized_options = b'\202\323\344\223\002\031\"\013/v1/volumes:\nvirtio_blk\332A\030virtio_blk,virtio_blk_id' _FRONTENDVIRTIOBLKSERVICE.methods_by_name['DeleteVirtioBlk']._options = None - _FRONTENDVIRTIOBLKSERVICE.methods_by_name['DeleteVirtioBlk']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=virtioblks}/{virtioblk}\332A\004name' + _FRONTENDVIRTIOBLKSERVICE.methods_by_name['DeleteVirtioBlk']._serialized_options = b'\202\323\344\223\002\031*\027/v1/{name=VirtioBlks/*}\332A\004name' _FRONTENDVIRTIOBLKSERVICE.methods_by_name['UpdateVirtioBlk']._options = None _FRONTENDVIRTIOBLKSERVICE.methods_by_name['UpdateVirtioBlk']._serialized_options = b'\202\323\344\223\002.2 /v1/{virtio_blk.name=subsystems}:\nvirtio_blk\332A\026virtio_blk,update_mask' _FRONTENDVIRTIOBLKSERVICE.methods_by_name['ListVirtioBlks']._options = None _FRONTENDVIRTIOBLKSERVICE.methods_by_name['ListVirtioBlks']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDVIRTIOBLKSERVICE.methods_by_name['GetVirtioBlk']._options = None - _FRONTENDVIRTIOBLKSERVICE.methods_by_name['GetVirtioBlk']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{virtioblk}\332A\004name' - _VIRTIOBLK._serialized_start=263 - _VIRTIOBLK._serialized_end=562 - _CREATEVIRTIOBLKREQUEST._serialized_start=564 - _CREATEVIRTIOBLKREQUEST._serialized_end=667 - _DELETEVIRTIOBLKREQUEST._serialized_start=669 - _DELETEVIRTIOBLKREQUEST._serialized_end=768 - _UPDATEVIRTIOBLKREQUEST._serialized_start=771 - _UPDATEVIRTIOBLKREQUEST._serialized_end=918 - _LISTVIRTIOBLKSREQUEST._serialized_start=920 - _LISTVIRTIOBLKSREQUEST._serialized_end=1036 - _LISTVIRTIOBLKSRESPONSE._serialized_start=1038 - _LISTVIRTIOBLKSRESPONSE._serialized_end=1139 - _GETVIRTIOBLKREQUEST._serialized_start=1141 - _GETVIRTIOBLKREQUEST._serialized_end=1214 - _VIRTIOBLKSTATSREQUEST._serialized_start=1216 - _VIRTIOBLKSTATSREQUEST._serialized_end=1292 - _VIRTIOBLKSTATSRESPONSE._serialized_start=1294 - _VIRTIOBLKSTATSRESPONSE._serialized_end=1408 - _FRONTENDVIRTIOBLKSERVICE._serialized_start=1411 - _FRONTENDVIRTIOBLKSERVICE._serialized_end=2298 + _FRONTENDVIRTIOBLKSERVICE.methods_by_name['GetVirtioBlk']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{name=VirtioBlks/*}\332A\004name' + _FRONTENDVIRTIOBLKSERVICE.methods_by_name['StatsVirtioBlk']._options = None + _FRONTENDVIRTIOBLKSERVICE.methods_by_name['StatsVirtioBlk']._serialized_options = b'\202\323\344\223\002\037\022\035/v1/{name=VirtioBlks/*}:stats\332A\004name' + _VIRTIOBLK._serialized_start=245 + _VIRTIOBLK._serialized_end=566 + _CREATEVIRTIOBLKREQUEST._serialized_start=568 + _CREATEVIRTIOBLKREQUEST._serialized_end=671 + _DELETEVIRTIOBLKREQUEST._serialized_start=673 + _DELETEVIRTIOBLKREQUEST._serialized_end=772 + _UPDATEVIRTIOBLKREQUEST._serialized_start=775 + _UPDATEVIRTIOBLKREQUEST._serialized_end=922 + _LISTVIRTIOBLKSREQUEST._serialized_start=924 + _LISTVIRTIOBLKSREQUEST._serialized_end=1040 + _LISTVIRTIOBLKSRESPONSE._serialized_start=1042 + _LISTVIRTIOBLKSRESPONSE._serialized_end=1143 + _GETVIRTIOBLKREQUEST._serialized_start=1145 + _GETVIRTIOBLKREQUEST._serialized_end=1218 + _STATSVIRTIOBLKREQUEST._serialized_start=1220 + _STATSVIRTIOBLKREQUEST._serialized_end=1295 + _STATSVIRTIOBLKRESPONSE._serialized_start=1297 + _STATSVIRTIOBLKRESPONSE._serialized_end=1369 + _FRONTENDVIRTIOBLKSERVICE._serialized_start=1372 + _FRONTENDVIRTIOBLKSERVICE._serialized_end=2282 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2_grpc.py b/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2_grpc.py index 6306a984..99f53696 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2_grpc.py @@ -41,10 +41,10 @@ def __init__(self, channel): request_serializer=frontend__virtio__blk__pb2.GetVirtioBlkRequest.SerializeToString, response_deserializer=frontend__virtio__blk__pb2.VirtioBlk.FromString, ) - self.VirtioBlkStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendVirtioBlkService/VirtioBlkStats', - request_serializer=frontend__virtio__blk__pb2.VirtioBlkStatsRequest.SerializeToString, - response_deserializer=frontend__virtio__blk__pb2.VirtioBlkStatsResponse.FromString, + self.StatsVirtioBlk = channel.unary_unary( + '/opi_api.storage.v1.FrontendVirtioBlkService/StatsVirtioBlk', + request_serializer=frontend__virtio__blk__pb2.StatsVirtioBlkRequest.SerializeToString, + response_deserializer=frontend__virtio__blk__pb2.StatsVirtioBlkResponse.FromString, ) @@ -82,7 +82,7 @@ def GetVirtioBlk(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def VirtioBlkStats(self, request, context): + def StatsVirtioBlk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -116,10 +116,10 @@ def add_FrontendVirtioBlkServiceServicer_to_server(servicer, server): request_deserializer=frontend__virtio__blk__pb2.GetVirtioBlkRequest.FromString, response_serializer=frontend__virtio__blk__pb2.VirtioBlk.SerializeToString, ), - 'VirtioBlkStats': grpc.unary_unary_rpc_method_handler( - servicer.VirtioBlkStats, - request_deserializer=frontend__virtio__blk__pb2.VirtioBlkStatsRequest.FromString, - response_serializer=frontend__virtio__blk__pb2.VirtioBlkStatsResponse.SerializeToString, + 'StatsVirtioBlk': grpc.unary_unary_rpc_method_handler( + servicer.StatsVirtioBlk, + request_deserializer=frontend__virtio__blk__pb2.StatsVirtioBlkRequest.FromString, + response_serializer=frontend__virtio__blk__pb2.StatsVirtioBlkResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -218,7 +218,7 @@ def GetVirtioBlk(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def VirtioBlkStats(request, + def StatsVirtioBlk(request, target, options=(), channel_credentials=None, @@ -228,8 +228,8 @@ def VirtioBlkStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioBlkService/VirtioBlkStats', - frontend__virtio__blk__pb2.VirtioBlkStatsRequest.SerializeToString, - frontend__virtio__blk__pb2.VirtioBlkStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioBlkService/StatsVirtioBlk', + frontend__virtio__blk__pb2.StatsVirtioBlkRequest.SerializeToString, + frontend__virtio__blk__pb2.StatsVirtioBlkResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py b/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py index 4ad73eeb..39e390ff 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py @@ -22,7 +22,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66rontend_virtio_scsi.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"r\n\x10VirtioScsiTarget\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08max_luns\x18\x02 \x01(\x05:>\xea\x41;\n\'storage.opiproject.org/VirtioScsiTarget\x12\x10volumes/{volume}\"\xfc\x01\n\x14VirtioScsiController\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x30\n\x07pcie_id\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12/\n\tmin_limit\x18\x03 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\x04 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit:B\xea\x41?\n+storage.opiproject.org/VirtioScsiController\x12\x10volumes/{volume}\"\xbc\x01\n\rVirtioScsiLun\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\ttarget_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12/\n\tvolume_id\x18\x03 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey:;\xea\x41\x38\n$storage.opiproject.org/VirtioScsiLun\x12\x10volumes/{volume}\"\x85\x01\n\x1d\x43reateVirtioScsiTargetRequest\x12\x45\n\x12virtio_scsi_target\x18\x02 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTargetB\x03\xe0\x41\x02\x12\x1d\n\x15virtio_scsi_target_id\x18\x03 \x01(\t\"q\n\x1d\x44\x65leteVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa9\x01\n\x1dUpdateVirtioScsiTargetRequest\x12@\n\x12virtio_scsi_target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x82\x01\n\x1cListVirtioScsiTargetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"{\n\x1dListVirtioScsiTargetsResponse\x12\x41\n\x13virtio_scsi_targets\x18\x01 \x03(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x1aGetVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\"O\n\x1cVirtioScsiTargetStatsRequest\x12/\n\ttarget_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"y\n\x1dVirtioScsiTargetStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x95\x01\n!CreateVirtioScsiControllerRequest\x12M\n\x16virtio_scsi_controller\x18\x02 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiControllerB\x03\xe0\x41\x02\x12!\n\x19virtio_scsi_controller_id\x18\x03 \x01(\t\"y\n!DeleteVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xb5\x01\n!UpdateVirtioScsiControllerRequest\x12H\n\x16virtio_scsi_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x8a\x01\n ListVirtioScsiControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n!ListVirtioScsiControllersResponse\x12I\n\x17virtio_scsi_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\"W\n VirtioScsiControllerStatsRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"}\n!VirtioScsiControllerStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"y\n\x1a\x43reateVirtioScsiLunRequest\x12?\n\x0fvirtio_scsi_lun\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLunB\x03\xe0\x41\x02\x12\x1a\n\x12virtio_scsi_lun_id\x18\x03 \x01(\t\"k\n\x1a\x44\x65leteVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa0\x01\n\x1aUpdateVirtioScsiLunRequest\x12:\n\x0fvirtio_scsi_lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"|\n\x19ListVirtioScsiLunsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x1aListVirtioScsiLunsResponse\x12;\n\x10virtio_scsi_luns\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\"~\n\x19VirtioScsiLunStatsRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06lun_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"v\n\x1aVirtioScsiLunStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xe8\x18\n\x19\x46rontendVirtioScsiService\x12\xc5\x01\n\x16\x43reateVirtioScsiTarget\x12\x31.opi_api.storage.v1.CreateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"R\x82\xd3\xe4\x93\x02!\"\x0b/v1/volumes:\x12virtio_scsi_target\xda\x41(virtio_scsi_target,virtio_scsi_target_id\x12\x9c\x01\n\x16\x44\x65leteVirtioScsiTarget\x12\x31.opi_api.storage.v1.DeleteVirtioScsiTargetRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\x93\x02**(/v1/{name=subsystems}/{virtioscsitarget}\xda\x41\x04name\x12\xd8\x01\n\x16UpdateVirtioScsiTarget\x12\x31.opi_api.storage.v1.UpdateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"e\x82\xd3\xe4\x93\x02>2(/v1/{virtio_scsi_target.name=subsystems}:\x12virtio_scsi_target\xda\x41\x1evirtio_scsi_target,update_mask\x12\xa6\x01\n\x15ListVirtioScsiTargets\x12\x30.opi_api.storage.v1.ListVirtioScsiTargetsRequest\x1a\x31.opi_api.storage.v1.ListVirtioScsiTargetsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa4\x01\n\x13GetVirtioScsiTarget\x12..opi_api.storage.v1.GetVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=subsystems}/{virtioscsitarget}\xda\x41\x04name\x12~\n\x15VirtioScsiTargetStats\x12\x30.opi_api.storage.v1.VirtioScsiTargetStatsRequest\x1a\x31.opi_api.storage.v1.VirtioScsiTargetStatsResponse\"\x00\x12\xdd\x01\n\x1a\x43reateVirtioScsiController\x12\x35.opi_api.storage.v1.CreateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"^\x82\xd3\xe4\x93\x02%\"\x0b/v1/volumes:\x16virtio_scsi_controller\xda\x41\x30virtio_scsi_controller,virtio_scsi_controller_id\x12\xa7\x01\n\x1a\x44\x65leteVirtioScsiController\x12\x35.opi_api.storage.v1.DeleteVirtioScsiControllerRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-*+/v1/{name=virtioscsictrls}/{virtioscsictrl}\xda\x41\x04name\x12\xf0\x01\n\x1aUpdateVirtioScsiController\x12\x35.opi_api.storage.v1.UpdateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"q\x82\xd3\xe4\x93\x02\x46\x32,/v1/{virtio_scsi_controller.name=subsystems}:\x16virtio_scsi_controller\xda\x41\"virtio_scsi_controller,update_mask\x12\xb2\x01\n\x19ListVirtioScsiControllers\x12\x34.opi_api.storage.v1.ListVirtioScsiControllersRequest\x1a\x35.opi_api.storage.v1.ListVirtioScsiControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xae\x01\n\x17GetVirtioScsiController\x12\x32.opi_api.storage.v1.GetVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"5\x82\xd3\xe4\x93\x02(\x12&/v1/{name=subsystems}/{virtioscsictrl}\xda\x41\x04name\x12\x8a\x01\n\x19VirtioScsiControllerStats\x12\x34.opi_api.storage.v1.VirtioScsiControllerStatsRequest\x1a\x35.opi_api.storage.v1.VirtioScsiControllerStatsResponse\"\x00\x12\xb3\x01\n\x13\x43reateVirtioScsiLun\x12..opi_api.storage.v1.CreateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"I\x82\xd3\xe4\x93\x02\x1e\"\x0b/v1/volumes:\x0fvirtio_scsi_lun\xda\x41\"virtio_scsi_lun,virtio_scsi_lun_id\x12\x97\x01\n\x13\x44\x65leteVirtioScsiLun\x12..opi_api.storage.v1.DeleteVirtioScsiLunRequest\x1a\x16.google.protobuf.Empty\"8\x82\xd3\xe4\x93\x02+*)/v1/{name=virtioscsiluns}/{virtioscsilun}\xda\x41\x04name\x12\xc6\x01\n\x13UpdateVirtioScsiLun\x12..opi_api.storage.v1.UpdateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{virtio_scsi_lun.name=subsystems}:\x0fvirtio_scsi_lun\xda\x41\x1bvirtio_scsi_lun,update_mask\x12\x9d\x01\n\x12ListVirtioScsiLuns\x12-.opi_api.storage.v1.ListVirtioScsiLunsRequest\x1a..opi_api.storage.v1.ListVirtioScsiLunsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x98\x01\n\x10GetVirtioScsiLun\x12+.opi_api.storage.v1.GetVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"4\x82\xd3\xe4\x93\x02\'\x12%/v1/{name=subsystems}/{virtioscsilun}\xda\x41\x04name\x12u\n\x12VirtioScsiLunStats\x12-.opi_api.storage.v1.VirtioScsiLunStatsRequest\x1a..opi_api.storage.v1.VirtioScsiLunStatsResponse\"\x00\x42\x66\n\x12opi_api.storage.v1B\x17\x46rontendVirtioScsiProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66rontend_virtio_scsi.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xa2\x01\n\x10VirtioScsiTarget\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x03\xe0\x41\x05\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\x12\x10\n\x08max_luns\x18\x02 \x01(\x05:>\xea\x41;\n\'storage.opiproject.org/VirtioScsiTarget\x12\x10volumes/{volume}\"\xb0\x02\n\x14VirtioScsiController\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x03\xe0\x41\x05\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\x12\x30\n\x07pcie_id\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12/\n\tmin_limit\x18\x03 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\x04 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit:B\xea\x41?\n+storage.opiproject.org/VirtioScsiController\x12\x10volumes/{volume}\"\xe9\x01\n\rVirtioScsiLun\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x03\xe0\x41\x05\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\x12/\n\ttarget_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12/\n\tvolume_id\x18\x03 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey:;\xea\x41\x38\n$storage.opiproject.org/VirtioScsiLun\x12\x10volumes/{volume}\"\x85\x01\n\x1d\x43reateVirtioScsiTargetRequest\x12\x45\n\x12virtio_scsi_target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTargetB\x03\xe0\x41\x02\x12\x1d\n\x15virtio_scsi_target_id\x18\x02 \x01(\t\"q\n\x1d\x44\x65leteVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa9\x01\n\x1dUpdateVirtioScsiTargetRequest\x12@\n\x12virtio_scsi_target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x82\x01\n\x1cListVirtioScsiTargetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"{\n\x1dListVirtioScsiTargetsResponse\x12\x41\n\x13virtio_scsi_targets\x18\x01 \x03(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x1aGetVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\"Y\n\x1cStatsVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\"O\n\x1dStatsVirtioScsiTargetResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x95\x01\n!CreateVirtioScsiControllerRequest\x12M\n\x16virtio_scsi_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiControllerB\x03\xe0\x41\x02\x12!\n\x19virtio_scsi_controller_id\x18\x02 \x01(\t\"y\n!DeleteVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xb5\x01\n!UpdateVirtioScsiControllerRequest\x12H\n\x16virtio_scsi_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x8a\x01\n ListVirtioScsiControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n!ListVirtioScsiControllersResponse\x12I\n\x17virtio_scsi_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\"a\n StatsVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\"S\n!StatsVirtioScsiControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"y\n\x1a\x43reateVirtioScsiLunRequest\x12?\n\x0fvirtio_scsi_lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLunB\x03\xe0\x41\x02\x12\x1a\n\x12virtio_scsi_lun_id\x18\x02 \x01(\t\"k\n\x1a\x44\x65leteVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa0\x01\n\x1aUpdateVirtioScsiLunRequest\x12:\n\x0fvirtio_scsi_lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"|\n\x19ListVirtioScsiLunsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x1aListVirtioScsiLunsResponse\x12;\n\x10virtio_scsi_luns\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\"\x88\x01\n\x19StatsVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\x12\x33\n\rcontroller_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"L\n\x1aStatsVirtioScsiLunResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xcb\x19\n\x19\x46rontendVirtioScsiService\x12\xc5\x01\n\x16\x43reateVirtioScsiTarget\x12\x31.opi_api.storage.v1.CreateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"R\x82\xd3\xe4\x93\x02!\"\x0b/v1/volumes:\x12virtio_scsi_target\xda\x41(virtio_scsi_target,virtio_scsi_target_id\x12\x92\x01\n\x16\x44\x65leteVirtioScsiTarget\x12\x31.opi_api.storage.v1.DeleteVirtioScsiTargetRequest\x1a\x16.google.protobuf.Empty\"-\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=VirtioScsiTargets/*}\xda\x41\x04name\x12\xd8\x01\n\x16UpdateVirtioScsiTarget\x12\x31.opi_api.storage.v1.UpdateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"e\x82\xd3\xe4\x93\x02>2(/v1/{virtio_scsi_target.name=subsystems}:\x12virtio_scsi_target\xda\x41\x1evirtio_scsi_target,update_mask\x12\xa6\x01\n\x15ListVirtioScsiTargets\x12\x30.opi_api.storage.v1.ListVirtioScsiTargetsRequest\x1a\x31.opi_api.storage.v1.ListVirtioScsiTargetsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x9a\x01\n\x13GetVirtioScsiTarget\x12..opi_api.storage.v1.GetVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"-\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=VirtioScsiTargets/*}\xda\x41\x04name\x12\xb1\x01\n\x15StatsVirtioScsiTarget\x12\x30.opi_api.storage.v1.StatsVirtioScsiTargetRequest\x1a\x31.opi_api.storage.v1.StatsVirtioScsiTargetResponse\"3\x82\xd3\xe4\x93\x02&\x12$/v1/{name=VirtioScsiTargets/*}:stats\xda\x41\x04name\x12\xdd\x01\n\x1a\x43reateVirtioScsiController\x12\x35.opi_api.storage.v1.CreateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"^\x82\xd3\xe4\x93\x02%\"\x0b/v1/volumes:\x16virtio_scsi_controller\xda\x41\x30virtio_scsi_controller,virtio_scsi_controller_id\x12\x9e\x01\n\x1a\x44\x65leteVirtioScsiController\x12\x35.opi_api.storage.v1.DeleteVirtioScsiControllerRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=VirtioScsiControllers/*}\xda\x41\x04name\x12\xf0\x01\n\x1aUpdateVirtioScsiController\x12\x35.opi_api.storage.v1.UpdateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"q\x82\xd3\xe4\x93\x02\x46\x32,/v1/{virtio_scsi_controller.name=subsystems}:\x16virtio_scsi_controller\xda\x41\"virtio_scsi_controller,update_mask\x12\xb2\x01\n\x19ListVirtioScsiControllers\x12\x34.opi_api.storage.v1.ListVirtioScsiControllersRequest\x1a\x35.opi_api.storage.v1.ListVirtioScsiControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xaa\x01\n\x17GetVirtioScsiController\x12\x32.opi_api.storage.v1.GetVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=VirtioScsiControllers/*}\xda\x41\x04name\x12\xc1\x01\n\x19StatsVirtioScsiController\x12\x34.opi_api.storage.v1.StatsVirtioScsiControllerRequest\x1a\x35.opi_api.storage.v1.StatsVirtioScsiControllerResponse\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=VirtioScsiControllers/*}:stats\xda\x41\x04name\x12\xb3\x01\n\x13\x43reateVirtioScsiLun\x12..opi_api.storage.v1.CreateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"I\x82\xd3\xe4\x93\x02\x1e\"\x0b/v1/volumes:\x0fvirtio_scsi_lun\xda\x41\"virtio_scsi_lun,virtio_scsi_lun_id\x12\x89\x01\n\x13\x44\x65leteVirtioScsiLun\x12..opi_api.storage.v1.DeleteVirtioScsiLunRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/{name=VirtioScsiLuns/*}\xda\x41\x04name\x12\xc6\x01\n\x13UpdateVirtioScsiLun\x12..opi_api.storage.v1.UpdateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{virtio_scsi_lun.name=subsystems}:\x0fvirtio_scsi_lun\xda\x41\x1bvirtio_scsi_lun,update_mask\x12\x9d\x01\n\x12ListVirtioScsiLuns\x12-.opi_api.storage.v1.ListVirtioScsiLunsRequest\x1a..opi_api.storage.v1.ListVirtioScsiLunsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x8e\x01\n\x10GetVirtioScsiLun\x12+.opi_api.storage.v1.GetVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"*\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/{name=VirtioScsiLuns/*}\xda\x41\x04name\x12\xa5\x01\n\x12StatsVirtioScsiLun\x12-.opi_api.storage.v1.StatsVirtioScsiLunRequest\x1a..opi_api.storage.v1.StatsVirtioScsiLunResponse\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=VirtioScsiLuns/*}:stats\xda\x41\x04nameBf\n\x12opi_api.storage.v1B\x17\x46rontendVirtioScsiProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -35,24 +35,24 @@ _LISTVIRTIOSCSITARGETSREQUEST = DESCRIPTOR.message_types_by_name['ListVirtioScsiTargetsRequest'] _LISTVIRTIOSCSITARGETSRESPONSE = DESCRIPTOR.message_types_by_name['ListVirtioScsiTargetsResponse'] _GETVIRTIOSCSITARGETREQUEST = DESCRIPTOR.message_types_by_name['GetVirtioScsiTargetRequest'] -_VIRTIOSCSITARGETSTATSREQUEST = DESCRIPTOR.message_types_by_name['VirtioScsiTargetStatsRequest'] -_VIRTIOSCSITARGETSTATSRESPONSE = DESCRIPTOR.message_types_by_name['VirtioScsiTargetStatsResponse'] +_STATSVIRTIOSCSITARGETREQUEST = DESCRIPTOR.message_types_by_name['StatsVirtioScsiTargetRequest'] +_STATSVIRTIOSCSITARGETRESPONSE = DESCRIPTOR.message_types_by_name['StatsVirtioScsiTargetResponse'] _CREATEVIRTIOSCSICONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['CreateVirtioScsiControllerRequest'] _DELETEVIRTIOSCSICONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['DeleteVirtioScsiControllerRequest'] _UPDATEVIRTIOSCSICONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['UpdateVirtioScsiControllerRequest'] _LISTVIRTIOSCSICONTROLLERSREQUEST = DESCRIPTOR.message_types_by_name['ListVirtioScsiControllersRequest'] _LISTVIRTIOSCSICONTROLLERSRESPONSE = DESCRIPTOR.message_types_by_name['ListVirtioScsiControllersResponse'] _GETVIRTIOSCSICONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['GetVirtioScsiControllerRequest'] -_VIRTIOSCSICONTROLLERSTATSREQUEST = DESCRIPTOR.message_types_by_name['VirtioScsiControllerStatsRequest'] -_VIRTIOSCSICONTROLLERSTATSRESPONSE = DESCRIPTOR.message_types_by_name['VirtioScsiControllerStatsResponse'] +_STATSVIRTIOSCSICONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['StatsVirtioScsiControllerRequest'] +_STATSVIRTIOSCSICONTROLLERRESPONSE = DESCRIPTOR.message_types_by_name['StatsVirtioScsiControllerResponse'] _CREATEVIRTIOSCSILUNREQUEST = DESCRIPTOR.message_types_by_name['CreateVirtioScsiLunRequest'] _DELETEVIRTIOSCSILUNREQUEST = DESCRIPTOR.message_types_by_name['DeleteVirtioScsiLunRequest'] _UPDATEVIRTIOSCSILUNREQUEST = DESCRIPTOR.message_types_by_name['UpdateVirtioScsiLunRequest'] _LISTVIRTIOSCSILUNSREQUEST = DESCRIPTOR.message_types_by_name['ListVirtioScsiLunsRequest'] _LISTVIRTIOSCSILUNSRESPONSE = DESCRIPTOR.message_types_by_name['ListVirtioScsiLunsResponse'] _GETVIRTIOSCSILUNREQUEST = DESCRIPTOR.message_types_by_name['GetVirtioScsiLunRequest'] -_VIRTIOSCSILUNSTATSREQUEST = DESCRIPTOR.message_types_by_name['VirtioScsiLunStatsRequest'] -_VIRTIOSCSILUNSTATSRESPONSE = DESCRIPTOR.message_types_by_name['VirtioScsiLunStatsResponse'] +_STATSVIRTIOSCSILUNREQUEST = DESCRIPTOR.message_types_by_name['StatsVirtioScsiLunRequest'] +_STATSVIRTIOSCSILUNRESPONSE = DESCRIPTOR.message_types_by_name['StatsVirtioScsiLunResponse'] VirtioScsiTarget = _reflection.GeneratedProtocolMessageType('VirtioScsiTarget', (_message.Message,), { 'DESCRIPTOR' : _VIRTIOSCSITARGET, '__module__' : 'frontend_virtio_scsi_pb2' @@ -116,19 +116,19 @@ }) _sym_db.RegisterMessage(GetVirtioScsiTargetRequest) -VirtioScsiTargetStatsRequest = _reflection.GeneratedProtocolMessageType('VirtioScsiTargetStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOSCSITARGETSTATSREQUEST, +StatsVirtioScsiTargetRequest = _reflection.GeneratedProtocolMessageType('StatsVirtioScsiTargetRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOSCSITARGETREQUEST, '__module__' : 'frontend_virtio_scsi_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiTargetStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiTargetRequest) }) -_sym_db.RegisterMessage(VirtioScsiTargetStatsRequest) +_sym_db.RegisterMessage(StatsVirtioScsiTargetRequest) -VirtioScsiTargetStatsResponse = _reflection.GeneratedProtocolMessageType('VirtioScsiTargetStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOSCSITARGETSTATSRESPONSE, +StatsVirtioScsiTargetResponse = _reflection.GeneratedProtocolMessageType('StatsVirtioScsiTargetResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOSCSITARGETRESPONSE, '__module__' : 'frontend_virtio_scsi_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiTargetStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiTargetResponse) }) -_sym_db.RegisterMessage(VirtioScsiTargetStatsResponse) +_sym_db.RegisterMessage(StatsVirtioScsiTargetResponse) CreateVirtioScsiControllerRequest = _reflection.GeneratedProtocolMessageType('CreateVirtioScsiControllerRequest', (_message.Message,), { 'DESCRIPTOR' : _CREATEVIRTIOSCSICONTROLLERREQUEST, @@ -172,19 +172,19 @@ }) _sym_db.RegisterMessage(GetVirtioScsiControllerRequest) -VirtioScsiControllerStatsRequest = _reflection.GeneratedProtocolMessageType('VirtioScsiControllerStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOSCSICONTROLLERSTATSREQUEST, +StatsVirtioScsiControllerRequest = _reflection.GeneratedProtocolMessageType('StatsVirtioScsiControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOSCSICONTROLLERREQUEST, '__module__' : 'frontend_virtio_scsi_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiControllerStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiControllerRequest) }) -_sym_db.RegisterMessage(VirtioScsiControllerStatsRequest) +_sym_db.RegisterMessage(StatsVirtioScsiControllerRequest) -VirtioScsiControllerStatsResponse = _reflection.GeneratedProtocolMessageType('VirtioScsiControllerStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOSCSICONTROLLERSTATSRESPONSE, +StatsVirtioScsiControllerResponse = _reflection.GeneratedProtocolMessageType('StatsVirtioScsiControllerResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOSCSICONTROLLERRESPONSE, '__module__' : 'frontend_virtio_scsi_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiControllerStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiControllerResponse) }) -_sym_db.RegisterMessage(VirtioScsiControllerStatsResponse) +_sym_db.RegisterMessage(StatsVirtioScsiControllerResponse) CreateVirtioScsiLunRequest = _reflection.GeneratedProtocolMessageType('CreateVirtioScsiLunRequest', (_message.Message,), { 'DESCRIPTOR' : _CREATEVIRTIOSCSILUNREQUEST, @@ -228,29 +228,35 @@ }) _sym_db.RegisterMessage(GetVirtioScsiLunRequest) -VirtioScsiLunStatsRequest = _reflection.GeneratedProtocolMessageType('VirtioScsiLunStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOSCSILUNSTATSREQUEST, +StatsVirtioScsiLunRequest = _reflection.GeneratedProtocolMessageType('StatsVirtioScsiLunRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOSCSILUNREQUEST, '__module__' : 'frontend_virtio_scsi_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiLunStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiLunRequest) }) -_sym_db.RegisterMessage(VirtioScsiLunStatsRequest) +_sym_db.RegisterMessage(StatsVirtioScsiLunRequest) -VirtioScsiLunStatsResponse = _reflection.GeneratedProtocolMessageType('VirtioScsiLunStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _VIRTIOSCSILUNSTATSRESPONSE, +StatsVirtioScsiLunResponse = _reflection.GeneratedProtocolMessageType('StatsVirtioScsiLunResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSVIRTIOSCSILUNRESPONSE, '__module__' : 'frontend_virtio_scsi_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VirtioScsiLunStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsVirtioScsiLunResponse) }) -_sym_db.RegisterMessage(VirtioScsiLunStatsResponse) +_sym_db.RegisterMessage(StatsVirtioScsiLunResponse) _FRONTENDVIRTIOSCSISERVICE = DESCRIPTOR.services_by_name['FrontendVirtioScsiService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\027FrontendVirtioScsiProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _VIRTIOSCSITARGET.fields_by_name['name']._options = None + _VIRTIOSCSITARGET.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A%\n#opi_api.storage.v1/VirtioScsiTarget' _VIRTIOSCSITARGET._options = None _VIRTIOSCSITARGET._serialized_options = b'\352A;\n\'storage.opiproject.org/VirtioScsiTarget\022\020volumes/{volume}' + _VIRTIOSCSICONTROLLER.fields_by_name['name']._options = None + _VIRTIOSCSICONTROLLER.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A)\n\'opi_api.storage.v1/VirtioScsiController' _VIRTIOSCSICONTROLLER._options = None _VIRTIOSCSICONTROLLER._serialized_options = b'\352A?\n+storage.opiproject.org/VirtioScsiController\022\020volumes/{volume}' + _VIRTIOSCSILUN.fields_by_name['name']._options = None + _VIRTIOSCSILUN.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\"\n opi_api.storage.v1/VirtioScsiLun' _VIRTIOSCSILUN._options = None _VIRTIOSCSILUN._serialized_options = b'\352A8\n$storage.opiproject.org/VirtioScsiLun\022\020volumes/{volume}' _CREATEVIRTIOSCSITARGETREQUEST.fields_by_name['virtio_scsi_target']._options = None @@ -261,6 +267,8 @@ _LISTVIRTIOSCSITARGETSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A%\n#opi_api.storage.v1/VirtioScsiTarget' _GETVIRTIOSCSITARGETREQUEST.fields_by_name['name']._options = None _GETVIRTIOSCSITARGETREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A%\n#opi_api.storage.v1/VirtioScsiTarget' + _STATSVIRTIOSCSITARGETREQUEST.fields_by_name['name']._options = None + _STATSVIRTIOSCSITARGETREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A%\n#opi_api.storage.v1/VirtioScsiTarget' _CREATEVIRTIOSCSICONTROLLERREQUEST.fields_by_name['virtio_scsi_controller']._options = None _CREATEVIRTIOSCSICONTROLLERREQUEST.fields_by_name['virtio_scsi_controller']._serialized_options = b'\340A\002' _DELETEVIRTIOSCSICONTROLLERREQUEST.fields_by_name['name']._options = None @@ -269,6 +277,8 @@ _LISTVIRTIOSCSICONTROLLERSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiController' _GETVIRTIOSCSICONTROLLERREQUEST.fields_by_name['name']._options = None _GETVIRTIOSCSICONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiController' + _STATSVIRTIOSCSICONTROLLERREQUEST.fields_by_name['name']._options = None + _STATSVIRTIOSCSICONTROLLERREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiController' _CREATEVIRTIOSCSILUNREQUEST.fields_by_name['virtio_scsi_lun']._options = None _CREATEVIRTIOSCSILUNREQUEST.fields_by_name['virtio_scsi_lun']._serialized_options = b'\340A\002' _DELETEVIRTIOSCSILUNREQUEST.fields_by_name['name']._options = None @@ -277,90 +287,98 @@ _LISTVIRTIOSCSILUNSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/VirtioScsiLun' _GETVIRTIOSCSILUNREQUEST.fields_by_name['name']._options = None _GETVIRTIOSCSILUNREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/VirtioScsiLun' + _STATSVIRTIOSCSILUNREQUEST.fields_by_name['name']._options = None + _STATSVIRTIOSCSILUNREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\"\n opi_api.storage.v1/VirtioScsiLun' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['CreateVirtioScsiTarget']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['CreateVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002!\"\013/v1/volumes:\022virtio_scsi_target\332A(virtio_scsi_target,virtio_scsi_target_id' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiTarget']._options = None - _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002**(/v1/{name=subsystems}/{virtioscsitarget}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002 *\036/v1/{name=VirtioScsiTargets/*}\332A\004name' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['UpdateVirtioScsiTarget']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['UpdateVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002>2(/v1/{virtio_scsi_target.name=subsystems}:\022virtio_scsi_target\332A\036virtio_scsi_target,update_mask' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['ListVirtioScsiTargets']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['ListVirtioScsiTargets']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiTarget']._options = None - _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002*\022(/v1/{name=subsystems}/{virtioscsitarget}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002 \022\036/v1/{name=VirtioScsiTargets/*}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['StatsVirtioScsiTarget']._options = None + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['StatsVirtioScsiTarget']._serialized_options = b'\202\323\344\223\002&\022$/v1/{name=VirtioScsiTargets/*}:stats\332A\004name' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['CreateVirtioScsiController']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['CreateVirtioScsiController']._serialized_options = b'\202\323\344\223\002%\"\013/v1/volumes:\026virtio_scsi_controller\332A0virtio_scsi_controller,virtio_scsi_controller_id' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiController']._options = None - _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiController']._serialized_options = b'\202\323\344\223\002-*+/v1/{name=virtioscsictrls}/{virtioscsictrl}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiController']._serialized_options = b'\202\323\344\223\002$*\"/v1/{name=VirtioScsiControllers/*}\332A\004name' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['UpdateVirtioScsiController']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['UpdateVirtioScsiController']._serialized_options = b'\202\323\344\223\002F2,/v1/{virtio_scsi_controller.name=subsystems}:\026virtio_scsi_controller\332A\"virtio_scsi_controller,update_mask' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['ListVirtioScsiControllers']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['ListVirtioScsiControllers']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiController']._options = None - _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiController']._serialized_options = b'\202\323\344\223\002(\022&/v1/{name=subsystems}/{virtioscsictrl}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiController']._serialized_options = b'\202\323\344\223\002$\022\"/v1/{name=VirtioScsiControllers/*}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['StatsVirtioScsiController']._options = None + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['StatsVirtioScsiController']._serialized_options = b'\202\323\344\223\002*\022(/v1/{name=VirtioScsiControllers/*}:stats\332A\004name' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['CreateVirtioScsiLun']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['CreateVirtioScsiLun']._serialized_options = b'\202\323\344\223\002\036\"\013/v1/volumes:\017virtio_scsi_lun\332A\"virtio_scsi_lun,virtio_scsi_lun_id' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiLun']._options = None - _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiLun']._serialized_options = b'\202\323\344\223\002+*)/v1/{name=virtioscsiluns}/{virtioscsilun}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['DeleteVirtioScsiLun']._serialized_options = b'\202\323\344\223\002\035*\033/v1/{name=VirtioScsiLuns/*}\332A\004name' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['UpdateVirtioScsiLun']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['UpdateVirtioScsiLun']._serialized_options = b'\202\323\344\223\00282%/v1/{virtio_scsi_lun.name=subsystems}:\017virtio_scsi_lun\332A\033virtio_scsi_lun,update_mask' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['ListVirtioScsiLuns']._options = None _FRONTENDVIRTIOSCSISERVICE.methods_by_name['ListVirtioScsiLuns']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiLun']._options = None - _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiLun']._serialized_options = b'\202\323\344\223\002\'\022%/v1/{name=subsystems}/{virtioscsilun}\332A\004name' - _VIRTIOSCSITARGET._serialized_start=263 - _VIRTIOSCSITARGET._serialized_end=377 - _VIRTIOSCSICONTROLLER._serialized_start=380 - _VIRTIOSCSICONTROLLER._serialized_end=632 - _VIRTIOSCSILUN._serialized_start=635 - _VIRTIOSCSILUN._serialized_end=823 - _CREATEVIRTIOSCSITARGETREQUEST._serialized_start=826 - _CREATEVIRTIOSCSITARGETREQUEST._serialized_end=959 - _DELETEVIRTIOSCSITARGETREQUEST._serialized_start=961 - _DELETEVIRTIOSCSITARGETREQUEST._serialized_end=1074 - _UPDATEVIRTIOSCSITARGETREQUEST._serialized_start=1077 - _UPDATEVIRTIOSCSITARGETREQUEST._serialized_end=1246 - _LISTVIRTIOSCSITARGETSREQUEST._serialized_start=1249 - _LISTVIRTIOSCSITARGETSREQUEST._serialized_end=1379 - _LISTVIRTIOSCSITARGETSRESPONSE._serialized_start=1381 - _LISTVIRTIOSCSITARGETSRESPONSE._serialized_end=1504 - _GETVIRTIOSCSITARGETREQUEST._serialized_start=1506 - _GETVIRTIOSCSITARGETREQUEST._serialized_end=1593 - _VIRTIOSCSITARGETSTATSREQUEST._serialized_start=1595 - _VIRTIOSCSITARGETSTATSREQUEST._serialized_end=1674 - _VIRTIOSCSITARGETSTATSRESPONSE._serialized_start=1676 - _VIRTIOSCSITARGETSTATSRESPONSE._serialized_end=1797 - _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1800 - _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1949 - _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1951 - _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2072 - _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=2075 - _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2256 - _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_start=2259 - _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_end=2397 - _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_start=2400 - _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_end=2535 - _GETVIRTIOSCSICONTROLLERREQUEST._serialized_start=2537 - _GETVIRTIOSCSICONTROLLERREQUEST._serialized_end=2632 - _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_start=2634 - _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_end=2721 - _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_start=2723 - _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_end=2848 - _CREATEVIRTIOSCSILUNREQUEST._serialized_start=2850 - _CREATEVIRTIOSCSILUNREQUEST._serialized_end=2971 - _DELETEVIRTIOSCSILUNREQUEST._serialized_start=2973 - _DELETEVIRTIOSCSILUNREQUEST._serialized_end=3080 - _UPDATEVIRTIOSCSILUNREQUEST._serialized_start=3083 - _UPDATEVIRTIOSCSILUNREQUEST._serialized_end=3243 - _LISTVIRTIOSCSILUNSREQUEST._serialized_start=3245 - _LISTVIRTIOSCSILUNSREQUEST._serialized_end=3369 - _LISTVIRTIOSCSILUNSRESPONSE._serialized_start=3371 - _LISTVIRTIOSCSILUNSRESPONSE._serialized_end=3485 - _GETVIRTIOSCSILUNREQUEST._serialized_start=3487 - _GETVIRTIOSCSILUNREQUEST._serialized_end=3568 - _VIRTIOSCSILUNSTATSREQUEST._serialized_start=3570 - _VIRTIOSCSILUNSTATSREQUEST._serialized_end=3696 - _VIRTIOSCSILUNSTATSRESPONSE._serialized_start=3698 - _VIRTIOSCSILUNSTATSRESPONSE._serialized_end=3816 - _FRONTENDVIRTIOSCSISERVICE._serialized_start=3819 - _FRONTENDVIRTIOSCSISERVICE._serialized_end=6995 + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['GetVirtioScsiLun']._serialized_options = b'\202\323\344\223\002\035\022\033/v1/{name=VirtioScsiLuns/*}\332A\004name' + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['StatsVirtioScsiLun']._options = None + _FRONTENDVIRTIOSCSISERVICE.methods_by_name['StatsVirtioScsiLun']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=VirtioScsiLuns/*}:stats\332A\004name' + _VIRTIOSCSITARGET._serialized_start=264 + _VIRTIOSCSITARGET._serialized_end=426 + _VIRTIOSCSICONTROLLER._serialized_start=429 + _VIRTIOSCSICONTROLLER._serialized_end=733 + _VIRTIOSCSILUN._serialized_start=736 + _VIRTIOSCSILUN._serialized_end=969 + _CREATEVIRTIOSCSITARGETREQUEST._serialized_start=972 + _CREATEVIRTIOSCSITARGETREQUEST._serialized_end=1105 + _DELETEVIRTIOSCSITARGETREQUEST._serialized_start=1107 + _DELETEVIRTIOSCSITARGETREQUEST._serialized_end=1220 + _UPDATEVIRTIOSCSITARGETREQUEST._serialized_start=1223 + _UPDATEVIRTIOSCSITARGETREQUEST._serialized_end=1392 + _LISTVIRTIOSCSITARGETSREQUEST._serialized_start=1395 + _LISTVIRTIOSCSITARGETSREQUEST._serialized_end=1525 + _LISTVIRTIOSCSITARGETSRESPONSE._serialized_start=1527 + _LISTVIRTIOSCSITARGETSRESPONSE._serialized_end=1650 + _GETVIRTIOSCSITARGETREQUEST._serialized_start=1652 + _GETVIRTIOSCSITARGETREQUEST._serialized_end=1739 + _STATSVIRTIOSCSITARGETREQUEST._serialized_start=1741 + _STATSVIRTIOSCSITARGETREQUEST._serialized_end=1830 + _STATSVIRTIOSCSITARGETRESPONSE._serialized_start=1832 + _STATSVIRTIOSCSITARGETRESPONSE._serialized_end=1911 + _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1914 + _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2063 + _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_start=2065 + _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2186 + _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=2189 + _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2370 + _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_start=2373 + _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_end=2511 + _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_start=2514 + _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_end=2649 + _GETVIRTIOSCSICONTROLLERREQUEST._serialized_start=2651 + _GETVIRTIOSCSICONTROLLERREQUEST._serialized_end=2746 + _STATSVIRTIOSCSICONTROLLERREQUEST._serialized_start=2748 + _STATSVIRTIOSCSICONTROLLERREQUEST._serialized_end=2845 + _STATSVIRTIOSCSICONTROLLERRESPONSE._serialized_start=2847 + _STATSVIRTIOSCSICONTROLLERRESPONSE._serialized_end=2930 + _CREATEVIRTIOSCSILUNREQUEST._serialized_start=2932 + _CREATEVIRTIOSCSILUNREQUEST._serialized_end=3053 + _DELETEVIRTIOSCSILUNREQUEST._serialized_start=3055 + _DELETEVIRTIOSCSILUNREQUEST._serialized_end=3162 + _UPDATEVIRTIOSCSILUNREQUEST._serialized_start=3165 + _UPDATEVIRTIOSCSILUNREQUEST._serialized_end=3325 + _LISTVIRTIOSCSILUNSREQUEST._serialized_start=3327 + _LISTVIRTIOSCSILUNSREQUEST._serialized_end=3451 + _LISTVIRTIOSCSILUNSRESPONSE._serialized_start=3453 + _LISTVIRTIOSCSILUNSRESPONSE._serialized_end=3567 + _GETVIRTIOSCSILUNREQUEST._serialized_start=3569 + _GETVIRTIOSCSILUNREQUEST._serialized_end=3650 + _STATSVIRTIOSCSILUNREQUEST._serialized_start=3653 + _STATSVIRTIOSCSILUNREQUEST._serialized_end=3789 + _STATSVIRTIOSCSILUNRESPONSE._serialized_start=3791 + _STATSVIRTIOSCSILUNRESPONSE._serialized_end=3867 + _FRONTENDVIRTIOSCSISERVICE._serialized_start=3870 + _FRONTENDVIRTIOSCSISERVICE._serialized_end=7145 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2_grpc.py b/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2_grpc.py index d08da8af..f7f3a2eb 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2_grpc.py @@ -41,10 +41,10 @@ def __init__(self, channel): request_serializer=frontend__virtio__scsi__pb2.GetVirtioScsiTargetRequest.SerializeToString, response_deserializer=frontend__virtio__scsi__pb2.VirtioScsiTarget.FromString, ) - self.VirtioScsiTargetStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiTargetStats', - request_serializer=frontend__virtio__scsi__pb2.VirtioScsiTargetStatsRequest.SerializeToString, - response_deserializer=frontend__virtio__scsi__pb2.VirtioScsiTargetStatsResponse.FromString, + self.StatsVirtioScsiTarget = channel.unary_unary( + '/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiTarget', + request_serializer=frontend__virtio__scsi__pb2.StatsVirtioScsiTargetRequest.SerializeToString, + response_deserializer=frontend__virtio__scsi__pb2.StatsVirtioScsiTargetResponse.FromString, ) self.CreateVirtioScsiController = channel.unary_unary( '/opi_api.storage.v1.FrontendVirtioScsiService/CreateVirtioScsiController', @@ -71,10 +71,10 @@ def __init__(self, channel): request_serializer=frontend__virtio__scsi__pb2.GetVirtioScsiControllerRequest.SerializeToString, response_deserializer=frontend__virtio__scsi__pb2.VirtioScsiController.FromString, ) - self.VirtioScsiControllerStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiControllerStats', - request_serializer=frontend__virtio__scsi__pb2.VirtioScsiControllerStatsRequest.SerializeToString, - response_deserializer=frontend__virtio__scsi__pb2.VirtioScsiControllerStatsResponse.FromString, + self.StatsVirtioScsiController = channel.unary_unary( + '/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiController', + request_serializer=frontend__virtio__scsi__pb2.StatsVirtioScsiControllerRequest.SerializeToString, + response_deserializer=frontend__virtio__scsi__pb2.StatsVirtioScsiControllerResponse.FromString, ) self.CreateVirtioScsiLun = channel.unary_unary( '/opi_api.storage.v1.FrontendVirtioScsiService/CreateVirtioScsiLun', @@ -101,10 +101,10 @@ def __init__(self, channel): request_serializer=frontend__virtio__scsi__pb2.GetVirtioScsiLunRequest.SerializeToString, response_deserializer=frontend__virtio__scsi__pb2.VirtioScsiLun.FromString, ) - self.VirtioScsiLunStats = channel.unary_unary( - '/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiLunStats', - request_serializer=frontend__virtio__scsi__pb2.VirtioScsiLunStatsRequest.SerializeToString, - response_deserializer=frontend__virtio__scsi__pb2.VirtioScsiLunStatsResponse.FromString, + self.StatsVirtioScsiLun = channel.unary_unary( + '/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiLun', + request_serializer=frontend__virtio__scsi__pb2.StatsVirtioScsiLunRequest.SerializeToString, + response_deserializer=frontend__virtio__scsi__pb2.StatsVirtioScsiLunResponse.FromString, ) @@ -142,7 +142,7 @@ def GetVirtioScsiTarget(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def VirtioScsiTargetStats(self, request, context): + def StatsVirtioScsiTarget(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -178,7 +178,7 @@ def GetVirtioScsiController(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def VirtioScsiControllerStats(self, request, context): + def StatsVirtioScsiController(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -214,7 +214,7 @@ def GetVirtioScsiLun(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def VirtioScsiLunStats(self, request, context): + def StatsVirtioScsiLun(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -248,10 +248,10 @@ def add_FrontendVirtioScsiServiceServicer_to_server(servicer, server): request_deserializer=frontend__virtio__scsi__pb2.GetVirtioScsiTargetRequest.FromString, response_serializer=frontend__virtio__scsi__pb2.VirtioScsiTarget.SerializeToString, ), - 'VirtioScsiTargetStats': grpc.unary_unary_rpc_method_handler( - servicer.VirtioScsiTargetStats, - request_deserializer=frontend__virtio__scsi__pb2.VirtioScsiTargetStatsRequest.FromString, - response_serializer=frontend__virtio__scsi__pb2.VirtioScsiTargetStatsResponse.SerializeToString, + 'StatsVirtioScsiTarget': grpc.unary_unary_rpc_method_handler( + servicer.StatsVirtioScsiTarget, + request_deserializer=frontend__virtio__scsi__pb2.StatsVirtioScsiTargetRequest.FromString, + response_serializer=frontend__virtio__scsi__pb2.StatsVirtioScsiTargetResponse.SerializeToString, ), 'CreateVirtioScsiController': grpc.unary_unary_rpc_method_handler( servicer.CreateVirtioScsiController, @@ -278,10 +278,10 @@ def add_FrontendVirtioScsiServiceServicer_to_server(servicer, server): request_deserializer=frontend__virtio__scsi__pb2.GetVirtioScsiControllerRequest.FromString, response_serializer=frontend__virtio__scsi__pb2.VirtioScsiController.SerializeToString, ), - 'VirtioScsiControllerStats': grpc.unary_unary_rpc_method_handler( - servicer.VirtioScsiControllerStats, - request_deserializer=frontend__virtio__scsi__pb2.VirtioScsiControllerStatsRequest.FromString, - response_serializer=frontend__virtio__scsi__pb2.VirtioScsiControllerStatsResponse.SerializeToString, + 'StatsVirtioScsiController': grpc.unary_unary_rpc_method_handler( + servicer.StatsVirtioScsiController, + request_deserializer=frontend__virtio__scsi__pb2.StatsVirtioScsiControllerRequest.FromString, + response_serializer=frontend__virtio__scsi__pb2.StatsVirtioScsiControllerResponse.SerializeToString, ), 'CreateVirtioScsiLun': grpc.unary_unary_rpc_method_handler( servicer.CreateVirtioScsiLun, @@ -308,10 +308,10 @@ def add_FrontendVirtioScsiServiceServicer_to_server(servicer, server): request_deserializer=frontend__virtio__scsi__pb2.GetVirtioScsiLunRequest.FromString, response_serializer=frontend__virtio__scsi__pb2.VirtioScsiLun.SerializeToString, ), - 'VirtioScsiLunStats': grpc.unary_unary_rpc_method_handler( - servicer.VirtioScsiLunStats, - request_deserializer=frontend__virtio__scsi__pb2.VirtioScsiLunStatsRequest.FromString, - response_serializer=frontend__virtio__scsi__pb2.VirtioScsiLunStatsResponse.SerializeToString, + 'StatsVirtioScsiLun': grpc.unary_unary_rpc_method_handler( + servicer.StatsVirtioScsiLun, + request_deserializer=frontend__virtio__scsi__pb2.StatsVirtioScsiLunRequest.FromString, + response_serializer=frontend__virtio__scsi__pb2.StatsVirtioScsiLunResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -410,7 +410,7 @@ def GetVirtioScsiTarget(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def VirtioScsiTargetStats(request, + def StatsVirtioScsiTarget(request, target, options=(), channel_credentials=None, @@ -420,9 +420,9 @@ def VirtioScsiTargetStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiTargetStats', - frontend__virtio__scsi__pb2.VirtioScsiTargetStatsRequest.SerializeToString, - frontend__virtio__scsi__pb2.VirtioScsiTargetStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiTarget', + frontend__virtio__scsi__pb2.StatsVirtioScsiTargetRequest.SerializeToString, + frontend__virtio__scsi__pb2.StatsVirtioScsiTargetResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -512,7 +512,7 @@ def GetVirtioScsiController(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def VirtioScsiControllerStats(request, + def StatsVirtioScsiController(request, target, options=(), channel_credentials=None, @@ -522,9 +522,9 @@ def VirtioScsiControllerStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiControllerStats', - frontend__virtio__scsi__pb2.VirtioScsiControllerStatsRequest.SerializeToString, - frontend__virtio__scsi__pb2.VirtioScsiControllerStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiController', + frontend__virtio__scsi__pb2.StatsVirtioScsiControllerRequest.SerializeToString, + frontend__virtio__scsi__pb2.StatsVirtioScsiControllerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -614,7 +614,7 @@ def GetVirtioScsiLun(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def VirtioScsiLunStats(request, + def StatsVirtioScsiLun(request, target, options=(), channel_credentials=None, @@ -624,8 +624,8 @@ def VirtioScsiLunStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioScsiService/VirtioScsiLunStats', - frontend__virtio__scsi__pb2.VirtioScsiLunStatsRequest.SerializeToString, - frontend__virtio__scsi__pb2.VirtioScsiLunStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.FrontendVirtioScsiService/StatsVirtioScsiLun', + frontend__virtio__scsi__pb2.StatsVirtioScsiLunRequest.SerializeToString, + frontend__virtio__scsi__pb2.StatsVirtioScsiLunResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/middleend_encryption_pb2.py b/storage/v1alpha1/gen/python/middleend_encryption_pb2.py index 7221762c..755ba376 100644 --- a/storage/v1alpha1/gen/python/middleend_encryption_pb2.py +++ b/storage/v1alpha1/gen/python/middleend_encryption_pb2.py @@ -13,7 +13,6 @@ import opicommon_pb2 as opicommon__pb2 -import object_key_pb2 as object__key__pb2 from google.api import client_pb2 as google_dot_api_dot_client__pb2 from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -22,7 +21,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1amiddleend_encryption.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xd0\x01\n\x0f\x45ncryptedVolume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\tvolume_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\x32\n\x06\x63ipher\x18\x04 \x01(\x0e\x32\".opi_api.storage.v1.EncryptionType:=\xea\x41:\n&storage.opiproject.org/EncryptedVolume\x12\x10volumes/{volume}\"\x7f\n\x1c\x43reateEncryptedVolumeRequest\x12\x42\n\x10\x65ncrypted_volume\x18\x02 \x01(\x0b\x32#.opi_api.storage.v1.EncryptedVolumeB\x03\xe0\x41\x02\x12\x1b\n\x13\x65ncrypted_volume_id\x18\x03 \x01(\t\"o\n\x1c\x44\x65leteEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa5\x01\n\x1cUpdateEncryptedVolumeRequest\x12=\n\x10\x65ncrypted_volume\x18\x01 \x01(\x0b\x32#.opi_api.storage.v1.EncryptedVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x80\x01\n\x1bListEncryptedVolumesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"w\n\x1cListEncryptedVolumesResponse\x12>\n\x11\x65ncrypted_volumes\x18\x01 \x03(\x0b\x32#.opi_api.storage.v1.EncryptedVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x19GetEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\"X\n\x1b\x45ncryptedVolumeStatsRequest\x12\x39\n\x13\x65ncrypted_volume_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x89\x01\n\x1c\x45ncryptedVolumeStatsResponse\x12\x39\n\x13\x65ncrypted_volume_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xf7\x07\n\x1aMiddleendEncryptionService\x12\xbc\x01\n\x15\x43reateEncryptedVolume\x12\x30.opi_api.storage.v1.CreateEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"L\x82\xd3\xe4\x93\x02\x1f\"\x0b/v1/volumes:\x10\x65ncrypted_volume\xda\x41$encrypted_volume,encrypted_volume_id\x12\x8d\x01\n\x15\x44\x65leteEncryptedVolume\x12\x30.opi_api.storage.v1.DeleteEncryptedVolumeRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/{name=volumes}/{volume}\xda\x41\x04name\x12\xcf\x01\n\x15UpdateEncryptedVolume\x12\x30.opi_api.storage.v1.UpdateEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"_\x82\xd3\xe4\x93\x02:2&/v1/{encrypted_volume.name=subsystems}:\x10\x65ncrypted_volume\xda\x41\x1c\x65ncrypted_volume,update_mask\x12\xa0\x01\n\x14ListEncryptedVolumes\x12/.opi_api.storage.v1.ListEncryptedVolumesRequest\x1a\x30.opi_api.storage.v1.ListEncryptedVolumesResponse\"%\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/{parent=volumes}\xda\x41\x06parent\x12\x97\x01\n\x12GetEncryptedVolume\x12-.opi_api.storage.v1.GetEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"-\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=subsystems}/{volume}\xda\x41\x04name\x12{\n\x14\x45ncryptedVolumeStats\x12/.opi_api.storage.v1.EncryptedVolumeStatsRequest\x1a\x30.opi_api.storage.v1.EncryptedVolumeStatsResponse\"\x00\x42g\n\x12opi_api.storage.v1B\x18MiddleendEncryptionProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1amiddleend_encryption.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xec\x01\n\x0f\x45ncryptedVolume\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x03\xe0\x41\x05\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\x12\x1c\n\x0fvolume_name_ref\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\x32\n\x06\x63ipher\x18\x04 \x01(\x0e\x32\".opi_api.storage.v1.EncryptionType:=\xea\x41:\n&storage.opiproject.org/EncryptedVolume\x12\x10volumes/{volume}\"\x7f\n\x1c\x43reateEncryptedVolumeRequest\x12\x42\n\x10\x65ncrypted_volume\x18\x01 \x01(\x0b\x32#.opi_api.storage.v1.EncryptedVolumeB\x03\xe0\x41\x02\x12\x1b\n\x13\x65ncrypted_volume_id\x18\x02 \x01(\t\"o\n\x1c\x44\x65leteEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa5\x01\n\x1cUpdateEncryptedVolumeRequest\x12=\n\x10\x65ncrypted_volume\x18\x01 \x01(\x0b\x32#.opi_api.storage.v1.EncryptedVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"\x80\x01\n\x1bListEncryptedVolumesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"w\n\x1cListEncryptedVolumesResponse\x12>\n\x11\x65ncrypted_volumes\x18\x01 \x03(\x0b\x32#.opi_api.storage.v1.EncryptedVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x19GetEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\"W\n\x1bStatsEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\"N\n\x1cStatsEncryptedVolumeResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xab\x08\n\x1aMiddleendEncryptionService\x12\xbc\x01\n\x15\x43reateEncryptedVolume\x12\x30.opi_api.storage.v1.CreateEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"L\x82\xd3\xe4\x93\x02\x1f\"\x0b/v1/volumes:\x10\x65ncrypted_volume\xda\x41$encrypted_volume,encrypted_volume_id\x12\x8f\x01\n\x15\x44\x65leteEncryptedVolume\x12\x30.opi_api.storage.v1.DeleteEncryptedVolumeRequest\x1a\x16.google.protobuf.Empty\",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=EncryptedVolumes/*}\xda\x41\x04name\x12\xcf\x01\n\x15UpdateEncryptedVolume\x12\x30.opi_api.storage.v1.UpdateEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"_\x82\xd3\xe4\x93\x02:2&/v1/{encrypted_volume.name=subsystems}:\x10\x65ncrypted_volume\xda\x41\x1c\x65ncrypted_volume,update_mask\x12\xa0\x01\n\x14ListEncryptedVolumes\x12/.opi_api.storage.v1.ListEncryptedVolumesRequest\x1a\x30.opi_api.storage.v1.ListEncryptedVolumesResponse\"%\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/{parent=volumes}\xda\x41\x06parent\x12\x96\x01\n\x12GetEncryptedVolume\x12-.opi_api.storage.v1.GetEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=EncryptedVolumes/*}\xda\x41\x04name\x12\xad\x01\n\x14StatsEncryptedVolume\x12/.opi_api.storage.v1.StatsEncryptedVolumeRequest\x1a\x30.opi_api.storage.v1.StatsEncryptedVolumeResponse\"2\x82\xd3\xe4\x93\x02%\x12#/v1/{name=EncryptedVolumes/*}:stats\xda\x41\x04nameBg\n\x12opi_api.storage.v1B\x18MiddleendEncryptionProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -33,8 +32,8 @@ _LISTENCRYPTEDVOLUMESREQUEST = DESCRIPTOR.message_types_by_name['ListEncryptedVolumesRequest'] _LISTENCRYPTEDVOLUMESRESPONSE = DESCRIPTOR.message_types_by_name['ListEncryptedVolumesResponse'] _GETENCRYPTEDVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['GetEncryptedVolumeRequest'] -_ENCRYPTEDVOLUMESTATSREQUEST = DESCRIPTOR.message_types_by_name['EncryptedVolumeStatsRequest'] -_ENCRYPTEDVOLUMESTATSRESPONSE = DESCRIPTOR.message_types_by_name['EncryptedVolumeStatsResponse'] +_STATSENCRYPTEDVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['StatsEncryptedVolumeRequest'] +_STATSENCRYPTEDVOLUMERESPONSE = DESCRIPTOR.message_types_by_name['StatsEncryptedVolumeResponse'] EncryptedVolume = _reflection.GeneratedProtocolMessageType('EncryptedVolume', (_message.Message,), { 'DESCRIPTOR' : _ENCRYPTEDVOLUME, '__module__' : 'middleend_encryption_pb2' @@ -84,25 +83,29 @@ }) _sym_db.RegisterMessage(GetEncryptedVolumeRequest) -EncryptedVolumeStatsRequest = _reflection.GeneratedProtocolMessageType('EncryptedVolumeStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _ENCRYPTEDVOLUMESTATSREQUEST, +StatsEncryptedVolumeRequest = _reflection.GeneratedProtocolMessageType('StatsEncryptedVolumeRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSENCRYPTEDVOLUMEREQUEST, '__module__' : 'middleend_encryption_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.EncryptedVolumeStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsEncryptedVolumeRequest) }) -_sym_db.RegisterMessage(EncryptedVolumeStatsRequest) +_sym_db.RegisterMessage(StatsEncryptedVolumeRequest) -EncryptedVolumeStatsResponse = _reflection.GeneratedProtocolMessageType('EncryptedVolumeStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _ENCRYPTEDVOLUMESTATSRESPONSE, +StatsEncryptedVolumeResponse = _reflection.GeneratedProtocolMessageType('StatsEncryptedVolumeResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSENCRYPTEDVOLUMERESPONSE, '__module__' : 'middleend_encryption_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.EncryptedVolumeStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsEncryptedVolumeResponse) }) -_sym_db.RegisterMessage(EncryptedVolumeStatsResponse) +_sym_db.RegisterMessage(StatsEncryptedVolumeResponse) _MIDDLEENDENCRYPTIONSERVICE = DESCRIPTOR.services_by_name['MiddleendEncryptionService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\030MiddleendEncryptionProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _ENCRYPTEDVOLUME.fields_by_name['name']._options = None + _ENCRYPTEDVOLUME.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A$\n\"opi_api.storage.v1/EncryptedVolume' + _ENCRYPTEDVOLUME.fields_by_name['volume_name_ref']._options = None + _ENCRYPTEDVOLUME.fields_by_name['volume_name_ref']._serialized_options = b'\340A\002' _ENCRYPTEDVOLUME._options = None _ENCRYPTEDVOLUME._serialized_options = b'\352A:\n&storage.opiproject.org/EncryptedVolume\022\020volumes/{volume}' _CREATEENCRYPTEDVOLUMEREQUEST.fields_by_name['encrypted_volume']._options = None @@ -113,34 +116,38 @@ _LISTENCRYPTEDVOLUMESREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A$\n\"opi_api.storage.v1/EncryptedVolume' _GETENCRYPTEDVOLUMEREQUEST.fields_by_name['name']._options = None _GETENCRYPTEDVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A$\n\"opi_api.storage.v1/EncryptedVolume' + _STATSENCRYPTEDVOLUMEREQUEST.fields_by_name['name']._options = None + _STATSENCRYPTEDVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A$\n\"opi_api.storage.v1/EncryptedVolume' _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['CreateEncryptedVolume']._options = None _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['CreateEncryptedVolume']._serialized_options = b'\202\323\344\223\002\037\"\013/v1/volumes:\020encrypted_volume\332A$encrypted_volume,encrypted_volume_id' _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['DeleteEncryptedVolume']._options = None - _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['DeleteEncryptedVolume']._serialized_options = b'\202\323\344\223\002\035*\033/v1/{name=volumes}/{volume}\332A\004name' + _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['DeleteEncryptedVolume']._serialized_options = b'\202\323\344\223\002\037*\035/v1/{name=EncryptedVolumes/*}\332A\004name' _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['UpdateEncryptedVolume']._options = None _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['UpdateEncryptedVolume']._serialized_options = b'\202\323\344\223\002:2&/v1/{encrypted_volume.name=subsystems}:\020encrypted_volume\332A\034encrypted_volume,update_mask' _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['ListEncryptedVolumes']._options = None _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['ListEncryptedVolumes']._serialized_options = b'\202\323\344\223\002\026\022\024/v1/{parent=volumes}\332A\006parent' _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['GetEncryptedVolume']._options = None - _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['GetEncryptedVolume']._serialized_options = b'\202\323\344\223\002 \022\036/v1/{name=subsystems}/{volume}\332A\004name' - _ENCRYPTEDVOLUME._serialized_start=264 - _ENCRYPTEDVOLUME._serialized_end=472 - _CREATEENCRYPTEDVOLUMEREQUEST._serialized_start=474 - _CREATEENCRYPTEDVOLUMEREQUEST._serialized_end=601 - _DELETEENCRYPTEDVOLUMEREQUEST._serialized_start=603 - _DELETEENCRYPTEDVOLUMEREQUEST._serialized_end=714 - _UPDATEENCRYPTEDVOLUMEREQUEST._serialized_start=717 - _UPDATEENCRYPTEDVOLUMEREQUEST._serialized_end=882 - _LISTENCRYPTEDVOLUMESREQUEST._serialized_start=885 - _LISTENCRYPTEDVOLUMESREQUEST._serialized_end=1013 - _LISTENCRYPTEDVOLUMESRESPONSE._serialized_start=1015 - _LISTENCRYPTEDVOLUMESRESPONSE._serialized_end=1134 - _GETENCRYPTEDVOLUMEREQUEST._serialized_start=1136 - _GETENCRYPTEDVOLUMEREQUEST._serialized_end=1221 - _ENCRYPTEDVOLUMESTATSREQUEST._serialized_start=1223 - _ENCRYPTEDVOLUMESTATSREQUEST._serialized_end=1311 - _ENCRYPTEDVOLUMESTATSRESPONSE._serialized_start=1314 - _ENCRYPTEDVOLUMESTATSRESPONSE._serialized_end=1451 - _MIDDLEENDENCRYPTIONSERVICE._serialized_start=1454 - _MIDDLEENDENCRYPTIONSERVICE._serialized_end=2469 + _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['GetEncryptedVolume']._serialized_options = b'\202\323\344\223\002\037\022\035/v1/{name=EncryptedVolumes/*}\332A\004name' + _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['StatsEncryptedVolume']._options = None + _MIDDLEENDENCRYPTIONSERVICE.methods_by_name['StatsEncryptedVolume']._serialized_options = b'\202\323\344\223\002%\022#/v1/{name=EncryptedVolumes/*}:stats\332A\004name' + _ENCRYPTEDVOLUME._serialized_start=246 + _ENCRYPTEDVOLUME._serialized_end=482 + _CREATEENCRYPTEDVOLUMEREQUEST._serialized_start=484 + _CREATEENCRYPTEDVOLUMEREQUEST._serialized_end=611 + _DELETEENCRYPTEDVOLUMEREQUEST._serialized_start=613 + _DELETEENCRYPTEDVOLUMEREQUEST._serialized_end=724 + _UPDATEENCRYPTEDVOLUMEREQUEST._serialized_start=727 + _UPDATEENCRYPTEDVOLUMEREQUEST._serialized_end=892 + _LISTENCRYPTEDVOLUMESREQUEST._serialized_start=895 + _LISTENCRYPTEDVOLUMESREQUEST._serialized_end=1023 + _LISTENCRYPTEDVOLUMESRESPONSE._serialized_start=1025 + _LISTENCRYPTEDVOLUMESRESPONSE._serialized_end=1144 + _GETENCRYPTEDVOLUMEREQUEST._serialized_start=1146 + _GETENCRYPTEDVOLUMEREQUEST._serialized_end=1231 + _STATSENCRYPTEDVOLUMEREQUEST._serialized_start=1233 + _STATSENCRYPTEDVOLUMEREQUEST._serialized_end=1320 + _STATSENCRYPTEDVOLUMERESPONSE._serialized_start=1322 + _STATSENCRYPTEDVOLUMERESPONSE._serialized_end=1400 + _MIDDLEENDENCRYPTIONSERVICE._serialized_start=1403 + _MIDDLEENDENCRYPTIONSERVICE._serialized_end=2470 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/middleend_encryption_pb2_grpc.py b/storage/v1alpha1/gen/python/middleend_encryption_pb2_grpc.py index a2440206..8752b84f 100644 --- a/storage/v1alpha1/gen/python/middleend_encryption_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/middleend_encryption_pb2_grpc.py @@ -41,10 +41,10 @@ def __init__(self, channel): request_serializer=middleend__encryption__pb2.GetEncryptedVolumeRequest.SerializeToString, response_deserializer=middleend__encryption__pb2.EncryptedVolume.FromString, ) - self.EncryptedVolumeStats = channel.unary_unary( - '/opi_api.storage.v1.MiddleendEncryptionService/EncryptedVolumeStats', - request_serializer=middleend__encryption__pb2.EncryptedVolumeStatsRequest.SerializeToString, - response_deserializer=middleend__encryption__pb2.EncryptedVolumeStatsResponse.FromString, + self.StatsEncryptedVolume = channel.unary_unary( + '/opi_api.storage.v1.MiddleendEncryptionService/StatsEncryptedVolume', + request_serializer=middleend__encryption__pb2.StatsEncryptedVolumeRequest.SerializeToString, + response_deserializer=middleend__encryption__pb2.StatsEncryptedVolumeResponse.FromString, ) @@ -82,7 +82,7 @@ def GetEncryptedVolume(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def EncryptedVolumeStats(self, request, context): + def StatsEncryptedVolume(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -116,10 +116,10 @@ def add_MiddleendEncryptionServiceServicer_to_server(servicer, server): request_deserializer=middleend__encryption__pb2.GetEncryptedVolumeRequest.FromString, response_serializer=middleend__encryption__pb2.EncryptedVolume.SerializeToString, ), - 'EncryptedVolumeStats': grpc.unary_unary_rpc_method_handler( - servicer.EncryptedVolumeStats, - request_deserializer=middleend__encryption__pb2.EncryptedVolumeStatsRequest.FromString, - response_serializer=middleend__encryption__pb2.EncryptedVolumeStatsResponse.SerializeToString, + 'StatsEncryptedVolume': grpc.unary_unary_rpc_method_handler( + servicer.StatsEncryptedVolume, + request_deserializer=middleend__encryption__pb2.StatsEncryptedVolumeRequest.FromString, + response_serializer=middleend__encryption__pb2.StatsEncryptedVolumeResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -218,7 +218,7 @@ def GetEncryptedVolume(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def EncryptedVolumeStats(request, + def StatsEncryptedVolume(request, target, options=(), channel_credentials=None, @@ -228,8 +228,8 @@ def EncryptedVolumeStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.MiddleendEncryptionService/EncryptedVolumeStats', - middleend__encryption__pb2.EncryptedVolumeStatsRequest.SerializeToString, - middleend__encryption__pb2.EncryptedVolumeStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.MiddleendEncryptionService/StatsEncryptedVolume', + middleend__encryption__pb2.StatsEncryptedVolumeRequest.SerializeToString, + middleend__encryption__pb2.StatsEncryptedVolumeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/middleend_qos_volume_pb2.py b/storage/v1alpha1/gen/python/middleend_qos_volume_pb2.py index afa959bb..0b0cae6c 100644 --- a/storage/v1alpha1/gen/python/middleend_qos_volume_pb2.py +++ b/storage/v1alpha1/gen/python/middleend_qos_volume_pb2.py @@ -22,7 +22,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1amiddleend_qos_volume.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\xe5\x01\n\tQosVolume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\tvolume_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12/\n\tmin_limit\x18\x03 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\x04 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit:7\xea\x41\x34\n storage.opiproject.org/QosVolume\x12\x10volumes/{volume}\"g\n\x16\x43reateQosVolumeRequest\x12\x36\n\nqos_volume\x18\x02 \x01(\x0b\x32\x1d.opi_api.storage.v1.QosVolumeB\x03\xe0\x41\x02\x12\x15\n\rqos_volume_id\x18\x03 \x01(\t\"c\n\x16\x44\x65leteQosVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x93\x01\n\x16UpdateQosVolumeRequest\x12\x31\n\nqos_volume\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.QosVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"t\n\x15ListQosVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListQosVolumesResponse\x12\x32\n\x0bqos_volumes\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.QosVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetQosVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\"H\n\x15QosVolumeStatsRequest\x12/\n\tvolume_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"r\n\x16QosVolumeStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12.\n\x05stats\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\xf6\x06\n\x19MiddleendQosVolumeService\x12\x98\x01\n\x0f\x43reateQosVolume\x12*.opi_api.storage.v1.CreateQosVolumeRequest\x1a\x1d.opi_api.storage.v1.QosVolume\":\x82\xd3\xe4\x93\x02\x19\"\x0b/v1/volumes:\nqos_volume\xda\x41\x18qos_volume,qos_volume_id\x12\x87\x01\n\x0f\x44\x65leteQosVolume\x12*.opi_api.storage.v1.DeleteQosVolumeRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=qosvolumes}/{qosvolume}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateQosVolume\x12*.opi_api.storage.v1.UpdateQosVolumeRequest\x1a\x1d.opi_api.storage.v1.QosVolume\"M\x82\xd3\xe4\x93\x02.2 /v1/{qos_volume.name=subsystems}:\nqos_volume\xda\x41\x16qos_volume,update_mask\x12\x8e\x01\n\x0eListQosVolumes\x12).opi_api.storage.v1.ListQosVolumesRequest\x1a*.opi_api.storage.v1.ListQosVolumesResponse\"%\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/{parent=volumes}\xda\x41\x06parent\x12\x89\x01\n\x0cGetQosVolume\x12\'.opi_api.storage.v1.GetQosVolumeRequest\x1a\x1d.opi_api.storage.v1.QosVolume\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=subsystems}/{qos_volume}\xda\x41\x04name\x12i\n\x0eQosVolumeStats\x12).opi_api.storage.v1.QosVolumeStatsRequest\x1a*.opi_api.storage.v1.QosVolumeStatsResponse\"\x00\x42\x66\n\x12opi_api.storage.v1B\x17MiddleendQosVolumeProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1amiddleend_qos_volume.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\"\x8e\x02\n\tQosVolume\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\x12/\n\tvolume_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12/\n\tmin_limit\x18\x03 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit\x12/\n\tmax_limit\x18\x04 \x01(\x0b\x32\x1c.opi_api.storage.v1.QosLimit:7\xea\x41\x34\n storage.opiproject.org/QosVolume\x12\x10volumes/{volume}\"g\n\x16\x43reateQosVolumeRequest\x12\x36\n\nqos_volume\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.QosVolumeB\x03\xe0\x41\x02\x12\x15\n\rqos_volume_id\x18\x02 \x01(\t\"c\n\x16\x44\x65leteQosVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x93\x01\n\x16UpdateQosVolumeRequest\x12\x31\n\nqos_volume\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.QosVolume\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"t\n\x15ListQosVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListQosVolumesResponse\x12\x32\n\x0bqos_volumes\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.QosVolume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetQosVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\"K\n\x15StatsQosVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/QosVolume\"H\n\x16StatsQosVolumeResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats2\x8c\x07\n\x19MiddleendQosVolumeService\x12\x98\x01\n\x0f\x43reateQosVolume\x12*.opi_api.storage.v1.CreateQosVolumeRequest\x1a\x1d.opi_api.storage.v1.QosVolume\":\x82\xd3\xe4\x93\x02\x19\"\x0b/v1/volumes:\nqos_volume\xda\x41\x18qos_volume,qos_volume_id\x12}\n\x0f\x44\x65leteQosVolume\x12*.opi_api.storage.v1.DeleteQosVolumeRequest\x1a\x16.google.protobuf.Empty\"&\x82\xd3\xe4\x93\x02\x19*\x17/v1/{name=QosVolumes/*}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateQosVolume\x12*.opi_api.storage.v1.UpdateQosVolumeRequest\x1a\x1d.opi_api.storage.v1.QosVolume\"M\x82\xd3\xe4\x93\x02.2 /v1/{qos_volume.name=subsystems}:\nqos_volume\xda\x41\x16qos_volume,update_mask\x12\x8e\x01\n\x0eListQosVolumes\x12).opi_api.storage.v1.ListQosVolumesRequest\x1a*.opi_api.storage.v1.ListQosVolumesResponse\"%\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/{parent=volumes}\xda\x41\x06parent\x12~\n\x0cGetQosVolume\x12\'.opi_api.storage.v1.GetQosVolumeRequest\x1a\x1d.opi_api.storage.v1.QosVolume\"&\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{name=QosVolumes/*}\xda\x41\x04name\x12\x95\x01\n\x0eStatsQosVolume\x12).opi_api.storage.v1.StatsQosVolumeRequest\x1a*.opi_api.storage.v1.StatsQosVolumeResponse\",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=QosVolumes/*}:stats\xda\x41\x04nameBf\n\x12opi_api.storage.v1B\x17MiddleendQosVolumeProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -33,8 +33,8 @@ _LISTQOSVOLUMESREQUEST = DESCRIPTOR.message_types_by_name['ListQosVolumesRequest'] _LISTQOSVOLUMESRESPONSE = DESCRIPTOR.message_types_by_name['ListQosVolumesResponse'] _GETQOSVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['GetQosVolumeRequest'] -_QOSVOLUMESTATSREQUEST = DESCRIPTOR.message_types_by_name['QosVolumeStatsRequest'] -_QOSVOLUMESTATSRESPONSE = DESCRIPTOR.message_types_by_name['QosVolumeStatsResponse'] +_STATSQOSVOLUMEREQUEST = DESCRIPTOR.message_types_by_name['StatsQosVolumeRequest'] +_STATSQOSVOLUMERESPONSE = DESCRIPTOR.message_types_by_name['StatsQosVolumeResponse'] QosVolume = _reflection.GeneratedProtocolMessageType('QosVolume', (_message.Message,), { 'DESCRIPTOR' : _QOSVOLUME, '__module__' : 'middleend_qos_volume_pb2' @@ -84,25 +84,27 @@ }) _sym_db.RegisterMessage(GetQosVolumeRequest) -QosVolumeStatsRequest = _reflection.GeneratedProtocolMessageType('QosVolumeStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _QOSVOLUMESTATSREQUEST, +StatsQosVolumeRequest = _reflection.GeneratedProtocolMessageType('StatsQosVolumeRequest', (_message.Message,), { + 'DESCRIPTOR' : _STATSQOSVOLUMEREQUEST, '__module__' : 'middleend_qos_volume_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.QosVolumeStatsRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsQosVolumeRequest) }) -_sym_db.RegisterMessage(QosVolumeStatsRequest) +_sym_db.RegisterMessage(StatsQosVolumeRequest) -QosVolumeStatsResponse = _reflection.GeneratedProtocolMessageType('QosVolumeStatsResponse', (_message.Message,), { - 'DESCRIPTOR' : _QOSVOLUMESTATSRESPONSE, +StatsQosVolumeResponse = _reflection.GeneratedProtocolMessageType('StatsQosVolumeResponse', (_message.Message,), { + 'DESCRIPTOR' : _STATSQOSVOLUMERESPONSE, '__module__' : 'middleend_qos_volume_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.QosVolumeStatsResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.StatsQosVolumeResponse) }) -_sym_db.RegisterMessage(QosVolumeStatsResponse) +_sym_db.RegisterMessage(StatsQosVolumeResponse) _MIDDLEENDQOSVOLUMESERVICE = DESCRIPTOR.services_by_name['MiddleendQosVolumeService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\027MiddleendQosVolumeProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _QOSVOLUME.fields_by_name['name']._options = None + _QOSVOLUME.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\036\n\034opi_api.storage.v1/QosVolume' _QOSVOLUME._options = None _QOSVOLUME._serialized_options = b'\352A4\n storage.opiproject.org/QosVolume\022\020volumes/{volume}' _CREATEQOSVOLUMEREQUEST.fields_by_name['qos_volume']._options = None @@ -113,34 +115,38 @@ _LISTQOSVOLUMESREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume' _GETQOSVOLUMEREQUEST.fields_by_name['name']._options = None _GETQOSVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume' + _STATSQOSVOLUMEREQUEST.fields_by_name['name']._options = None + _STATSQOSVOLUMEREQUEST.fields_by_name['name']._serialized_options = b'\340A\002\372A\036\n\034opi_api.storage.v1/QosVolume' _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['CreateQosVolume']._options = None _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['CreateQosVolume']._serialized_options = b'\202\323\344\223\002\031\"\013/v1/volumes:\nqos_volume\332A\030qos_volume,qos_volume_id' _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['DeleteQosVolume']._options = None - _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['DeleteQosVolume']._serialized_options = b'\202\323\344\223\002#*!/v1/{name=qosvolumes}/{qosvolume}\332A\004name' + _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['DeleteQosVolume']._serialized_options = b'\202\323\344\223\002\031*\027/v1/{name=QosVolumes/*}\332A\004name' _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['UpdateQosVolume']._options = None _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['UpdateQosVolume']._serialized_options = b'\202\323\344\223\002.2 /v1/{qos_volume.name=subsystems}:\nqos_volume\332A\026qos_volume,update_mask' _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['ListQosVolumes']._options = None _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['ListQosVolumes']._serialized_options = b'\202\323\344\223\002\026\022\024/v1/{parent=volumes}\332A\006parent' _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['GetQosVolume']._options = None - _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['GetQosVolume']._serialized_options = b'\202\323\344\223\002$\022\"/v1/{name=subsystems}/{qos_volume}\332A\004name' + _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['GetQosVolume']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{name=QosVolumes/*}\332A\004name' + _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['StatsQosVolume']._options = None + _MIDDLEENDQOSVOLUMESERVICE.methods_by_name['StatsQosVolume']._serialized_options = b'\202\323\344\223\002\037\022\035/v1/{name=QosVolumes/*}:stats\332A\004name' _QOSVOLUME._serialized_start=264 - _QOSVOLUME._serialized_end=493 - _CREATEQOSVOLUMEREQUEST._serialized_start=495 - _CREATEQOSVOLUMEREQUEST._serialized_end=598 - _DELETEQOSVOLUMEREQUEST._serialized_start=600 - _DELETEQOSVOLUMEREQUEST._serialized_end=699 - _UPDATEQOSVOLUMEREQUEST._serialized_start=702 - _UPDATEQOSVOLUMEREQUEST._serialized_end=849 - _LISTQOSVOLUMESREQUEST._serialized_start=851 - _LISTQOSVOLUMESREQUEST._serialized_end=967 - _LISTQOSVOLUMESRESPONSE._serialized_start=969 - _LISTQOSVOLUMESRESPONSE._serialized_end=1070 - _GETQOSVOLUMEREQUEST._serialized_start=1072 - _GETQOSVOLUMEREQUEST._serialized_end=1145 - _QOSVOLUMESTATSREQUEST._serialized_start=1147 - _QOSVOLUMESTATSREQUEST._serialized_end=1219 - _QOSVOLUMESTATSRESPONSE._serialized_start=1221 - _QOSVOLUMESTATSRESPONSE._serialized_end=1335 - _MIDDLEENDQOSVOLUMESERVICE._serialized_start=1338 - _MIDDLEENDQOSVOLUMESERVICE._serialized_end=2224 + _QOSVOLUME._serialized_end=534 + _CREATEQOSVOLUMEREQUEST._serialized_start=536 + _CREATEQOSVOLUMEREQUEST._serialized_end=639 + _DELETEQOSVOLUMEREQUEST._serialized_start=641 + _DELETEQOSVOLUMEREQUEST._serialized_end=740 + _UPDATEQOSVOLUMEREQUEST._serialized_start=743 + _UPDATEQOSVOLUMEREQUEST._serialized_end=890 + _LISTQOSVOLUMESREQUEST._serialized_start=892 + _LISTQOSVOLUMESREQUEST._serialized_end=1008 + _LISTQOSVOLUMESRESPONSE._serialized_start=1010 + _LISTQOSVOLUMESRESPONSE._serialized_end=1111 + _GETQOSVOLUMEREQUEST._serialized_start=1113 + _GETQOSVOLUMEREQUEST._serialized_end=1186 + _STATSQOSVOLUMEREQUEST._serialized_start=1188 + _STATSQOSVOLUMEREQUEST._serialized_end=1263 + _STATSQOSVOLUMERESPONSE._serialized_start=1265 + _STATSQOSVOLUMERESPONSE._serialized_end=1337 + _MIDDLEENDQOSVOLUMESERVICE._serialized_start=1340 + _MIDDLEENDQOSVOLUMESERVICE._serialized_end=2248 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/middleend_qos_volume_pb2_grpc.py b/storage/v1alpha1/gen/python/middleend_qos_volume_pb2_grpc.py index 9ba50366..fd0bc269 100644 --- a/storage/v1alpha1/gen/python/middleend_qos_volume_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/middleend_qos_volume_pb2_grpc.py @@ -40,10 +40,10 @@ def __init__(self, channel): request_serializer=middleend__qos__volume__pb2.GetQosVolumeRequest.SerializeToString, response_deserializer=middleend__qos__volume__pb2.QosVolume.FromString, ) - self.QosVolumeStats = channel.unary_unary( - '/opi_api.storage.v1.MiddleendQosVolumeService/QosVolumeStats', - request_serializer=middleend__qos__volume__pb2.QosVolumeStatsRequest.SerializeToString, - response_deserializer=middleend__qos__volume__pb2.QosVolumeStatsResponse.FromString, + self.StatsQosVolume = channel.unary_unary( + '/opi_api.storage.v1.MiddleendQosVolumeService/StatsQosVolume', + request_serializer=middleend__qos__volume__pb2.StatsQosVolumeRequest.SerializeToString, + response_deserializer=middleend__qos__volume__pb2.StatsQosVolumeResponse.FromString, ) @@ -80,7 +80,7 @@ def GetQosVolume(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def QosVolumeStats(self, request, context): + def StatsQosVolume(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -114,10 +114,10 @@ def add_MiddleendQosVolumeServiceServicer_to_server(servicer, server): request_deserializer=middleend__qos__volume__pb2.GetQosVolumeRequest.FromString, response_serializer=middleend__qos__volume__pb2.QosVolume.SerializeToString, ), - 'QosVolumeStats': grpc.unary_unary_rpc_method_handler( - servicer.QosVolumeStats, - request_deserializer=middleend__qos__volume__pb2.QosVolumeStatsRequest.FromString, - response_serializer=middleend__qos__volume__pb2.QosVolumeStatsResponse.SerializeToString, + 'StatsQosVolume': grpc.unary_unary_rpc_method_handler( + servicer.StatsQosVolume, + request_deserializer=middleend__qos__volume__pb2.StatsQosVolumeRequest.FromString, + response_serializer=middleend__qos__volume__pb2.StatsQosVolumeResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -215,7 +215,7 @@ def GetQosVolume(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def QosVolumeStats(request, + def StatsQosVolume(request, target, options=(), channel_credentials=None, @@ -225,8 +225,8 @@ def QosVolumeStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.MiddleendQosVolumeService/QosVolumeStats', - middleend__qos__volume__pb2.QosVolumeStatsRequest.SerializeToString, - middleend__qos__volume__pb2.QosVolumeStatsResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.MiddleendQosVolumeService/StatsQosVolume', + middleend__qos__volume__pb2.StatsQosVolumeRequest.SerializeToString, + middleend__qos__volume__pb2.StatsQosVolumeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/middleend_encryption.proto b/storage/v1alpha1/middleend_encryption.proto index aa52c63b..3273cc1e 100755 --- a/storage/v1alpha1/middleend_encryption.proto +++ b/storage/v1alpha1/middleend_encryption.proto @@ -12,7 +12,6 @@ option java_outer_classname = "MiddleendEncryptionProto"; 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"; @@ -32,7 +31,7 @@ service MiddleendEncryptionService { } rpc DeleteEncryptedVolume (DeleteEncryptedVolumeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=volumes}/{volume}" + delete: "/v1/{name=EncryptedVolumes/*}" }; option (google.api.method_signature) = "name"; } @@ -51,11 +50,16 @@ service MiddleendEncryptionService { } rpc GetEncryptedVolume (GetEncryptedVolumeRequest) returns (EncryptedVolume) { option (google.api.http) = { - get: "/v1/{name=subsystems}/{volume}" + get: "/v1/{name=EncryptedVolumes/*}" + }; + option (google.api.method_signature) = "name"; + } + rpc StatsEncryptedVolume (StatsEncryptedVolumeRequest) returns (StatsEncryptedVolumeResponse) { + option (google.api.http) = { + get: "/v1/{name=EncryptedVolumes/*}:stats" }; option (google.api.method_signature) = "name"; } - rpc EncryptedVolumeStats (EncryptedVolumeStatsRequest) returns (EncryptedVolumeStatsResponse) {} } message EncryptedVolume { @@ -67,10 +71,14 @@ message EncryptedVolume { // 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/EncryptedVolume" + ]; // The back/middle-end volume to back this volume - common.v1.ObjectKey volume_id = 2; + string volume_name_ref = 2 [ (google.api.field_behavior) = REQUIRED ]; // Key to be used for encryption bytes key = 3; @@ -81,8 +89,8 @@ message EncryptedVolume { } message CreateEncryptedVolumeRequest { - EncryptedVolume encrypted_volume = 2 [(google.api.field_behavior) = REQUIRED]; - string encrypted_volume_id = 3; + EncryptedVolume encrypted_volume = 1 [(google.api.field_behavior) = REQUIRED]; + string encrypted_volume_id = 2; } message DeleteEncryptedVolumeRequest { @@ -126,11 +134,13 @@ message GetEncryptedVolumeRequest { ]; } -message EncryptedVolumeStatsRequest { - common.v1.ObjectKey encrypted_volume_id = 1; +message StatsEncryptedVolumeRequest { + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference).type = "opi_api.storage.v1/EncryptedVolume" + ]; } -message EncryptedVolumeStatsResponse { - common.v1.ObjectKey encrypted_volume_id = 1; - VolumeStats stats = 2; +message StatsEncryptedVolumeResponse { + VolumeStats stats = 1; } diff --git a/storage/v1alpha1/middleend_qos_volume.proto b/storage/v1alpha1/middleend_qos_volume.proto index a7290b13..0c8b7388 100644 --- a/storage/v1alpha1/middleend_qos_volume.proto +++ b/storage/v1alpha1/middleend_qos_volume.proto @@ -29,7 +29,7 @@ service MiddleendQosVolumeService { } rpc DeleteQosVolume(DeleteQosVolumeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete : "/v1/{name=qosvolumes}/{qosvolume}" + delete: "/v1/{name=QosVolumes/*}" }; option (google.api.method_signature) = "name"; } @@ -48,11 +48,16 @@ service MiddleendQosVolumeService { } rpc GetQosVolume(GetQosVolumeRequest) returns (QosVolume) { option (google.api.http) = { - get : "/v1/{name=subsystems}/{qos_volume}" + get: "/v1/{name=QosVolumes/*}" + }; + option (google.api.method_signature) = "name"; + } + rpc StatsQosVolume(StatsQosVolumeRequest) returns (StatsQosVolumeResponse) { + option (google.api.http) = { + get: "/v1/{name=QosVolumes/*}:stats" }; option (google.api.method_signature) = "name"; } - rpc QosVolumeStats(QosVolumeStatsRequest) returns (QosVolumeStatsResponse) {} } message QosVolume { @@ -64,7 +69,11 @@ message QosVolume { // 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/QosVolume" + ]; // Middleend/backend volume to apply QoS on common.v1.ObjectKey volume_id = 2; @@ -74,8 +83,8 @@ message QosVolume { } message CreateQosVolumeRequest { - QosVolume qos_volume = 2 [ (google.api.field_behavior) = REQUIRED ]; - string qos_volume_id = 3; + QosVolume qos_volume = 1 [ (google.api.field_behavior) = REQUIRED ]; + string qos_volume_id = 2; } message DeleteQosVolumeRequest { @@ -120,11 +129,13 @@ message GetQosVolumeRequest { ]; } -message QosVolumeStatsRequest { - common.v1.ObjectKey volume_id = 1; +message StatsQosVolumeRequest { + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference).type = "opi_api.storage.v1/QosVolume" + ]; } -message QosVolumeStatsResponse { - common.v1.ObjectKey id = 1; - VolumeStats stats = 2; +message StatsQosVolumeResponse { + VolumeStats stats = 1; }