From 51824646c6d1ba627e56550e8a389a57e0900f9c Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Fri, 9 Dec 2022 17:50:24 +0200 Subject: [PATCH] [storage] define statistics object Signed-off-by: Boris Glimcher --- storage/v1alpha1/autogen.md | 46 +- storage/v1alpha1/backend_aio.proto | 3 +- storage/v1alpha1/backend_null.proto | 3 +- storage/v1alpha1/backend_nvme_tcp.proto | 3 +- storage/v1alpha1/frontend_nvme_pcie.proto | 6 +- storage/v1alpha1/frontend_virtio_blk.proto | 2 +- storage/v1alpha1/frontend_virtio_scsi.proto | 6 +- storage/v1alpha1/gen/cpp/backend_aio.pb.cc | 216 ++-- storage/v1alpha1/gen/cpp/backend_aio.pb.h | 138 ++- storage/v1alpha1/gen/cpp/backend_null.pb.cc | 208 ++-- storage/v1alpha1/gen/cpp/backend_null.pb.h | 138 ++- .../v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc | 252 ++--- .../v1alpha1/gen/cpp/backend_nvme_tcp.pb.h | 130 ++- .../v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc | 541 +++++----- .../v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h | 401 ++++--- .../gen/cpp/frontend_virtio_blk.pb.cc | 155 +-- .../v1alpha1/gen/cpp/frontend_virtio_blk.pb.h | 137 ++- .../gen/cpp/frontend_virtio_scsi.pb.cc | 571 +++++----- .../gen/cpp/frontend_virtio_scsi.pb.h | 411 +++++--- storage/v1alpha1/gen/cpp/middleend.pb.cc | 163 +-- storage/v1alpha1/gen/cpp/middleend.pb.h | 137 ++- storage/v1alpha1/gen/cpp/opicommon.pb.cc | 436 +++++++- storage/v1alpha1/gen/cpp/opicommon.pb.h | 426 +++++++- storage/v1alpha1/gen/go/backend_aio.pb.go | 338 +++--- storage/v1alpha1/gen/go/backend_null.pb.go | 311 +++--- .../v1alpha1/gen/go/backend_nvme_tcp.pb.go | 482 ++++----- .../v1alpha1/gen/go/frontend_nvme_pcie.pb.go | 789 +++++++------- .../v1alpha1/gen/go/frontend_virtio_blk.pb.go | 178 ++-- .../gen/go/frontend_virtio_scsi.pb.go | 818 +++++++------- storage/v1alpha1/gen/go/middleend.pb.go | 182 ++-- storage/v1alpha1/gen/go/opicommon.pb.go | 188 +++- .../v1/AioControllerStatsResponse.java | 236 +++-- .../AioControllerStatsResponseOrBuilder.java | 15 +- .../opi_api/storage/v1/BackendAioProto.java | 113 +- .../opi_api/storage/v1/BackendNullProto.java | 105 +- .../storage/v1/BackendNvmeTcpProto.java | 171 +-- .../v1/EncryptedVolumeStatsResponse.java | 236 +++-- ...EncryptedVolumeStatsResponseOrBuilder.java | 15 +- .../storage/v1/FrontendNvmePcieProto.java | 267 ++--- .../storage/v1/FrontendVirtioBlkProto.java | 55 +- .../storage/v1/FrontendVirtioScsiProto.java | 275 ++--- .../opi_api/storage/v1/MiddleendProto.java | 63 +- .../v1/NVMeControllerStatsResponse.java | 236 +++-- .../NVMeControllerStatsResponseOrBuilder.java | 15 +- .../v1/NVMeNamespaceStatsResponse.java | 236 +++-- .../NVMeNamespaceStatsResponseOrBuilder.java | 15 +- .../v1/NVMeSubsystemStatsResponse.java | 236 +++-- .../NVMeSubsystemStatsResponseOrBuilder.java | 15 +- .../v1/NVMfRemoteControllerStatsResponse.java | 236 +++-- ...emoteControllerStatsResponseOrBuilder.java | 15 +- .../storage/v1/NullDebugStatsResponse.java | 236 +++-- .../v1/NullDebugStatsResponseOrBuilder.java | 15 +- .../opi_api/storage/v1/OpiCommonProto.java | 35 +- .../storage/v1/VirtioBlkStatsResponse.java | 236 +++-- .../v1/VirtioBlkStatsResponseOrBuilder.java | 15 +- .../v1/VirtioScsiControllerStatsResponse.java | 236 +++-- ...oScsiControllerStatsResponseOrBuilder.java | 15 +- .../v1/VirtioScsiLunStatsResponse.java | 236 +++-- .../VirtioScsiLunStatsResponseOrBuilder.java | 15 +- .../v1/VirtioScsiTargetStatsResponse.java | 236 +++-- ...irtioScsiTargetStatsResponseOrBuilder.java | 15 +- .../java/opi_api/storage/v1/VolumeStats.java | 995 ++++++++++++++++++ .../storage/v1/VolumeStatsOrBuilder.java | 63 ++ .../v1alpha1/gen/python/backend_aio_pb2.py | 43 +- .../v1alpha1/gen/python/backend_null_pb2.py | 43 +- .../gen/python/backend_nvme_tcp_pb2.py | 59 +- .../gen/python/frontend_nvme_pcie_pb2.py | 80 +- .../gen/python/frontend_virtio_blk_pb2.py | 8 +- .../gen/python/frontend_virtio_scsi_pb2.py | 72 +- storage/v1alpha1/gen/python/middleend_pb2.py | 10 +- storage/v1alpha1/gen/python/opicommon_pb2.py | 16 +- storage/v1alpha1/middleend.proto | 2 +- storage/v1alpha1/opicommon.proto | 12 + 73 files changed, 8150 insertions(+), 4913 deletions(-) create mode 100644 storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStats.java create mode 100644 storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStatsOrBuilder.java diff --git a/storage/v1alpha1/autogen.md b/storage/v1alpha1/autogen.md index 338e7368..343dfd34 100644 --- a/storage/v1alpha1/autogen.md +++ b/storage/v1alpha1/autogen.md @@ -149,6 +149,7 @@ - [opicommon.proto](#opicommon-proto) - [PciEndpoint](#opi_api-storage-v1-PciEndpoint) + - [VolumeStats](#opi_api-storage-v1-VolumeStats) - [EncryptionType](#opi_api-storage-v1-EncryptionType) @@ -212,7 +213,7 @@ | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -484,7 +485,7 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -698,7 +699,7 @@ Back End (network-facing) APIs. This is debug interface for null block devices. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -1102,7 +1103,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -1185,7 +1186,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -1266,7 +1267,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -1545,7 +1546,7 @@ Front End (host-facing) APIs. Mostly used for NVMe/PCIe emulation and host prese | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -1927,7 +1928,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -1976,7 +1977,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -2023,7 +2024,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -2147,7 +2148,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | encrypted_volume_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| stats | [VolumeStats](#opi_api-storage-v1-VolumeStats) | | | @@ -2272,6 +2273,29 @@ confusion with storage "devices". + + + +### VolumeStats + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| bytes_read | [int32](#int32) | | | +| read_ops_count | [int32](#int32) | | | +| bytes_written | [int32](#int32) | | | +| write_ops_count | [int32](#int32) | | | +| bytes_unmapped | [int32](#int32) | | | +| unmap_ops_count | [int32](#int32) | | | +| read_latency_ticks | [int32](#int32) | | | +| write_latency_ticks | [int32](#int32) | | | +| unmap_latency_ticks | [int32](#int32) | | | + + + + + diff --git a/storage/v1alpha1/backend_aio.proto b/storage/v1alpha1/backend_aio.proto index a7f0b456..c5714661 100644 --- a/storage/v1alpha1/backend_aio.proto +++ b/storage/v1alpha1/backend_aio.proto @@ -18,6 +18,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/field_mask.proto"; import "object_key.proto"; +import "opicommon.proto"; import "uuid.proto"; // Back End (network-facing) APIs. This service is for AIO generic kernel block device. @@ -117,6 +118,6 @@ message AioControllerStatsRequest { message AioControllerStatsResponse { common.v1.ObjectKey handle = 1; - string stats = 2; + VolumeStats stats = 2; } diff --git a/storage/v1alpha1/backend_null.proto b/storage/v1alpha1/backend_null.proto index c0fba1cd..5407a325 100755 --- a/storage/v1alpha1/backend_null.proto +++ b/storage/v1alpha1/backend_null.proto @@ -18,6 +18,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/field_mask.proto"; import "object_key.proto"; +import "opicommon.proto"; import "uuid.proto"; // Back End (network-facing) APIs. This is debug interface for null block devices. @@ -113,6 +114,6 @@ message NullDebugStatsRequest { message NullDebugStatsResponse { common.v1.ObjectKey handle = 1; - string stats = 2; + VolumeStats stats = 2; } diff --git a/storage/v1alpha1/backend_nvme_tcp.proto b/storage/v1alpha1/backend_nvme_tcp.proto index 7333dffa..20e08014 100755 --- a/storage/v1alpha1/backend_nvme_tcp.proto +++ b/storage/v1alpha1/backend_nvme_tcp.proto @@ -18,6 +18,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/field_mask.proto"; import "object_key.proto"; +import "opicommon.proto"; // Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered by this service. service NVMfRemoteControllerService { @@ -130,7 +131,7 @@ message NVMfRemoteControllerStatsRequest { } message NVMfRemoteControllerStatsResponse { - string stats = 1; + VolumeStats stats = 1; } enum NvmeTransportType { diff --git a/storage/v1alpha1/frontend_nvme_pcie.proto b/storage/v1alpha1/frontend_nvme_pcie.proto index bcfde33c..1e842e67 100755 --- a/storage/v1alpha1/frontend_nvme_pcie.proto +++ b/storage/v1alpha1/frontend_nvme_pcie.proto @@ -291,7 +291,7 @@ message NVMeSubsystemStatsRequest { } message NVMeSubsystemStatsResponse { - string stats = 1; + VolumeStats stats = 1; } message CreateNVMeControllerRequest { @@ -343,7 +343,7 @@ message NVMeControllerStatsRequest { message NVMeControllerStatsResponse { common.v1.ObjectKey id = 1; - string stats = 2; + VolumeStats stats = 2; } message CreateNVMeNamespaceRequest { @@ -395,7 +395,7 @@ message NVMeNamespaceStatsRequest { message NVMeNamespaceStatsResponse { common.v1.ObjectKey id = 1; - string stats = 2; + VolumeStats stats = 2; } // Namespace Administrative States diff --git a/storage/v1alpha1/frontend_virtio_blk.proto b/storage/v1alpha1/frontend_virtio_blk.proto index 345de9b2..0ebbd7c0 100755 --- a/storage/v1alpha1/frontend_virtio_blk.proto +++ b/storage/v1alpha1/frontend_virtio_blk.proto @@ -117,5 +117,5 @@ message VirtioBlkStatsRequest { message VirtioBlkStatsResponse { common.v1.ObjectKey id = 1; - string stats = 2; + VolumeStats stats = 2; } diff --git a/storage/v1alpha1/frontend_virtio_scsi.proto b/storage/v1alpha1/frontend_virtio_scsi.proto index 12bd508a..436edecd 100755 --- a/storage/v1alpha1/frontend_virtio_scsi.proto +++ b/storage/v1alpha1/frontend_virtio_scsi.proto @@ -197,7 +197,7 @@ message VirtioScsiTargetStatsRequest { message VirtioScsiTargetStatsResponse { common.v1.ObjectKey id = 1; - string stats = 2; + VolumeStats stats = 2; } message CreateVirtioScsiControllerRequest { @@ -249,7 +249,7 @@ message VirtioScsiControllerStatsRequest { message VirtioScsiControllerStatsResponse { common.v1.ObjectKey id = 1; - string stats = 2; + VolumeStats stats = 2; } message CreateVirtioScsiLunRequest { @@ -302,5 +302,5 @@ message VirtioScsiLunStatsRequest { message VirtioScsiLunStatsResponse { common.v1.ObjectKey id = 1; - string stats = 2; + VolumeStats stats = 2; } diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc index 1db5932e..817f25e9 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc @@ -127,8 +127,8 @@ struct AioControllerStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerStatsRequestDefaultTypeInternal _AioControllerStatsRequest_default_instance_; constexpr AioControllerStatsResponse::AioControllerStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , handle_(nullptr){} + : handle_(nullptr) + , stats_(nullptr){} struct AioControllerStatsResponseDefaultTypeInternal { constexpr AioControllerStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -251,64 +251,65 @@ 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\nuui" - "d.proto\"\240\001\n\rAioController\022,\n\006handle\030\001 \001(" - "\0132\034.opi_api.common.v1.ObjectKey\022\022\n\nblock" - "_size\030\002 \001(\003\022\024\n\014blocks_count\030\003 \001(\003\022%\n\004uui" - "d\030\004 \001(\0132\027.opi_api.common.v1.Uuid\022\020\n\010file" - "name\030\005 \001(\t\"\261\001\n\032CreateAioControllerReques" - "t\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" - "ge.v1/AioController\022>\n\016aio_controller\030\002 " - "\001(\0132!.opi_api.storage.v1.AioControllerB\003" - "\340A\002\022\031\n\021aio_controller_id\030\003 \001(\t\"T\n\032Delete" + "/field_mask.proto\032\020object_key.proto\032\017opi" + "common.proto\032\nuuid.proto\"\240\001\n\rAioControll" + "er\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.O" + "bjectKey\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_c" + "ount\030\003 \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.commo" + "n.v1.Uuid\022\020\n\010filename\030\005 \001(\t\"\261\001\n\032CreateAi" + "oControllerRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372" + "A\"\n opi_api.storage.v1/AioController\022>\n\016" + "aio_controller\030\002 \001(\0132!.opi_api.storage.v" + "1.AioControllerB\003\340A\002\022\031\n\021aio_controller_i" + "d\030\003 \001(\t\"T\n\032DeleteAioControllerRequest\0226\n" + "\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/" + "AioController\"\210\001\n\032UpdateAioControllerReq" + "uest\0229\n\016aio_controller\030\001 \001(\0132!.opi_api.s" + "torage.v1.AioController\022/\n\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMask\"|\n\031List" + "AioControllersRequest\0228\n\006parent\030\001 \001(\tB(\340" + "A\002\372A\"\n opi_api.storage.v1/AioController\022" + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q" + "\n\032ListAioControllersResponse\022:\n\017aio_cont" + "rollers\030\001 \003(\0132!.opi_api.storage.v1.AioCo" + "ntroller\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\027Get" "AioControllerRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" - "A\"\n opi_api.storage.v1/AioController\"\210\001\n" - "\032UpdateAioControllerRequest\0229\n\016aio_contr" - "oller\030\001 \001(\0132!.opi_api.storage.v1.AioCont" - "roller\022/\n\013update_mask\030\002 \001(\0132\032.google.pro" - "tobuf.FieldMask\"|\n\031ListAioControllersReq" - "uest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.st" - "orage.v1/AioController\022\021\n\tpage_size\030\002 \001(" - "\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListAioControll" - "ersResponse\022:\n\017aio_controllers\030\001 \003(\0132!.o" - "pi_api.storage.v1.AioController\022\027\n\017next_" - "page_token\030\002 \001(\t\"Q\n\027GetAioControllerRequ" - "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" - "ge.v1/AioController\"I\n\031AioControllerStat" - "sRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.commo" - "n.v1.ObjectKey\"Y\n\032AioControllerStatsResp" - "onse\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1" - ".ObjectKey\022\r\n\005stats\030\002 \001(\t2\342\007\n\024AioControl" - "lerService\022\303\001\n\023CreateAioController\022..opi" - "_api.storage.v1.CreateAioControllerReque" - "st\032!.opi_api.storage.v1.AioController\"Y\202" - "\323\344\223\002)\"\027/v1/{parent=subsystems}:\016aio_cont" - "roller\332A\'parent,aio_controller,aio_contr" - "oller_id\022\217\001\n\023DeleteAioController\022..opi_a" - "pi.storage.v1.DeleteAioControllerRequest" - "\032\026.google.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{n" - "ame=subsystems}/{subsystem}\332A\004name\022\303\001\n\023U" - "pdateAioController\022..opi_api.storage.v1." - "UpdateAioControllerRequest\032!.opi_api.sto" - "rage.v1.AioController\"Y\202\323\344\223\00262$/v1/{aio_" - "controller.name=subsystems}:\016aio_control" - "ler\332A\032aio_controller,update_mask\022\235\001\n\022Lis" - "tAioControllers\022-.opi_api.storage.v1.Lis" - "tAioControllersRequest\032..opi_api.storage" - ".v1.ListAioControllersResponse\"(\202\323\344\223\002\031\022\027" - "/v1/{parent=subsystems}\332A\006parent\022\224\001\n\020Get" - "AioController\022+.opi_api.storage.v1.GetAi" - "oControllerRequest\032!.opi_api.storage.v1." - "AioController\"0\202\323\344\223\002#\022!/v1/{name=subsyst" - "ems}/{subsystem}\332A\004name\022u\n\022AioController" - "Stats\022-.opi_api.storage.v1.AioController" - "StatsRequest\032..opi_api.storage.v1.AioCon" - "trollerStatsResponse\"\000B^\n\022opi_api.storag" - "e.v1B\017BackendAioProtoP\001Z5github.com/opip" - "roject/opi-api/storage/v1alpha1/gen/gob\006" - "proto3" + "A\"\n opi_api.storage.v1/AioController\"I\n\031" + "AioControllerStatsRequest\022,\n\006handle\030\001 \001(" + "\0132\034.opi_api.common.v1.ObjectKey\"z\n\032AioCo" + "ntrollerStatsResponse\022,\n\006handle\030\001 \001(\0132\034." + "opi_api.common.v1.ObjectKey\022.\n\005stats\030\002 \001" + "(\0132\037.opi_api.storage.v1.VolumeStats2\342\007\n\024" + "AioControllerService\022\303\001\n\023CreateAioContro" + "ller\022..opi_api.storage.v1.CreateAioContr" + "ollerRequest\032!.opi_api.storage.v1.AioCon" + "troller\"Y\202\323\344\223\002)\"\027/v1/{parent=subsystems}" + ":\016aio_controller\332A\'parent,aio_controller" + ",aio_controller_id\022\217\001\n\023DeleteAioControll" + "er\022..opi_api.storage.v1.DeleteAioControl" + "lerRequest\032\026.google.protobuf.Empty\"0\202\323\344\223" + "\002#*!/v1/{name=subsystems}/{subsystem}\332A\004" + "name\022\303\001\n\023UpdateAioController\022..opi_api.s" + "torage.v1.UpdateAioControllerRequest\032!.o" + "pi_api.storage.v1.AioController\"Y\202\323\344\223\00262" + "$/v1/{aio_controller.name=subsystems}:\016a" + "io_controller\332A\032aio_controller,update_ma" + "sk\022\235\001\n\022ListAioControllers\022-.opi_api.stor" + "age.v1.ListAioControllersRequest\032..opi_a" + "pi.storage.v1.ListAioControllersResponse" + "\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pare" + "nt\022\224\001\n\020GetAioController\022+.opi_api.storag" + "e.v1.GetAioControllerRequest\032!.opi_api.s" + "torage.v1.AioController\"0\202\323\344\223\002#\022!/v1/{na" + "me=subsystems}/{subsystem}\332A\004name\022u\n\022Aio" + "ControllerStats\022-.opi_api.storage.v1.Aio" + "ControllerStatsRequest\032..opi_api.storage" + ".v1.AioControllerStatsResponse\"\000B^\n\022opi_" + "api.storage.v1B\017BackendAioProtoP\001Z5githu" + "b.com/opiproject/opi-api/storage/v1alpha" + "1/gen/gob\006proto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[8] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[9] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, &::descriptor_table_google_2fapi_2fclient_2eproto, &::descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto, @@ -316,12 +317,13 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor &::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, 2406, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto", - &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 8, 9, + false, false, 2456, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto", + &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 9, 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, }; @@ -2363,18 +2365,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerStatsRequest::GetMetadata() const class AioControllerStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const AioControllerStatsResponse* msg); }; const ::opi_api::common::v1::ObjectKey& AioControllerStatsResponse::_Internal::handle(const AioControllerStatsResponse* msg) { return *msg->handle_; } +const ::opi_api::storage::v1::VolumeStats& +AioControllerStatsResponse::_Internal::stats(const AioControllerStatsResponse* msg) { + return *msg->stats_; +} void AioControllerStatsResponse::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } +void AioControllerStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} AioControllerStatsResponse::AioControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2387,28 +2400,24 @@ AioControllerStatsResponse::AioControllerStatsResponse(::PROTOBUF_NAMESPACE_ID:: AioControllerStatsResponse::AioControllerStatsResponse(const AioControllerStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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.AioControllerStatsResponse) } inline void AioControllerStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -handle_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&handle_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&handle_)) + sizeof(stats_)); } AioControllerStatsResponse::~AioControllerStatsResponse() { @@ -2420,8 +2429,8 @@ AioControllerStatsResponse::~AioControllerStatsResponse() { inline void AioControllerStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete handle_; + if (this != internal_default_instance()) delete stats_; } void AioControllerStatsResponse::ArenaDtor(void* object) { @@ -2440,11 +2449,14 @@ void AioControllerStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2462,12 +2474,10 @@ const char* AioControllerStatsResponse::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.AioControllerStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2509,14 +2519,12 @@ uint8_t* AioControllerStatsResponse::_InternalSerialize( 1, _Internal::handle(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.AioControllerStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2535,13 +2543,6 @@ size_t AioControllerStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey handle = 1; if (this->_internal_has_handle()) { total_size += 1 + @@ -2549,6 +2550,13 @@ size_t AioControllerStatsResponse::ByteSizeLong() const { *handle_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -2571,12 +2579,12 @@ void AioControllerStatsResponse::MergeFrom(const AioControllerStatsResponse& fro uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -2593,15 +2601,13 @@ bool AioControllerStatsResponse::IsInitialized() const { void AioControllerStatsResponse::InternalSwap(AioControllerStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(handle_, other->handle_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(AioControllerStatsResponse, stats_) + + sizeof(AioControllerStatsResponse::stats_) + - PROTOBUF_FIELD_OFFSET(AioControllerStatsResponse, handle_)>( + reinterpret_cast(&handle_), + reinterpret_cast(&other->handle_)); } ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.h b/storage/v1alpha1/gen/cpp/backend_aio.pb.h index 737e014c..69580bff 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.h @@ -38,6 +38,7 @@ #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) #include @@ -1614,23 +1615,9 @@ class AioControllerStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kHandleFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey handle = 1; bool has_handle() const; private: @@ -1649,6 +1636,24 @@ class AioControllerStatsResponse final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats); + ::opi_api::storage::v1::VolumeStats* unsafe_arena_release_stats(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStatsResponse) private: class _Internal; @@ -1656,8 +1661,8 @@ class AioControllerStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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; }; @@ -2822,54 +2827,89 @@ inline void AioControllerStatsResponse::set_allocated_handle(::opi_api::common:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerStatsResponse.handle) } -// string stats = 2; -inline void AioControllerStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool AioControllerStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool AioControllerStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& AioControllerStatsResponse::_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 std::string& AioControllerStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& AioControllerStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void AioControllerStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.AioControllerStatsResponse.stats) -} -inline std::string* AioControllerStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerStatsResponse.stats) - return _s; +inline void AioControllerStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerStatsResponse.stats) } -inline const std::string& AioControllerStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* AioControllerStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void AioControllerStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* AioControllerStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* AioControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* AioControllerStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* AioControllerStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* AioControllerStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerStatsResponse.stats) + return _msg; } -inline void AioControllerStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void AioControllerStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.cc b/storage/v1alpha1/gen/cpp/backend_null.pb.cc index f14493e0..48e4cf37 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_null.pb.cc @@ -126,8 +126,8 @@ struct NullDebugStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugStatsRequestDefaultTypeInternal _NullDebugStatsRequest_default_instance_; constexpr NullDebugStatsResponse::NullDebugStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , handle_(nullptr){} + : handle_(nullptr) + , stats_(nullptr){} struct NullDebugStatsResponseDefaultTypeInternal { constexpr NullDebugStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -249,59 +249,60 @@ 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\nuu" - "id.proto\"\212\001\n\tNullDebug\022,\n\006handle\030\001 \001(\0132\034" - ".opi_api.common.v1.ObjectKey\022\022\n\nblock_si" - "ze\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\"\235\001\n\026Create" - "NullDebugRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036" - "\n\034opi_api.storage.v1/NullDebug\0226\n\nnull_d" - "ebug\030\002 \001(\0132\035.opi_api.storage.v1.NullDebu" - "gB\003\340A\002\022\025\n\rnull_debug_id\030\003 \001(\t\"L\n\026DeleteN" - "ullDebugRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034o" - "pi_api.storage.v1/NullDebug\"|\n\026UpdateNul" - "lDebugRequest\0221\n\nnull_debug\030\001 \001(\0132\035.opi_" - "api.storage.v1.NullDebug\022/\n\013update_mask\030" - "\002 \001(\0132\032.google.protobuf.FieldMask\"t\n\025Lis" - "tNullDebugsRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372" - "A\036\n\034opi_api.storage.v1/NullDebug\022\021\n\tpage" - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\026ListN" - "ullDebugsResponse\0222\n\013null_debugs\030\001 \003(\0132\035" - ".opi_api.storage.v1.NullDebug\022\027\n\017next_pa" - "ge_token\030\002 \001(\t\"I\n\023GetNullDebugRequest\0222\n" - "\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/" - "NullDebug\"E\n\025NullDebugStatsRequest\022,\n\006ha" - "ndle\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" - "\"U\n\026NullDebugStatsResponse\022,\n\006handle\030\001 \001" - "(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005stat" - "s\030\002 \001(\t2\202\007\n\020NullDebugService\022\253\001\n\017CreateN" - "ullDebug\022*.opi_api.storage.v1.CreateNull" - "DebugRequest\032\035.opi_api.storage.v1.NullDe" - "bug\"M\202\323\344\223\002%\"\027/v1/{parent=subsystems}:\nnu" - "ll_debug\332A\037parent,null_debug,null_debug_" - "id\022\207\001\n\017DeleteNullDebug\022*.opi_api.storage" - ".v1.DeleteNullDebugRequest\032\026.google.prot" - "obuf.Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems" - "}/{subsystem}\332A\004name\022\253\001\n\017UpdateNullDebug" - "\022*.opi_api.storage.v1.UpdateNullDebugReq" - "uest\032\035.opi_api.storage.v1.NullDebug\"M\202\323\344" - "\223\002.2 /v1/{null_debug.name=subsystems}:\nn" - "ull_debug\332A\026null_debug,update_mask\022\221\001\n\016L" - "istNullDebugs\022).opi_api.storage.v1.ListN" - "ullDebugsRequest\032*.opi_api.storage.v1.Li" - "stNullDebugsResponse\"(\202\323\344\223\002\031\022\027/v1/{paren" - "t=subsystems}\332A\006parent\022\210\001\n\014GetNullDebug\022" - "\'.opi_api.storage.v1.GetNullDebugRequest" - "\032\035.opi_api.storage.v1.NullDebug\"0\202\323\344\223\002#\022" - "!/v1/{name=subsystems}/{subsystem}\332A\004nam" - "e\022i\n\016NullDebugStats\022).opi_api.storage.v1" - ".NullDebugStatsRequest\032*.opi_api.storage" - ".v1.NullDebugStatsResponse\"\000B_\n\022opi_api." - "storage.v1B\020BackendNullProtoP\001Z5github.c" - "om/opiproject/opi-api/storage/v1alpha1/g" - "en/gob\006proto3" + "f/field_mask.proto\032\020object_key.proto\032\017op" + "icommon.proto\032\nuuid.proto\"\212\001\n\tNullDebug\022" + ",\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obje" + "ctKey\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_coun" + "t\030\003 \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.common.v" + "1.Uuid\"\235\001\n\026CreateNullDebugRequest\0224\n\006par" + "ent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/Nu" + "llDebug\0226\n\nnull_debug\030\002 \001(\0132\035.opi_api.st" + "orage.v1.NullDebugB\003\340A\002\022\025\n\rnull_debug_id" + "\030\003 \001(\t\"L\n\026DeleteNullDebugRequest\0222\n\004name" + "\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/NullD" + "ebug\"|\n\026UpdateNullDebugRequest\0221\n\nnull_d" + "ebug\030\001 \001(\0132\035.opi_api.storage.v1.NullDebu" + "g\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + ".FieldMask\"t\n\025ListNullDebugsRequest\0224\n\006p" + "arent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/" + "NullDebug\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + "en\030\003 \001(\t\"e\n\026ListNullDebugsResponse\0222\n\013nu" + "ll_debugs\030\001 \003(\0132\035.opi_api.storage.v1.Nul" + "lDebug\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetNu" + "llDebugRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034op" + "i_api.storage.v1/NullDebug\"E\n\025NullDebugS" + "tatsRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.co" + "mmon.v1.ObjectKey\"v\n\026NullDebugStatsRespo" + "nse\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1." + "ObjectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.stora" + "ge.v1.VolumeStats2\202\007\n\020NullDebugService\022\253" + "\001\n\017CreateNullDebug\022*.opi_api.storage.v1." + "CreateNullDebugRequest\032\035.opi_api.storage" + ".v1.NullDebug\"M\202\323\344\223\002%\"\027/v1/{parent=subsy" + "stems}:\nnull_debug\332A\037parent,null_debug,n" + "ull_debug_id\022\207\001\n\017DeleteNullDebug\022*.opi_a" + "pi.storage.v1.DeleteNullDebugRequest\032\026.g" + "oogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=" + "subsystems}/{subsystem}\332A\004name\022\253\001\n\017Updat" + "eNullDebug\022*.opi_api.storage.v1.UpdateNu" + "llDebugRequest\032\035.opi_api.storage.v1.Null" + "Debug\"M\202\323\344\223\002.2 /v1/{null_debug.name=subs" + "ystems}:\nnull_debug\332A\026null_debug,update_" + "mask\022\221\001\n\016ListNullDebugs\022).opi_api.storag" + "e.v1.ListNullDebugsRequest\032*.opi_api.sto" + "rage.v1.ListNullDebugsResponse\"(\202\323\344\223\002\031\022\027" + "/v1/{parent=subsystems}\332A\006parent\022\210\001\n\014Get" + "NullDebug\022\'.opi_api.storage.v1.GetNullDe" + "bugRequest\032\035.opi_api.storage.v1.NullDebu" + "g\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsys" + "tem}\332A\004name\022i\n\016NullDebugStats\022).opi_api." + "storage.v1.NullDebugStatsRequest\032*.opi_a" + "pi.storage.v1.NullDebugStatsResponse\"\000B_" + "\n\022opi_api.storage.v1B\020BackendNullProtoP\001" + "Z5github.com/opiproject/opi-api/storage/" + "v1alpha1/gen/gob\006proto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[8] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[9] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, &::descriptor_table_google_2fapi_2fclient_2eproto, &::descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto, @@ -309,12 +310,13 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor &::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, 2213, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto", - &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 8, 9, + false, false, 2263, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto", + &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 9, 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, }; @@ -2305,18 +2307,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugStatsRequest::GetMetadata() const { class NullDebugStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& handle(const NullDebugStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const NullDebugStatsResponse* msg); }; const ::opi_api::common::v1::ObjectKey& NullDebugStatsResponse::_Internal::handle(const NullDebugStatsResponse* msg) { return *msg->handle_; } +const ::opi_api::storage::v1::VolumeStats& +NullDebugStatsResponse::_Internal::stats(const NullDebugStatsResponse* msg) { + return *msg->stats_; +} void NullDebugStatsResponse::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } +void NullDebugStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} NullDebugStatsResponse::NullDebugStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2329,28 +2342,24 @@ NullDebugStatsResponse::NullDebugStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* a NullDebugStatsResponse::NullDebugStatsResponse(const NullDebugStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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.NullDebugStatsResponse) } inline void NullDebugStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -handle_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&handle_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&handle_)) + sizeof(stats_)); } NullDebugStatsResponse::~NullDebugStatsResponse() { @@ -2362,8 +2371,8 @@ NullDebugStatsResponse::~NullDebugStatsResponse() { inline void NullDebugStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete handle_; + if (this != internal_default_instance()) delete stats_; } void NullDebugStatsResponse::ArenaDtor(void* object) { @@ -2382,11 +2391,14 @@ void NullDebugStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2404,12 +2416,10 @@ const char* NullDebugStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.NullDebugStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2451,14 +2461,12 @@ uint8_t* NullDebugStatsResponse::_InternalSerialize( 1, _Internal::handle(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.NullDebugStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2477,13 +2485,6 @@ size_t NullDebugStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey handle = 1; if (this->_internal_has_handle()) { total_size += 1 + @@ -2491,6 +2492,13 @@ size_t NullDebugStatsResponse::ByteSizeLong() const { *handle_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -2513,12 +2521,12 @@ void NullDebugStatsResponse::MergeFrom(const NullDebugStatsResponse& from) { uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -2535,15 +2543,13 @@ bool NullDebugStatsResponse::IsInitialized() const { void NullDebugStatsResponse::InternalSwap(NullDebugStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(handle_, other->handle_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(NullDebugStatsResponse, stats_) + + sizeof(NullDebugStatsResponse::stats_) + - PROTOBUF_FIELD_OFFSET(NullDebugStatsResponse, handle_)>( + reinterpret_cast(&handle_), + reinterpret_cast(&other->handle_)); } ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.h b/storage/v1alpha1/gen/cpp/backend_null.pb.h index a50f11d7..179c03be 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_null.pb.h @@ -38,6 +38,7 @@ #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) #include @@ -1598,23 +1599,9 @@ class NullDebugStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kHandleFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey handle = 1; bool has_handle() const; private: @@ -1633,6 +1620,24 @@ class NullDebugStatsResponse final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats); + ::opi_api::storage::v1::VolumeStats* unsafe_arena_release_stats(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugStatsResponse) private: class _Internal; @@ -1640,8 +1645,8 @@ class NullDebugStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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; }; @@ -2755,54 +2760,89 @@ inline void NullDebugStatsResponse::set_allocated_handle(::opi_api::common::v1:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugStatsResponse.handle) } -// string stats = 2; -inline void NullDebugStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool NullDebugStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool NullDebugStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& NullDebugStatsResponse::_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 std::string& NullDebugStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& NullDebugStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void NullDebugStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NullDebugStatsResponse.stats) -} -inline std::string* NullDebugStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugStatsResponse.stats) - return _s; +inline void NullDebugStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugStatsResponse.stats) } -inline const std::string& NullDebugStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* NullDebugStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void NullDebugStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* NullDebugStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* NullDebugStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* NullDebugStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* NullDebugStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* NullDebugStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugStatsResponse.stats) + return _msg; } -inline void NullDebugStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void NullDebugStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc index 733460b7..5b602ff7 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc @@ -149,7 +149,7 @@ struct NVMfRemoteControllerStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerStatsRequestDefaultTypeInternal _NVMfRemoteControllerStatsRequest_default_instance_; constexpr NVMfRemoteControllerStatsResponse::NVMfRemoteControllerStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} + : stats_(nullptr){} struct NVMfRemoteControllerStatsResponseDefaultTypeInternal { constexpr NVMfRemoteControllerStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -288,92 +288,93 @@ 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\020object_key.proto" - "\"\361\002\n\024NVMfRemoteController\022(\n\002id\030\001 \001(\0132\034." - "opi_api.common.v1.ObjectKey\0225\n\006trtype\030\002 " - "\001(\0162%.opi_api.storage.v1.NvmeTransportTy" - "pe\0225\n\006adrfam\030\003 \001(\0162%.opi_api.storage.v1." - "NvmeAddressFamily\022\016\n\006traddr\030\004 \001(\t\022\017\n\007trs" - "vcid\030\005 \001(\003\022\016\n\006subnqn\030\006 \001(\t\022\r\n\005hdgst\030\007 \001(" - "\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmultipath\030\t \001(\0162!.op" - "i_api.storage.v1.NvmeMultipath\022\027\n\017io_que" - "ues_count\030\n \001(\003\022\022\n\nqueue_size\030\013 \001(\003\022\017\n\007h" - "ostnqn\030\014 \001(\t\"\330\001\n!CreateNVMfRemoteControl" - "lerRequest\022\?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_" - "api.storage.v1/NVMfRemoteController\022N\n\027n" - "v_mf_remote_controller\030\002 \001(\0132(.opi_api.s" - "torage.v1.NVMfRemoteControllerB\003\340A\002\022\"\n\032n" - "v_mf_remote_controller_id\030\003 \001(\t\"b\n!Delet" - "eNVMfRemoteControllerRequest\022=\n\004name\030\001 \001" - "(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemot" - "eController\"\237\001\n!UpdateNVMfRemoteControll" - "erRequest\022I\n\027nv_mf_remote_controller\030\001 \001" - "(\0132(.opi_api.storage.v1.NVMfRemoteContro" - "ller\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" - "buf.FieldMask\"\212\001\n ListNVMfRemoteControll" - "ersRequest\022\?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_" - "api.storage.v1/NVMfRemoteController\022\021\n\tp" - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\210\001\n!L" - "istNVMfRemoteControllersResponse\022J\n\030nv_m" - "f_remote_controllers\030\001 \003(\0132(.opi_api.sto" - "rage.v1.NVMfRemoteController\022\027\n\017next_pag" - "e_token\030\002 \001(\t\"_\n\036GetNVMfRemoteController" - "Request\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.s" - "torage.v1/NVMfRemoteController\"L\n NVMfRe" - "moteControllerResetRequest\022(\n\002id\030\001 \001(\0132\034" - ".opi_api.common.v1.ObjectKey\"L\n NVMfRemo" - "teControllerStatsRequest\022(\n\002id\030\001 \001(\0132\034.o" - "pi_api.common.v1.ObjectKey\"2\n!NVMfRemote" - "ControllerStatsResponse\022\r\n\005stats\030\001 \001(\t*\264" - "\001\n\021NvmeTransportType\022#\n\037NVME_TRANSPORT_T" - "YPE_UNSPECIFIED\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001" - "\022\027\n\023NVME_TRANSPORT_PCIE\020\002\022\027\n\023NVME_TRANSP" - "ORT_RDMA\020\003\022\026\n\022NVME_TRANSPORT_TCP\020\004\022\031\n\025NV" - "ME_TRANSPORT_CUSTOM\020\005*\250\001\n\021NvmeAddressFam" - "ily\022#\n\037NVME_ADDRESS_FAMILY_UNSPECIFIED\020\000" - "\022\024\n\020NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF_ADRFAM_IP" - "V6\020\002\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NVMF_ADRFAM_" - "FC\020\004\022\032\n\026NVMF_ADRFAM_INTRA_HOST\020\005*\206\001\n\rNvm" - "eMultipath\022\036\n\032NVME_MULTIPATH_UNSPECIFIED" - "\020\000\022\032\n\026NVME_MULTIPATH_DISABLE\020\001\022\033\n\027NVME_M" - "ULTIPATH_FAILOVER\020\002\022\034\n\030NVME_MULTIPATH_MU" - "LTIPATH\020\0032\204\n\n\033NVMfRemoteControllerServic" - "e\022\363\001\n\032CreateNVMfRemoteController\0225.opi_a" - "pi.storage.v1.CreateNVMfRemoteController" - "Request\032(.opi_api.storage.v1.NVMfRemoteC" - "ontroller\"t\202\323\344\223\0022\"\027/v1/{parent=subsystem" - "s}:\027nv_mf_remote_controller\332A9parent,nv_" - "mf_remote_controller,nv_mf_remote_contro" - "ller_id\022\235\001\n\032DeleteNVMfRemoteController\0225" - ".opi_api.storage.v1.DeleteNVMfRemoteCont" - "rollerRequest\032\026.google.protobuf.Empty\"0\202" - "\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}" - "\332A\004name\022\363\001\n\032UpdateNVMfRemoteController\0225" - ".opi_api.storage.v1.UpdateNVMfRemoteCont" - "rollerRequest\032(.opi_api.storage.v1.NVMfR" - "emoteController\"t\202\323\344\223\002H2-/v1/{nv_mf_remo" - "te_controller.name=subsystems}:\027nv_mf_re" - "mote_controller\332A#nv_mf_remote_controlle" - "r,update_mask\022\262\001\n\031ListNVMfRemoteControll" - "ers\0224.opi_api.storage.v1.ListNVMfRemoteC" - "ontrollersRequest\0325.opi_api.storage.v1.L" - "istNVMfRemoteControllersResponse\"(\202\323\344\223\002\031" - "\022\027/v1/{parent=subsystems}\332A\006parent\022\251\001\n\027G" - "etNVMfRemoteController\0222.opi_api.storage" - ".v1.GetNVMfRemoteControllerRequest\032(.opi" - "_api.storage.v1.NVMfRemoteController\"0\202\323" - "\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332" - "A\004name\022k\n\031NVMfRemoteControllerReset\0224.op" - "i_api.storage.v1.NVMfRemoteControllerRes" - "etRequest\032\026.google.protobuf.Empty\"\000\022\212\001\n\031" - "NVMfRemoteControllerStats\0224.opi_api.stor" - "age.v1.NVMfRemoteControllerStatsRequest\032" - "5.opi_api.storage.v1.NVMfRemoteControlle" - "rStatsResponse\"\000Bb\n\022opi_api.storage.v1B\023" - "BackendNvmeTcpProtoP\001Z5github.com/opipro" - "ject/opi-api/storage/v1alpha1/gen/gob\006pr" - "oto3" + "\032\017opicommon.proto\"\361\002\n\024NVMfRemoteControll" + "er\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Objec" + "tKey\0225\n\006trtype\030\002 \001(\0162%.opi_api.storage.v" + "1.NvmeTransportType\0225\n\006adrfam\030\003 \001(\0162%.op" + "i_api.storage.v1.NvmeAddressFamily\022\016\n\006tr" + "addr\030\004 \001(\t\022\017\n\007trsvcid\030\005 \001(\003\022\016\n\006subnqn\030\006 " + "\001(\t\022\r\n\005hdgst\030\007 \001(\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmul" + "tipath\030\t \001(\0162!.opi_api.storage.v1.NvmeMu" + "ltipath\022\027\n\017io_queues_count\030\n \001(\003\022\022\n\nqueu" + "e_size\030\013 \001(\003\022\017\n\007hostnqn\030\014 \001(\t\"\330\001\n!Create" + "NVMfRemoteControllerRequest\022\?\n\006parent\030\001 " + "\001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemo" + "teController\022N\n\027nv_mf_remote_controller\030" + "\002 \001(\0132(.opi_api.storage.v1.NVMfRemoteCon" + "trollerB\003\340A\002\022\"\n\032nv_mf_remote_controller_" + "id\030\003 \001(\t\"b\n!DeleteNVMfRemoteControllerRe" + "quest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.sto" + "rage.v1/NVMfRemoteController\"\237\001\n!UpdateN" + "VMfRemoteControllerRequest\022I\n\027nv_mf_remo" + "te_controller\030\001 \001(\0132(.opi_api.storage.v1" + ".NVMfRemoteController\022/\n\013update_mask\030\002 \001" + "(\0132\032.google.protobuf.FieldMask\"\212\001\n ListN" + "VMfRemoteControllersRequest\022\?\n\006parent\030\001 " + "\001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemo" + "teController\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + "token\030\003 \001(\t\"\210\001\n!ListNVMfRemoteController" + "sResponse\022J\n\030nv_mf_remote_controllers\030\001 " + "\003(\0132(.opi_api.storage.v1.NVMfRemoteContr" + "oller\022\027\n\017next_page_token\030\002 \001(\t\"_\n\036GetNVM" + "fRemoteControllerRequest\022=\n\004name\030\001 \001(\tB/" + "\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemoteCon" + "troller\"L\n NVMfRemoteControllerResetRequ" + "est\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Obje" + "ctKey\"L\n NVMfRemoteControllerStatsReques" + "t\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Object" + "Key\"S\n!NVMfRemoteControllerStatsResponse" + "\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1.Vol" + "umeStats*\264\001\n\021NvmeTransportType\022#\n\037NVME_T" + "RANSPORT_TYPE_UNSPECIFIED\020\000\022\025\n\021NVME_TRAN" + "SPORT_FC\020\001\022\027\n\023NVME_TRANSPORT_PCIE\020\002\022\027\n\023N" + "VME_TRANSPORT_RDMA\020\003\022\026\n\022NVME_TRANSPORT_T" + "CP\020\004\022\031\n\025NVME_TRANSPORT_CUSTOM\020\005*\250\001\n\021Nvme" + "AddressFamily\022#\n\037NVME_ADDRESS_FAMILY_UNS" + "PECIFIED\020\000\022\024\n\020NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF" + "_ADRFAM_IPV6\020\002\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NV" + "MF_ADRFAM_FC\020\004\022\032\n\026NVMF_ADRFAM_INTRA_HOST" + "\020\005*\206\001\n\rNvmeMultipath\022\036\n\032NVME_MULTIPATH_U" + "NSPECIFIED\020\000\022\032\n\026NVME_MULTIPATH_DISABLE\020\001" + "\022\033\n\027NVME_MULTIPATH_FAILOVER\020\002\022\034\n\030NVME_MU" + "LTIPATH_MULTIPATH\020\0032\204\n\n\033NVMfRemoteContro" + "llerService\022\363\001\n\032CreateNVMfRemoteControll" + "er\0225.opi_api.storage.v1.CreateNVMfRemote" + "ControllerRequest\032(.opi_api.storage.v1.N" + "VMfRemoteController\"t\202\323\344\223\0022\"\027/v1/{parent" + "=subsystems}:\027nv_mf_remote_controller\332A9" + "parent,nv_mf_remote_controller,nv_mf_rem" + "ote_controller_id\022\235\001\n\032DeleteNVMfRemoteCo" + "ntroller\0225.opi_api.storage.v1.DeleteNVMf" + "RemoteControllerRequest\032\026.google.protobu" + "f.Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems}/{" + "subsystem}\332A\004name\022\363\001\n\032UpdateNVMfRemoteCo" + "ntroller\0225.opi_api.storage.v1.UpdateNVMf" + "RemoteControllerRequest\032(.opi_api.storag" + "e.v1.NVMfRemoteController\"t\202\323\344\223\002H2-/v1/{" + "nv_mf_remote_controller.name=subsystems}" + ":\027nv_mf_remote_controller\332A#nv_mf_remote" + "_controller,update_mask\022\262\001\n\031ListNVMfRemo" + "teControllers\0224.opi_api.storage.v1.ListN" + "VMfRemoteControllersRequest\0325.opi_api.st" + "orage.v1.ListNVMfRemoteControllersRespon" + "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa" + "rent\022\251\001\n\027GetNVMfRemoteController\0222.opi_a" + "pi.storage.v1.GetNVMfRemoteControllerReq" + "uest\032(.opi_api.storage.v1.NVMfRemoteCont" + "roller\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{s" + "ubsystem}\332A\004name\022k\n\031NVMfRemoteController" + "Reset\0224.opi_api.storage.v1.NVMfRemoteCon" + "trollerResetRequest\032\026.google.protobuf.Em" + "pty\"\000\022\212\001\n\031NVMfRemoteControllerStats\0224.op" + "i_api.storage.v1.NVMfRemoteControllerSta" + "tsRequest\0325.opi_api.storage.v1.NVMfRemot" + "eControllerStatsResponse\"\000Bb\n\022opi_api.st" + "orage.v1B\023BackendNvmeTcpProtoP\001Z5github." + "com/opiproject/opi-api/storage/v1alpha1/" + "gen/gob\006proto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnvme_5ftcp_2eproto_deps[7] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnvme_5ftcp_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, &::descriptor_table_google_2fapi_2fclient_2eproto, &::descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto, @@ -381,11 +382,12 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor &::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_backend_5fnvme_5ftcp_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5fnvme_5ftcp_2eproto = { - false, false, 3564, 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, 7, 10, + false, false, 3614, 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, 10, 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, }; @@ -2871,8 +2873,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerStatsRequest::GetMetadata( class NVMfRemoteControllerStatsResponse::_Internal { public: + static const ::opi_api::storage::v1::VolumeStats& stats(const NVMfRemoteControllerStatsResponse* msg); }; +const ::opi_api::storage::v1::VolumeStats& +NVMfRemoteControllerStatsResponse::_Internal::stats(const NVMfRemoteControllerStatsResponse* msg) { + return *msg->stats_; +} +void NVMfRemoteControllerStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} NVMfRemoteControllerStatsResponse::NVMfRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2885,22 +2898,16 @@ NVMfRemoteControllerStatsResponse::NVMfRemoteControllerStatsResponse(::PROTOBUF_ NVMfRemoteControllerStatsResponse::NVMfRemoteControllerStatsResponse(const NVMfRemoteControllerStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - 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.NVMfRemoteControllerStatsResponse) } inline void NVMfRemoteControllerStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +stats_ = nullptr; } NVMfRemoteControllerStatsResponse::~NVMfRemoteControllerStatsResponse() { @@ -2912,7 +2919,7 @@ NVMfRemoteControllerStatsResponse::~NVMfRemoteControllerStatsResponse() { inline void NVMfRemoteControllerStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete stats_; } void NVMfRemoteControllerStatsResponse::ArenaDtor(void* object) { @@ -2931,7 +2938,10 @@ void NVMfRemoteControllerStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2941,12 +2951,10 @@ const char* NVMfRemoteControllerStatsResponse::_InternalParse(const char* ptr, : uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // string stats = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2980,14 +2988,12 @@ uint8_t* NVMfRemoteControllerStatsResponse::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string stats = 1; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 1; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -3006,11 +3012,11 @@ size_t NVMfRemoteControllerStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 1; - if (!this->_internal_stats().empty()) { + // .opi_api.storage.v1.VolumeStats stats = 1; + if (this->_internal_has_stats()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); @@ -3035,8 +3041,8 @@ void NVMfRemoteControllerStatsResponse::MergeFrom(const NVMfRemoteControllerStat uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); + 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_); } @@ -3054,14 +3060,8 @@ bool NVMfRemoteControllerStatsResponse::IsInitialized() const { void NVMfRemoteControllerStatsResponse::InternalSwap(NVMfRemoteControllerStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); + swap(stats_, other->stats_); } ::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h index 451b09cc..c4c6fb92 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h @@ -39,6 +39,7 @@ #include "google/api/field_behavior.pb.h" #include #include "object_key.pb.h" +#include "opicommon.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_backend_5fnvme_5ftcp_2eproto @@ -1938,19 +1939,23 @@ class NVMfRemoteControllerStatsResponse final : enum : int { kStatsFieldNumber = 1, }; - // string stats = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); public: + void unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats); + ::opi_api::storage::v1::VolumeStats* unsafe_arena_release_stats(); // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerStatsResponse) private: @@ -1959,7 +1964,7 @@ class NVMfRemoteControllerStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; + ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; @@ -3264,54 +3269,89 @@ inline void NVMfRemoteControllerStatsRequest::set_allocated_id(::opi_api::common // NVMfRemoteControllerStatsResponse -// string stats = 1; -inline void NVMfRemoteControllerStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool NVMfRemoteControllerStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool NVMfRemoteControllerStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& NVMfRemoteControllerStatsResponse::_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 std::string& NVMfRemoteControllerStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& NVMfRemoteControllerStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void NVMfRemoteControllerStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) -} -inline std::string* NVMfRemoteControllerStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) - return _s; +inline void NVMfRemoteControllerStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) } -inline const std::string& NVMfRemoteControllerStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* NVMfRemoteControllerStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void NVMfRemoteControllerStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* NVMfRemoteControllerStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* NVMfRemoteControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* NVMfRemoteControllerStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* NVMfRemoteControllerStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* NVMfRemoteControllerStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) + return _msg; } -inline void NVMfRemoteControllerStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void NVMfRemoteControllerStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc index f2e3d2ff..c05cfaf4 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc @@ -244,7 +244,7 @@ struct NVMeSubsystemStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMeSubsystemStatsRequestDefaultTypeInternal _NVMeSubsystemStatsRequest_default_instance_; constexpr NVMeSubsystemStatsResponse::NVMeSubsystemStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} + : stats_(nullptr){} struct NVMeSubsystemStatsResponseDefaultTypeInternal { constexpr NVMeSubsystemStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -346,8 +346,8 @@ struct NVMeControllerStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMeControllerStatsRequestDefaultTypeInternal _NVMeControllerStatsRequest_default_instance_; constexpr NVMeControllerStatsResponse::NVMeControllerStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(nullptr){} + : id_(nullptr) + , stats_(nullptr){} struct NVMeControllerStatsResponseDefaultTypeInternal { constexpr NVMeControllerStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -449,8 +449,8 @@ struct NVMeNamespaceStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMeNamespaceStatsRequestDefaultTypeInternal _NVMeNamespaceStatsRequest_default_instance_; constexpr NVMeNamespaceStatsResponse::NVMeNamespaceStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(nullptr){} + : id_(nullptr) + , stats_(nullptr){} struct NVMeNamespaceStatsResponseDefaultTypeInternal { constexpr NVMeNamespaceStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -876,139 +876,142 @@ const char descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto[] PROTOBUF_S "\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1" "/NVMeSubsystem\"O\n\031NVMeSubsystemStatsRequ" "est\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.comm" - "on.v1.ObjectKey\"+\n\032NVMeSubsystemStatsRes" - "ponse\022\r\n\005stats\030\001 \001(\t\"\270\001\n\033CreateNVMeContr" - "ollerRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!op" - "i_api.storage.v1/NVMeController\022A\n\020nv_me" - "_controller\030\002 \001(\0132\".opi_api.storage.v1.N" - "VMeControllerB\003\340A\002\022\033\n\023nv_me_controller_i" - "d\030\003 \001(\t\"V\n\033DeleteNVMeControllerRequest\0227" - "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1" - "/NVMeController\"\214\001\n\033UpdateNVMeController" - "Request\022<\n\020nv_me_controller\030\001 \001(\0132\".opi_" - "api.storage.v1.NVMeController\022/\n\013update_" - "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"~" - "\n\032ListNVMeControllersRequest\0229\n\006parent\030\001" - " \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/NVMeCon" - "troller\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" - "\030\003 \001(\t\"u\n\033ListNVMeControllersResponse\022=\n" - "\021nv_me_controllers\030\001 \003(\0132\".opi_api.stora" - "ge.v1.NVMeController\022\027\n\017next_page_token\030" - "\002 \001(\t\"S\n\030GetNVMeControllerRequest\0227\n\004nam" - "e\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/NVMe" - "Controller\"F\n\032NVMeControllerStatsRequest" + "on.v1.ObjectKey\"L\n\032NVMeSubsystemStatsRes" + "ponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v" + "1.VolumeStats\"\270\001\n\033CreateNVMeControllerRe" + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!opi_api.s" + "torage.v1/NVMeController\022A\n\020nv_me_contro" + "ller\030\002 \001(\0132\".opi_api.storage.v1.NVMeCont" + "rollerB\003\340A\002\022\033\n\023nv_me_controller_id\030\003 \001(\t" + "\"V\n\033DeleteNVMeControllerRequest\0227\n\004name\030" + "\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/NVMeCo" + "ntroller\"\214\001\n\033UpdateNVMeControllerRequest" + "\022<\n\020nv_me_controller\030\001 \001(\0132\".opi_api.sto" + "rage.v1.NVMeController\022/\n\013update_mask\030\002 " + "\001(\0132\032.google.protobuf.FieldMask\"~\n\032ListN" + "VMeControllersRequest\0229\n\006parent\030\001 \001(\tB)\340" + "A\002\372A#\n!opi_api.storage.v1/NVMeController" + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + "u\n\033ListNVMeControllersResponse\022=\n\021nv_me_" + "controllers\030\001 \003(\0132\".opi_api.storage.v1.N" + "VMeController\022\027\n\017next_page_token\030\002 \001(\t\"S" + "\n\030GetNVMeControllerRequest\0227\n\004name\030\001 \001(\t" + "B)\340A\002\372A#\n!opi_api.storage.v1/NVMeControl" + "ler\"F\n\032NVMeControllerStatsRequest\022(\n\002id\030" + "\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"w\n\033N" + "VMeControllerStatsResponse\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\"\263\001\n" + "\032CreateNVMeNamespaceRequest\0228\n\006parent\030\001 " + "\001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NVMeName" + "space\022\?\n\017nv_me_namespace\030\002 \001(\0132!.opi_api" + ".storage.v1.NVMeNamespaceB\003\340A\002\022\032\n\022nv_me_" + "namespace_id\030\003 \001(\t\"T\n\032DeleteNVMeNamespac" + "eRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api." + "storage.v1/NVMeNamespace\"\211\001\n\032UpdateNVMeN" + "amespaceRequest\022:\n\017nv_me_namespace\030\001 \001(\013" + "2!.opi_api.storage.v1.NVMeNamespace\022/\n\013u" + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + "Mask\"|\n\031ListNVMeNamespacesRequest\0228\n\006par" + "ent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NV" + "MeNamespace\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + "oken\030\003 \001(\t\"r\n\032ListNVMeNamespacesResponse" + "\022;\n\020nv_me_namespaces\030\001 \003(\0132!.opi_api.sto" + "rage.v1.NVMeNamespace\022\027\n\017next_page_token" + "\030\002 \001(\t\"Q\n\027GetNVMeNamespaceRequest\0226\n\004nam" + "e\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NVMe" + "Namespace\"O\n\031NVMeNamespaceStatsRequest\0222" + "\n\014namespace_id\030\001 \001(\0132\034.opi_api.common.v1" + ".ObjectKey\"v\n\032NVMeNamespaceStatsResponse" "\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectK" - "ey\"V\n\033NVMeControllerStatsResponse\022(\n\002id\030" - "\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005s" - "tats\030\002 \001(\t\"\263\001\n\032CreateNVMeNamespaceReques" - "t\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" - "ge.v1/NVMeNamespace\022\?\n\017nv_me_namespace\030\002" - " \001(\0132!.opi_api.storage.v1.NVMeNamespaceB" - "\003\340A\002\022\032\n\022nv_me_namespace_id\030\003 \001(\t\"T\n\032Dele" - "teNVMeNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340A" - "\002\372A\"\n opi_api.storage.v1/NVMeNamespace\"\211" - "\001\n\032UpdateNVMeNamespaceRequest\022:\n\017nv_me_n" - "amespace\030\001 \001(\0132!.opi_api.storage.v1.NVMe" - "Namespace\022/\n\013update_mask\030\002 \001(\0132\032.google." - "protobuf.FieldMask\"|\n\031ListNVMeNamespaces" - "Request\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api" - ".storage.v1/NVMeNamespace\022\021\n\tpage_size\030\002" - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"r\n\032ListNVMeName" - "spacesResponse\022;\n\020nv_me_namespaces\030\001 \003(\013" - "2!.opi_api.storage.v1.NVMeNamespace\022\027\n\017n" - "ext_page_token\030\002 \001(\t\"Q\n\027GetNVMeNamespace" - "Request\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.s" - "torage.v1/NVMeNamespace\"O\n\031NVMeNamespace" - "StatsRequest\0222\n\014namespace_id\030\001 \001(\0132\034.opi" - "_api.common.v1.ObjectKey\"U\n\032NVMeNamespac" - "eStatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t*\266\001\n\025NVMe" - "NamespacePciState\022)\n%NV_ME_NAMESPACE_PCI" - "_STATE_UNSPECIFIED\020\000\022%\n!NVME_NAMESPACE_P" - "CI_STATE_DISABLED\020\001\022$\n NVME_NAMESPACE_PC" - "I_STATE_ENABLED\020\002\022%\n!NVME_NAMESPACE_PCI_" - "STATE_DELETING\020\003*\240\001\n\031NVMeNamespacePciOpe" - "rState\022.\n*NV_ME_NAMESPACE_PCI_OPER_STATE" - "_UNSPECIFIED\020\000\022(\n$NVME_NAMESPACE_PCI_OPE" - "R_STATE_ONLINE\020\001\022)\n%NVME_NAMESPACE_PCI_O" - "PER_STATE_OFFLINE\020\0022\245\027\n\023FrontendNvmeServ" - "ice\022\306\001\n\023CreateNVMeSubsystem\022..opi_api.st" - "orage.v1.CreateNVMeSubsystemRequest\032!.op" - "i_api.storage.v1.NVMeSubsystem\"\\\202\323\344\223\002*\"\027" - "/v1/{parent=subsystems}:\017nv_me_subsystem" - "\332A)parent,nv_me_subsystem,nv_me_subsyste" - "m_id\022\217\001\n\023DeleteNVMeSubsystem\022..opi_api.s" - "torage.v1.DeleteNVMeSubsystemRequest\032\026.g" - "oogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=" - "subsystems}/{subsystem}\332A\004name\022\306\001\n\023Updat" - "eNVMeSubsystem\022..opi_api.storage.v1.Upda" - "teNVMeSubsystemRequest\032!.opi_api.storage" - ".v1.NVMeSubsystem\"\\\202\323\344\223\00282%/v1/{nv_me_su" - "bsystem.name=subsystems}:\017nv_me_subsyste" - "m\332A\033nv_me_subsystem,update_mask\022\235\001\n\022List" - "NVMeSubsystems\022-.opi_api.storage.v1.List" - "NVMeSubsystemsRequest\032..opi_api.storage." - "v1.ListNVMeSubsystemsResponse\"(\202\323\344\223\002\031\022\027/" - "v1/{parent=subsystems}\332A\006parent\022\224\001\n\020GetN" - "VMeSubsystem\022+.opi_api.storage.v1.GetNVM" - "eSubsystemRequest\032!.opi_api.storage.v1.N" - "VMeSubsystem\"0\202\323\344\223\002#\022!/v1/{name=subsyste" - "ms}/{subsystem}\332A\004name\022u\n\022NVMeSubsystemS" - "tats\022-.opi_api.storage.v1.NVMeSubsystemS" - "tatsRequest\032..opi_api.storage.v1.NVMeSub" - "systemStatsResponse\"\000\022\314\001\n\024CreateNVMeCont" - "roller\022/.opi_api.storage.v1.CreateNVMeCo" - "ntrollerRequest\032\".opi_api.storage.v1.NVM" - "eController\"_\202\323\344\223\002+\"\027/v1/{parent=subsyst" - "ems}:\020nv_me_controller\332A+parent,nv_me_co" - "ntroller,nv_me_controller_id\022\223\001\n\024DeleteN" - "VMeController\022/.opi_api.storage.v1.Delet" - "eNVMeControllerRequest\032\026.google.protobuf" - ".Empty\"2\202\323\344\223\002%*#/v1/{name=controllers}/{" - "controller}\332A\004name\022\314\001\n\024UpdateNVMeControl" - "ler\022/.opi_api.storage.v1.UpdateNVMeContr" - "ollerRequest\032\".opi_api.storage.v1.NVMeCo" - "ntroller\"_\202\323\344\223\002:2&/v1/{nv_me_controller." - "name=subsystems}:\020nv_me_controller\332A\034nv_" - "me_controller,update_mask\022\240\001\n\023ListNVMeCo" - "ntrollers\022..opi_api.storage.v1.ListNVMeC" - "ontrollersRequest\032/.opi_api.storage.v1.L" - "istNVMeControllersResponse\"(\202\323\344\223\002\031\022\027/v1/" - "{parent=subsystems}\332A\006parent\022\230\001\n\021GetNVMe" - "Controller\022,.opi_api.storage.v1.GetNVMeC" - "ontrollerRequest\032\".opi_api.storage.v1.NV" - "MeController\"1\202\323\344\223\002$\022\"/v1/{name=subsyste" - "ms}/{controller}\332A\004name\022x\n\023NVMeControlle" - "rStats\022..opi_api.storage.v1.NVMeControll" - "erStatsRequest\032/.opi_api.storage.v1.NVMe" - "ControllerStatsResponse\"\000\022\306\001\n\023CreateNVMe" - "Namespace\022..opi_api.storage.v1.CreateNVM" - "eNamespaceRequest\032!.opi_api.storage.v1.N" - "VMeNamespace\"\\\202\323\344\223\002*\"\027/v1/{parent=subsys" - "tems}:\017nv_me_namespace\332A)parent,nv_me_na" - "mespace,nv_me_namespace_id\022\217\001\n\023DeleteNVM" - "eNamespace\022..opi_api.storage.v1.DeleteNV" - "MeNamespaceRequest\032\026.google.protobuf.Emp" - "ty\"0\202\323\344\223\002#*!/v1/{name=namespaces}/{names" - "pace}\332A\004name\022\306\001\n\023UpdateNVMeNamespace\022..o" - "pi_api.storage.v1.UpdateNVMeNamespaceReq" - "uest\032!.opi_api.storage.v1.NVMeNamespace\"" - "\\\202\323\344\223\00282%/v1/{nv_me_namespace.name=subsy" - "stems}:\017nv_me_namespace\332A\033nv_me_namespac" - "e,update_mask\022\235\001\n\022ListNVMeNamespaces\022-.o" - "pi_api.storage.v1.ListNVMeNamespacesRequ" - "est\032..opi_api.storage.v1.ListNVMeNamespa" - "cesResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsyst" - "ems}\332A\006parent\022\224\001\n\020GetNVMeNamespace\022+.opi" - "_api.storage.v1.GetNVMeNamespaceRequest\032" - "!.opi_api.storage.v1.NVMeNamespace\"0\202\323\344\223" - "\002#\022!/v1/{name=subsystems}/{namespace}\332A\004" - "name\022u\n\022NVMeNamespaceStats\022-.opi_api.sto" - "rage.v1.NVMeNamespaceStatsRequest\032..opi_" - "api.storage.v1.NVMeNamespaceStatsRespons" - "e\"\000Bd\n\022opi_api.storage.v1B\025FrontendNvmeP" - "cieProtoP\001Z5github.com/opiproject/opi-ap" - "i/storage/v1alpha1/gen/gob\006proto3" + "ey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.V" + "olumeStats*\266\001\n\025NVMeNamespacePciState\022)\n%" + "NV_ME_NAMESPACE_PCI_STATE_UNSPECIFIED\020\000\022" + "%\n!NVME_NAMESPACE_PCI_STATE_DISABLED\020\001\022$" + "\n NVME_NAMESPACE_PCI_STATE_ENABLED\020\002\022%\n!" + "NVME_NAMESPACE_PCI_STATE_DELETING\020\003*\240\001\n\031" + "NVMeNamespacePciOperState\022.\n*NV_ME_NAMES" + "PACE_PCI_OPER_STATE_UNSPECIFIED\020\000\022(\n$NVM" + "E_NAMESPACE_PCI_OPER_STATE_ONLINE\020\001\022)\n%N" + "VME_NAMESPACE_PCI_OPER_STATE_OFFLINE\020\0022\245" + "\027\n\023FrontendNvmeService\022\306\001\n\023CreateNVMeSub" + "system\022..opi_api.storage.v1.CreateNVMeSu" + "bsystemRequest\032!.opi_api.storage.v1.NVMe" + "Subsystem\"\\\202\323\344\223\002*\"\027/v1/{parent=subsystem" + "s}:\017nv_me_subsystem\332A)parent,nv_me_subsy" + "stem,nv_me_subsystem_id\022\217\001\n\023DeleteNVMeSu" + "bsystem\022..opi_api.storage.v1.DeleteNVMeS" + "ubsystemRequest\032\026.google.protobuf.Empty\"" + "0\202\323\344\223\002#*!/v1/{name=subsystems}/{subsyste" + "m}\332A\004name\022\306\001\n\023UpdateNVMeSubsystem\022..opi_" + "api.storage.v1.UpdateNVMeSubsystemReques" + "t\032!.opi_api.storage.v1.NVMeSubsystem\"\\\202\323" + "\344\223\00282%/v1/{nv_me_subsystem.name=subsyste" + "ms}:\017nv_me_subsystem\332A\033nv_me_subsystem,u" + "pdate_mask\022\235\001\n\022ListNVMeSubsystems\022-.opi_" + "api.storage.v1.ListNVMeSubsystemsRequest" + "\032..opi_api.storage.v1.ListNVMeSubsystems" + "Response\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems" + "}\332A\006parent\022\224\001\n\020GetNVMeSubsystem\022+.opi_ap" + "i.storage.v1.GetNVMeSubsystemRequest\032!.o" + "pi_api.storage.v1.NVMeSubsystem\"0\202\323\344\223\002#\022" + "!/v1/{name=subsystems}/{subsystem}\332A\004nam" + "e\022u\n\022NVMeSubsystemStats\022-.opi_api.storag" + "e.v1.NVMeSubsystemStatsRequest\032..opi_api" + ".storage.v1.NVMeSubsystemStatsResponse\"\000" + "\022\314\001\n\024CreateNVMeController\022/.opi_api.stor" + "age.v1.CreateNVMeControllerRequest\032\".opi" + "_api.storage.v1.NVMeController\"_\202\323\344\223\002+\"\027" + "/v1/{parent=subsystems}:\020nv_me_controlle" + "r\332A+parent,nv_me_controller,nv_me_contro" + "ller_id\022\223\001\n\024DeleteNVMeController\022/.opi_a" + "pi.storage.v1.DeleteNVMeControllerReques" + "t\032\026.google.protobuf.Empty\"2\202\323\344\223\002%*#/v1/{" + "name=controllers}/{controller}\332A\004name\022\314\001" + "\n\024UpdateNVMeController\022/.opi_api.storage" + ".v1.UpdateNVMeControllerRequest\032\".opi_ap" + "i.storage.v1.NVMeController\"_\202\323\344\223\002:2&/v1" + "/{nv_me_controller.name=subsystems}:\020nv_" + "me_controller\332A\034nv_me_controller,update_" + "mask\022\240\001\n\023ListNVMeControllers\022..opi_api.s" + "torage.v1.ListNVMeControllersRequest\032/.o" + "pi_api.storage.v1.ListNVMeControllersRes" + "ponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A" + "\006parent\022\230\001\n\021GetNVMeController\022,.opi_api." + "storage.v1.GetNVMeControllerRequest\032\".op" + "i_api.storage.v1.NVMeController\"1\202\323\344\223\002$\022" + "\"/v1/{name=subsystems}/{controller}\332A\004na" + "me\022x\n\023NVMeControllerStats\022..opi_api.stor" + "age.v1.NVMeControllerStatsRequest\032/.opi_" + "api.storage.v1.NVMeControllerStatsRespon" + "se\"\000\022\306\001\n\023CreateNVMeNamespace\022..opi_api.s" + "torage.v1.CreateNVMeNamespaceRequest\032!.o" + "pi_api.storage.v1.NVMeNamespace\"\\\202\323\344\223\002*\"" + "\027/v1/{parent=subsystems}:\017nv_me_namespac" + "e\332A)parent,nv_me_namespace,nv_me_namespa" + "ce_id\022\217\001\n\023DeleteNVMeNamespace\022..opi_api." + "storage.v1.DeleteNVMeNamespaceRequest\032\026." + "google.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name" + "=namespaces}/{namespace}\332A\004name\022\306\001\n\023Upda" + "teNVMeNamespace\022..opi_api.storage.v1.Upd" + "ateNVMeNamespaceRequest\032!.opi_api.storag" + "e.v1.NVMeNamespace\"\\\202\323\344\223\00282%/v1/{nv_me_n" + "amespace.name=subsystems}:\017nv_me_namespa" + "ce\332A\033nv_me_namespace,update_mask\022\235\001\n\022Lis" + "tNVMeNamespaces\022-.opi_api.storage.v1.Lis" + "tNVMeNamespacesRequest\032..opi_api.storage" + ".v1.ListNVMeNamespacesResponse\"(\202\323\344\223\002\031\022\027" + "/v1/{parent=subsystems}\332A\006parent\022\224\001\n\020Get" + "NVMeNamespace\022+.opi_api.storage.v1.GetNV" + "MeNamespaceRequest\032!.opi_api.storage.v1." + "NVMeNamespace\"0\202\323\344\223\002#\022!/v1/{name=subsyst" + "ems}/{namespace}\332A\004name\022u\n\022NVMeNamespace" + "Stats\022-.opi_api.storage.v1.NVMeNamespace" + "StatsRequest\032..opi_api.storage.v1.NVMeNa" + "mespaceStatsResponse\"\000Bd\n\022opi_api.storag" + "e.v1B\025FrontendNvmePcieProtoP\001Z5github.co" + "m/opiproject/opi-api/storage/v1alpha1/ge" + "n/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fnvme_5fpcie_2eproto_deps[9] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -1023,7 +1026,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, 7713, descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto, "frontend_nvme_pcie.proto", + false, false, 7812, 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, 9, 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, @@ -5388,8 +5391,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMeSubsystemStatsRequest::GetMetadata() const class NVMeSubsystemStatsResponse::_Internal { public: + static const ::opi_api::storage::v1::VolumeStats& stats(const NVMeSubsystemStatsResponse* msg); }; +const ::opi_api::storage::v1::VolumeStats& +NVMeSubsystemStatsResponse::_Internal::stats(const NVMeSubsystemStatsResponse* msg) { + return *msg->stats_; +} +void NVMeSubsystemStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} NVMeSubsystemStatsResponse::NVMeSubsystemStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5402,22 +5416,16 @@ NVMeSubsystemStatsResponse::NVMeSubsystemStatsResponse(::PROTOBUF_NAMESPACE_ID:: NVMeSubsystemStatsResponse::NVMeSubsystemStatsResponse(const NVMeSubsystemStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - 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.NVMeSubsystemStatsResponse) } inline void NVMeSubsystemStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +stats_ = nullptr; } NVMeSubsystemStatsResponse::~NVMeSubsystemStatsResponse() { @@ -5429,7 +5437,7 @@ NVMeSubsystemStatsResponse::~NVMeSubsystemStatsResponse() { inline void NVMeSubsystemStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete stats_; } void NVMeSubsystemStatsResponse::ArenaDtor(void* object) { @@ -5448,7 +5456,10 @@ void NVMeSubsystemStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5458,12 +5469,10 @@ const char* NVMeSubsystemStatsResponse::_InternalParse(const char* ptr, ::PROTOB uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // string stats = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.NVMeSubsystemStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -5497,14 +5506,12 @@ uint8_t* NVMeSubsystemStatsResponse::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string stats = 1; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.NVMeSubsystemStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 1; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -5523,11 +5530,11 @@ size_t NVMeSubsystemStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 1; - if (!this->_internal_stats().empty()) { + // .opi_api.storage.v1.VolumeStats stats = 1; + if (this->_internal_has_stats()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); @@ -5552,8 +5559,8 @@ void NVMeSubsystemStatsResponse::MergeFrom(const NVMeSubsystemStatsResponse& fro uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); + 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_); } @@ -5571,14 +5578,8 @@ bool NVMeSubsystemStatsResponse::IsInitialized() const { void NVMeSubsystemStatsResponse::InternalSwap(NVMeSubsystemStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); + swap(stats_, other->stats_); } ::PROTOBUF_NAMESPACE_ID::Metadata NVMeSubsystemStatsResponse::GetMetadata() const { @@ -7258,18 +7259,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMeControllerStatsRequest::GetMetadata() cons class NVMeControllerStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& id(const NVMeControllerStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const NVMeControllerStatsResponse* msg); }; const ::opi_api::common::v1::ObjectKey& NVMeControllerStatsResponse::_Internal::id(const NVMeControllerStatsResponse* msg) { return *msg->id_; } +const ::opi_api::storage::v1::VolumeStats& +NVMeControllerStatsResponse::_Internal::stats(const NVMeControllerStatsResponse* msg) { + return *msg->stats_; +} void NVMeControllerStatsResponse::clear_id() { if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; } +void NVMeControllerStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} NVMeControllerStatsResponse::NVMeControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -7282,28 +7294,24 @@ NVMeControllerStatsResponse::NVMeControllerStatsResponse(::PROTOBUF_NAMESPACE_ID NVMeControllerStatsResponse::NVMeControllerStatsResponse(const NVMeControllerStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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.NVMeControllerStatsResponse) } inline void NVMeControllerStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&id_)) + sizeof(stats_)); } NVMeControllerStatsResponse::~NVMeControllerStatsResponse() { @@ -7315,8 +7323,8 @@ NVMeControllerStatsResponse::~NVMeControllerStatsResponse() { inline void NVMeControllerStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; + if (this != internal_default_instance()) delete stats_; } void NVMeControllerStatsResponse::ArenaDtor(void* object) { @@ -7335,11 +7343,14 @@ void NVMeControllerStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7357,12 +7368,10 @@ const char* NVMeControllerStatsResponse::_InternalParse(const char* ptr, ::PROTO } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.NVMeControllerStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -7404,14 +7413,12 @@ uint8_t* NVMeControllerStatsResponse::_InternalSerialize( 1, _Internal::id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.NVMeControllerStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -7430,13 +7437,6 @@ size_t NVMeControllerStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey id = 1; if (this->_internal_has_id()) { total_size += 1 + @@ -7444,6 +7444,13 @@ size_t NVMeControllerStatsResponse::ByteSizeLong() const { *id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -7466,12 +7473,12 @@ void NVMeControllerStatsResponse::MergeFrom(const NVMeControllerStatsResponse& f uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -7488,15 +7495,13 @@ bool NVMeControllerStatsResponse::IsInitialized() const { void NVMeControllerStatsResponse::InternalSwap(NVMeControllerStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(id_, other->id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(NVMeControllerStatsResponse, stats_) + + sizeof(NVMeControllerStatsResponse::stats_) + - PROTOBUF_FIELD_OFFSET(NVMeControllerStatsResponse, id_)>( + reinterpret_cast(&id_), + reinterpret_cast(&other->id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata NVMeControllerStatsResponse::GetMetadata() const { @@ -9176,18 +9181,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMeNamespaceStatsRequest::GetMetadata() const class NVMeNamespaceStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& id(const NVMeNamespaceStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const NVMeNamespaceStatsResponse* msg); }; const ::opi_api::common::v1::ObjectKey& NVMeNamespaceStatsResponse::_Internal::id(const NVMeNamespaceStatsResponse* msg) { return *msg->id_; } +const ::opi_api::storage::v1::VolumeStats& +NVMeNamespaceStatsResponse::_Internal::stats(const NVMeNamespaceStatsResponse* msg) { + return *msg->stats_; +} void NVMeNamespaceStatsResponse::clear_id() { if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; } +void NVMeNamespaceStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} NVMeNamespaceStatsResponse::NVMeNamespaceStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -9200,28 +9216,24 @@ NVMeNamespaceStatsResponse::NVMeNamespaceStatsResponse(::PROTOBUF_NAMESPACE_ID:: NVMeNamespaceStatsResponse::NVMeNamespaceStatsResponse(const NVMeNamespaceStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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.NVMeNamespaceStatsResponse) } inline void NVMeNamespaceStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&id_)) + sizeof(stats_)); } NVMeNamespaceStatsResponse::~NVMeNamespaceStatsResponse() { @@ -9233,8 +9245,8 @@ NVMeNamespaceStatsResponse::~NVMeNamespaceStatsResponse() { inline void NVMeNamespaceStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; + if (this != internal_default_instance()) delete stats_; } void NVMeNamespaceStatsResponse::ArenaDtor(void* object) { @@ -9253,11 +9265,14 @@ void NVMeNamespaceStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -9275,12 +9290,10 @@ const char* NVMeNamespaceStatsResponse::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.NVMeNamespaceStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -9322,14 +9335,12 @@ uint8_t* NVMeNamespaceStatsResponse::_InternalSerialize( 1, _Internal::id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.NVMeNamespaceStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -9348,13 +9359,6 @@ size_t NVMeNamespaceStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey id = 1; if (this->_internal_has_id()) { total_size += 1 + @@ -9362,6 +9366,13 @@ size_t NVMeNamespaceStatsResponse::ByteSizeLong() const { *id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -9384,12 +9395,12 @@ void NVMeNamespaceStatsResponse::MergeFrom(const NVMeNamespaceStatsResponse& fro uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -9406,15 +9417,13 @@ bool NVMeNamespaceStatsResponse::IsInitialized() const { void NVMeNamespaceStatsResponse::InternalSwap(NVMeNamespaceStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(id_, other->id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(NVMeNamespaceStatsResponse, stats_) + + sizeof(NVMeNamespaceStatsResponse::stats_) + - PROTOBUF_FIELD_OFFSET(NVMeNamespaceStatsResponse, id_)>( + reinterpret_cast(&id_), + reinterpret_cast(&other->id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata NVMeNamespaceStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h index 823b5318..8b0e4fdb 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h @@ -3277,19 +3277,23 @@ class NVMeSubsystemStatsResponse final : enum : int { kStatsFieldNumber = 1, }; - // string stats = 1; + // .opi_api.storage.v1.VolumeStats stats = 1; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); public: + void unsafe_arena_set_allocated_stats( + ::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) private: @@ -3298,7 +3302,7 @@ class NVMeSubsystemStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; + ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -4594,23 +4598,9 @@ class NVMeControllerStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey id = 1; bool has_id() const; private: @@ -4629,6 +4619,24 @@ class NVMeControllerStatsResponse final : ::opi_api::common::v1::ObjectKey* id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -4636,8 +4644,8 @@ class NVMeControllerStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::opi_api::common::v1::ObjectKey* id_; + ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -5933,23 +5941,9 @@ class NVMeNamespaceStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey id = 1; bool has_id() const; private: @@ -5968,6 +5962,24 @@ class NVMeNamespaceStatsResponse final : ::opi_api::common::v1::ObjectKey* id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -5975,8 +5987,8 @@ class NVMeNamespaceStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::opi_api::common::v1::ObjectKey* id_; + ::opi_api::storage::v1::VolumeStats* stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -8598,54 +8610,89 @@ inline void NVMeSubsystemStatsRequest::set_allocated_subsystem_id(::opi_api::com // NVMeSubsystemStatsResponse -// string stats = 1; -inline void NVMeSubsystemStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 1; +inline bool NVMeSubsystemStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool NVMeSubsystemStatsResponse::has_stats() const { + return _internal_has_stats(); } -inline const std::string& NVMeSubsystemStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& NVMeSubsystemStatsResponse::_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) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void NVMeSubsystemStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) -} -inline std::string* NVMeSubsystemStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) - return _s; +inline void NVMeSubsystemStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) } -inline const std::string& NVMeSubsystemStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* NVMeSubsystemStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void NVMeSubsystemStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* NVMeSubsystemStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* NVMeSubsystemStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* NVMeSubsystemStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* NVMeSubsystemStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* NVMeSubsystemStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) + return _msg; } -inline void NVMeSubsystemStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void NVMeSubsystemStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMeSubsystemStatsResponse.stats) } @@ -9536,54 +9583,89 @@ inline void NVMeControllerStatsResponse::set_allocated_id(::opi_api::common::v1: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMeControllerStatsResponse.id) } -// string stats = 2; -inline void NVMeControllerStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool NVMeControllerStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool NVMeControllerStatsResponse::has_stats() const { + return _internal_has_stats(); } -inline const std::string& NVMeControllerStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& NVMeControllerStatsResponse::_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) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void NVMeControllerStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMeControllerStatsResponse.stats) -} -inline std::string* NVMeControllerStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMeControllerStatsResponse.stats) - return _s; +inline void NVMeControllerStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMeControllerStatsResponse.stats) } -inline const std::string& NVMeControllerStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* NVMeControllerStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void NVMeControllerStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* NVMeControllerStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMeControllerStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* NVMeControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* NVMeControllerStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* NVMeControllerStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMeControllerStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* NVMeControllerStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMeControllerStatsResponse.stats) + return _msg; } -inline void NVMeControllerStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void NVMeControllerStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMeControllerStatsResponse.stats) } @@ -10474,54 +10556,89 @@ inline void NVMeNamespaceStatsResponse::set_allocated_id(::opi_api::common::v1:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMeNamespaceStatsResponse.id) } -// string stats = 2; -inline void NVMeNamespaceStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool NVMeNamespaceStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool NVMeNamespaceStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& NVMeNamespaceStatsResponse::_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 std::string& NVMeNamespaceStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& NVMeNamespaceStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void NVMeNamespaceStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) -} -inline std::string* NVMeNamespaceStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) - return _s; +inline void NVMeNamespaceStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) } -inline const std::string& NVMeNamespaceStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* NVMeNamespaceStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void NVMeNamespaceStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* NVMeNamespaceStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* NVMeNamespaceStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* NVMeNamespaceStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* NVMeNamespaceStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* NVMeNamespaceStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) + return _msg; } -inline void NVMeNamespaceStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void NVMeNamespaceStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMeNamespaceStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc index 97daaef0..28eeb5fc 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc @@ -126,8 +126,8 @@ struct VirtioBlkStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioBlkStatsRequestDefaultTypeInternal _VirtioBlkStatsRequest_default_instance_; constexpr VirtioBlkStatsResponse::VirtioBlkStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(nullptr){} + : id_(nullptr) + , stats_(nullptr){} struct VirtioBlkStatsResponseDefaultTypeInternal { constexpr VirtioBlkStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -273,34 +273,35 @@ const char descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto[] PROTOBUF_ "est\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.stora" "ge.v1/VirtioBlk\"L\n\025VirtioBlkStatsRequest" "\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_api.common" - ".v1.ObjectKey\"Q\n\026VirtioBlkStatsResponse\022" + ".v1.ObjectKey\"r\n\026VirtioBlkStatsResponse\022" "(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" - "y\022\r\n\005stats\030\002 \001(\t2\212\007\n\030FrontendVirtioBlkSe" - "rvice\022\253\001\n\017CreateVirtioBlk\022*.opi_api.stor" - "age.v1.CreateVirtioBlkRequest\032\035.opi_api." - "storage.v1.VirtioBlk\"M\202\323\344\223\002%\"\027/v1/{paren" - "t=subsystems}:\nvirtio_blk\332A\037parent,virti" - "o_blk,virtio_blk_id\022\207\001\n\017DeleteVirtioBlk\022" - "*.opi_api.storage.v1.DeleteVirtioBlkRequ" - "est\032\026.google.protobuf.Empty\"0\202\323\344\223\002#*!/v1" - "/{name=virtioblks}/{virtioblk}\332A\004name\022\253\001" - "\n\017UpdateVirtioBlk\022*.opi_api.storage.v1.U" - "pdateVirtioBlkRequest\032\035.opi_api.storage." - "v1.VirtioBlk\"M\202\323\344\223\002.2 /v1/{virtio_blk.na" - "me=subsystems}:\nvirtio_blk\332A\026virtio_blk," - "update_mask\022\221\001\n\016ListVirtioBlks\022).opi_api" - ".storage.v1.ListVirtioBlksRequest\032*.opi_" - "api.storage.v1.ListVirtioBlksResponse\"(\202" - "\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022" - "\210\001\n\014GetVirtioBlk\022\'.opi_api.storage.v1.Ge" - "tVirtioBlkRequest\032\035.opi_api.storage.v1.V" - "irtioBlk\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/" - "{virtioblk}\332A\004name\022i\n\016VirtioBlkStats\022).o" - "pi_api.storage.v1.VirtioBlkStatsRequest\032" - "*.opi_api.storage.v1.VirtioBlkStatsRespo" - "nse\"\000Be\n\022opi_api.storage.v1B\026FrontendVir" - "tioBlkProtoP\001Z5github.com/opiproject/opi" - "-api/storage/v1alpha1/gen/gob\006proto3" + "y\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.Vo" + "lumeStats2\212\007\n\030FrontendVirtioBlkService\022\253" + "\001\n\017CreateVirtioBlk\022*.opi_api.storage.v1." + "CreateVirtioBlkRequest\032\035.opi_api.storage" + ".v1.VirtioBlk\"M\202\323\344\223\002%\"\027/v1/{parent=subsy" + "stems}:\nvirtio_blk\332A\037parent,virtio_blk,v" + "irtio_blk_id\022\207\001\n\017DeleteVirtioBlk\022*.opi_a" + "pi.storage.v1.DeleteVirtioBlkRequest\032\026.g" + "oogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=" + "virtioblks}/{virtioblk}\332A\004name\022\253\001\n\017Updat" + "eVirtioBlk\022*.opi_api.storage.v1.UpdateVi" + "rtioBlkRequest\032\035.opi_api.storage.v1.Virt" + "ioBlk\"M\202\323\344\223\002.2 /v1/{virtio_blk.name=subs" + "ystems}:\nvirtio_blk\332A\026virtio_blk,update_" + "mask\022\221\001\n\016ListVirtioBlks\022).opi_api.storag" + "e.v1.ListVirtioBlksRequest\032*.opi_api.sto" + "rage.v1.ListVirtioBlksResponse\"(\202\323\344\223\002\031\022\027" + "/v1/{parent=subsystems}\332A\006parent\022\210\001\n\014Get" + "VirtioBlk\022\'.opi_api.storage.v1.GetVirtio" + "BlkRequest\032\035.opi_api.storage.v1.VirtioBl" + "k\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{virtio" + "blk}\332A\004name\022i\n\016VirtioBlkStats\022).opi_api." + "storage.v1.VirtioBlkStatsRequest\032*.opi_a" + "pi.storage.v1.VirtioBlkStatsResponse\"\000Be" + "\n\022opi_api.storage.v1B\026FrontendVirtioBlkP" + "rotoP\001Z5github.com/opiproject/opi-api/st" + "orage/v1alpha1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fblk_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -314,7 +315,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; 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, 2276, descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto, "frontend_virtio_blk.proto", + false, false, 2309, 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, 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, @@ -2327,18 +2328,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioBlkStatsRequest::GetMetadata() const { class VirtioBlkStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& id(const VirtioBlkStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioBlkStatsResponse* 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) { + return *msg->stats_; +} void VirtioBlkStatsResponse::clear_id() { if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; } +void VirtioBlkStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} VirtioBlkStatsResponse::VirtioBlkStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2351,28 +2363,24 @@ VirtioBlkStatsResponse::VirtioBlkStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* a VirtioBlkStatsResponse::VirtioBlkStatsResponse(const VirtioBlkStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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) } inline void VirtioBlkStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&id_)) + sizeof(stats_)); } VirtioBlkStatsResponse::~VirtioBlkStatsResponse() { @@ -2384,8 +2392,8 @@ VirtioBlkStatsResponse::~VirtioBlkStatsResponse() { inline void VirtioBlkStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; + if (this != internal_default_instance()) delete stats_; } void VirtioBlkStatsResponse::ArenaDtor(void* object) { @@ -2404,11 +2412,14 @@ void VirtioBlkStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2426,12 +2437,10 @@ const char* VirtioBlkStatsResponse::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.VirtioBlkStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2473,14 +2482,12 @@ uint8_t* VirtioBlkStatsResponse::_InternalSerialize( 1, _Internal::id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.VirtioBlkStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2499,13 +2506,6 @@ size_t VirtioBlkStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey id = 1; if (this->_internal_has_id()) { total_size += 1 + @@ -2513,6 +2513,13 @@ size_t VirtioBlkStatsResponse::ByteSizeLong() const { *id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -2535,12 +2542,12 @@ void VirtioBlkStatsResponse::MergeFrom(const VirtioBlkStatsResponse& from) { uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -2557,15 +2564,13 @@ bool VirtioBlkStatsResponse::IsInitialized() const { void VirtioBlkStatsResponse::InternalSwap(VirtioBlkStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(id_, other->id_); + ::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_)); } ::PROTOBUF_NAMESPACE_ID::Metadata VirtioBlkStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h index dfae3879..c2cd8610 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h @@ -1607,23 +1607,9 @@ class VirtioBlkStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey id = 1; bool has_id() const; private: @@ -1642,6 +1628,24 @@ class VirtioBlkStatsResponse final : ::opi_api::common::v1::ObjectKey* id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -1649,8 +1653,8 @@ class VirtioBlkStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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; }; @@ -2830,54 +2834,89 @@ inline void VirtioBlkStatsResponse::set_allocated_id(::opi_api::common::v1::Obje // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.id) } -// string stats = 2; -inline void VirtioBlkStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool VirtioBlkStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool VirtioBlkStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& VirtioBlkStatsResponse::_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 std::string& VirtioBlkStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& VirtioBlkStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioBlkStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void VirtioBlkStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.VirtioBlkStatsResponse.stats) -} -inline std::string* VirtioBlkStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlkStatsResponse.stats) - return _s; +inline void VirtioBlkStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.stats) } -inline const std::string& VirtioBlkStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void VirtioBlkStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlkStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* VirtioBlkStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* VirtioBlkStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioBlkStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* VirtioBlkStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioBlkStatsResponse.stats) + return _msg; } -inline void VirtioBlkStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void VirtioBlkStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioBlkStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc index 9666eadc..10686164 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc @@ -151,8 +151,8 @@ struct VirtioScsiTargetStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiTargetStatsRequestDefaultTypeInternal _VirtioScsiTargetStatsRequest_default_instance_; constexpr VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(nullptr){} + : id_(nullptr) + , stats_(nullptr){} struct VirtioScsiTargetStatsResponseDefaultTypeInternal { constexpr VirtioScsiTargetStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -254,8 +254,8 @@ struct VirtioScsiControllerStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiControllerStatsRequestDefaultTypeInternal _VirtioScsiControllerStatsRequest_default_instance_; constexpr VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(nullptr){} + : id_(nullptr) + , stats_(nullptr){} struct VirtioScsiControllerStatsResponseDefaultTypeInternal { constexpr VirtioScsiControllerStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -358,8 +358,8 @@ struct VirtioScsiLunStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiLunStatsRequestDefaultTypeInternal _VirtioScsiLunStatsRequest_default_instance_; constexpr VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(nullptr){} + : id_(nullptr) + , stats_(nullptr){} struct VirtioScsiLunStatsResponseDefaultTypeInternal { constexpr VirtioScsiLunStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -691,142 +691,145 @@ const char descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto[] PROTOBUF "\372A%\n#opi_api.storage.v1/VirtioScsiTarget" "\"O\n\034VirtioScsiTargetStatsRequest\022/\n\ttarg" "et_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" - "y\"X\n\035VirtioScsiTargetStatsResponse\022(\n\002id" - "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005" - "stats\030\002 \001(\t\"\326\001\n!CreateVirtioScsiControll" - "erRequest\022\?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_a" - "pi.storage.v1/VirtioScsiController\022M\n\026vi" - "rtio_scsi_controller\030\002 \001(\0132(.opi_api.sto" - "rage.v1.VirtioScsiControllerB\003\340A\002\022!\n\031vir" - "tio_scsi_controller_id\030\003 \001(\t\"b\n!DeleteVi" - "rtioScsiControllerRequest\022=\n\004name\030\001 \001(\tB" - "/\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiCo" - "ntroller\"\236\001\n!UpdateVirtioScsiControllerR" - "equest\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\"\212\001\n ListVirtioScsiControllersR" - "equest\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!ListV" - "irtioScsiControllersResponse\022I\n\027virtio_s" - "csi_controllers\030\001 \003(\0132(.opi_api.storage." - "v1.VirtioScsiController\022\027\n\017next_page_tok" - "en\030\002 \001(\t\"_\n\036GetVirtioScsiControllerReque" - "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.storag" - "e.v1/VirtioScsiController\"W\n VirtioScsiC" - "ontrollerStatsRequest\0223\n\rcontroller_id\030\001" - " \001(\0132\034.opi_api.common.v1.ObjectKey\"\\\n!Vi" - "rtioScsiControllerStatsResponse\022(\n\002id\030\001 " - "\001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005sta" - "ts\030\002 \001(\t\"\263\001\n\032CreateVirtioScsiLunRequest\022" - "8\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage" - ".v1/VirtioScsiLun\022\?\n\017virtio_scsi_lun\030\002 \001" - "(\0132!.opi_api.storage.v1.VirtioScsiLunB\003\340" - "A\002\022\032\n\022virtio_scsi_lun_id\030\003 \001(\t\"T\n\032Delete" - "VirtioScsiLunRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" - "A\"\n opi_api.storage.v1/VirtioScsiLun\"\211\001\n" - "\032UpdateVirtioScsiLunRequest\022:\n\017virtio_sc" - "si_lun\030\001 \001(\0132!.opi_api.storage.v1.Virtio" - "ScsiLun\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" - "otobuf.FieldMask\"|\n\031ListVirtioScsiLunsRe" - "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.s" - "torage.v1/VirtioScsiLun\022\021\n\tpage_size\030\002 \001" - "(\005\022\022\n\npage_token\030\003 \001(\t\"r\n\032ListVirtioScsi" - "LunsResponse\022;\n\020virtio_scsi_luns\030\001 \003(\0132!" - ".opi_api.storage.v1.VirtioScsiLun\022\027\n\017nex" - "t_page_token\030\002 \001(\t\"Q\n\027GetVirtioScsiLunRe" - "quest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.sto" - "rage.v1/VirtioScsiLun\"~\n\031VirtioScsiLunSt" - "atsRequest\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.common.v1.ObjectKey\"U\n\032VirtioS" - "csiLunStatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_ap" - "i.common.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\241\031\n" - "\031FrontendVirtioScsiService\022\330\001\n\026CreateVir" - "tioScsiTarget\0221.opi_api.storage.v1.Creat" - "eVirtioScsiTargetRequest\032$.opi_api.stora" - "ge.v1.VirtioScsiTarget\"e\202\323\344\223\002-\"\027/v1/{par" - "ent=subsystems}:\022virtio_scsi_target\332A/pa" - "rent,virtio_scsi_target,virtio_scsi_targ" - "et_id\022\234\001\n\026DeleteVirtioScsiTarget\0221.opi_a" - "pi.storage.v1.DeleteVirtioScsiTargetRequ" - "est\032\026.google.protobuf.Empty\"7\202\323\344\223\002**(/v1" - "/{name=subsystems}/{virtioscsitarget}\332A\004" - "name\022\330\001\n\026UpdateVirtioScsiTarget\0221.opi_ap" - "i.storage.v1.UpdateVirtioScsiTargetReque" - "st\032$.opi_api.storage.v1.VirtioScsiTarget" - "\"e\202\323\344\223\002>2(/v1/{virtio_scsi_target.name=s" - "ubsystems}:\022virtio_scsi_target\332A\036virtio_" - "scsi_target,update_mask\022\246\001\n\025ListVirtioSc" - "siTargets\0220.opi_api.storage.v1.ListVirti" - "oScsiTargetsRequest\0321.opi_api.storage.v1" - ".ListVirtioScsiTargetsResponse\"(\202\323\344\223\002\031\022\027" - "/v1/{parent=subsystems}\332A\006parent\022\244\001\n\023Get" - "VirtioScsiTarget\022..opi_api.storage.v1.Ge" - "tVirtioScsiTargetRequest\032$.opi_api.stora" - "ge.v1.VirtioScsiTarget\"7\202\323\344\223\002*\022(/v1/{nam" - "e=subsystems}/{virtioscsitarget}\332A\004name\022" - "~\n\025VirtioScsiTargetStats\0220.opi_api.stora" - "ge.v1.VirtioScsiTargetStatsRequest\0321.opi" - "_api.storage.v1.VirtioScsiTargetStatsRes" - "ponse\"\000\022\360\001\n\032CreateVirtioScsiController\0225" - ".opi_api.storage.v1.CreateVirtioScsiCont" - "rollerRequest\032(.opi_api.storage.v1.Virti" - "oScsiController\"q\202\323\344\223\0021\"\027/v1/{parent=sub" - "systems}:\026virtio_scsi_controller\332A7paren" - "t,virtio_scsi_controller,virtio_scsi_con" - "troller_id\022\247\001\n\032DeleteVirtioScsiControlle" - "r\0225.opi_api.storage.v1.DeleteVirtioScsiC" - "ontrollerRequest\032\026.google.protobuf.Empty" - "\":\202\323\344\223\002-*+/v1/{name=virtioscsictrls}/{vi" - "rtioscsictrl}\332A\004name\022\360\001\n\032UpdateVirtioScs" - "iController\0225.opi_api.storage.v1.UpdateV" - "irtioScsiControllerRequest\032(.opi_api.sto" - "rage.v1.VirtioScsiController\"q\202\323\344\223\002F2,/v" - "1/{virtio_scsi_controller.name=subsystem" - "s}:\026virtio_scsi_controller\332A\"virtio_scsi" - "_controller,update_mask\022\262\001\n\031ListVirtioSc" - "siControllers\0224.opi_api.storage.v1.ListV" - "irtioScsiControllersRequest\0325.opi_api.st" - "orage.v1.ListVirtioScsiControllersRespon" - "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa" - "rent\022\256\001\n\027GetVirtioScsiController\0222.opi_a" - "pi.storage.v1.GetVirtioScsiControllerReq" - "uest\032(.opi_api.storage.v1.VirtioScsiCont" - "roller\"5\202\323\344\223\002(\022&/v1/{name=subsystems}/{v" - "irtioscsictrl}\332A\004name\022\212\001\n\031VirtioScsiCont" - "rollerStats\0224.opi_api.storage.v1.VirtioS" - "csiControllerStatsRequest\0325.opi_api.stor" - "age.v1.VirtioScsiControllerStatsResponse" - "\"\000\022\306\001\n\023CreateVirtioScsiLun\022..opi_api.sto" - "rage.v1.CreateVirtioScsiLunRequest\032!.opi" - "_api.storage.v1.VirtioScsiLun\"\\\202\323\344\223\002*\"\027/" - "v1/{parent=subsystems}:\017virtio_scsi_lun\332" - "A)parent,virtio_scsi_lun,virtio_scsi_lun" - "_id\022\227\001\n\023DeleteVirtioScsiLun\022..opi_api.st" - "orage.v1.DeleteVirtioScsiLunRequest\032\026.go" - "ogle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=v" - "irtioscsiluns}/{virtioscsilun}\332A\004name\022\306\001" - "\n\023UpdateVirtioScsiLun\022..opi_api.storage." - "v1.UpdateVirtioScsiLunRequest\032!.opi_api." - "storage.v1.VirtioScsiLun\"\\\202\323\344\223\00282%/v1/{v" - "irtio_scsi_lun.name=subsystems}:\017virtio_" - "scsi_lun\332A\033virtio_scsi_lun,update_mask\022\235" - "\001\n\022ListVirtioScsiLuns\022-.opi_api.storage." - "v1.ListVirtioScsiLunsRequest\032..opi_api.s" - "torage.v1.ListVirtioScsiLunsResponse\"(\202\323" - "\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022\230" - "\001\n\020GetVirtioScsiLun\022+.opi_api.storage.v1" - ".GetVirtioScsiLunRequest\032!.opi_api.stora" - "ge.v1.VirtioScsiLun\"4\202\323\344\223\002\'\022%/v1/{name=s" - "ubsystems}/{virtioscsilun}\332A\004name\022u\n\022Vir" - "tioScsiLunStats\022-.opi_api.storage.v1.Vir" - "tioScsiLunStatsRequest\032..opi_api.storage" - ".v1.VirtioScsiLunStatsResponse\"\000Bf\n\022opi_" - "api.storage.v1B\027FrontendVirtioScsiProtoP" - "\001Z5github.com/opiproject/opi-api/storage" - "/v1alpha1/gen/gob\006proto3" + "y\"y\n\035VirtioScsiTargetStatsResponse\022(\n\002id" + "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022.\n\005" + "stats\030\002 \001(\0132\037.opi_api.storage.v1.VolumeS" + "tats\"\326\001\n!CreateVirtioScsiControllerReque" + "st\022\?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.stor" + "age.v1/VirtioScsiController\022M\n\026virtio_sc" + "si_controller\030\002 \001(\0132(.opi_api.storage.v1" + ".VirtioScsiControllerB\003\340A\002\022!\n\031virtio_scs" + "i_controller_id\030\003 \001(\t\"b\n!DeleteVirtioScs" + "iControllerRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)" + "\n\'opi_api.storage.v1/VirtioScsiControlle" + "r\"\236\001\n!UpdateVirtioScsiControllerRequest\022" + "H\n\026virtio_scsi_controller\030\001 \001(\0132(.opi_ap" + "i.storage.v1.VirtioScsiController\022/\n\013upd" + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + "sk\"\212\001\n ListVirtioScsiControllersRequest\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!ListVirtioSc" + "siControllersResponse\022I\n\027virtio_scsi_con" + "trollers\030\001 \003(\0132(.opi_api.storage.v1.Virt" + "ioScsiController\022\027\n\017next_page_token\030\002 \001(" + "\t\"_\n\036GetVirtioScsiControllerRequest\022=\n\004n" + "ame\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/Vi" + "rtioScsiController\"W\n VirtioScsiControll" + "erStatsRequest\0223\n\rcontroller_id\030\001 \001(\0132\034." + "opi_api.common.v1.ObjectKey\"}\n!VirtioScs" + "iControllerStatsResponse\022(\n\002id\030\001 \001(\0132\034.o" + "pi_api.common.v1.ObjectKey\022.\n\005stats\030\002 \001(" + "\0132\037.opi_api.storage.v1.VolumeStats\"\263\001\n\032C" + "reateVirtioScsiLunRequest\0228\n\006parent\030\001 \001(" + "\tB(\340A\002\372A\"\n opi_api.storage.v1/VirtioScsi" + "Lun\022\?\n\017virtio_scsi_lun\030\002 \001(\0132!.opi_api.s" + "torage.v1.VirtioScsiLunB\003\340A\002\022\032\n\022virtio_s" + "csi_lun_id\030\003 \001(\t\"T\n\032DeleteVirtioScsiLunR" + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.st" + "orage.v1/VirtioScsiLun\"\211\001\n\032UpdateVirtioS" + "csiLunRequest\022:\n\017virtio_scsi_lun\030\001 \001(\0132!" + ".opi_api.storage.v1.VirtioScsiLun\022/\n\013upd" + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + "sk\"|\n\031ListVirtioScsiLunsRequest\0228\n\006paren" + "t\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Virt" + "ioScsiLun\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + "en\030\003 \001(\t\"r\n\032ListVirtioScsiLunsResponse\022;" + "\n\020virtio_scsi_luns\030\001 \003(\0132!.opi_api.stora" + "ge.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/Virtio" + "ScsiLun\"~\n\031VirtioScsiLunStatsRequest\0223\n\r" + "controller_id\030\001 \001(\0132\034.opi_api.common.v1." + "ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_api.comm" + "on.v1.ObjectKey\"v\n\032VirtioScsiLunStatsRes" + "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\241\031\n\031FrontendVirtioScsiSe" + "rvice\022\330\001\n\026CreateVirtioScsiTarget\0221.opi_a" + "pi.storage.v1.CreateVirtioScsiTargetRequ" + "est\032$.opi_api.storage.v1.VirtioScsiTarge" + "t\"e\202\323\344\223\002-\"\027/v1/{parent=subsystems}:\022virt" + "io_scsi_target\332A/parent,virtio_scsi_targ" + "et,virtio_scsi_target_id\022\234\001\n\026DeleteVirti" + "oScsiTarget\0221.opi_api.storage.v1.DeleteV" + "irtioScsiTargetRequest\032\026.google.protobuf" + ".Empty\"7\202\323\344\223\002**(/v1/{name=subsystems}/{v" + "irtioscsitarget}\332A\004name\022\330\001\n\026UpdateVirtio" + "ScsiTarget\0221.opi_api.storage.v1.UpdateVi" + "rtioScsiTargetRequest\032$.opi_api.storage." + "v1.VirtioScsiTarget\"e\202\323\344\223\002>2(/v1/{virtio" + "_scsi_target.name=subsystems}:\022virtio_sc" + "si_target\332A\036virtio_scsi_target,update_ma" + "sk\022\246\001\n\025ListVirtioScsiTargets\0220.opi_api.s" + "torage.v1.ListVirtioScsiTargetsRequest\0321" + ".opi_api.storage.v1.ListVirtioScsiTarget" + "sResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystem" + "s}\332A\006parent\022\244\001\n\023GetVirtioScsiTarget\022..op" + "i_api.storage.v1.GetVirtioScsiTargetRequ" + "est\032$.opi_api.storage.v1.VirtioScsiTarge" + "t\"7\202\323\344\223\002*\022(/v1/{name=subsystems}/{virtio" + "scsitarget}\332A\004name\022~\n\025VirtioScsiTargetSt" + "ats\0220.opi_api.storage.v1.VirtioScsiTarge" + "tStatsRequest\0321.opi_api.storage.v1.Virti" + "oScsiTargetStatsResponse\"\000\022\360\001\n\032CreateVir" + "tioScsiController\0225.opi_api.storage.v1.C" + "reateVirtioScsiControllerRequest\032(.opi_a" + "pi.storage.v1.VirtioScsiController\"q\202\323\344\223" + "\0021\"\027/v1/{parent=subsystems}:\026virtio_scsi" + "_controller\332A7parent,virtio_scsi_control" + "ler,virtio_scsi_controller_id\022\247\001\n\032Delete" + "VirtioScsiController\0225.opi_api.storage.v" + "1.DeleteVirtioScsiControllerRequest\032\026.go" + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v1/{name=v" + "irtioscsictrls}/{virtioscsictrl}\332A\004name\022" + "\360\001\n\032UpdateVirtioScsiController\0225.opi_api" + ".storage.v1.UpdateVirtioScsiControllerRe" + "quest\032(.opi_api.storage.v1.VirtioScsiCon" + "troller\"q\202\323\344\223\002F2,/v1/{virtio_scsi_contro" + "ller.name=subsystems}:\026virtio_scsi_contr" + "oller\332A\"virtio_scsi_controller,update_ma" + "sk\022\262\001\n\031ListVirtioScsiControllers\0224.opi_a" + "pi.storage.v1.ListVirtioScsiControllersR" + "equest\0325.opi_api.storage.v1.ListVirtioSc" + "siControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{pare" + "nt=subsystems}\332A\006parent\022\256\001\n\027GetVirtioScs" + "iController\0222.opi_api.storage.v1.GetVirt" + "ioScsiControllerRequest\032(.opi_api.storag" + "e.v1.VirtioScsiController\"5\202\323\344\223\002(\022&/v1/{" + "name=subsystems}/{virtioscsictrl}\332A\004name" + "\022\212\001\n\031VirtioScsiControllerStats\0224.opi_api" + ".storage.v1.VirtioScsiControllerStatsReq" + "uest\0325.opi_api.storage.v1.VirtioScsiCont" + "rollerStatsResponse\"\000\022\306\001\n\023CreateVirtioSc" + "siLun\022..opi_api.storage.v1.CreateVirtioS" + "csiLunRequest\032!.opi_api.storage.v1.Virti" + "oScsiLun\"\\\202\323\344\223\002*\"\027/v1/{parent=subsystems" + "}:\017virtio_scsi_lun\332A)parent,virtio_scsi_" + "lun,virtio_scsi_lun_id\022\227\001\n\023DeleteVirtioS" + "csiLun\022..opi_api.storage.v1.DeleteVirtio" + "ScsiLunRequest\032\026.google.protobuf.Empty\"8" + "\202\323\344\223\002+*)/v1/{name=virtioscsiluns}/{virti" + "oscsilun}\332A\004name\022\306\001\n\023UpdateVirtioScsiLun" + "\022..opi_api.storage.v1.UpdateVirtioScsiLu" + "nRequest\032!.opi_api.storage.v1.VirtioScsi" + "Lun\"\\\202\323\344\223\00282%/v1/{virtio_scsi_lun.name=s" + "ubsystems}:\017virtio_scsi_lun\332A\033virtio_scs" + "i_lun,update_mask\022\235\001\n\022ListVirtioScsiLuns" + "\022-.opi_api.storage.v1.ListVirtioScsiLuns" + "Request\032..opi_api.storage.v1.ListVirtioS" + "csiLunsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=sub" + "systems}\332A\006parent\022\230\001\n\020GetVirtioScsiLun\022+" + ".opi_api.storage.v1.GetVirtioScsiLunRequ" + "est\032!.opi_api.storage.v1.VirtioScsiLun\"4" + "\202\323\344\223\002\'\022%/v1/{name=subsystems}/{virtioscs" + "ilun}\332A\004name\022u\n\022VirtioScsiLunStats\022-.opi" + "_api.storage.v1.VirtioScsiLunStatsReques" + "t\032..opi_api.storage.v1.VirtioScsiLunStat" + "sResponse\"\000Bf\n\022opi_api.storage.v1B\027Front" + "endVirtioScsiProtoP\001Z5github.com/opiproj" + "ect/opi-api/storage/v1alpha1/gen/gob\006pro" + "to3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fscsi_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -840,7 +843,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, 6904, descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto, "frontend_virtio_scsi.proto", + false, false, 7003, 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, @@ -3318,18 +3321,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiTargetStatsRequest::GetMetadata() co class VirtioScsiTargetStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& id(const VirtioScsiTargetStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioScsiTargetStatsResponse* 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) { + return *msg->stats_; +} void VirtioScsiTargetStatsResponse::clear_id() { if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; } +void VirtioScsiTargetStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3342,28 +3356,24 @@ VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse(::PROTOBUF_NAMESPAC VirtioScsiTargetStatsResponse::VirtioScsiTargetStatsResponse(const VirtioScsiTargetStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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) } inline void VirtioScsiTargetStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&id_)) + sizeof(stats_)); } VirtioScsiTargetStatsResponse::~VirtioScsiTargetStatsResponse() { @@ -3375,8 +3385,8 @@ VirtioScsiTargetStatsResponse::~VirtioScsiTargetStatsResponse() { inline void VirtioScsiTargetStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; + if (this != internal_default_instance()) delete stats_; } void VirtioScsiTargetStatsResponse::ArenaDtor(void* object) { @@ -3395,11 +3405,14 @@ void VirtioScsiTargetStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3417,12 +3430,10 @@ const char* VirtioScsiTargetStatsResponse::_InternalParse(const char* ptr, ::PRO } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -3464,14 +3475,12 @@ uint8_t* VirtioScsiTargetStatsResponse::_InternalSerialize( 1, _Internal::id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -3490,13 +3499,6 @@ size_t VirtioScsiTargetStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey id = 1; if (this->_internal_has_id()) { total_size += 1 + @@ -3504,6 +3506,13 @@ size_t VirtioScsiTargetStatsResponse::ByteSizeLong() const { *id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -3526,12 +3535,12 @@ void VirtioScsiTargetStatsResponse::MergeFrom(const VirtioScsiTargetStatsRespons uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -3548,15 +3557,13 @@ bool VirtioScsiTargetStatsResponse::IsInitialized() const { void VirtioScsiTargetStatsResponse::InternalSwap(VirtioScsiTargetStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(id_, other->id_); + ::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_)); } ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiTargetStatsResponse::GetMetadata() const { @@ -5236,18 +5243,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiControllerStatsRequest::GetMetadata( class VirtioScsiControllerStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& id(const VirtioScsiControllerStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioScsiControllerStatsResponse* 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) { + return *msg->stats_; +} void VirtioScsiControllerStatsResponse::clear_id() { if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; } +void VirtioScsiControllerStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5260,28 +5278,24 @@ VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse(::PROTOBUF_ VirtioScsiControllerStatsResponse::VirtioScsiControllerStatsResponse(const VirtioScsiControllerStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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) } inline void VirtioScsiControllerStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&id_)) + sizeof(stats_)); } VirtioScsiControllerStatsResponse::~VirtioScsiControllerStatsResponse() { @@ -5293,8 +5307,8 @@ VirtioScsiControllerStatsResponse::~VirtioScsiControllerStatsResponse() { inline void VirtioScsiControllerStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; + if (this != internal_default_instance()) delete stats_; } void VirtioScsiControllerStatsResponse::ArenaDtor(void* object) { @@ -5313,11 +5327,14 @@ void VirtioScsiControllerStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5335,12 +5352,10 @@ const char* VirtioScsiControllerStatsResponse::_InternalParse(const char* ptr, : } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -5382,14 +5397,12 @@ uint8_t* VirtioScsiControllerStatsResponse::_InternalSerialize( 1, _Internal::id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -5408,13 +5421,6 @@ size_t VirtioScsiControllerStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey id = 1; if (this->_internal_has_id()) { total_size += 1 + @@ -5422,6 +5428,13 @@ size_t VirtioScsiControllerStatsResponse::ByteSizeLong() const { *id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5444,12 +5457,12 @@ void VirtioScsiControllerStatsResponse::MergeFrom(const VirtioScsiControllerStat uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -5466,15 +5479,13 @@ bool VirtioScsiControllerStatsResponse::IsInitialized() const { void VirtioScsiControllerStatsResponse::InternalSwap(VirtioScsiControllerStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(id_, other->id_); + ::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_)); } ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiControllerStatsResponse::GetMetadata() const { @@ -7209,18 +7220,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiLunStatsRequest::GetMetadata() const class VirtioScsiLunStatsResponse::_Internal { public: static const ::opi_api::common::v1::ObjectKey& id(const VirtioScsiLunStatsResponse* msg); + static const ::opi_api::storage::v1::VolumeStats& stats(const VirtioScsiLunStatsResponse* 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) { + return *msg->stats_; +} void VirtioScsiLunStatsResponse::clear_id() { if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; } +void VirtioScsiLunStatsResponse::clear_stats() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -7233,28 +7255,24 @@ VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse(::PROTOBUF_NAMESPACE_ID:: VirtioScsiLunStatsResponse::VirtioScsiLunStatsResponse(const VirtioScsiLunStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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) } inline void VirtioScsiLunStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&stats_) - + reinterpret_cast(&id_)) + sizeof(stats_)); } VirtioScsiLunStatsResponse::~VirtioScsiLunStatsResponse() { @@ -7266,8 +7284,8 @@ VirtioScsiLunStatsResponse::~VirtioScsiLunStatsResponse() { inline void VirtioScsiLunStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; + if (this != internal_default_instance()) delete stats_; } void VirtioScsiLunStatsResponse::ArenaDtor(void* object) { @@ -7286,11 +7304,14 @@ void VirtioScsiLunStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && id_ != nullptr) { delete id_; } id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7308,12 +7329,10 @@ const char* VirtioScsiLunStatsResponse::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.VirtioScsiLunStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -7355,14 +7374,12 @@ uint8_t* VirtioScsiLunStatsResponse::_InternalSerialize( 1, _Internal::id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.VirtioScsiLunStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -7381,13 +7398,6 @@ size_t VirtioScsiLunStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey id = 1; if (this->_internal_has_id()) { total_size += 1 + @@ -7395,6 +7405,13 @@ size_t VirtioScsiLunStatsResponse::ByteSizeLong() const { *id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -7417,12 +7434,12 @@ void VirtioScsiLunStatsResponse::MergeFrom(const VirtioScsiLunStatsResponse& fro uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -7439,15 +7456,13 @@ bool VirtioScsiLunStatsResponse::IsInitialized() const { void VirtioScsiLunStatsResponse::InternalSwap(VirtioScsiLunStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(id_, other->id_); + ::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_)); } ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiLunStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h index 51d09e4e..1f24f7ba 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h @@ -2009,23 +2009,9 @@ class VirtioScsiTargetStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey id = 1; bool has_id() const; private: @@ -2044,6 +2030,24 @@ class VirtioScsiTargetStatsResponse final : ::opi_api::common::v1::ObjectKey* id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -2051,8 +2055,8 @@ class VirtioScsiTargetStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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; }; @@ -3348,23 +3352,9 @@ class VirtioScsiControllerStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey id = 1; bool has_id() const; private: @@ -3383,6 +3373,24 @@ class VirtioScsiControllerStatsResponse final : ::opi_api::common::v1::ObjectKey* id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -3390,8 +3398,8 @@ class VirtioScsiControllerStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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; }; @@ -4707,23 +4715,9 @@ class VirtioScsiLunStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey id = 1; bool has_id() const; private: @@ -4742,6 +4736,24 @@ class VirtioScsiLunStatsResponse final : ::opi_api::common::v1::ObjectKey* id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + // .opi_api.storage.v1.VolumeStats stats = 2; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -4749,8 +4761,8 @@ class VirtioScsiLunStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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; }; @@ -6196,54 +6208,89 @@ inline void VirtioScsiTargetStatsResponse::set_allocated_id(::opi_api::common::v // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.id) } -// string stats = 2; -inline void VirtioScsiTargetStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool VirtioScsiTargetStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool VirtioScsiTargetStatsResponse::has_stats() const { + return _internal_has_stats(); } -inline const std::string& VirtioScsiTargetStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiTargetStatsResponse::_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) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void VirtioScsiTargetStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) -} -inline std::string* VirtioScsiTargetStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) - return _s; +inline void VirtioScsiTargetStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) } -inline const std::string& VirtioScsiTargetStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void VirtioScsiTargetStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* VirtioScsiTargetStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* VirtioScsiTargetStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiTargetStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) + return _msg; } -inline void VirtioScsiTargetStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void VirtioScsiTargetStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats) } @@ -7134,54 +7181,89 @@ inline void VirtioScsiControllerStatsResponse::set_allocated_id(::opi_api::commo // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.id) } -// string stats = 2; -inline void VirtioScsiControllerStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool VirtioScsiControllerStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool VirtioScsiControllerStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiControllerStatsResponse::_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 std::string& VirtioScsiControllerStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiControllerStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void VirtioScsiControllerStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) -} -inline std::string* VirtioScsiControllerStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) - return _s; +inline void VirtioScsiControllerStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) } -inline const std::string& VirtioScsiControllerStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void VirtioScsiControllerStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* VirtioScsiControllerStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* VirtioScsiControllerStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiControllerStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) + return _msg; } -inline void VirtioScsiControllerStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void VirtioScsiControllerStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats) } @@ -8158,54 +8240,89 @@ inline void VirtioScsiLunStatsResponse::set_allocated_id(::opi_api::common::v1:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.id) } -// string stats = 2; -inline void VirtioScsiLunStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool VirtioScsiLunStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool VirtioScsiLunStatsResponse::has_stats() const { + return _internal_has_stats(); } -inline const std::string& VirtioScsiLunStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& VirtioScsiLunStatsResponse::_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) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void VirtioScsiLunStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) -} -inline std::string* VirtioScsiLunStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) - return _s; +inline void VirtioScsiLunStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) } -inline const std::string& VirtioScsiLunStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void VirtioScsiLunStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* VirtioScsiLunStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* VirtioScsiLunStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* VirtioScsiLunStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) + return _msg; } -inline void VirtioScsiLunStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void VirtioScsiLunStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.VirtioScsiLunStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/middleend.pb.cc b/storage/v1alpha1/gen/cpp/middleend.pb.cc index c47281b4..205a1f6f 100644 --- a/storage/v1alpha1/gen/cpp/middleend.pb.cc +++ b/storage/v1alpha1/gen/cpp/middleend.pb.cc @@ -127,8 +127,8 @@ struct EncryptedVolumeStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EncryptedVolumeStatsRequestDefaultTypeInternal _EncryptedVolumeStatsRequest_default_instance_; constexpr EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , encrypted_volume_id_(nullptr){} + : encrypted_volume_id_(nullptr) + , stats_(nullptr){} struct EncryptedVolumeStatsResponseDefaultTypeInternal { constexpr EncryptedVolumeStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -277,38 +277,39 @@ const char descriptor_table_protodef_middleend_2eproto[] PROTOBUF_SECTION_VARIAB "\001(\tB*\340A\002\372A$\n\"opi_api.storage.v1/Encrypte" "dVolume\"X\n\033EncryptedVolumeStatsRequest\0229" "\n\023encrypted_volume_id\030\001 \001(\0132\034.opi_api.co" - "mmon.v1.ObjectKey\"h\n\034EncryptedVolumeStat" - "sResponse\0229\n\023encrypted_volume_id\030\001 \001(\0132\034" - ".opi_api.common.v1.ObjectKey\022\r\n\005stats\030\002 " - "\001(\t2\200\010\n\020MiddleendService\022\317\001\n\025CreateEncry" - "ptedVolume\0220.opi_api.storage.v1.CreateEn" - "cryptedVolumeRequest\032#.opi_api.storage.v" - "1.EncryptedVolume\"_\202\323\344\223\002+\"\027/v1/{parent=s" - "ubsystems}:\020encrypted_volume\332A+parent,en" - "crypted_volume,encrypted_volume_id\022\215\001\n\025D" - "eleteEncryptedVolume\0220.opi_api.storage.v" - "1.DeleteEncryptedVolumeRequest\032\026.google." - "protobuf.Empty\"*\202\323\344\223\002\035*\033/v1/{name=volume" - "s}/{volume}\332A\004name\022\317\001\n\025UpdateEncryptedVo" - "lume\0220.opi_api.storage.v1.UpdateEncrypte" + "mmon.v1.ObjectKey\"\211\001\n\034EncryptedVolumeSta" + "tsResponse\0229\n\023encrypted_volume_id\030\001 \001(\0132" + "\034.opi_api.common.v1.ObjectKey\022.\n\005stats\030\002" + " \001(\0132\037.opi_api.storage.v1.VolumeStats2\200\010" + "\n\020MiddleendService\022\317\001\n\025CreateEncryptedVo" + "lume\0220.opi_api.storage.v1.CreateEncrypte" "dVolumeRequest\032#.opi_api.storage.v1.Encr" - "yptedVolume\"_\202\323\344\223\002:2&/v1/{encrypted_volu" - "me.name=subsystems}:\020encrypted_volume\332A\034" - "encrypted_volume,update_mask\022\240\001\n\024ListEnc" - "ryptedVolumes\022/.opi_api.storage.v1.ListE" - "ncryptedVolumesRequest\0320.opi_api.storage" - ".v1.ListEncryptedVolumesResponse\"%\202\323\344\223\002\026" - "\022\024/v1/{parent=volumes}\332A\006parent\022\227\001\n\022GetE" - "ncryptedVolume\022-.opi_api.storage.v1.GetE" - "ncryptedVolumeRequest\032#.opi_api.storage." - "v1.EncryptedVolume\"-\202\323\344\223\002 \022\036/v1/{name=su" - "bsystems}/{volume}\332A\004name\022{\n\024EncryptedVo" - "lumeStats\022/.opi_api.storage.v1.Encrypted" - "VolumeStatsRequest\0320.opi_api.storage.v1." - "EncryptedVolumeStatsResponse\"\000B]\n\022opi_ap" - "i.storage.v1B\016MiddleendProtoP\001Z5github.c" - "om/opiproject/opi-api/storage/v1alpha1/g" - "en/gob\006proto3" + "yptedVolume\"_\202\323\344\223\002+\"\027/v1/{parent=subsyst" + "ems}:\020encrypted_volume\332A+parent,encrypte" + "d_volume,encrypted_volume_id\022\215\001\n\025DeleteE" + "ncryptedVolume\0220.opi_api.storage.v1.Dele" + "teEncryptedVolumeRequest\032\026.google.protob" + "uf.Empty\"*\202\323\344\223\002\035*\033/v1/{name=volumes}/{vo" + "lume}\332A\004name\022\317\001\n\025UpdateEncryptedVolume\0220" + ".opi_api.storage.v1.UpdateEncryptedVolum" + "eRequest\032#.opi_api.storage.v1.EncryptedV" + "olume\"_\202\323\344\223\002:2&/v1/{encrypted_volume.nam" + "e=subsystems}:\020encrypted_volume\332A\034encryp" + "ted_volume,update_mask\022\240\001\n\024ListEncrypted" + "Volumes\022/.opi_api.storage.v1.ListEncrypt" + "edVolumesRequest\0320.opi_api.storage.v1.Li" + "stEncryptedVolumesResponse\"%\202\323\344\223\002\026\022\024/v1/" + "{parent=volumes}\332A\006parent\022\227\001\n\022GetEncrypt" + "edVolume\022-.opi_api.storage.v1.GetEncrypt" + "edVolumeRequest\032#.opi_api.storage.v1.Enc" + "ryptedVolume\"-\202\323\344\223\002 \022\036/v1/{name=subsyste" + "ms}/{volume}\332A\004name\022{\n\024EncryptedVolumeSt" + "ats\022/.opi_api.storage.v1.EncryptedVolume" + "StatsRequest\0320.opi_api.storage.v1.Encryp" + "tedVolumeStatsResponse\"\000B]\n\022opi_api.stor" + "age.v1B\016MiddleendProtoP\001Z5github.com/opi" + "project/opi-api/storage/v1alpha1/gen/gob" + "\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_middleend_2eproto_deps[8] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -322,7 +323,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_middleend_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_middleend_2eproto = { - false, false, 2533, descriptor_table_protodef_middleend_2eproto, "middleend.proto", + false, false, 2567, descriptor_table_protodef_middleend_2eproto, "middleend.proto", &descriptor_table_middleend_2eproto_once, descriptor_table_middleend_2eproto_deps, 8, 9, schemas, file_default_instances, TableStruct_middleend_2eproto::offsets, file_level_metadata_middleend_2eproto, file_level_enum_descriptors_middleend_2eproto, file_level_service_descriptors_middleend_2eproto, @@ -2337,18 +2338,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata EncryptedVolumeStatsRequest::GetMetadata() con class EncryptedVolumeStatsResponse::_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); }; 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) { + 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() { + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; +} EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2361,28 +2373,24 @@ EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse(::PROTOBUF_NAMESPACE_ EncryptedVolumeStatsResponse::EncryptedVolumeStatsResponse(const EncryptedVolumeStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_stats().empty()) { - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), - GetArenaForAllocation()); - } 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) } inline void EncryptedVolumeStatsResponse::SharedCtor() { -stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -encrypted_volume_id_ = nullptr; +::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_)); } EncryptedVolumeStatsResponse::~EncryptedVolumeStatsResponse() { @@ -2394,8 +2402,8 @@ EncryptedVolumeStatsResponse::~EncryptedVolumeStatsResponse() { inline void EncryptedVolumeStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete encrypted_volume_id_; + if (this != internal_default_instance()) delete stats_; } void EncryptedVolumeStatsResponse::ArenaDtor(void* object) { @@ -2414,11 +2422,14 @@ void EncryptedVolumeStatsResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - stats_.ClearToEmpty(); if (GetArenaForAllocation() == nullptr && encrypted_volume_id_ != nullptr) { delete encrypted_volume_id_; } encrypted_volume_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2436,12 +2447,10 @@ const char* EncryptedVolumeStatsResponse::_InternalParse(const char* ptr, ::PROT } else goto handle_unusual; continue; - // string stats = 2; + // .opi_api.storage.v1.VolumeStats stats = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_stats(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.EncryptedVolumeStatsResponse.stats")); + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2483,14 +2492,12 @@ uint8_t* EncryptedVolumeStatsResponse::_InternalSerialize( 1, _Internal::encrypted_volume_id(this), target, stream); } - // string stats = 2; - if (!this->_internal_stats().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_stats().data(), static_cast(this->_internal_stats().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.EncryptedVolumeStatsResponse.stats"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::stats(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2509,13 +2516,6 @@ size_t EncryptedVolumeStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; - if (!this->_internal_stats().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_stats()); - } - // .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; if (this->_internal_has_encrypted_volume_id()) { total_size += 1 + @@ -2523,6 +2523,13 @@ size_t EncryptedVolumeStatsResponse::ByteSizeLong() const { *encrypted_volume_id_); } + // .opi_api.storage.v1.VolumeStats stats = 2; + if (this->_internal_has_stats()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stats_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -2545,12 +2552,12 @@ void EncryptedVolumeStatsResponse::MergeFrom(const EncryptedVolumeStatsResponse& uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_stats().empty()) { - _internal_set_stats(from._internal_stats()); - } 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_); } @@ -2567,15 +2574,13 @@ bool EncryptedVolumeStatsResponse::IsInitialized() const { void EncryptedVolumeStatsResponse::InternalSwap(EncryptedVolumeStatsResponse* 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(), - &stats_, lhs_arena, - &other->stats_, rhs_arena - ); - swap(encrypted_volume_id_, other->encrypted_volume_id_); + ::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_)); } ::PROTOBUF_NAMESPACE_ID::Metadata EncryptedVolumeStatsResponse::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/middleend.pb.h b/storage/v1alpha1/gen/cpp/middleend.pb.h index ec627f1f..c7c22214 100644 --- a/storage/v1alpha1/gen/cpp/middleend.pb.h +++ b/storage/v1alpha1/gen/cpp/middleend.pb.h @@ -1603,23 +1603,9 @@ class EncryptedVolumeStatsResponse final : // accessors ------------------------------------------------------- enum : int { - kStatsFieldNumber = 2, kEncryptedVolumeIdFieldNumber = 1, + kStatsFieldNumber = 2, }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - // .opi_api.common.v1.ObjectKey encrypted_volume_id = 1; bool has_encrypted_volume_id() const; private: @@ -1638,6 +1624,24 @@ class EncryptedVolumeStatsResponse final : ::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; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::opi_api::storage::v1::VolumeStats& stats() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::VolumeStats* release_stats(); + ::opi_api::storage::v1::VolumeStats* mutable_stats(); + void set_allocated_stats(::opi_api::storage::v1::VolumeStats* stats); + private: + const ::opi_api::storage::v1::VolumeStats& _internal_stats() const; + ::opi_api::storage::v1::VolumeStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::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) private: class _Internal; @@ -1645,8 +1649,8 @@ class EncryptedVolumeStatsResponse final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; ::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_2eproto; }; @@ -2791,54 +2795,89 @@ inline void EncryptedVolumeStatsResponse::set_allocated_encrypted_volume_id(::op // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id) } -// string stats = 2; -inline void EncryptedVolumeStatsResponse::clear_stats() { - stats_.ClearToEmpty(); +// .opi_api.storage.v1.VolumeStats stats = 2; +inline bool EncryptedVolumeStatsResponse::_internal_has_stats() const { + return this != internal_default_instance() && stats_ != nullptr; +} +inline bool EncryptedVolumeStatsResponse::has_stats() const { + return _internal_has_stats(); +} +inline const ::opi_api::storage::v1::VolumeStats& EncryptedVolumeStatsResponse::_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 std::string& EncryptedVolumeStatsResponse::stats() const { +inline const ::opi_api::storage::v1::VolumeStats& EncryptedVolumeStatsResponse::stats() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) return _internal_stats(); } -template -inline PROTOBUF_ALWAYS_INLINE -void EncryptedVolumeStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { - - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) -} -inline std::string* EncryptedVolumeStatsResponse::mutable_stats() { - std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) - return _s; +inline void EncryptedVolumeStatsResponse::unsafe_arena_set_allocated_stats( + ::opi_api::storage::v1::VolumeStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_); + } + stats_ = stats; + if (stats) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) } -inline const std::string& EncryptedVolumeStatsResponse::_internal_stats() const { - return stats_.Get(); +inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::release_stats() { + + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = 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 void EncryptedVolumeStatsResponse::_internal_set_stats(const std::string& value) { +inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) - stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::storage::v1::VolumeStats* temp = stats_; + stats_ = nullptr; + return temp; } -inline std::string* EncryptedVolumeStatsResponse::_internal_mutable_stats() { +inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::_internal_mutable_stats() { - return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + if (stats_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(GetArenaForAllocation()); + stats_ = p; + } + return stats_; } -inline std::string* EncryptedVolumeStatsResponse::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) - return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::storage::v1::VolumeStats* EncryptedVolumeStatsResponse::mutable_stats() { + ::opi_api::storage::v1::VolumeStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) + return _msg; } -inline void EncryptedVolumeStatsResponse::set_allocated_stats(std::string* stats) { - if (stats != nullptr) { +inline void EncryptedVolumeStatsResponse::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_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } } else { } - stats_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stats, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (stats_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + stats_ = stats; // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.EncryptedVolumeStatsResponse.stats) } diff --git a/storage/v1alpha1/gen/cpp/opicommon.pb.cc b/storage/v1alpha1/gen/cpp/opicommon.pb.cc index 2aa0c3dc..58aee507 100644 --- a/storage/v1alpha1/gen/cpp/opicommon.pb.cc +++ b/storage/v1alpha1/gen/cpp/opicommon.pb.cc @@ -33,10 +33,30 @@ struct PciEndpointDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PciEndpointDefaultTypeInternal _PciEndpoint_default_instance_; +constexpr VolumeStats::VolumeStats( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : bytes_read_(0) + , read_ops_count_(0) + , bytes_written_(0) + , write_ops_count_(0) + , bytes_unmapped_(0) + , unmap_ops_count_(0) + , read_latency_ticks_(0) + , write_latency_ticks_(0) + , unmap_latency_ticks_(0){} +struct VolumeStatsDefaultTypeInternal { + constexpr VolumeStatsDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~VolumeStatsDefaultTypeInternal() {} + union { + VolumeStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VolumeStatsDefaultTypeInternal _VolumeStats_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_opicommon_2eproto[1]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_opicommon_2eproto[2]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_opicommon_2eproto[1]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_opicommon_2eproto = nullptr; @@ -50,33 +70,56 @@ const uint32_t TableStruct_opicommon_2eproto::offsets[] PROTOBUF_SECTION_VARIABL PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::PciEndpoint, port_id_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::PciEndpoint, physical_function_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::PciEndpoint, virtual_function_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, _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::VolumeStats, bytes_read_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, read_ops_count_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, bytes_written_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, write_ops_count_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, bytes_unmapped_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, unmap_ops_count_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, read_latency_ticks_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, write_latency_ticks_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::VolumeStats, unmap_latency_ticks_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::PciEndpoint)}, + { 9, -1, -1, sizeof(::opi_api::storage::v1::VolumeStats)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::opi_api::storage::v1::_PciEndpoint_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_VolumeStats_default_instance_), }; const char descriptor_table_protodef_opicommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\017opicommon.proto\022\022opi_api.storage.v1\"S\n" "\013PciEndpoint\022\017\n\007port_id\030\001 \001(\005\022\031\n\021physica" "l_function\030\002 \001(\005\022\030\n\020virtual_function\030\003 \001" - "(\005*\367\001\n\016EncryptionType\022\037\n\033ENCRYPTION_TYPE" - "_UNSPECIFIED\020\000\022\037\n\033ENCRYPTION_TYPE_AES_CB" - "C_128\020\001\022\037\n\033ENCRYPTION_TYPE_AES_CBC_192\020\002" - "\022\037\n\033ENCRYPTION_TYPE_AES_CBC_256\020\003\022\037\n\033ENC" - "RYPTION_TYPE_AES_XTS_128\020\004\022\037\n\033ENCRYPTION" - "_TYPE_AES_XTS_192\020\005\022\037\n\033ENCRYPTION_TYPE_A" - "ES_XTS_256\020\006B]\n\022opi_api.storage.v1B\016OpiC" - "ommonProtoP\001Z5github.com/opiproject/opi-" - "api/storage/v1alpha1/gen/gob\006proto3" + "(\005\"\360\001\n\013VolumeStats\022\022\n\nbytes_read\030\001 \001(\005\022\026" + "\n\016read_ops_count\030\002 \001(\005\022\025\n\rbytes_written\030" + "\003 \001(\005\022\027\n\017write_ops_count\030\004 \001(\005\022\026\n\016bytes_" + "unmapped\030\005 \001(\005\022\027\n\017unmap_ops_count\030\006 \001(\005\022" + "\032\n\022read_latency_ticks\030\007 \001(\005\022\033\n\023write_lat" + "ency_ticks\030\010 \001(\005\022\033\n\023unmap_latency_ticks\030" + "\t \001(\005*\367\001\n\016EncryptionType\022\037\n\033ENCRYPTION_T" + "YPE_UNSPECIFIED\020\000\022\037\n\033ENCRYPTION_TYPE_AES" + "_CBC_128\020\001\022\037\n\033ENCRYPTION_TYPE_AES_CBC_19" + "2\020\002\022\037\n\033ENCRYPTION_TYPE_AES_CBC_256\020\003\022\037\n\033" + "ENCRYPTION_TYPE_AES_XTS_128\020\004\022\037\n\033ENCRYPT" + "ION_TYPE_AES_XTS_192\020\005\022\037\n\033ENCRYPTION_TYP" + "E_AES_XTS_256\020\006B]\n\022opi_api.storage.v1B\016O" + "piCommonProtoP\001Z5github.com/opiproject/o" + "pi-api/storage/v1alpha1/gen/gob\006proto3" ; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_opicommon_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_opicommon_2eproto = { - false, false, 475, descriptor_table_protodef_opicommon_2eproto, "opicommon.proto", - &descriptor_table_opicommon_2eproto_once, nullptr, 0, 1, + false, false, 718, descriptor_table_protodef_opicommon_2eproto, "opicommon.proto", + &descriptor_table_opicommon_2eproto_once, nullptr, 0, 2, schemas, file_default_instances, TableStruct_opicommon_2eproto::offsets, file_level_metadata_opicommon_2eproto, file_level_enum_descriptors_opicommon_2eproto, file_level_service_descriptors_opicommon_2eproto, }; @@ -343,6 +386,372 @@ ::PROTOBUF_NAMESPACE_ID::Metadata PciEndpoint::GetMetadata() const { file_level_metadata_opicommon_2eproto[0]); } +// =================================================================== + +class VolumeStats::_Internal { + public: +}; + +VolumeStats::VolumeStats(::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.VolumeStats) +} +VolumeStats::VolumeStats(const VolumeStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&bytes_read_, &from.bytes_read_, + static_cast(reinterpret_cast(&unmap_latency_ticks_) - + reinterpret_cast(&bytes_read_)) + sizeof(unmap_latency_ticks_)); + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.VolumeStats) +} + +inline void VolumeStats::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&bytes_read_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&unmap_latency_ticks_) - + reinterpret_cast(&bytes_read_)) + sizeof(unmap_latency_ticks_)); +} + +VolumeStats::~VolumeStats() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.VolumeStats) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void VolumeStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VolumeStats::ArenaDtor(void* object) { + VolumeStats* _this = reinterpret_cast< VolumeStats* >(object); + (void)_this; +} +void VolumeStats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void VolumeStats::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void VolumeStats::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.VolumeStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&bytes_read_, 0, static_cast( + reinterpret_cast(&unmap_latency_ticks_) - + reinterpret_cast(&bytes_read_)) + sizeof(unmap_latency_ticks_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VolumeStats::_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) { + // int32 bytes_read = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + bytes_read_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 read_ops_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + read_ops_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 bytes_written = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + bytes_written_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 write_ops_count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + write_ops_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 bytes_unmapped = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + bytes_unmapped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 unmap_ops_count = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + unmap_ops_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 read_latency_ticks = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + read_latency_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 write_latency_ticks = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + write_latency_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 unmap_latency_ticks = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + unmap_latency_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* VolumeStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.VolumeStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 bytes_read = 1; + if (this->_internal_bytes_read() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_bytes_read(), target); + } + + // int32 read_ops_count = 2; + if (this->_internal_read_ops_count() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_read_ops_count(), target); + } + + // int32 bytes_written = 3; + if (this->_internal_bytes_written() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_bytes_written(), target); + } + + // int32 write_ops_count = 4; + if (this->_internal_write_ops_count() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_write_ops_count(), target); + } + + // int32 bytes_unmapped = 5; + if (this->_internal_bytes_unmapped() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(5, this->_internal_bytes_unmapped(), target); + } + + // int32 unmap_ops_count = 6; + if (this->_internal_unmap_ops_count() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(6, this->_internal_unmap_ops_count(), target); + } + + // int32 read_latency_ticks = 7; + if (this->_internal_read_latency_ticks() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_read_latency_ticks(), target); + } + + // int32 write_latency_ticks = 8; + if (this->_internal_write_latency_ticks() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->_internal_write_latency_ticks(), target); + } + + // int32 unmap_latency_ticks = 9; + if (this->_internal_unmap_latency_ticks() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(9, this->_internal_unmap_latency_ticks(), 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.VolumeStats) + return target; +} + +size_t VolumeStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.VolumeStats) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 bytes_read = 1; + if (this->_internal_bytes_read() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_bytes_read()); + } + + // int32 read_ops_count = 2; + if (this->_internal_read_ops_count() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_read_ops_count()); + } + + // int32 bytes_written = 3; + if (this->_internal_bytes_written() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_bytes_written()); + } + + // int32 write_ops_count = 4; + if (this->_internal_write_ops_count() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_write_ops_count()); + } + + // int32 bytes_unmapped = 5; + if (this->_internal_bytes_unmapped() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_bytes_unmapped()); + } + + // int32 unmap_ops_count = 6; + if (this->_internal_unmap_ops_count() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_unmap_ops_count()); + } + + // int32 read_latency_ticks = 7; + if (this->_internal_read_latency_ticks() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_read_latency_ticks()); + } + + // int32 write_latency_ticks = 8; + if (this->_internal_write_latency_ticks() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_write_latency_ticks()); + } + + // int32 unmap_latency_ticks = 9; + if (this->_internal_unmap_latency_ticks() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_unmap_latency_ticks()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VolumeStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + VolumeStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VolumeStats::GetClassData() const { return &_class_data_; } + +void VolumeStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void VolumeStats::MergeFrom(const VolumeStats& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.VolumeStats) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_bytes_read() != 0) { + _internal_set_bytes_read(from._internal_bytes_read()); + } + if (from._internal_read_ops_count() != 0) { + _internal_set_read_ops_count(from._internal_read_ops_count()); + } + if (from._internal_bytes_written() != 0) { + _internal_set_bytes_written(from._internal_bytes_written()); + } + if (from._internal_write_ops_count() != 0) { + _internal_set_write_ops_count(from._internal_write_ops_count()); + } + if (from._internal_bytes_unmapped() != 0) { + _internal_set_bytes_unmapped(from._internal_bytes_unmapped()); + } + if (from._internal_unmap_ops_count() != 0) { + _internal_set_unmap_ops_count(from._internal_unmap_ops_count()); + } + if (from._internal_read_latency_ticks() != 0) { + _internal_set_read_latency_ticks(from._internal_read_latency_ticks()); + } + if (from._internal_write_latency_ticks() != 0) { + _internal_set_write_latency_ticks(from._internal_write_latency_ticks()); + } + if (from._internal_unmap_latency_ticks() != 0) { + _internal_set_unmap_latency_ticks(from._internal_unmap_latency_ticks()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VolumeStats::CopyFrom(const VolumeStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.VolumeStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VolumeStats::IsInitialized() const { + return true; +} + +void VolumeStats::InternalSwap(VolumeStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VolumeStats, unmap_latency_ticks_) + + sizeof(VolumeStats::unmap_latency_ticks_) + - PROTOBUF_FIELD_OFFSET(VolumeStats, bytes_read_)>( + reinterpret_cast(&bytes_read_), + reinterpret_cast(&other->bytes_read_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VolumeStats::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_opicommon_2eproto_getter, &descriptor_table_opicommon_2eproto_once, + file_level_metadata_opicommon_2eproto[1]); +} + // @@protoc_insertion_point(namespace_scope) } // namespace v1 } // namespace storage @@ -351,6 +760,9 @@ PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::PciEndpoint* Arena::CreateMaybeMessage< ::opi_api::storage::v1::PciEndpoint >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::PciEndpoint >(arena); } +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::VolumeStats* Arena::CreateMaybeMessage< ::opi_api::storage::v1::VolumeStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::VolumeStats >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/storage/v1alpha1/gen/cpp/opicommon.pb.h b/storage/v1alpha1/gen/cpp/opicommon.pb.h index 1198cb8a..9fd738e8 100644 --- a/storage/v1alpha1/gen/cpp/opicommon.pb.h +++ b/storage/v1alpha1/gen/cpp/opicommon.pb.h @@ -47,7 +47,7 @@ struct TableStruct_opicommon_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -60,11 +60,15 @@ namespace v1 { class PciEndpoint; struct PciEndpointDefaultTypeInternal; extern PciEndpointDefaultTypeInternal _PciEndpoint_default_instance_; +class VolumeStats; +struct VolumeStatsDefaultTypeInternal; +extern VolumeStatsDefaultTypeInternal _VolumeStats_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api PROTOBUF_NAMESPACE_OPEN template<> ::opi_api::storage::v1::PciEndpoint* Arena::CreateMaybeMessage<::opi_api::storage::v1::PciEndpoint>(Arena*); +template<> ::opi_api::storage::v1::VolumeStats* Arena::CreateMaybeMessage<::opi_api::storage::v1::VolumeStats>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { namespace storage { @@ -268,6 +272,240 @@ class PciEndpoint final : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_opicommon_2eproto; }; +// ------------------------------------------------------------------- + +class VolumeStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.VolumeStats) */ { + public: + inline VolumeStats() : VolumeStats(nullptr) {} + ~VolumeStats() override; + explicit constexpr VolumeStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + VolumeStats(const VolumeStats& from); + VolumeStats(VolumeStats&& from) noexcept + : VolumeStats() { + *this = ::std::move(from); + } + + inline VolumeStats& operator=(const VolumeStats& from) { + CopyFrom(from); + return *this; + } + inline VolumeStats& operator=(VolumeStats&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const VolumeStats& default_instance() { + return *internal_default_instance(); + } + static inline const VolumeStats* internal_default_instance() { + return reinterpret_cast( + &_VolumeStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(VolumeStats& a, VolumeStats& b) { + a.Swap(&b); + } + inline void Swap(VolumeStats* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(VolumeStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + VolumeStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const VolumeStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const VolumeStats& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(VolumeStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "opi_api.storage.v1.VolumeStats"; + } + protected: + explicit VolumeStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kBytesReadFieldNumber = 1, + kReadOpsCountFieldNumber = 2, + kBytesWrittenFieldNumber = 3, + kWriteOpsCountFieldNumber = 4, + kBytesUnmappedFieldNumber = 5, + kUnmapOpsCountFieldNumber = 6, + kReadLatencyTicksFieldNumber = 7, + kWriteLatencyTicksFieldNumber = 8, + kUnmapLatencyTicksFieldNumber = 9, + }; + // int32 bytes_read = 1; + void clear_bytes_read(); + int32_t bytes_read() const; + void set_bytes_read(int32_t value); + private: + int32_t _internal_bytes_read() const; + void _internal_set_bytes_read(int32_t value); + public: + + // int32 read_ops_count = 2; + void clear_read_ops_count(); + int32_t read_ops_count() const; + void set_read_ops_count(int32_t value); + private: + int32_t _internal_read_ops_count() const; + void _internal_set_read_ops_count(int32_t value); + public: + + // int32 bytes_written = 3; + void clear_bytes_written(); + int32_t bytes_written() const; + void set_bytes_written(int32_t value); + private: + int32_t _internal_bytes_written() const; + void _internal_set_bytes_written(int32_t value); + public: + + // int32 write_ops_count = 4; + void clear_write_ops_count(); + int32_t write_ops_count() const; + void set_write_ops_count(int32_t value); + private: + int32_t _internal_write_ops_count() const; + void _internal_set_write_ops_count(int32_t value); + public: + + // int32 bytes_unmapped = 5; + void clear_bytes_unmapped(); + int32_t bytes_unmapped() const; + void set_bytes_unmapped(int32_t value); + private: + int32_t _internal_bytes_unmapped() const; + void _internal_set_bytes_unmapped(int32_t value); + public: + + // int32 unmap_ops_count = 6; + void clear_unmap_ops_count(); + int32_t unmap_ops_count() const; + void set_unmap_ops_count(int32_t value); + private: + int32_t _internal_unmap_ops_count() const; + void _internal_set_unmap_ops_count(int32_t value); + public: + + // int32 read_latency_ticks = 7; + void clear_read_latency_ticks(); + int32_t read_latency_ticks() const; + void set_read_latency_ticks(int32_t value); + private: + int32_t _internal_read_latency_ticks() const; + void _internal_set_read_latency_ticks(int32_t value); + public: + + // int32 write_latency_ticks = 8; + void clear_write_latency_ticks(); + int32_t write_latency_ticks() const; + void set_write_latency_ticks(int32_t value); + private: + int32_t _internal_write_latency_ticks() const; + void _internal_set_write_latency_ticks(int32_t value); + public: + + // int32 unmap_latency_ticks = 9; + void clear_unmap_latency_ticks(); + int32_t unmap_latency_ticks() const; + void set_unmap_latency_ticks(int32_t value); + private: + int32_t _internal_unmap_latency_ticks() const; + void _internal_set_unmap_latency_ticks(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VolumeStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + int32_t bytes_read_; + int32_t read_ops_count_; + int32_t bytes_written_; + int32_t write_ops_count_; + int32_t bytes_unmapped_; + int32_t unmap_ops_count_; + int32_t read_latency_ticks_; + int32_t write_latency_ticks_; + int32_t unmap_latency_ticks_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_opicommon_2eproto; +}; // =================================================================== @@ -339,9 +577,195 @@ inline void PciEndpoint::set_virtual_function(int32_t value) { // @@protoc_insertion_point(field_set:opi_api.storage.v1.PciEndpoint.virtual_function) } +// ------------------------------------------------------------------- + +// VolumeStats + +// int32 bytes_read = 1; +inline void VolumeStats::clear_bytes_read() { + bytes_read_ = 0; +} +inline int32_t VolumeStats::_internal_bytes_read() const { + return bytes_read_; +} +inline int32_t VolumeStats::bytes_read() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.bytes_read) + return _internal_bytes_read(); +} +inline void VolumeStats::_internal_set_bytes_read(int32_t value) { + + bytes_read_ = value; +} +inline void VolumeStats::set_bytes_read(int32_t value) { + _internal_set_bytes_read(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.bytes_read) +} + +// int32 read_ops_count = 2; +inline void VolumeStats::clear_read_ops_count() { + read_ops_count_ = 0; +} +inline int32_t VolumeStats::_internal_read_ops_count() const { + return read_ops_count_; +} +inline int32_t VolumeStats::read_ops_count() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.read_ops_count) + return _internal_read_ops_count(); +} +inline void VolumeStats::_internal_set_read_ops_count(int32_t value) { + + read_ops_count_ = value; +} +inline void VolumeStats::set_read_ops_count(int32_t value) { + _internal_set_read_ops_count(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.read_ops_count) +} + +// int32 bytes_written = 3; +inline void VolumeStats::clear_bytes_written() { + bytes_written_ = 0; +} +inline int32_t VolumeStats::_internal_bytes_written() const { + return bytes_written_; +} +inline int32_t VolumeStats::bytes_written() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.bytes_written) + return _internal_bytes_written(); +} +inline void VolumeStats::_internal_set_bytes_written(int32_t value) { + + bytes_written_ = value; +} +inline void VolumeStats::set_bytes_written(int32_t value) { + _internal_set_bytes_written(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.bytes_written) +} + +// int32 write_ops_count = 4; +inline void VolumeStats::clear_write_ops_count() { + write_ops_count_ = 0; +} +inline int32_t VolumeStats::_internal_write_ops_count() const { + return write_ops_count_; +} +inline int32_t VolumeStats::write_ops_count() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.write_ops_count) + return _internal_write_ops_count(); +} +inline void VolumeStats::_internal_set_write_ops_count(int32_t value) { + + write_ops_count_ = value; +} +inline void VolumeStats::set_write_ops_count(int32_t value) { + _internal_set_write_ops_count(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.write_ops_count) +} + +// int32 bytes_unmapped = 5; +inline void VolumeStats::clear_bytes_unmapped() { + bytes_unmapped_ = 0; +} +inline int32_t VolumeStats::_internal_bytes_unmapped() const { + return bytes_unmapped_; +} +inline int32_t VolumeStats::bytes_unmapped() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.bytes_unmapped) + return _internal_bytes_unmapped(); +} +inline void VolumeStats::_internal_set_bytes_unmapped(int32_t value) { + + bytes_unmapped_ = value; +} +inline void VolumeStats::set_bytes_unmapped(int32_t value) { + _internal_set_bytes_unmapped(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.bytes_unmapped) +} + +// int32 unmap_ops_count = 6; +inline void VolumeStats::clear_unmap_ops_count() { + unmap_ops_count_ = 0; +} +inline int32_t VolumeStats::_internal_unmap_ops_count() const { + return unmap_ops_count_; +} +inline int32_t VolumeStats::unmap_ops_count() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.unmap_ops_count) + return _internal_unmap_ops_count(); +} +inline void VolumeStats::_internal_set_unmap_ops_count(int32_t value) { + + unmap_ops_count_ = value; +} +inline void VolumeStats::set_unmap_ops_count(int32_t value) { + _internal_set_unmap_ops_count(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.unmap_ops_count) +} + +// int32 read_latency_ticks = 7; +inline void VolumeStats::clear_read_latency_ticks() { + read_latency_ticks_ = 0; +} +inline int32_t VolumeStats::_internal_read_latency_ticks() const { + return read_latency_ticks_; +} +inline int32_t VolumeStats::read_latency_ticks() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.read_latency_ticks) + return _internal_read_latency_ticks(); +} +inline void VolumeStats::_internal_set_read_latency_ticks(int32_t value) { + + read_latency_ticks_ = value; +} +inline void VolumeStats::set_read_latency_ticks(int32_t value) { + _internal_set_read_latency_ticks(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.read_latency_ticks) +} + +// int32 write_latency_ticks = 8; +inline void VolumeStats::clear_write_latency_ticks() { + write_latency_ticks_ = 0; +} +inline int32_t VolumeStats::_internal_write_latency_ticks() const { + return write_latency_ticks_; +} +inline int32_t VolumeStats::write_latency_ticks() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.write_latency_ticks) + return _internal_write_latency_ticks(); +} +inline void VolumeStats::_internal_set_write_latency_ticks(int32_t value) { + + write_latency_ticks_ = value; +} +inline void VolumeStats::set_write_latency_ticks(int32_t value) { + _internal_set_write_latency_ticks(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.write_latency_ticks) +} + +// int32 unmap_latency_ticks = 9; +inline void VolumeStats::clear_unmap_latency_ticks() { + unmap_latency_ticks_ = 0; +} +inline int32_t VolumeStats::_internal_unmap_latency_ticks() const { + return unmap_latency_ticks_; +} +inline int32_t VolumeStats::unmap_latency_ticks() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.VolumeStats.unmap_latency_ticks) + return _internal_unmap_latency_ticks(); +} +inline void VolumeStats::_internal_set_unmap_latency_ticks(int32_t value) { + + unmap_latency_ticks_ = value; +} +inline void VolumeStats::set_unmap_latency_ticks(int32_t value) { + _internal_set_unmap_latency_ticks(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.VolumeStats.unmap_latency_ticks) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/storage/v1alpha1/gen/go/backend_aio.pb.go b/storage/v1alpha1/gen/go/backend_aio.pb.go index a1eed7e5..8928aac7 100644 --- a/storage/v1alpha1/gen/go/backend_aio.pb.go +++ b/storage/v1alpha1/gen/go/backend_aio.pb.go @@ -496,7 +496,7 @@ type AioControllerStatsResponse struct { unknownFields protoimpl.UnknownFields Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *AioControllerStatsResponse) Reset() { @@ -538,11 +538,11 @@ func (x *AioControllerStatsResponse) GetHandle() *_go.ObjectKey { return nil } -func (x *AioControllerStatsResponse) GetStats() string { +func (x *AioControllerStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_backend_aio_proto protoreflect.FileDescriptor @@ -562,156 +562,159 @@ var file_backend_aio_proto_rawDesc = []byte{ 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, 0x0a, 0x75, 0x75, 0x69, - 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x0d, 0x41, 0x69, 0x6f, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, - 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, 0x22, 0xd9, 0x01, 0x0a, 0x1a, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x0e, 0x61, - 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x69, 0x6f, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x69, - 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, + 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, 0xd0, 0x01, 0x0a, 0x0d, 0x41, 0x69, 0x6f, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 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, 0x22, 0xd9, 0x01, 0x0a, 0x1a, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x0e, + 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x61, + 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, + 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0e, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 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, + 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0d, 0x61, + 0x69, 0x6f, 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, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 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, 0x90, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x52, 0x0e, 0x61, 0x69, 0x6f, 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, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, + 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x51, 0x0a, 0x19, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 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, 0x89, 0x01, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0xe2, 0x07, 0x0a, 0x14, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x13, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 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, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x48, 0x0a, 0x0e, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x17, 0x2f, 0x76, + 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0e, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x27, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x61, + 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x61, 0x69, + 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, + 0x8f, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, 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, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, 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, 0xc3, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 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, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 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, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0d, 0x61, 0x69, - 0x6f, 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, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, + 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x59, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x36, 0x32, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x69, 0x6f, 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, 0x0e, 0x61, 0x69, 0x6f, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x1a, 0x61, 0x69, 0x6f, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x2f, 0x41, 0x69, 0x6f, 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, 0x90, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 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, 0x94, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, + 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, - 0x0e, 0x61, 0x69, 0x6f, 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, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x69, - 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x51, 0x0a, 0x19, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 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, 0x68, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, 0xe2, 0x07, - 0x0a, 0x14, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x41, 0x69, 0x6f, 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, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x73, 0x7d, 0x3a, 0x0e, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0xda, 0x41, 0x27, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x61, 0x69, 0x6f, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x61, 0x69, 0x6f, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, 0x8f, 0x01, 0x0a, - 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, 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, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x41, 0x69, 0x6f, 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, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 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, 0x41, + 0x69, 0x6f, 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, 0xc3, - 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 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, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x59, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x36, 0x32, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x69, 0x6f, 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, 0x0e, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x1a, 0x61, 0x69, 0x6f, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 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, 0x94, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 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, 0x75, 0x0a, 0x12, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 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, 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, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x75, + 0x0a, 0x12, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 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, 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 ( @@ -740,7 +743,8 @@ var file_backend_aio_proto_goTypes = []interface{}{ (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey (*_go.Uuid)(nil), // 10: opi_api.common.v1.Uuid (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 13: google.protobuf.Empty } var file_backend_aio_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.AioController.handle:type_name -> opi_api.common.v1.ObjectKey @@ -751,23 +755,24 @@ var file_backend_aio_proto_depIdxs = []int32{ 0, // 5: opi_api.storage.v1.ListAioControllersResponse.aio_controllers:type_name -> opi_api.storage.v1.AioController 9, // 6: opi_api.storage.v1.AioControllerStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey 9, // 7: opi_api.storage.v1.AioControllerStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey - 1, // 8: opi_api.storage.v1.AioControllerService.CreateAioController:input_type -> opi_api.storage.v1.CreateAioControllerRequest - 2, // 9: opi_api.storage.v1.AioControllerService.DeleteAioController:input_type -> opi_api.storage.v1.DeleteAioControllerRequest - 3, // 10: opi_api.storage.v1.AioControllerService.UpdateAioController:input_type -> opi_api.storage.v1.UpdateAioControllerRequest - 4, // 11: opi_api.storage.v1.AioControllerService.ListAioControllers:input_type -> opi_api.storage.v1.ListAioControllersRequest - 6, // 12: opi_api.storage.v1.AioControllerService.GetAioController:input_type -> opi_api.storage.v1.GetAioControllerRequest - 7, // 13: opi_api.storage.v1.AioControllerService.AioControllerStats:input_type -> opi_api.storage.v1.AioControllerStatsRequest - 0, // 14: opi_api.storage.v1.AioControllerService.CreateAioController:output_type -> opi_api.storage.v1.AioController - 12, // 15: opi_api.storage.v1.AioControllerService.DeleteAioController:output_type -> google.protobuf.Empty - 0, // 16: opi_api.storage.v1.AioControllerService.UpdateAioController:output_type -> opi_api.storage.v1.AioController - 5, // 17: opi_api.storage.v1.AioControllerService.ListAioControllers:output_type -> opi_api.storage.v1.ListAioControllersResponse - 0, // 18: opi_api.storage.v1.AioControllerService.GetAioController:output_type -> opi_api.storage.v1.AioController - 8, // 19: opi_api.storage.v1.AioControllerService.AioControllerStats:output_type -> opi_api.storage.v1.AioControllerStatsResponse - 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 + 12, // 8: opi_api.storage.v1.AioControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 9: opi_api.storage.v1.AioControllerService.CreateAioController:input_type -> opi_api.storage.v1.CreateAioControllerRequest + 2, // 10: opi_api.storage.v1.AioControllerService.DeleteAioController:input_type -> opi_api.storage.v1.DeleteAioControllerRequest + 3, // 11: opi_api.storage.v1.AioControllerService.UpdateAioController:input_type -> opi_api.storage.v1.UpdateAioControllerRequest + 4, // 12: opi_api.storage.v1.AioControllerService.ListAioControllers:input_type -> opi_api.storage.v1.ListAioControllersRequest + 6, // 13: opi_api.storage.v1.AioControllerService.GetAioController:input_type -> opi_api.storage.v1.GetAioControllerRequest + 7, // 14: opi_api.storage.v1.AioControllerService.AioControllerStats:input_type -> opi_api.storage.v1.AioControllerStatsRequest + 0, // 15: opi_api.storage.v1.AioControllerService.CreateAioController:output_type -> opi_api.storage.v1.AioController + 13, // 16: opi_api.storage.v1.AioControllerService.DeleteAioController:output_type -> google.protobuf.Empty + 0, // 17: opi_api.storage.v1.AioControllerService.UpdateAioController:output_type -> opi_api.storage.v1.AioController + 5, // 18: opi_api.storage.v1.AioControllerService.ListAioControllers:output_type -> opi_api.storage.v1.ListAioControllersResponse + 0, // 19: opi_api.storage.v1.AioControllerService.GetAioController:output_type -> opi_api.storage.v1.AioController + 8, // 20: opi_api.storage.v1.AioControllerService.AioControllerStats:output_type -> opi_api.storage.v1.AioControllerStatsResponse + 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 } func init() { file_backend_aio_proto_init() } @@ -775,6 +780,7 @@ func file_backend_aio_proto_init() { if File_backend_aio_proto != nil { return } + file_opicommon_proto_init() if !protoimpl.UnsafeEnabled { file_backend_aio_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AioController); i { diff --git a/storage/v1alpha1/gen/go/backend_null.pb.go b/storage/v1alpha1/gen/go/backend_null.pb.go index 0d76ac55..aa50e86f 100644 --- a/storage/v1alpha1/gen/go/backend_null.pb.go +++ b/storage/v1alpha1/gen/go/backend_null.pb.go @@ -486,7 +486,7 @@ type NullDebugStatsResponse struct { unknownFields protoimpl.UnknownFields Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *NullDebugStatsResponse) Reset() { @@ -528,11 +528,11 @@ func (x *NullDebugStatsResponse) GetHandle() *_go.ObjectKey { return nil } -func (x *NullDebugStatsResponse) GetStats() string { +func (x *NullDebugStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_backend_null_proto protoreflect.FileDescriptor @@ -552,142 +552,146 @@ var file_backend_null_proto_rawDesc = []byte{ 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, 0x0a, 0x75, 0x75, - 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x09, 0x4e, 0x75, 0x6c, - 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 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, 0x22, 0xbd, 0x01, 0x0a, 0x16, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x06, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, - 0x75, 0x67, 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, 0x4e, 0x75, - 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6e, 0x75, - 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, - 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x6e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x16, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x93, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, - 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x75, - 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x09, 0x6e, - 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, - 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, - 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, - 0x75, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 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, 0xb0, 0x01, 0x0a, 0x09, 0x4e, 0x75, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 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, 0x22, 0xbd, 0x01, 0x0a, + 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, + 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, + 0x62, 0x75, 0x67, 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, 0x4e, - 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x44, 0x65, - 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, - 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4d, 0x0a, - 0x15, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x64, 0x0a, 0x16, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x14, 0x0a, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x32, 0x82, 0x07, 0x0a, 0x10, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x2a, 0x2e, 0x6f, 0x70, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6e, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x75, 0x6c, 0x6c, + 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x16, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, - 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, 0x4e, 0x75, 0x6c, - 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x17, - 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, - 0x62, 0x75, 0x67, 0xda, 0x41, 0x1f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x75, 0x6c, - 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2c, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, - 0x75, 0x67, 0x5f, 0x69, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, + 0x2f, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x93, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, + 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x09, + 0x6e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, + 0x62, 0x75, 0x67, 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, + 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4d, + 0x0a, 0x15, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x82, 0x07, 0x0a, 0x10, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, + 0x62, 0x75, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, + 0x62, 0x75, 0x67, 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, + 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x25, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, + 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0xda, 0x41, 0x1f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, + 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2c, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, + 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, + 0x67, 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, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, + 0x67, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x6e, 0x75, 0x6c, + 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0xda, 0x41, 0x16, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, + 0x65, 0x62, 0x75, 0x67, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, + 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, + 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, + 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, + 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, - 0xab, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, - 0x62, 0x75, 0x67, 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, 0x4e, - 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 0x4d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x32, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x75, 0x6c, - 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, - 0x65, 0x62, 0x75, 0x67, 0xda, 0x41, 0x16, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x62, 0x75, - 0x67, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x91, 0x01, - 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, - 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x70, + 0x69, 0x0a, 0x0e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, + 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, - 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, - 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, - 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, + 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 ( @@ -716,7 +720,8 @@ var file_backend_null_proto_goTypes = []interface{}{ (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey (*_go.Uuid)(nil), // 10: opi_api.common.v1.Uuid (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 13: google.protobuf.Empty } var file_backend_null_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.NullDebug.handle:type_name -> opi_api.common.v1.ObjectKey @@ -727,23 +732,24 @@ var file_backend_null_proto_depIdxs = []int32{ 0, // 5: opi_api.storage.v1.ListNullDebugsResponse.null_debugs:type_name -> opi_api.storage.v1.NullDebug 9, // 6: opi_api.storage.v1.NullDebugStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey 9, // 7: opi_api.storage.v1.NullDebugStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey - 1, // 8: opi_api.storage.v1.NullDebugService.CreateNullDebug:input_type -> opi_api.storage.v1.CreateNullDebugRequest - 2, // 9: opi_api.storage.v1.NullDebugService.DeleteNullDebug:input_type -> opi_api.storage.v1.DeleteNullDebugRequest - 3, // 10: opi_api.storage.v1.NullDebugService.UpdateNullDebug:input_type -> opi_api.storage.v1.UpdateNullDebugRequest - 4, // 11: opi_api.storage.v1.NullDebugService.ListNullDebugs:input_type -> opi_api.storage.v1.ListNullDebugsRequest - 6, // 12: opi_api.storage.v1.NullDebugService.GetNullDebug:input_type -> opi_api.storage.v1.GetNullDebugRequest - 7, // 13: opi_api.storage.v1.NullDebugService.NullDebugStats:input_type -> opi_api.storage.v1.NullDebugStatsRequest - 0, // 14: opi_api.storage.v1.NullDebugService.CreateNullDebug:output_type -> opi_api.storage.v1.NullDebug - 12, // 15: opi_api.storage.v1.NullDebugService.DeleteNullDebug:output_type -> google.protobuf.Empty - 0, // 16: opi_api.storage.v1.NullDebugService.UpdateNullDebug:output_type -> opi_api.storage.v1.NullDebug - 5, // 17: opi_api.storage.v1.NullDebugService.ListNullDebugs:output_type -> opi_api.storage.v1.ListNullDebugsResponse - 0, // 18: opi_api.storage.v1.NullDebugService.GetNullDebug:output_type -> opi_api.storage.v1.NullDebug - 8, // 19: opi_api.storage.v1.NullDebugService.NullDebugStats:output_type -> opi_api.storage.v1.NullDebugStatsResponse - 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 + 12, // 8: opi_api.storage.v1.NullDebugStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 9: opi_api.storage.v1.NullDebugService.CreateNullDebug:input_type -> opi_api.storage.v1.CreateNullDebugRequest + 2, // 10: opi_api.storage.v1.NullDebugService.DeleteNullDebug:input_type -> opi_api.storage.v1.DeleteNullDebugRequest + 3, // 11: opi_api.storage.v1.NullDebugService.UpdateNullDebug:input_type -> opi_api.storage.v1.UpdateNullDebugRequest + 4, // 12: opi_api.storage.v1.NullDebugService.ListNullDebugs:input_type -> opi_api.storage.v1.ListNullDebugsRequest + 6, // 13: opi_api.storage.v1.NullDebugService.GetNullDebug:input_type -> opi_api.storage.v1.GetNullDebugRequest + 7, // 14: opi_api.storage.v1.NullDebugService.NullDebugStats:input_type -> opi_api.storage.v1.NullDebugStatsRequest + 0, // 15: opi_api.storage.v1.NullDebugService.CreateNullDebug:output_type -> opi_api.storage.v1.NullDebug + 13, // 16: opi_api.storage.v1.NullDebugService.DeleteNullDebug:output_type -> google.protobuf.Empty + 0, // 17: opi_api.storage.v1.NullDebugService.UpdateNullDebug:output_type -> opi_api.storage.v1.NullDebug + 5, // 18: opi_api.storage.v1.NullDebugService.ListNullDebugs:output_type -> opi_api.storage.v1.ListNullDebugsResponse + 0, // 19: opi_api.storage.v1.NullDebugService.GetNullDebug:output_type -> opi_api.storage.v1.NullDebug + 8, // 20: opi_api.storage.v1.NullDebugService.NullDebugStats:output_type -> opi_api.storage.v1.NullDebugStatsResponse + 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 } func init() { file_backend_null_proto_init() } @@ -751,6 +757,7 @@ func file_backend_null_proto_init() { if File_backend_null_proto != nil { return } + file_opicommon_proto_init() if !protoimpl.UnsafeEnabled { file_backend_null_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NullDebug); i { diff --git a/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go b/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go index a489cf9a..d7cf9f61 100644 --- a/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go +++ b/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go @@ -769,7 +769,7 @@ type NVMfRemoteControllerStatsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Stats string `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *NVMfRemoteControllerStatsResponse) Reset() { @@ -804,11 +804,11 @@ func (*NVMfRemoteControllerStatsResponse) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{9} } -func (x *NVMfRemoteControllerStatsResponse) GetStats() string { +func (x *NVMfRemoteControllerStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_backend_nvme_tcp_proto protoreflect.FileDescriptor @@ -829,232 +829,235 @@ 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, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xda, 0x03, 0x0a, 0x14, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x3d, 0x0a, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x1a, 0x0f, 0x6f, 0x70, 0x69, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x14, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x3d, 0x0a, 0x06, 0x74, 0x72, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 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, 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, 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, - 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, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, - 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, - 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x68, 0x64, 0x67, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, - 0x68, 0x64, 0x67, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x18, 0x08, - 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, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, + 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, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, + 0x71, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, + 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x67, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x68, 0x64, 0x67, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x18, + 0x08, 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, 0x09, 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, 0x0a, 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, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x22, 0x8e, + 0x02, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x56, 0x4d, 0x66, 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, 0x64, 0x0a, + 0x17, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 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, - 0x0a, 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, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x22, 0x8e, 0x02, - 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 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, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x1a, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x4d, 0x66, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, + 0x68, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 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, + 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x21, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x5f, 0x0a, 0x17, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x14, 0x6e, 0x76, 0x4d, 0x66, + 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, 0x22, 0xa7, 0x01, + 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 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, + 0x56, 0x4d, 0x66, 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, 0xae, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 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, 0x64, 0x0a, 0x17, - 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 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, - 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x1a, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x68, - 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, - 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x21, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5f, - 0x0a, 0x17, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, + 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, + 0x18, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x14, 0x6e, 0x76, 0x4d, 0x66, 0x52, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x15, 0x6e, 0x76, 0x4d, 0x66, 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, + 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x50, 0x0a, 0x20, 0x4e, 0x56, 0x4d, 0x66, 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, 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, 0x22, 0x50, 0x0a, 0x20, 0x4e, 0x56, 0x4d, 0x66, 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, 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, 0x22, 0x5a, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x66, 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, 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, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, + 0x5f, 0x49, 0x50, 0x56, 0x34, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x46, 0x5f, + 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x12, 0x0a, + 0x0e, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x42, 0x10, + 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, + 0x5f, 0x46, 0x43, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x46, 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, 0x84, 0x0a, 0x0a, 0x1b, 0x4e, + 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xf3, 0x01, 0x0a, 0x1a, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x74, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x32, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, + 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x17, 0x6e, 0x76, 0x5f, + 0x6d, 0x66, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x39, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, + 0x5f, 0x6d, 0x66, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x22, 0xa7, 0x01, 0x0a, - 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, - 0x4d, 0x66, 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, 0xae, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 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, 0x56, 0x4d, 0x66, 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, 0xf3, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x22, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x32, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, + 0x76, 0x5f, 0x6d, 0x66, 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, 0x17, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 0x5f, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0xda, 0x41, 0x23, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x61, 0x0a, 0x18, - 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x15, 0x6e, 0x76, 0x4d, 0x66, 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, 0x56, + 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50, - 0x0a, 0x20, 0x4e, 0x56, 0x4d, 0x66, 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, 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, - 0x22, 0x50, 0x0a, 0x20, 0x4e, 0x56, 0x4d, 0x66, 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, 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, 0x22, 0x39, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x66, 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, - 0x50, 0x56, 0x34, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, - 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4e, - 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x42, 0x10, 0x03, 0x12, - 0x12, 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x46, - 0x43, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x46, 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, 0x84, 0x0a, 0x0a, 0x1b, 0x4e, 0x56, 0x4d, - 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xf3, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, - 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x17, 0x6e, 0x76, 0x5f, 0x6d, 0x66, - 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0xda, 0x41, 0x39, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, - 0x66, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0xf3, - 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, + 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x74, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x32, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, - 0x6d, 0x66, 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, 0x17, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 0x5f, 0x72, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, - 0x23, 0x6e, 0x76, 0x5f, 0x6d, 0x66, 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, 0x56, 0x4d, - 0x66, 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, 0x56, 0x4d, 0x66, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 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, 0x56, 0x4d, 0x66, 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, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 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, 0x4c, 0x69, - 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 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, - 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, 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, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 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, 0x56, 0x4d, 0x66, - 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, 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, 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, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 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, 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 ( @@ -1087,7 +1090,8 @@ var file_backend_nvme_tcp_proto_goTypes = []interface{}{ (*NVMfRemoteControllerStatsResponse)(nil), // 12: opi_api.storage.v1.NVMfRemoteControllerStatsResponse (*_go.ObjectKey)(nil), // 13: opi_api.common.v1.ObjectKey (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 15: google.protobuf.Empty + (*VolumeStats)(nil), // 15: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 16: google.protobuf.Empty } var file_backend_nvme_tcp_proto_depIdxs = []int32{ 13, // 0: opi_api.storage.v1.NVMfRemoteController.id:type_name -> opi_api.common.v1.ObjectKey @@ -1100,25 +1104,26 @@ var file_backend_nvme_tcp_proto_depIdxs = []int32{ 3, // 7: opi_api.storage.v1.ListNVMfRemoteControllersResponse.nv_mf_remote_controllers:type_name -> opi_api.storage.v1.NVMfRemoteController 13, // 8: opi_api.storage.v1.NVMfRemoteControllerResetRequest.id:type_name -> opi_api.common.v1.ObjectKey 13, // 9: opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id:type_name -> opi_api.common.v1.ObjectKey - 4, // 10: opi_api.storage.v1.NVMfRemoteControllerService.CreateNVMfRemoteController:input_type -> opi_api.storage.v1.CreateNVMfRemoteControllerRequest - 5, // 11: opi_api.storage.v1.NVMfRemoteControllerService.DeleteNVMfRemoteController:input_type -> opi_api.storage.v1.DeleteNVMfRemoteControllerRequest - 6, // 12: opi_api.storage.v1.NVMfRemoteControllerService.UpdateNVMfRemoteController:input_type -> opi_api.storage.v1.UpdateNVMfRemoteControllerRequest - 7, // 13: opi_api.storage.v1.NVMfRemoteControllerService.ListNVMfRemoteControllers:input_type -> opi_api.storage.v1.ListNVMfRemoteControllersRequest - 9, // 14: opi_api.storage.v1.NVMfRemoteControllerService.GetNVMfRemoteController:input_type -> opi_api.storage.v1.GetNVMfRemoteControllerRequest - 10, // 15: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:input_type -> opi_api.storage.v1.NVMfRemoteControllerResetRequest - 11, // 16: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:input_type -> opi_api.storage.v1.NVMfRemoteControllerStatsRequest - 3, // 17: opi_api.storage.v1.NVMfRemoteControllerService.CreateNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController - 15, // 18: opi_api.storage.v1.NVMfRemoteControllerService.DeleteNVMfRemoteController:output_type -> google.protobuf.Empty - 3, // 19: opi_api.storage.v1.NVMfRemoteControllerService.UpdateNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController - 8, // 20: opi_api.storage.v1.NVMfRemoteControllerService.ListNVMfRemoteControllers:output_type -> opi_api.storage.v1.ListNVMfRemoteControllersResponse - 3, // 21: opi_api.storage.v1.NVMfRemoteControllerService.GetNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController - 15, // 22: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:output_type -> google.protobuf.Empty - 12, // 23: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:output_type -> opi_api.storage.v1.NVMfRemoteControllerStatsResponse - 17, // [17:24] is the sub-list for method output_type - 10, // [10:17] 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 + 15, // 10: opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 4, // 11: opi_api.storage.v1.NVMfRemoteControllerService.CreateNVMfRemoteController:input_type -> opi_api.storage.v1.CreateNVMfRemoteControllerRequest + 5, // 12: opi_api.storage.v1.NVMfRemoteControllerService.DeleteNVMfRemoteController:input_type -> opi_api.storage.v1.DeleteNVMfRemoteControllerRequest + 6, // 13: opi_api.storage.v1.NVMfRemoteControllerService.UpdateNVMfRemoteController:input_type -> opi_api.storage.v1.UpdateNVMfRemoteControllerRequest + 7, // 14: opi_api.storage.v1.NVMfRemoteControllerService.ListNVMfRemoteControllers:input_type -> opi_api.storage.v1.ListNVMfRemoteControllersRequest + 9, // 15: opi_api.storage.v1.NVMfRemoteControllerService.GetNVMfRemoteController:input_type -> opi_api.storage.v1.GetNVMfRemoteControllerRequest + 10, // 16: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:input_type -> opi_api.storage.v1.NVMfRemoteControllerResetRequest + 11, // 17: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:input_type -> opi_api.storage.v1.NVMfRemoteControllerStatsRequest + 3, // 18: opi_api.storage.v1.NVMfRemoteControllerService.CreateNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController + 16, // 19: opi_api.storage.v1.NVMfRemoteControllerService.DeleteNVMfRemoteController:output_type -> google.protobuf.Empty + 3, // 20: opi_api.storage.v1.NVMfRemoteControllerService.UpdateNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController + 8, // 21: opi_api.storage.v1.NVMfRemoteControllerService.ListNVMfRemoteControllers:output_type -> opi_api.storage.v1.ListNVMfRemoteControllersResponse + 3, // 22: opi_api.storage.v1.NVMfRemoteControllerService.GetNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController + 16, // 23: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:output_type -> google.protobuf.Empty + 12, // 24: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:output_type -> opi_api.storage.v1.NVMfRemoteControllerStatsResponse + 18, // [18:25] is the sub-list for method output_type + 11, // [11:18] 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 } func init() { file_backend_nvme_tcp_proto_init() } @@ -1126,6 +1131,7 @@ func file_backend_nvme_tcp_proto_init() { if File_backend_nvme_tcp_proto != nil { return } + file_opicommon_proto_init() if !protoimpl.UnsafeEnabled { file_backend_nvme_tcp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NVMfRemoteController); i { diff --git a/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go b/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go index d5c55cab..84862d4d 100644 --- a/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go +++ b/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go @@ -1170,7 +1170,7 @@ type NVMeSubsystemStatsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Stats string `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *NVMeSubsystemStatsResponse) Reset() { @@ -1205,11 +1205,11 @@ func (*NVMeSubsystemStatsResponse) Descriptor() ([]byte, []int) { return file_frontend_nvme_pcie_proto_rawDescGZIP(), []int{16} } -func (x *NVMeSubsystemStatsResponse) GetStats() string { +func (x *NVMeSubsystemStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } type CreateNVMeControllerRequest struct { @@ -1596,7 +1596,7 @@ type NVMeControllerStatsResponse struct { unknownFields protoimpl.UnknownFields Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *NVMeControllerStatsResponse) Reset() { @@ -1638,11 +1638,11 @@ func (x *NVMeControllerStatsResponse) GetId() *_go.ObjectKey { return nil } -func (x *NVMeControllerStatsResponse) GetStats() string { +func (x *NVMeControllerStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } type CreateNVMeNamespaceRequest struct { @@ -2029,7 +2029,7 @@ type NVMeNamespaceStatsResponse struct { unknownFields protoimpl.UnknownFields Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *NVMeNamespaceStatsResponse) Reset() { @@ -2071,11 +2071,11 @@ func (x *NVMeNamespaceStatsResponse) GetId() *_go.ObjectKey { return nil } -func (x *NVMeNamespaceStatsResponse) GetStats() string { +func (x *NVMeNamespaceStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_frontend_nvme_pcie_proto protoreflect.FileDescriptor @@ -2260,358 +2260,365 @@ var file_frontend_nvme_pcie_proto_rawDesc = []byte{ 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, 0x0b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x49, 0x64, 0x22, 0x32, 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x6e, 0x76, 0x5f, - 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6e, 0x76, - 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x13, - 0x6e, 0x76, 0x5f, 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, 0x4d, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x1b, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x1b, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x10, 0x6e, 0x76, 0x5f, - 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0e, 0x6e, 0x76, 0x4d, 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, 0x22, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, - 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, 0x56, 0x4d, 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, 0x95, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x11, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x52, 0x0f, 0x6e, 0x76, 0x4d, 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, 0x56, 0x4d, 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, + 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, 0xe2, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x6e, 0x76, + 0x5f, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6e, + 0x76, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2d, 0x0a, + 0x13, 0x6e, 0x76, 0x5f, 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, 0x4d, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x1b, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x1b, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x10, 0x6e, 0x76, + 0x5f, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0e, 0x6e, 0x76, 0x4d, 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, 0x22, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, + 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4a, 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x22, 0x61, 0x0a, 0x1b, 0x4e, 0x56, 0x4d, 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, 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, 0x14, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x22, 0xdb, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, - 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x0f, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 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, 0x95, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x11, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6e, 0x76, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x6e, 0x76, 0x5f, 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, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa4, - 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, - 0x0f, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0d, 0x6e, 0x76, 0x4d, 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, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, - 0x4d, 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, 0x56, 0x4d, 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, 0x91, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4b, 0x0a, 0x10, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0e, 0x6e, - 0x76, 0x4d, 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, 0x56, 0x4d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x52, 0x0f, 0x6e, 0x76, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4a, 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x82, 0x01, 0x0a, 0x1b, 0x4e, 0x56, 0x4d, 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, 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, 0xdb, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x0f, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6e, 0x76, 0x4d, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x6e, 0x76, 0x5f, 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, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x56, 0x4d, 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, 0x56, + 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5c, - 0x0a, 0x19, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 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, - 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x1a, - 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2a, 0xb6, - 0x01, 0x0a, 0x15, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x50, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x4e, 0x56, 0x5f, 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, + 0x12, 0x49, 0x0a, 0x0f, 0x6e, 0x76, 0x5f, 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, + 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0d, 0x6e, 0x76, + 0x4d, 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, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, + 0x74, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x91, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x10, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x0e, 0x6e, 0x76, 0x4d, 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, + 0x56, 0x4d, 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, 0x56, + 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x5c, 0x0a, 0x19, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, + 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 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, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, + 0x81, 0x01, 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 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, 0x2a, 0xb6, 0x01, 0x0a, 0x15, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, + 0x25, 0x4e, 0x56, 0x5f, 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, 0xa0, 0x01, 0x0a, + 0x19, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, + 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x2a, 0x4e, 0x56, + 0x5f, 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, 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, 0xa0, 0x01, 0x0a, 0x19, 0x4e, 0x56, 0x4d, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x2a, 0x4e, 0x56, 0x5f, 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, 0xa5, 0x17, 0x0a, 0x13, 0x46, - 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, + 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, + 0xa5, 0x17, 0x0a, 0x13, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, + 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x73, 0x7d, 0x3a, 0x0f, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x29, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, + 0x5f, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x6e, 0x76, + 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x5c, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0f, - 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xda, - 0x41, 0x29, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, - 0x56, 0x4d, 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, 0xc6, 0x01, - 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x53, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, - 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, 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, 0x0f, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x1b, 0x6e, 0x76, 0x5f, 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, - 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x2d, 0x2e, + 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, 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, 0x0f, 0x6e, 0x76, + 0x5f, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xda, 0x41, 0x1b, + 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, - 0x4d, 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, 0x56, 0x4d, 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, + 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 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, 0x56, - 0x4d, 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, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0xcc, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, - 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, - 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x73, 0x7d, 0x3a, 0x10, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x2b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, - 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2c, - 0x6e, 0x76, 0x5f, 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, 0x56, - 0x4d, 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, 0x56, 0x4d, 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, 0xcc, 0x01, 0x0a, 0x14, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x4d, 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, 0x56, 0x4d, + 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, 0xcc, 0x01, 0x0a, 0x14, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x32, - 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, 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, 0x10, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x1c, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2e, 0x2e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, + 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x10, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, 0x2b, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x2c, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, + 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, 0xcc, + 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, + 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5f, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x3a, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, 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, 0x10, 0x6e, 0x76, + 0x5f, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xda, 0x41, + 0x1c, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, + 0x56, 0x4d, 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, + 0x56, 0x4d, 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, 0x56, 0x4d, 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, + 0x56, 0x4d, 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, 0x56, 0x4d, 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, + 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0xc6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4e, 0x56, 0x4d, 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, 0x4e, 0x56, 0x4d, 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, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0xc6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, 0x4e, + 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, + 0x7d, 0x3a, 0x0f, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0xda, 0x41, 0x29, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2c, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5c, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x3d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x7d, 0x3a, 0x0f, 0x6e, 0x76, - 0x5f, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xda, 0x41, 0x29, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2c, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, - 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, 0xc6, 0x01, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 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, - 0x56, 0x4d, 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, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x32, 0x25, - 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, 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, 0x0f, 0x6e, 0x76, 0x5f, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xda, 0x41, 0x1b, 0x6e, 0x76, 0x5f, 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, 0x56, 0x4d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, + 0x93, 0x02, 0x38, 0x32, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x76, 0x5f, 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, 0x0f, 0x6e, 0x76, 0x5f, 0x6d, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xda, 0x41, 0x1b, 0x6e, 0x76, + 0x5f, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x4e, 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, - 0x56, 0x4d, 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, 0x56, 0x4d, 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, 0x56, 0x4d, 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, + 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, 0x56, 0x4d, 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, } var ( @@ -2668,7 +2675,8 @@ var file_frontend_nvme_pcie_proto_goTypes = []interface{}{ (*PciEndpoint)(nil), // 36: opi_api.storage.v1.PciEndpoint (*_go.Uuid)(nil), // 37: opi_api.common.v1.Uuid (*fieldmaskpb.FieldMask)(nil), // 38: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 39: google.protobuf.Empty + (*VolumeStats)(nil), // 39: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 40: google.protobuf.Empty } var file_frontend_nvme_pcie_proto_depIdxs = []int32{ 3, // 0: opi_api.storage.v1.NVMeSubsystem.spec:type_name -> opi_api.storage.v1.NVMeSubsystemSpec @@ -2692,59 +2700,62 @@ var file_frontend_nvme_pcie_proto_depIdxs = []int32{ 38, // 18: opi_api.storage.v1.UpdateNVMeSubsystemRequest.update_mask:type_name -> google.protobuf.FieldMask 2, // 19: opi_api.storage.v1.ListNVMeSubsystemsResponse.nv_me_subsystems:type_name -> opi_api.storage.v1.NVMeSubsystem 35, // 20: opi_api.storage.v1.NVMeSubsystemStatsRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey - 5, // 21: opi_api.storage.v1.CreateNVMeControllerRequest.nv_me_controller:type_name -> opi_api.storage.v1.NVMeController - 5, // 22: opi_api.storage.v1.UpdateNVMeControllerRequest.nv_me_controller:type_name -> opi_api.storage.v1.NVMeController - 38, // 23: opi_api.storage.v1.UpdateNVMeControllerRequest.update_mask:type_name -> google.protobuf.FieldMask - 5, // 24: opi_api.storage.v1.ListNVMeControllersResponse.nv_me_controllers:type_name -> opi_api.storage.v1.NVMeController - 35, // 25: opi_api.storage.v1.NVMeControllerStatsRequest.id:type_name -> opi_api.common.v1.ObjectKey - 35, // 26: opi_api.storage.v1.NVMeControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 8, // 27: opi_api.storage.v1.CreateNVMeNamespaceRequest.nv_me_namespace:type_name -> opi_api.storage.v1.NVMeNamespace - 8, // 28: opi_api.storage.v1.UpdateNVMeNamespaceRequest.nv_me_namespace:type_name -> opi_api.storage.v1.NVMeNamespace - 38, // 29: opi_api.storage.v1.UpdateNVMeNamespaceRequest.update_mask:type_name -> google.protobuf.FieldMask - 8, // 30: opi_api.storage.v1.ListNVMeNamespacesResponse.nv_me_namespaces:type_name -> opi_api.storage.v1.NVMeNamespace - 35, // 31: opi_api.storage.v1.NVMeNamespaceStatsRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey - 35, // 32: opi_api.storage.v1.NVMeNamespaceStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 11, // 33: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:input_type -> opi_api.storage.v1.CreateNVMeSubsystemRequest - 12, // 34: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:input_type -> opi_api.storage.v1.DeleteNVMeSubsystemRequest - 13, // 35: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:input_type -> opi_api.storage.v1.UpdateNVMeSubsystemRequest - 14, // 36: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystems:input_type -> opi_api.storage.v1.ListNVMeSubsystemsRequest - 16, // 37: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:input_type -> opi_api.storage.v1.GetNVMeSubsystemRequest - 17, // 38: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:input_type -> opi_api.storage.v1.NVMeSubsystemStatsRequest - 19, // 39: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:input_type -> opi_api.storage.v1.CreateNVMeControllerRequest - 20, // 40: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:input_type -> opi_api.storage.v1.DeleteNVMeControllerRequest - 21, // 41: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:input_type -> opi_api.storage.v1.UpdateNVMeControllerRequest - 22, // 42: opi_api.storage.v1.FrontendNvmeService.ListNVMeControllers:input_type -> opi_api.storage.v1.ListNVMeControllersRequest - 24, // 43: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:input_type -> opi_api.storage.v1.GetNVMeControllerRequest - 25, // 44: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:input_type -> opi_api.storage.v1.NVMeControllerStatsRequest - 27, // 45: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:input_type -> opi_api.storage.v1.CreateNVMeNamespaceRequest - 28, // 46: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:input_type -> opi_api.storage.v1.DeleteNVMeNamespaceRequest - 29, // 47: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:input_type -> opi_api.storage.v1.UpdateNVMeNamespaceRequest - 30, // 48: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespaces:input_type -> opi_api.storage.v1.ListNVMeNamespacesRequest - 32, // 49: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:input_type -> opi_api.storage.v1.GetNVMeNamespaceRequest - 33, // 50: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:input_type -> opi_api.storage.v1.NVMeNamespaceStatsRequest - 2, // 51: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem - 39, // 52: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:output_type -> google.protobuf.Empty - 2, // 53: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem - 15, // 54: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystems:output_type -> opi_api.storage.v1.ListNVMeSubsystemsResponse - 2, // 55: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem - 18, // 56: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:output_type -> opi_api.storage.v1.NVMeSubsystemStatsResponse - 5, // 57: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:output_type -> opi_api.storage.v1.NVMeController - 39, // 58: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:output_type -> google.protobuf.Empty - 5, // 59: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:output_type -> opi_api.storage.v1.NVMeController - 23, // 60: opi_api.storage.v1.FrontendNvmeService.ListNVMeControllers:output_type -> opi_api.storage.v1.ListNVMeControllersResponse - 5, // 61: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:output_type -> opi_api.storage.v1.NVMeController - 26, // 62: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:output_type -> opi_api.storage.v1.NVMeControllerStatsResponse - 8, // 63: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace - 39, // 64: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:output_type -> google.protobuf.Empty - 8, // 65: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace - 31, // 66: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespaces:output_type -> opi_api.storage.v1.ListNVMeNamespacesResponse - 8, // 67: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace - 34, // 68: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:output_type -> opi_api.storage.v1.NVMeNamespaceStatsResponse - 51, // [51:69] is the sub-list for method output_type - 33, // [33:51] is the sub-list for method input_type - 33, // [33:33] is the sub-list for extension type_name - 33, // [33:33] is the sub-list for extension extendee - 0, // [0:33] is the sub-list for field type_name + 39, // 21: opi_api.storage.v1.NVMeSubsystemStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 5, // 22: opi_api.storage.v1.CreateNVMeControllerRequest.nv_me_controller:type_name -> opi_api.storage.v1.NVMeController + 5, // 23: opi_api.storage.v1.UpdateNVMeControllerRequest.nv_me_controller:type_name -> opi_api.storage.v1.NVMeController + 38, // 24: opi_api.storage.v1.UpdateNVMeControllerRequest.update_mask:type_name -> google.protobuf.FieldMask + 5, // 25: opi_api.storage.v1.ListNVMeControllersResponse.nv_me_controllers:type_name -> opi_api.storage.v1.NVMeController + 35, // 26: opi_api.storage.v1.NVMeControllerStatsRequest.id:type_name -> opi_api.common.v1.ObjectKey + 35, // 27: opi_api.storage.v1.NVMeControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 39, // 28: opi_api.storage.v1.NVMeControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 8, // 29: opi_api.storage.v1.CreateNVMeNamespaceRequest.nv_me_namespace:type_name -> opi_api.storage.v1.NVMeNamespace + 8, // 30: opi_api.storage.v1.UpdateNVMeNamespaceRequest.nv_me_namespace:type_name -> opi_api.storage.v1.NVMeNamespace + 38, // 31: opi_api.storage.v1.UpdateNVMeNamespaceRequest.update_mask:type_name -> google.protobuf.FieldMask + 8, // 32: opi_api.storage.v1.ListNVMeNamespacesResponse.nv_me_namespaces:type_name -> opi_api.storage.v1.NVMeNamespace + 35, // 33: opi_api.storage.v1.NVMeNamespaceStatsRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 34: opi_api.storage.v1.NVMeNamespaceStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 39, // 35: opi_api.storage.v1.NVMeNamespaceStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 11, // 36: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:input_type -> opi_api.storage.v1.CreateNVMeSubsystemRequest + 12, // 37: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:input_type -> opi_api.storage.v1.DeleteNVMeSubsystemRequest + 13, // 38: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:input_type -> opi_api.storage.v1.UpdateNVMeSubsystemRequest + 14, // 39: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystems:input_type -> opi_api.storage.v1.ListNVMeSubsystemsRequest + 16, // 40: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:input_type -> opi_api.storage.v1.GetNVMeSubsystemRequest + 17, // 41: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:input_type -> opi_api.storage.v1.NVMeSubsystemStatsRequest + 19, // 42: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:input_type -> opi_api.storage.v1.CreateNVMeControllerRequest + 20, // 43: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:input_type -> opi_api.storage.v1.DeleteNVMeControllerRequest + 21, // 44: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:input_type -> opi_api.storage.v1.UpdateNVMeControllerRequest + 22, // 45: opi_api.storage.v1.FrontendNvmeService.ListNVMeControllers:input_type -> opi_api.storage.v1.ListNVMeControllersRequest + 24, // 46: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:input_type -> opi_api.storage.v1.GetNVMeControllerRequest + 25, // 47: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:input_type -> opi_api.storage.v1.NVMeControllerStatsRequest + 27, // 48: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:input_type -> opi_api.storage.v1.CreateNVMeNamespaceRequest + 28, // 49: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:input_type -> opi_api.storage.v1.DeleteNVMeNamespaceRequest + 29, // 50: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:input_type -> opi_api.storage.v1.UpdateNVMeNamespaceRequest + 30, // 51: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespaces:input_type -> opi_api.storage.v1.ListNVMeNamespacesRequest + 32, // 52: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:input_type -> opi_api.storage.v1.GetNVMeNamespaceRequest + 33, // 53: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:input_type -> opi_api.storage.v1.NVMeNamespaceStatsRequest + 2, // 54: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem + 40, // 55: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:output_type -> google.protobuf.Empty + 2, // 56: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem + 15, // 57: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystems:output_type -> opi_api.storage.v1.ListNVMeSubsystemsResponse + 2, // 58: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem + 18, // 59: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:output_type -> opi_api.storage.v1.NVMeSubsystemStatsResponse + 5, // 60: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:output_type -> opi_api.storage.v1.NVMeController + 40, // 61: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:output_type -> google.protobuf.Empty + 5, // 62: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:output_type -> opi_api.storage.v1.NVMeController + 23, // 63: opi_api.storage.v1.FrontendNvmeService.ListNVMeControllers:output_type -> opi_api.storage.v1.ListNVMeControllersResponse + 5, // 64: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:output_type -> opi_api.storage.v1.NVMeController + 26, // 65: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:output_type -> opi_api.storage.v1.NVMeControllerStatsResponse + 8, // 66: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace + 40, // 67: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:output_type -> google.protobuf.Empty + 8, // 68: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace + 31, // 69: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespaces:output_type -> opi_api.storage.v1.ListNVMeNamespacesResponse + 8, // 70: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace + 34, // 71: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:output_type -> opi_api.storage.v1.NVMeNamespaceStatsResponse + 54, // [54:72] is the sub-list for method output_type + 36, // [36:54] is the sub-list for method input_type + 36, // [36:36] is the sub-list for extension type_name + 36, // [36:36] is the sub-list for extension extendee + 0, // [0:36] is the sub-list for field type_name } func init() { file_frontend_nvme_pcie_proto_init() } diff --git a/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go b/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go index e007731e..b8163b67 100644 --- a/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go +++ b/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go @@ -488,7 +488,7 @@ type VirtioBlkStatsResponse struct { unknownFields protoimpl.UnknownFields Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *VirtioBlkStatsResponse) Reset() { @@ -530,11 +530,11 @@ func (x *VirtioBlkStatsResponse) GetId() *_go.ObjectKey { return nil } -func (x *VirtioBlkStatsResponse) GetStats() string { +func (x *VirtioBlkStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_frontend_virtio_blk_proto protoreflect.FileDescriptor @@ -624,76 +624,78 @@ var file_frontend_virtio_blk_proto_rawDesc = []byte{ 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, 0x5c, 0x0a, 0x16, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x74, + 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, - 0x8a, 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, 0xab, 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, 0x4d, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x25, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 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, 0x1f, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x2c, 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, 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, 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, + 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, 0x8a, 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, 0xab, 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, 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, + 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x22, 0x4d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x25, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 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, 0x1f, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x2c, 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, 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, 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, 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 ( @@ -722,7 +724,8 @@ var file_frontend_virtio_blk_proto_goTypes = []interface{}{ (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey (*PciEndpoint)(nil), // 10: opi_api.storage.v1.PciEndpoint (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*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.id:type_name -> opi_api.common.v1.ObjectKey @@ -734,23 +737,24 @@ var file_frontend_virtio_blk_proto_depIdxs = []int32{ 0, // 6: opi_api.storage.v1.ListVirtioBlksResponse.virtio_blks:type_name -> opi_api.storage.v1.VirtioBlk 9, // 7: opi_api.storage.v1.VirtioBlkStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey 9, // 8: opi_api.storage.v1.VirtioBlkStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 1, // 9: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:input_type -> opi_api.storage.v1.CreateVirtioBlkRequest - 2, // 10: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:input_type -> opi_api.storage.v1.DeleteVirtioBlkRequest - 3, // 11: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:input_type -> opi_api.storage.v1.UpdateVirtioBlkRequest - 4, // 12: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:input_type -> opi_api.storage.v1.ListVirtioBlksRequest - 6, // 13: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:input_type -> opi_api.storage.v1.GetVirtioBlkRequest - 7, // 14: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:input_type -> opi_api.storage.v1.VirtioBlkStatsRequest - 0, // 15: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk - 12, // 16: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:output_type -> google.protobuf.Empty - 0, // 17: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk - 5, // 18: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:output_type -> opi_api.storage.v1.ListVirtioBlksResponse - 0, // 19: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk - 8, // 20: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:output_type -> opi_api.storage.v1.VirtioBlkStatsResponse - 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 + 12, // 9: opi_api.storage.v1.VirtioBlkStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 10: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:input_type -> opi_api.storage.v1.CreateVirtioBlkRequest + 2, // 11: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:input_type -> opi_api.storage.v1.DeleteVirtioBlkRequest + 3, // 12: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:input_type -> opi_api.storage.v1.UpdateVirtioBlkRequest + 4, // 13: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:input_type -> opi_api.storage.v1.ListVirtioBlksRequest + 6, // 14: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:input_type -> opi_api.storage.v1.GetVirtioBlkRequest + 7, // 15: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:input_type -> opi_api.storage.v1.VirtioBlkStatsRequest + 0, // 16: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 13, // 17: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:output_type -> google.protobuf.Empty + 0, // 18: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 5, // 19: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlks:output_type -> opi_api.storage.v1.ListVirtioBlksResponse + 0, // 20: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 8, // 21: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:output_type -> opi_api.storage.v1.VirtioBlkStatsResponse + 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 } func init() { file_frontend_virtio_blk_proto_init() } diff --git a/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go b/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go index 3b101545..1a4d2891 100644 --- a/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go +++ b/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go @@ -592,7 +592,7 @@ type VirtioScsiTargetStatsResponse struct { unknownFields protoimpl.UnknownFields Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *VirtioScsiTargetStatsResponse) Reset() { @@ -634,11 +634,11 @@ func (x *VirtioScsiTargetStatsResponse) GetId() *_go.ObjectKey { return nil } -func (x *VirtioScsiTargetStatsResponse) GetStats() string { +func (x *VirtioScsiTargetStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } type CreateVirtioScsiControllerRequest struct { @@ -1025,7 +1025,7 @@ type VirtioScsiControllerStatsResponse struct { unknownFields protoimpl.UnknownFields Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *VirtioScsiControllerStatsResponse) Reset() { @@ -1067,11 +1067,11 @@ func (x *VirtioScsiControllerStatsResponse) GetId() *_go.ObjectKey { return nil } -func (x *VirtioScsiControllerStatsResponse) GetStats() string { +func (x *VirtioScsiControllerStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } type CreateVirtioScsiLunRequest struct { @@ -1466,7 +1466,7 @@ type VirtioScsiLunStatsResponse struct { unknownFields protoimpl.UnknownFields Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *VirtioScsiLunStatsResponse) Reset() { @@ -1508,11 +1508,11 @@ func (x *VirtioScsiLunStatsResponse) GetId() *_go.ObjectKey { return nil } -func (x *VirtioScsiLunStatsResponse) GetStats() string { +func (x *VirtioScsiLunStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_frontend_virtio_scsi_proto protoreflect.FileDescriptor @@ -1623,370 +1623,376 @@ var file_frontend_virtio_scsi_proto_rawDesc = []byte{ 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, 0x63, 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, 0x14, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x22, 0x8c, 0x02, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, + 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, 0x8c, 0x02, 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, 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, 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, - 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, 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, 0x68, 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, 0x22, 0xc0, 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, + 0x49, 0x64, 0x22, 0x68, 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, - 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, 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, + 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, 0xc0, 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, 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, 0x67, 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0xdb, - 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, 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, - 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, 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, 0x5a, 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, 0x22, 0xa4, 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, + 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, 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, + 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, 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, 0xdb, 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, 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, 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, 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, 0x5a, 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, 0x22, 0xa4, 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, 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, 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, + 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, 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, 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, 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, 0x60, - 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, 0x14, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x32, 0xa1, 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, 0xd8, - 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, + 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, 0xa1, 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, 0xd8, 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, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, + 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x2f, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 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, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 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, 0x2d, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, - 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x2f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x2c, 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, + 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, 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, - 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, 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, + 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, 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, 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, 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, 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, 0xf0, 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, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x17, 0x2f, 0x76, 0x31, - 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x37, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 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, + 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, 0xf0, 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, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x31, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x37, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 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, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 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, 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, 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, + 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, 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, 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, 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, 0xc6, 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, + 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, 0x4c, 0x75, - 0x6e, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x29, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 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, 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, + 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, 0xc6, 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, 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, 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, + 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, + 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x29, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x2c, 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, 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, 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 ( @@ -2033,7 +2039,8 @@ var file_frontend_virtio_scsi_proto_goTypes = []interface{}{ (*_go.ObjectKey)(nil), // 27: opi_api.common.v1.ObjectKey (*PciEndpoint)(nil), // 28: opi_api.storage.v1.PciEndpoint (*fieldmaskpb.FieldMask)(nil), // 29: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 30: google.protobuf.Empty + (*VolumeStats)(nil), // 30: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 31: google.protobuf.Empty } var file_frontend_virtio_scsi_proto_depIdxs = []int32{ 27, // 0: opi_api.storage.v1.VirtioScsiTarget.id:type_name -> opi_api.common.v1.ObjectKey @@ -2048,60 +2055,63 @@ var file_frontend_virtio_scsi_proto_depIdxs = []int32{ 0, // 9: opi_api.storage.v1.ListVirtioScsiTargetsResponse.virtio_scsi_targets:type_name -> opi_api.storage.v1.VirtioScsiTarget 27, // 10: opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id:type_name -> opi_api.common.v1.ObjectKey 27, // 11: opi_api.storage.v1.VirtioScsiTargetStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 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 - 29, // 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 - 27, // 16: opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 17: opi_api.storage.v1.VirtioScsiControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 2, // 18: opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun - 2, // 19: opi_api.storage.v1.UpdateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun - 29, // 20: opi_api.storage.v1.UpdateVirtioScsiLunRequest.update_mask:type_name -> google.protobuf.FieldMask - 2, // 21: opi_api.storage.v1.ListVirtioScsiLunsResponse.virtio_scsi_luns:type_name -> opi_api.storage.v1.VirtioScsiLun - 27, // 22: opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 23: opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 24: opi_api.storage.v1.VirtioScsiLunStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 3, // 25: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:input_type -> opi_api.storage.v1.CreateVirtioScsiTargetRequest - 4, // 26: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:input_type -> opi_api.storage.v1.DeleteVirtioScsiTargetRequest - 5, // 27: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:input_type -> opi_api.storage.v1.UpdateVirtioScsiTargetRequest - 6, // 28: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:input_type -> opi_api.storage.v1.ListVirtioScsiTargetsRequest - 8, // 29: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:input_type -> opi_api.storage.v1.GetVirtioScsiTargetRequest - 9, // 30: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:input_type -> opi_api.storage.v1.VirtioScsiTargetStatsRequest - 11, // 31: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:input_type -> opi_api.storage.v1.CreateVirtioScsiControllerRequest - 12, // 32: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:input_type -> opi_api.storage.v1.DeleteVirtioScsiControllerRequest - 13, // 33: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:input_type -> opi_api.storage.v1.UpdateVirtioScsiControllerRequest - 14, // 34: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:input_type -> opi_api.storage.v1.ListVirtioScsiControllersRequest - 16, // 35: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:input_type -> opi_api.storage.v1.GetVirtioScsiControllerRequest - 17, // 36: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:input_type -> opi_api.storage.v1.VirtioScsiControllerStatsRequest - 19, // 37: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:input_type -> opi_api.storage.v1.CreateVirtioScsiLunRequest - 20, // 38: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:input_type -> opi_api.storage.v1.DeleteVirtioScsiLunRequest - 21, // 39: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:input_type -> opi_api.storage.v1.UpdateVirtioScsiLunRequest - 22, // 40: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:input_type -> opi_api.storage.v1.ListVirtioScsiLunsRequest - 24, // 41: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:input_type -> opi_api.storage.v1.GetVirtioScsiLunRequest - 25, // 42: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:input_type -> opi_api.storage.v1.VirtioScsiLunStatsRequest - 0, // 43: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 30, // 44: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:output_type -> google.protobuf.Empty - 0, // 45: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 7, // 46: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:output_type -> opi_api.storage.v1.ListVirtioScsiTargetsResponse - 0, // 47: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 10, // 48: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:output_type -> opi_api.storage.v1.VirtioScsiTargetStatsResponse - 1, // 49: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 30, // 50: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:output_type -> google.protobuf.Empty - 1, // 51: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 15, // 52: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:output_type -> opi_api.storage.v1.ListVirtioScsiControllersResponse - 1, // 53: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 18, // 54: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:output_type -> opi_api.storage.v1.VirtioScsiControllerStatsResponse - 2, // 55: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 30, // 56: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:output_type -> google.protobuf.Empty - 2, // 57: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 23, // 58: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:output_type -> opi_api.storage.v1.ListVirtioScsiLunsResponse - 2, // 59: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 26, // 60: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:output_type -> opi_api.storage.v1.VirtioScsiLunStatsResponse - 43, // [43:61] is the sub-list for method output_type - 25, // [25:43] is the sub-list for method input_type - 25, // [25:25] is the sub-list for extension type_name - 25, // [25:25] is the sub-list for extension extendee - 0, // [0:25] is the sub-list for field type_name + 30, // 12: opi_api.storage.v1.VirtioScsiTargetStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 13: opi_api.storage.v1.CreateVirtioScsiControllerRequest.virtio_scsi_controller:type_name -> opi_api.storage.v1.VirtioScsiController + 1, // 14: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.virtio_scsi_controller:type_name -> opi_api.storage.v1.VirtioScsiController + 29, // 15: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.update_mask:type_name -> google.protobuf.FieldMask + 1, // 16: opi_api.storage.v1.ListVirtioScsiControllersResponse.virtio_scsi_controllers:type_name -> opi_api.storage.v1.VirtioScsiController + 27, // 17: opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 18: opi_api.storage.v1.VirtioScsiControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 30, // 19: opi_api.storage.v1.VirtioScsiControllerStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 2, // 20: opi_api.storage.v1.CreateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun + 2, // 21: opi_api.storage.v1.UpdateVirtioScsiLunRequest.virtio_scsi_lun:type_name -> opi_api.storage.v1.VirtioScsiLun + 29, // 22: opi_api.storage.v1.UpdateVirtioScsiLunRequest.update_mask:type_name -> google.protobuf.FieldMask + 2, // 23: opi_api.storage.v1.ListVirtioScsiLunsResponse.virtio_scsi_luns:type_name -> opi_api.storage.v1.VirtioScsiLun + 27, // 24: opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 25: opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 26: opi_api.storage.v1.VirtioScsiLunStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 30, // 27: opi_api.storage.v1.VirtioScsiLunStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 3, // 28: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:input_type -> opi_api.storage.v1.CreateVirtioScsiTargetRequest + 4, // 29: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:input_type -> opi_api.storage.v1.DeleteVirtioScsiTargetRequest + 5, // 30: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:input_type -> opi_api.storage.v1.UpdateVirtioScsiTargetRequest + 6, // 31: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:input_type -> opi_api.storage.v1.ListVirtioScsiTargetsRequest + 8, // 32: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:input_type -> opi_api.storage.v1.GetVirtioScsiTargetRequest + 9, // 33: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:input_type -> opi_api.storage.v1.VirtioScsiTargetStatsRequest + 11, // 34: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:input_type -> opi_api.storage.v1.CreateVirtioScsiControllerRequest + 12, // 35: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:input_type -> opi_api.storage.v1.DeleteVirtioScsiControllerRequest + 13, // 36: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:input_type -> opi_api.storage.v1.UpdateVirtioScsiControllerRequest + 14, // 37: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:input_type -> opi_api.storage.v1.ListVirtioScsiControllersRequest + 16, // 38: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:input_type -> opi_api.storage.v1.GetVirtioScsiControllerRequest + 17, // 39: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:input_type -> opi_api.storage.v1.VirtioScsiControllerStatsRequest + 19, // 40: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:input_type -> opi_api.storage.v1.CreateVirtioScsiLunRequest + 20, // 41: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:input_type -> opi_api.storage.v1.DeleteVirtioScsiLunRequest + 21, // 42: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:input_type -> opi_api.storage.v1.UpdateVirtioScsiLunRequest + 22, // 43: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:input_type -> opi_api.storage.v1.ListVirtioScsiLunsRequest + 24, // 44: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:input_type -> opi_api.storage.v1.GetVirtioScsiLunRequest + 25, // 45: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:input_type -> opi_api.storage.v1.VirtioScsiLunStatsRequest + 0, // 46: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 31, // 47: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:output_type -> google.protobuf.Empty + 0, // 48: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 7, // 49: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTargets:output_type -> opi_api.storage.v1.ListVirtioScsiTargetsResponse + 0, // 50: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 10, // 51: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:output_type -> opi_api.storage.v1.VirtioScsiTargetStatsResponse + 1, // 52: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 31, // 53: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:output_type -> google.protobuf.Empty + 1, // 54: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 15, // 55: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiControllers:output_type -> opi_api.storage.v1.ListVirtioScsiControllersResponse + 1, // 56: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 18, // 57: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:output_type -> opi_api.storage.v1.VirtioScsiControllerStatsResponse + 2, // 58: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 31, // 59: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:output_type -> google.protobuf.Empty + 2, // 60: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 23, // 61: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLuns:output_type -> opi_api.storage.v1.ListVirtioScsiLunsResponse + 2, // 62: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 26, // 63: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:output_type -> opi_api.storage.v1.VirtioScsiLunStatsResponse + 46, // [46:64] is the sub-list for method output_type + 28, // [28:46] is the sub-list for method input_type + 28, // [28:28] is the sub-list for extension type_name + 28, // [28:28] is the sub-list for extension extendee + 0, // [0:28] is the sub-list for field type_name } func init() { file_frontend_virtio_scsi_proto_init() } diff --git a/storage/v1alpha1/gen/go/middleend.pb.go b/storage/v1alpha1/gen/go/middleend.pb.go index f5c6be35..fb458703 100644 --- a/storage/v1alpha1/gen/go/middleend.pb.go +++ b/storage/v1alpha1/gen/go/middleend.pb.go @@ -490,7 +490,7 @@ type EncryptedVolumeStatsResponse struct { unknownFields protoimpl.UnknownFields EncryptedVolumeId *_go.ObjectKey `protobuf:"bytes,1,opt,name=encrypted_volume_id,json=encryptedVolumeId,proto3" json:"encrypted_volume_id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *VolumeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *EncryptedVolumeStatsResponse) Reset() { @@ -532,11 +532,11 @@ func (x *EncryptedVolumeStatsResponse) GetEncryptedVolumeId() *_go.ObjectKey { return nil } -func (x *EncryptedVolumeStatsResponse) GetStats() string { +func (x *EncryptedVolumeStatsResponse) GetStats() *VolumeStats { if x != nil { return x.Stats } - return "" + return nil } var File_middleend_proto protoreflect.FileDescriptor @@ -636,86 +636,88 @@ var file_middleend_proto_rawDesc = []byte{ 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, 0x82, 0x01, 0x0a, 0x1c, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32, 0x80, 0x08, 0x0a, 0x10, 0x4d, 0x69, 0x64, 0x64, - 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcf, 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, 0x5f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 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, 0x2b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 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, + 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, 0x80, 0x08, 0x0a, 0x10, 0x4d, 0x69, 0x64, + 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcf, 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, 0x5f, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 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, + 0x65, 0xda, 0x41, 0x2b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 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, 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, + 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, - 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, + 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, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x5d, 0x0a, 0x12, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x42, 0x0e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 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, + 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, 0x5d, 0x0a, 0x12, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x42, 0x0e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x65, 0x6e, 0x64, 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 ( @@ -744,7 +746,8 @@ var file_middleend_proto_goTypes = []interface{}{ (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey (EncryptionType)(0), // 10: opi_api.storage.v1.EncryptionType (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*VolumeStats)(nil), // 12: opi_api.storage.v1.VolumeStats + (*emptypb.Empty)(nil), // 13: google.protobuf.Empty } var file_middleend_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.EncryptedVolume.encrypted_volume_id:type_name -> opi_api.common.v1.ObjectKey @@ -756,23 +759,24 @@ var file_middleend_proto_depIdxs = []int32{ 0, // 6: opi_api.storage.v1.ListEncryptedVolumesResponse.encrypted_volumes:type_name -> opi_api.storage.v1.EncryptedVolume 9, // 7: opi_api.storage.v1.EncryptedVolumeStatsRequest.encrypted_volume_id:type_name -> opi_api.common.v1.ObjectKey 9, // 8: opi_api.storage.v1.EncryptedVolumeStatsResponse.encrypted_volume_id:type_name -> opi_api.common.v1.ObjectKey - 1, // 9: opi_api.storage.v1.MiddleendService.CreateEncryptedVolume:input_type -> opi_api.storage.v1.CreateEncryptedVolumeRequest - 2, // 10: opi_api.storage.v1.MiddleendService.DeleteEncryptedVolume:input_type -> opi_api.storage.v1.DeleteEncryptedVolumeRequest - 3, // 11: opi_api.storage.v1.MiddleendService.UpdateEncryptedVolume:input_type -> opi_api.storage.v1.UpdateEncryptedVolumeRequest - 4, // 12: opi_api.storage.v1.MiddleendService.ListEncryptedVolumes:input_type -> opi_api.storage.v1.ListEncryptedVolumesRequest - 6, // 13: opi_api.storage.v1.MiddleendService.GetEncryptedVolume:input_type -> opi_api.storage.v1.GetEncryptedVolumeRequest - 7, // 14: opi_api.storage.v1.MiddleendService.EncryptedVolumeStats:input_type -> opi_api.storage.v1.EncryptedVolumeStatsRequest - 0, // 15: opi_api.storage.v1.MiddleendService.CreateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume - 12, // 16: opi_api.storage.v1.MiddleendService.DeleteEncryptedVolume:output_type -> google.protobuf.Empty - 0, // 17: opi_api.storage.v1.MiddleendService.UpdateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume - 5, // 18: opi_api.storage.v1.MiddleendService.ListEncryptedVolumes:output_type -> opi_api.storage.v1.ListEncryptedVolumesResponse - 0, // 19: opi_api.storage.v1.MiddleendService.GetEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume - 8, // 20: opi_api.storage.v1.MiddleendService.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 + 12, // 9: opi_api.storage.v1.EncryptedVolumeStatsResponse.stats:type_name -> opi_api.storage.v1.VolumeStats + 1, // 10: opi_api.storage.v1.MiddleendService.CreateEncryptedVolume:input_type -> opi_api.storage.v1.CreateEncryptedVolumeRequest + 2, // 11: opi_api.storage.v1.MiddleendService.DeleteEncryptedVolume:input_type -> opi_api.storage.v1.DeleteEncryptedVolumeRequest + 3, // 12: opi_api.storage.v1.MiddleendService.UpdateEncryptedVolume:input_type -> opi_api.storage.v1.UpdateEncryptedVolumeRequest + 4, // 13: opi_api.storage.v1.MiddleendService.ListEncryptedVolumes:input_type -> opi_api.storage.v1.ListEncryptedVolumesRequest + 6, // 14: opi_api.storage.v1.MiddleendService.GetEncryptedVolume:input_type -> opi_api.storage.v1.GetEncryptedVolumeRequest + 7, // 15: opi_api.storage.v1.MiddleendService.EncryptedVolumeStats:input_type -> opi_api.storage.v1.EncryptedVolumeStatsRequest + 0, // 16: opi_api.storage.v1.MiddleendService.CreateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume + 13, // 17: opi_api.storage.v1.MiddleendService.DeleteEncryptedVolume:output_type -> google.protobuf.Empty + 0, // 18: opi_api.storage.v1.MiddleendService.UpdateEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume + 5, // 19: opi_api.storage.v1.MiddleendService.ListEncryptedVolumes:output_type -> opi_api.storage.v1.ListEncryptedVolumesResponse + 0, // 20: opi_api.storage.v1.MiddleendService.GetEncryptedVolume:output_type -> opi_api.storage.v1.EncryptedVolume + 8, // 21: opi_api.storage.v1.MiddleendService.EncryptedVolumeStats:output_type -> opi_api.storage.v1.EncryptedVolumeStatsResponse + 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 } func init() { file_middleend_proto_init() } diff --git a/storage/v1alpha1/gen/go/opicommon.pb.go b/storage/v1alpha1/gen/go/opicommon.pb.go index 1a1ce419..9793e217 100644 --- a/storage/v1alpha1/gen/go/opicommon.pb.go +++ b/storage/v1alpha1/gen/go/opicommon.pb.go @@ -167,6 +167,117 @@ func (x *PciEndpoint) GetVirtualFunction() int32 { return 0 } +type VolumeStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BytesRead int32 `protobuf:"varint,1,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"` + ReadOpsCount int32 `protobuf:"varint,2,opt,name=read_ops_count,json=readOpsCount,proto3" json:"read_ops_count,omitempty"` + BytesWritten int32 `protobuf:"varint,3,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"` + WriteOpsCount int32 `protobuf:"varint,4,opt,name=write_ops_count,json=writeOpsCount,proto3" json:"write_ops_count,omitempty"` + BytesUnmapped int32 `protobuf:"varint,5,opt,name=bytes_unmapped,json=bytesUnmapped,proto3" json:"bytes_unmapped,omitempty"` + UnmapOpsCount int32 `protobuf:"varint,6,opt,name=unmap_ops_count,json=unmapOpsCount,proto3" json:"unmap_ops_count,omitempty"` + ReadLatencyTicks int32 `protobuf:"varint,7,opt,name=read_latency_ticks,json=readLatencyTicks,proto3" json:"read_latency_ticks,omitempty"` + WriteLatencyTicks int32 `protobuf:"varint,8,opt,name=write_latency_ticks,json=writeLatencyTicks,proto3" json:"write_latency_ticks,omitempty"` + UnmapLatencyTicks int32 `protobuf:"varint,9,opt,name=unmap_latency_ticks,json=unmapLatencyTicks,proto3" json:"unmap_latency_ticks,omitempty"` +} + +func (x *VolumeStats) Reset() { + *x = VolumeStats{} + if protoimpl.UnsafeEnabled { + mi := &file_opicommon_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VolumeStats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VolumeStats) ProtoMessage() {} + +func (x *VolumeStats) ProtoReflect() protoreflect.Message { + mi := &file_opicommon_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VolumeStats.ProtoReflect.Descriptor instead. +func (*VolumeStats) Descriptor() ([]byte, []int) { + return file_opicommon_proto_rawDescGZIP(), []int{1} +} + +func (x *VolumeStats) GetBytesRead() int32 { + if x != nil { + return x.BytesRead + } + return 0 +} + +func (x *VolumeStats) GetReadOpsCount() int32 { + if x != nil { + return x.ReadOpsCount + } + return 0 +} + +func (x *VolumeStats) GetBytesWritten() int32 { + if x != nil { + return x.BytesWritten + } + return 0 +} + +func (x *VolumeStats) GetWriteOpsCount() int32 { + if x != nil { + return x.WriteOpsCount + } + return 0 +} + +func (x *VolumeStats) GetBytesUnmapped() int32 { + if x != nil { + return x.BytesUnmapped + } + return 0 +} + +func (x *VolumeStats) GetUnmapOpsCount() int32 { + if x != nil { + return x.UnmapOpsCount + } + return 0 +} + +func (x *VolumeStats) GetReadLatencyTicks() int32 { + if x != nil { + return x.ReadLatencyTicks + } + return 0 +} + +func (x *VolumeStats) GetWriteLatencyTicks() int32 { + if x != nil { + return x.WriteLatencyTicks + } + return 0 +} + +func (x *VolumeStats) GetUnmapLatencyTicks() int32 { + if x != nil { + return x.UnmapLatencyTicks + } + return 0 +} + var File_opicommon_proto protoreflect.FileDescriptor var file_opicommon_proto_rawDesc = []byte{ @@ -180,29 +291,53 @@ var file_opicommon_proto_rawDesc = []byte{ 0x61, 0x6c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x46, 0x75, 0x6e, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0xf7, 0x01, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, - 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x72, + 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x70, 0x73, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, + 0x61, 0x64, 0x4f, 0x70, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x79, + 0x74, 0x65, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x57, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x12, + 0x26, 0x0a, 0x0f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x73, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4f, + 0x70, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0d, 0x62, 0x79, 0x74, 0x65, 0x73, 0x55, 0x6e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x12, 0x26, + 0x0a, 0x0f, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x5f, 0x6f, 0x70, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x4f, 0x70, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6c, + 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x10, 0x72, 0x65, 0x61, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x54, + 0x69, 0x63, 0x6b, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x6c, 0x61, + 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x11, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x54, + 0x69, 0x63, 0x6b, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x5f, 0x6c, 0x61, + 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x11, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x54, + 0x69, 0x63, 0x6b, 0x73, 0x2a, 0xf7, 0x01, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, + 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, + 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x45, 0x53, 0x5f, + 0x43, 0x42, 0x43, 0x5f, 0x31, 0x32, 0x38, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x45, 0x53, - 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x31, 0x32, 0x38, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, + 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x31, 0x39, 0x32, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x45, - 0x53, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x31, 0x39, 0x32, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x45, + 0x53, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, - 0x45, 0x53, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, + 0x45, 0x53, 0x5f, 0x58, 0x54, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x10, 0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x41, 0x45, 0x53, 0x5f, 0x58, 0x54, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x10, 0x04, 0x12, 0x1f, 0x0a, + 0x41, 0x45, 0x53, 0x5f, 0x58, 0x54, 0x53, 0x5f, 0x31, 0x39, 0x32, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x58, 0x54, 0x53, 0x5f, 0x31, 0x39, 0x32, 0x10, 0x05, 0x12, 0x1f, - 0x0a, 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x58, 0x54, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x06, 0x42, - 0x5d, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x4f, 0x70, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 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, + 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x58, 0x54, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x06, 0x42, 0x5d, + 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x4f, 0x70, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 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 ( @@ -218,10 +353,11 @@ func file_opicommon_proto_rawDescGZIP() []byte { } var file_opicommon_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_opicommon_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_opicommon_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_opicommon_proto_goTypes = []interface{}{ (EncryptionType)(0), // 0: opi_api.storage.v1.EncryptionType (*PciEndpoint)(nil), // 1: opi_api.storage.v1.PciEndpoint + (*VolumeStats)(nil), // 2: opi_api.storage.v1.VolumeStats } var file_opicommon_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type @@ -249,6 +385,18 @@ func file_opicommon_proto_init() { return nil } } + file_opicommon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -256,7 +404,7 @@ func file_opicommon_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_opicommon_proto_rawDesc, NumEnums: 1, - NumMessages: 1, + NumMessages: 2, NumExtensions: 0, NumServices: 0, }, diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java index a56fee33..a9e85cce 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java @@ -16,7 +16,6 @@ private AioControllerStatsResponse(com.google.protobuf.GeneratedMessageV3.Builde super(builder); } private AioControllerStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private AioControllerStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (handle_ != null) { output.writeMessage(1, getHandle()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHandle()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getHandle() .equals(other.getHandle())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + HANDLE_FIELD_NUMBER; hash = (53 * hash) + getHandle().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { handle_ = null; handleBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.AioControllerStatsResponse buildPartial() { } else { result.handle_ = handleBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.AioControllerStatsResponse other) { if (other.hasHandle()) { mergeHandle(other.getHandle()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { return handleBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java index 50e6fe31..ca703b35 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface AioControllerStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + 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 29c50c92..87d2e266 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java @@ -73,62 +73,63 @@ 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\nuui" + - "d.proto\"\240\001\n\rAioController\022,\n\006handle\030\001 \001(" + - "\0132\034.opi_api.common.v1.ObjectKey\022\022\n\nblock" + - "_size\030\002 \001(\003\022\024\n\014blocks_count\030\003 \001(\003\022%\n\004uui" + - "d\030\004 \001(\0132\027.opi_api.common.v1.Uuid\022\020\n\010file" + - "name\030\005 \001(\t\"\261\001\n\032CreateAioControllerReques" + - "t\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" + - "ge.v1/AioController\022>\n\016aio_controller\030\002 " + - "\001(\0132!.opi_api.storage.v1.AioControllerB\003" + - "\340A\002\022\031\n\021aio_controller_id\030\003 \001(\t\"T\n\032Delete" + + "/field_mask.proto\032\020object_key.proto\032\017opi" + + "common.proto\032\nuuid.proto\"\240\001\n\rAioControll" + + "er\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.O" + + "bjectKey\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_c" + + "ount\030\003 \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.commo" + + "n.v1.Uuid\022\020\n\010filename\030\005 \001(\t\"\261\001\n\032CreateAi" + + "oControllerRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372" + + "A\"\n opi_api.storage.v1/AioController\022>\n\016" + + "aio_controller\030\002 \001(\0132!.opi_api.storage.v" + + "1.AioControllerB\003\340A\002\022\031\n\021aio_controller_i" + + "d\030\003 \001(\t\"T\n\032DeleteAioControllerRequest\0226\n" + + "\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/" + + "AioController\"\210\001\n\032UpdateAioControllerReq" + + "uest\0229\n\016aio_controller\030\001 \001(\0132!.opi_api.s" + + "torage.v1.AioController\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"|\n\031List" + + "AioControllersRequest\0228\n\006parent\030\001 \001(\tB(\340" + + "A\002\372A\"\n opi_api.storage.v1/AioController\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q" + + "\n\032ListAioControllersResponse\022:\n\017aio_cont" + + "rollers\030\001 \003(\0132!.opi_api.storage.v1.AioCo" + + "ntroller\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\027Get" + "AioControllerRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" + - "A\"\n opi_api.storage.v1/AioController\"\210\001\n" + - "\032UpdateAioControllerRequest\0229\n\016aio_contr" + - "oller\030\001 \001(\0132!.opi_api.storage.v1.AioCont" + - "roller\022/\n\013update_mask\030\002 \001(\0132\032.google.pro" + - "tobuf.FieldMask\"|\n\031ListAioControllersReq" + - "uest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.st" + - "orage.v1/AioController\022\021\n\tpage_size\030\002 \001(" + - "\005\022\022\n\npage_token\030\003 \001(\t\"q\n\032ListAioControll" + - "ersResponse\022:\n\017aio_controllers\030\001 \003(\0132!.o" + - "pi_api.storage.v1.AioController\022\027\n\017next_" + - "page_token\030\002 \001(\t\"Q\n\027GetAioControllerRequ" + - "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" + - "ge.v1/AioController\"I\n\031AioControllerStat" + - "sRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.commo" + - "n.v1.ObjectKey\"Y\n\032AioControllerStatsResp" + - "onse\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1" + - ".ObjectKey\022\r\n\005stats\030\002 \001(\t2\342\007\n\024AioControl" + - "lerService\022\303\001\n\023CreateAioController\022..opi" + - "_api.storage.v1.CreateAioControllerReque" + - "st\032!.opi_api.storage.v1.AioController\"Y\202" + - "\323\344\223\002)\"\027/v1/{parent=subsystems}:\016aio_cont" + - "roller\332A\'parent,aio_controller,aio_contr" + - "oller_id\022\217\001\n\023DeleteAioController\022..opi_a" + - "pi.storage.v1.DeleteAioControllerRequest" + - "\032\026.google.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{n" + - "ame=subsystems}/{subsystem}\332A\004name\022\303\001\n\023U" + - "pdateAioController\022..opi_api.storage.v1." + - "UpdateAioControllerRequest\032!.opi_api.sto" + - "rage.v1.AioController\"Y\202\323\344\223\00262$/v1/{aio_" + - "controller.name=subsystems}:\016aio_control" + - "ler\332A\032aio_controller,update_mask\022\235\001\n\022Lis" + - "tAioControllers\022-.opi_api.storage.v1.Lis" + - "tAioControllersRequest\032..opi_api.storage" + - ".v1.ListAioControllersResponse\"(\202\323\344\223\002\031\022\027" + - "/v1/{parent=subsystems}\332A\006parent\022\224\001\n\020Get" + - "AioController\022+.opi_api.storage.v1.GetAi" + - "oControllerRequest\032!.opi_api.storage.v1." + - "AioController\"0\202\323\344\223\002#\022!/v1/{name=subsyst" + - "ems}/{subsystem}\332A\004name\022u\n\022AioController" + - "Stats\022-.opi_api.storage.v1.AioController" + - "StatsRequest\032..opi_api.storage.v1.AioCon" + - "trollerStatsResponse\"\000B^\n\022opi_api.storag" + - "e.v1B\017BackendAioProtoP\001Z5github.com/opip" + - "roject/opi-api/storage/v1alpha1/gen/gob\006" + - "proto3" + "A\"\n opi_api.storage.v1/AioController\"I\n\031" + + "AioControllerStatsRequest\022,\n\006handle\030\001 \001(" + + "\0132\034.opi_api.common.v1.ObjectKey\"z\n\032AioCo" + + "ntrollerStatsResponse\022,\n\006handle\030\001 \001(\0132\034." + + "opi_api.common.v1.ObjectKey\022.\n\005stats\030\002 \001" + + "(\0132\037.opi_api.storage.v1.VolumeStats2\342\007\n\024" + + "AioControllerService\022\303\001\n\023CreateAioContro" + + "ller\022..opi_api.storage.v1.CreateAioContr" + + "ollerRequest\032!.opi_api.storage.v1.AioCon" + + "troller\"Y\202\323\344\223\002)\"\027/v1/{parent=subsystems}" + + ":\016aio_controller\332A\'parent,aio_controller" + + ",aio_controller_id\022\217\001\n\023DeleteAioControll" + + "er\022..opi_api.storage.v1.DeleteAioControl" + + "lerRequest\032\026.google.protobuf.Empty\"0\202\323\344\223" + + "\002#*!/v1/{name=subsystems}/{subsystem}\332A\004" + + "name\022\303\001\n\023UpdateAioController\022..opi_api.s" + + "torage.v1.UpdateAioControllerRequest\032!.o" + + "pi_api.storage.v1.AioController\"Y\202\323\344\223\00262" + + "$/v1/{aio_controller.name=subsystems}:\016a" + + "io_controller\332A\032aio_controller,update_ma" + + "sk\022\235\001\n\022ListAioControllers\022-.opi_api.stor" + + "age.v1.ListAioControllersRequest\032..opi_a" + + "pi.storage.v1.ListAioControllersResponse" + + "\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pare" + + "nt\022\224\001\n\020GetAioController\022+.opi_api.storag" + + "e.v1.GetAioControllerRequest\032!.opi_api.s" + + "torage.v1.AioController\"0\202\323\344\223\002#\022!/v1/{na" + + "me=subsystems}/{subsystem}\332A\004name\022u\n\022Aio" + + "ControllerStats\022-.opi_api.storage.v1.Aio" + + "ControllerStatsRequest\032..opi_api.storage" + + ".v1.AioControllerStatsResponse\"\000B^\n\022opi_" + + "api.storage.v1B\017BackendAioProtoP\001Z5githu" + + "b.com/opiproject/opi-api/storage/v1alpha" + + "1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -140,6 +141,7 @@ public static void registerAllExtensions( 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(), }); internal_static_opi_api_storage_v1_AioController_descriptor = @@ -211,6 +213,7 @@ public static void registerAllExtensions( 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 ef023415..73044dde 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java @@ -73,57 +73,58 @@ 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\nuu" + - "id.proto\"\212\001\n\tNullDebug\022,\n\006handle\030\001 \001(\0132\034" + - ".opi_api.common.v1.ObjectKey\022\022\n\nblock_si" + - "ze\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\"\235\001\n\026Create" + - "NullDebugRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036" + - "\n\034opi_api.storage.v1/NullDebug\0226\n\nnull_d" + - "ebug\030\002 \001(\0132\035.opi_api.storage.v1.NullDebu" + - "gB\003\340A\002\022\025\n\rnull_debug_id\030\003 \001(\t\"L\n\026DeleteN" + - "ullDebugRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034o" + - "pi_api.storage.v1/NullDebug\"|\n\026UpdateNul" + - "lDebugRequest\0221\n\nnull_debug\030\001 \001(\0132\035.opi_" + - "api.storage.v1.NullDebug\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\"t\n\025Lis" + - "tNullDebugsRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372" + - "A\036\n\034opi_api.storage.v1/NullDebug\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\026ListN" + - "ullDebugsResponse\0222\n\013null_debugs\030\001 \003(\0132\035" + - ".opi_api.storage.v1.NullDebug\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"I\n\023GetNullDebugRequest\0222\n" + - "\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/" + - "NullDebug\"E\n\025NullDebugStatsRequest\022,\n\006ha" + - "ndle\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" + - "\"U\n\026NullDebugStatsResponse\022,\n\006handle\030\001 \001" + - "(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005stat" + - "s\030\002 \001(\t2\202\007\n\020NullDebugService\022\253\001\n\017CreateN" + - "ullDebug\022*.opi_api.storage.v1.CreateNull" + - "DebugRequest\032\035.opi_api.storage.v1.NullDe" + - "bug\"M\202\323\344\223\002%\"\027/v1/{parent=subsystems}:\nnu" + - "ll_debug\332A\037parent,null_debug,null_debug_" + - "id\022\207\001\n\017DeleteNullDebug\022*.opi_api.storage" + - ".v1.DeleteNullDebugRequest\032\026.google.prot" + - "obuf.Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems" + - "}/{subsystem}\332A\004name\022\253\001\n\017UpdateNullDebug" + - "\022*.opi_api.storage.v1.UpdateNullDebugReq" + - "uest\032\035.opi_api.storage.v1.NullDebug\"M\202\323\344" + - "\223\002.2 /v1/{null_debug.name=subsystems}:\nn" + - "ull_debug\332A\026null_debug,update_mask\022\221\001\n\016L" + - "istNullDebugs\022).opi_api.storage.v1.ListN" + - "ullDebugsRequest\032*.opi_api.storage.v1.Li" + - "stNullDebugsResponse\"(\202\323\344\223\002\031\022\027/v1/{paren" + - "t=subsystems}\332A\006parent\022\210\001\n\014GetNullDebug\022" + - "\'.opi_api.storage.v1.GetNullDebugRequest" + - "\032\035.opi_api.storage.v1.NullDebug\"0\202\323\344\223\002#\022" + - "!/v1/{name=subsystems}/{subsystem}\332A\004nam" + - "e\022i\n\016NullDebugStats\022).opi_api.storage.v1" + - ".NullDebugStatsRequest\032*.opi_api.storage" + - ".v1.NullDebugStatsResponse\"\000B_\n\022opi_api." + - "storage.v1B\020BackendNullProtoP\001Z5github.c" + - "om/opiproject/opi-api/storage/v1alpha1/g" + - "en/gob\006proto3" + "f/field_mask.proto\032\020object_key.proto\032\017op" + + "icommon.proto\032\nuuid.proto\"\212\001\n\tNullDebug\022" + + ",\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obje" + + "ctKey\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_coun" + + "t\030\003 \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.common.v" + + "1.Uuid\"\235\001\n\026CreateNullDebugRequest\0224\n\006par" + + "ent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/Nu" + + "llDebug\0226\n\nnull_debug\030\002 \001(\0132\035.opi_api.st" + + "orage.v1.NullDebugB\003\340A\002\022\025\n\rnull_debug_id" + + "\030\003 \001(\t\"L\n\026DeleteNullDebugRequest\0222\n\004name" + + "\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/NullD" + + "ebug\"|\n\026UpdateNullDebugRequest\0221\n\nnull_d" + + "ebug\030\001 \001(\0132\035.opi_api.storage.v1.NullDebu" + + "g\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\"t\n\025ListNullDebugsRequest\0224\n\006p" + + "arent\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.storage.v1/" + + "NullDebug\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"e\n\026ListNullDebugsResponse\0222\n\013nu" + + "ll_debugs\030\001 \003(\0132\035.opi_api.storage.v1.Nul" + + "lDebug\022\027\n\017next_page_token\030\002 \001(\t\"I\n\023GetNu" + + "llDebugRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034op" + + "i_api.storage.v1/NullDebug\"E\n\025NullDebugS" + + "tatsRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.co" + + "mmon.v1.ObjectKey\"v\n\026NullDebugStatsRespo" + + "nse\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1." + + "ObjectKey\022.\n\005stats\030\002 \001(\0132\037.opi_api.stora" + + "ge.v1.VolumeStats2\202\007\n\020NullDebugService\022\253" + + "\001\n\017CreateNullDebug\022*.opi_api.storage.v1." + + "CreateNullDebugRequest\032\035.opi_api.storage" + + ".v1.NullDebug\"M\202\323\344\223\002%\"\027/v1/{parent=subsy" + + "stems}:\nnull_debug\332A\037parent,null_debug,n" + + "ull_debug_id\022\207\001\n\017DeleteNullDebug\022*.opi_a" + + "pi.storage.v1.DeleteNullDebugRequest\032\026.g" + + "oogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=" + + "subsystems}/{subsystem}\332A\004name\022\253\001\n\017Updat" + + "eNullDebug\022*.opi_api.storage.v1.UpdateNu" + + "llDebugRequest\032\035.opi_api.storage.v1.Null" + + "Debug\"M\202\323\344\223\002.2 /v1/{null_debug.name=subs" + + "ystems}:\nnull_debug\332A\026null_debug,update_" + + "mask\022\221\001\n\016ListNullDebugs\022).opi_api.storag" + + "e.v1.ListNullDebugsRequest\032*.opi_api.sto" + + "rage.v1.ListNullDebugsResponse\"(\202\323\344\223\002\031\022\027" + + "/v1/{parent=subsystems}\332A\006parent\022\210\001\n\014Get" + + "NullDebug\022\'.opi_api.storage.v1.GetNullDe" + + "bugRequest\032\035.opi_api.storage.v1.NullDebu" + + "g\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsys" + + "tem}\332A\004name\022i\n\016NullDebugStats\022).opi_api." + + "storage.v1.NullDebugStatsRequest\032*.opi_a" + + "pi.storage.v1.NullDebugStatsResponse\"\000B_" + + "\n\022opi_api.storage.v1B\020BackendNullProtoP\001" + + "Z5github.com/opiproject/opi-api/storage/" + + "v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -135,6 +136,7 @@ public static void registerAllExtensions( 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(), }); internal_static_opi_api_storage_v1_NullDebug_descriptor = @@ -206,6 +208,7 @@ public static void registerAllExtensions( 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 eb0feb09..d8065ff1 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java @@ -79,90 +79,91 @@ 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\020object_key.proto" + - "\"\361\002\n\024NVMfRemoteController\022(\n\002id\030\001 \001(\0132\034." + - "opi_api.common.v1.ObjectKey\0225\n\006trtype\030\002 " + - "\001(\0162%.opi_api.storage.v1.NvmeTransportTy" + - "pe\0225\n\006adrfam\030\003 \001(\0162%.opi_api.storage.v1." + - "NvmeAddressFamily\022\016\n\006traddr\030\004 \001(\t\022\017\n\007trs" + - "vcid\030\005 \001(\003\022\016\n\006subnqn\030\006 \001(\t\022\r\n\005hdgst\030\007 \001(" + - "\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmultipath\030\t \001(\0162!.op" + - "i_api.storage.v1.NvmeMultipath\022\027\n\017io_que" + - "ues_count\030\n \001(\003\022\022\n\nqueue_size\030\013 \001(\003\022\017\n\007h" + - "ostnqn\030\014 \001(\t\"\330\001\n!CreateNVMfRemoteControl" + - "lerRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_" + - "api.storage.v1/NVMfRemoteController\022N\n\027n" + - "v_mf_remote_controller\030\002 \001(\0132(.opi_api.s" + - "torage.v1.NVMfRemoteControllerB\003\340A\002\022\"\n\032n" + - "v_mf_remote_controller_id\030\003 \001(\t\"b\n!Delet" + - "eNVMfRemoteControllerRequest\022=\n\004name\030\001 \001" + - "(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemot" + - "eController\"\237\001\n!UpdateNVMfRemoteControll" + - "erRequest\022I\n\027nv_mf_remote_controller\030\001 \001" + - "(\0132(.opi_api.storage.v1.NVMfRemoteContro" + - "ller\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMask\"\212\001\n ListNVMfRemoteControll" + - "ersRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_" + - "api.storage.v1/NVMfRemoteController\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\210\001\n!L" + - "istNVMfRemoteControllersResponse\022J\n\030nv_m" + - "f_remote_controllers\030\001 \003(\0132(.opi_api.sto" + - "rage.v1.NVMfRemoteController\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"_\n\036GetNVMfRemoteController" + - "Request\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.s" + - "torage.v1/NVMfRemoteController\"L\n NVMfRe" + - "moteControllerResetRequest\022(\n\002id\030\001 \001(\0132\034" + - ".opi_api.common.v1.ObjectKey\"L\n NVMfRemo" + - "teControllerStatsRequest\022(\n\002id\030\001 \001(\0132\034.o" + - "pi_api.common.v1.ObjectKey\"2\n!NVMfRemote" + - "ControllerStatsResponse\022\r\n\005stats\030\001 \001(\t*\264" + - "\001\n\021NvmeTransportType\022#\n\037NVME_TRANSPORT_T" + - "YPE_UNSPECIFIED\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001" + - "\022\027\n\023NVME_TRANSPORT_PCIE\020\002\022\027\n\023NVME_TRANSP" + - "ORT_RDMA\020\003\022\026\n\022NVME_TRANSPORT_TCP\020\004\022\031\n\025NV" + - "ME_TRANSPORT_CUSTOM\020\005*\250\001\n\021NvmeAddressFam" + - "ily\022#\n\037NVME_ADDRESS_FAMILY_UNSPECIFIED\020\000" + - "\022\024\n\020NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF_ADRFAM_IP" + - "V6\020\002\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NVMF_ADRFAM_" + - "FC\020\004\022\032\n\026NVMF_ADRFAM_INTRA_HOST\020\005*\206\001\n\rNvm" + - "eMultipath\022\036\n\032NVME_MULTIPATH_UNSPECIFIED" + - "\020\000\022\032\n\026NVME_MULTIPATH_DISABLE\020\001\022\033\n\027NVME_M" + - "ULTIPATH_FAILOVER\020\002\022\034\n\030NVME_MULTIPATH_MU" + - "LTIPATH\020\0032\204\n\n\033NVMfRemoteControllerServic" + - "e\022\363\001\n\032CreateNVMfRemoteController\0225.opi_a" + - "pi.storage.v1.CreateNVMfRemoteController" + - "Request\032(.opi_api.storage.v1.NVMfRemoteC" + - "ontroller\"t\202\323\344\223\0022\"\027/v1/{parent=subsystem" + - "s}:\027nv_mf_remote_controller\332A9parent,nv_" + - "mf_remote_controller,nv_mf_remote_contro" + - "ller_id\022\235\001\n\032DeleteNVMfRemoteController\0225" + - ".opi_api.storage.v1.DeleteNVMfRemoteCont" + - "rollerRequest\032\026.google.protobuf.Empty\"0\202" + - "\323\344\223\002#*!/v1/{name=subsystems}/{subsystem}" + - "\332A\004name\022\363\001\n\032UpdateNVMfRemoteController\0225" + - ".opi_api.storage.v1.UpdateNVMfRemoteCont" + - "rollerRequest\032(.opi_api.storage.v1.NVMfR" + - "emoteController\"t\202\323\344\223\002H2-/v1/{nv_mf_remo" + - "te_controller.name=subsystems}:\027nv_mf_re" + - "mote_controller\332A#nv_mf_remote_controlle" + - "r,update_mask\022\262\001\n\031ListNVMfRemoteControll" + - "ers\0224.opi_api.storage.v1.ListNVMfRemoteC" + - "ontrollersRequest\0325.opi_api.storage.v1.L" + - "istNVMfRemoteControllersResponse\"(\202\323\344\223\002\031" + - "\022\027/v1/{parent=subsystems}\332A\006parent\022\251\001\n\027G" + - "etNVMfRemoteController\0222.opi_api.storage" + - ".v1.GetNVMfRemoteControllerRequest\032(.opi" + - "_api.storage.v1.NVMfRemoteController\"0\202\323" + - "\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332" + - "A\004name\022k\n\031NVMfRemoteControllerReset\0224.op" + - "i_api.storage.v1.NVMfRemoteControllerRes" + - "etRequest\032\026.google.protobuf.Empty\"\000\022\212\001\n\031" + - "NVMfRemoteControllerStats\0224.opi_api.stor" + - "age.v1.NVMfRemoteControllerStatsRequest\032" + - "5.opi_api.storage.v1.NVMfRemoteControlle" + - "rStatsResponse\"\000Bb\n\022opi_api.storage.v1B\023" + - "BackendNvmeTcpProtoP\001Z5github.com/opipro" + - "ject/opi-api/storage/v1alpha1/gen/gob\006pr" + - "oto3" + "\032\017opicommon.proto\"\361\002\n\024NVMfRemoteControll" + + "er\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Objec" + + "tKey\0225\n\006trtype\030\002 \001(\0162%.opi_api.storage.v" + + "1.NvmeTransportType\0225\n\006adrfam\030\003 \001(\0162%.op" + + "i_api.storage.v1.NvmeAddressFamily\022\016\n\006tr" + + "addr\030\004 \001(\t\022\017\n\007trsvcid\030\005 \001(\003\022\016\n\006subnqn\030\006 " + + "\001(\t\022\r\n\005hdgst\030\007 \001(\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmul" + + "tipath\030\t \001(\0162!.opi_api.storage.v1.NvmeMu" + + "ltipath\022\027\n\017io_queues_count\030\n \001(\003\022\022\n\nqueu" + + "e_size\030\013 \001(\003\022\017\n\007hostnqn\030\014 \001(\t\"\330\001\n!Create" + + "NVMfRemoteControllerRequest\022?\n\006parent\030\001 " + + "\001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemo" + + "teController\022N\n\027nv_mf_remote_controller\030" + + "\002 \001(\0132(.opi_api.storage.v1.NVMfRemoteCon" + + "trollerB\003\340A\002\022\"\n\032nv_mf_remote_controller_" + + "id\030\003 \001(\t\"b\n!DeleteNVMfRemoteControllerRe" + + "quest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.sto" + + "rage.v1/NVMfRemoteController\"\237\001\n!UpdateN" + + "VMfRemoteControllerRequest\022I\n\027nv_mf_remo" + + "te_controller\030\001 \001(\0132(.opi_api.storage.v1" + + ".NVMfRemoteController\022/\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"\212\001\n ListN" + + "VMfRemoteControllersRequest\022?\n\006parent\030\001 " + + "\001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemo" + + "teController\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"\210\001\n!ListNVMfRemoteController" + + "sResponse\022J\n\030nv_mf_remote_controllers\030\001 " + + "\003(\0132(.opi_api.storage.v1.NVMfRemoteContr" + + "oller\022\027\n\017next_page_token\030\002 \001(\t\"_\n\036GetNVM" + + "fRemoteControllerRequest\022=\n\004name\030\001 \001(\tB/" + + "\340A\002\372A)\n\'opi_api.storage.v1/NVMfRemoteCon" + + "troller\"L\n NVMfRemoteControllerResetRequ" + + "est\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Obje" + + "ctKey\"L\n NVMfRemoteControllerStatsReques" + + "t\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Object" + + "Key\"S\n!NVMfRemoteControllerStatsResponse" + + "\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v1.Vol" + + "umeStats*\264\001\n\021NvmeTransportType\022#\n\037NVME_T" + + "RANSPORT_TYPE_UNSPECIFIED\020\000\022\025\n\021NVME_TRAN" + + "SPORT_FC\020\001\022\027\n\023NVME_TRANSPORT_PCIE\020\002\022\027\n\023N" + + "VME_TRANSPORT_RDMA\020\003\022\026\n\022NVME_TRANSPORT_T" + + "CP\020\004\022\031\n\025NVME_TRANSPORT_CUSTOM\020\005*\250\001\n\021Nvme" + + "AddressFamily\022#\n\037NVME_ADDRESS_FAMILY_UNS" + + "PECIFIED\020\000\022\024\n\020NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF" + + "_ADRFAM_IPV6\020\002\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NV" + + "MF_ADRFAM_FC\020\004\022\032\n\026NVMF_ADRFAM_INTRA_HOST" + + "\020\005*\206\001\n\rNvmeMultipath\022\036\n\032NVME_MULTIPATH_U" + + "NSPECIFIED\020\000\022\032\n\026NVME_MULTIPATH_DISABLE\020\001" + + "\022\033\n\027NVME_MULTIPATH_FAILOVER\020\002\022\034\n\030NVME_MU" + + "LTIPATH_MULTIPATH\020\0032\204\n\n\033NVMfRemoteContro" + + "llerService\022\363\001\n\032CreateNVMfRemoteControll" + + "er\0225.opi_api.storage.v1.CreateNVMfRemote" + + "ControllerRequest\032(.opi_api.storage.v1.N" + + "VMfRemoteController\"t\202\323\344\223\0022\"\027/v1/{parent" + + "=subsystems}:\027nv_mf_remote_controller\332A9" + + "parent,nv_mf_remote_controller,nv_mf_rem" + + "ote_controller_id\022\235\001\n\032DeleteNVMfRemoteCo" + + "ntroller\0225.opi_api.storage.v1.DeleteNVMf" + + "RemoteControllerRequest\032\026.google.protobu" + + "f.Empty\"0\202\323\344\223\002#*!/v1/{name=subsystems}/{" + + "subsystem}\332A\004name\022\363\001\n\032UpdateNVMfRemoteCo" + + "ntroller\0225.opi_api.storage.v1.UpdateNVMf" + + "RemoteControllerRequest\032(.opi_api.storag" + + "e.v1.NVMfRemoteController\"t\202\323\344\223\002H2-/v1/{" + + "nv_mf_remote_controller.name=subsystems}" + + ":\027nv_mf_remote_controller\332A#nv_mf_remote" + + "_controller,update_mask\022\262\001\n\031ListNVMfRemo" + + "teControllers\0224.opi_api.storage.v1.ListN" + + "VMfRemoteControllersRequest\0325.opi_api.st" + + "orage.v1.ListNVMfRemoteControllersRespon" + + "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa" + + "rent\022\251\001\n\027GetNVMfRemoteController\0222.opi_a" + + "pi.storage.v1.GetNVMfRemoteControllerReq" + + "uest\032(.opi_api.storage.v1.NVMfRemoteCont" + + "roller\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{s" + + "ubsystem}\332A\004name\022k\n\031NVMfRemoteController" + + "Reset\0224.opi_api.storage.v1.NVMfRemoteCon" + + "trollerResetRequest\032\026.google.protobuf.Em" + + "pty\"\000\022\212\001\n\031NVMfRemoteControllerStats\0224.op" + + "i_api.storage.v1.NVMfRemoteControllerSta" + + "tsRequest\0325.opi_api.storage.v1.NVMfRemot" + + "eControllerStatsResponse\"\000Bb\n\022opi_api.st" + + "orage.v1B\023BackendNvmeTcpProtoP\001Z5github." + + "com/opiproject/opi-api/storage/v1alpha1/" + + "gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -174,6 +175,7 @@ public static void registerAllExtensions( com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), opi_api.common.v1.ObjectKeyProto.getDescriptor(), + opi_api.storage.v1.OpiCommonProto.getDescriptor(), }); internal_static_opi_api_storage_v1_NVMfRemoteController_descriptor = getDescriptor().getMessageTypes().get(0); @@ -250,6 +252,7 @@ public static void registerAllExtensions( com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); opi_api.common.v1.ObjectKeyProto.getDescriptor(); + opi_api.storage.v1.OpiCommonProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java index b66fb8b8..21d977e6 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponse.java @@ -16,7 +16,6 @@ private EncryptedVolumeStatsResponse(com.google.protobuf.GeneratedMessageV3.Buil super(builder); } private EncryptedVolumeStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private EncryptedVolumeStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (encryptedVolumeId_ != null) { output.writeMessage(1, getEncryptedVolumeId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEncryptedVolumeId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getEncryptedVolumeId() .equals(other.getEncryptedVolumeId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ENCRYPTED_VOLUME_ID_FIELD_NUMBER; hash = (53 * hash) + getEncryptedVolumeId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { encryptedVolumeId_ = null; encryptedVolumeIdBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.EncryptedVolumeStatsResponse buildPartial() { } else { result.encryptedVolumeId_ = encryptedVolumeIdBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.EncryptedVolumeStatsResponse other) if (other.hasEncryptedVolumeId()) { mergeEncryptedVolumeId(other.getEncryptedVolumeId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder() { return encryptedVolumeIdBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java index 71858869..b310053a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/EncryptedVolumeStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface EncryptedVolumeStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getEncryptedVolumeIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + 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 a7de54cc..51bd3b8e 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java @@ -248,139 +248,142 @@ public static void registerAllExtensions( "\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1" + "/NVMeSubsystem\"O\n\031NVMeSubsystemStatsRequ" + "est\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.comm" + - "on.v1.ObjectKey\"+\n\032NVMeSubsystemStatsRes" + - "ponse\022\r\n\005stats\030\001 \001(\t\"\270\001\n\033CreateNVMeContr" + - "ollerRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!op" + - "i_api.storage.v1/NVMeController\022A\n\020nv_me" + - "_controller\030\002 \001(\0132\".opi_api.storage.v1.N" + - "VMeControllerB\003\340A\002\022\033\n\023nv_me_controller_i" + - "d\030\003 \001(\t\"V\n\033DeleteNVMeControllerRequest\0227" + - "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1" + - "/NVMeController\"\214\001\n\033UpdateNVMeController" + - "Request\022<\n\020nv_me_controller\030\001 \001(\0132\".opi_" + - "api.storage.v1.NVMeController\022/\n\013update_" + - "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"~" + - "\n\032ListNVMeControllersRequest\0229\n\006parent\030\001" + - " \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/NVMeCon" + - "troller\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + - "\030\003 \001(\t\"u\n\033ListNVMeControllersResponse\022=\n" + - "\021nv_me_controllers\030\001 \003(\0132\".opi_api.stora" + - "ge.v1.NVMeController\022\027\n\017next_page_token\030" + - "\002 \001(\t\"S\n\030GetNVMeControllerRequest\0227\n\004nam" + - "e\030\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/NVMe" + - "Controller\"F\n\032NVMeControllerStatsRequest" + + "on.v1.ObjectKey\"L\n\032NVMeSubsystemStatsRes" + + "ponse\022.\n\005stats\030\001 \001(\0132\037.opi_api.storage.v" + + "1.VolumeStats\"\270\001\n\033CreateNVMeControllerRe" + + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!opi_api.s" + + "torage.v1/NVMeController\022A\n\020nv_me_contro" + + "ller\030\002 \001(\0132\".opi_api.storage.v1.NVMeCont" + + "rollerB\003\340A\002\022\033\n\023nv_me_controller_id\030\003 \001(\t" + + "\"V\n\033DeleteNVMeControllerRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!opi_api.storage.v1/NVMeCo" + + "ntroller\"\214\001\n\033UpdateNVMeControllerRequest" + + "\022<\n\020nv_me_controller\030\001 \001(\0132\".opi_api.sto" + + "rage.v1.NVMeController\022/\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMask\"~\n\032ListN" + + "VMeControllersRequest\0229\n\006parent\030\001 \001(\tB)\340" + + "A\002\372A#\n!opi_api.storage.v1/NVMeController" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "u\n\033ListNVMeControllersResponse\022=\n\021nv_me_" + + "controllers\030\001 \003(\0132\".opi_api.storage.v1.N" + + "VMeController\022\027\n\017next_page_token\030\002 \001(\t\"S" + + "\n\030GetNVMeControllerRequest\0227\n\004name\030\001 \001(\t" + + "B)\340A\002\372A#\n!opi_api.storage.v1/NVMeControl" + + "ler\"F\n\032NVMeControllerStatsRequest\022(\n\002id\030" + + "\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"w\n\033N" + + "VMeControllerStatsResponse\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\"\263\001\n" + + "\032CreateNVMeNamespaceRequest\0228\n\006parent\030\001 " + + "\001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NVMeName" + + "space\022?\n\017nv_me_namespace\030\002 \001(\0132!.opi_api" + + ".storage.v1.NVMeNamespaceB\003\340A\002\022\032\n\022nv_me_" + + "namespace_id\030\003 \001(\t\"T\n\032DeleteNVMeNamespac" + + "eRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api." + + "storage.v1/NVMeNamespace\"\211\001\n\032UpdateNVMeN" + + "amespaceRequest\022:\n\017nv_me_namespace\030\001 \001(\013" + + "2!.opi_api.storage.v1.NVMeNamespace\022/\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "Mask\"|\n\031ListNVMeNamespacesRequest\0228\n\006par" + + "ent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NV" + + "MeNamespace\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"r\n\032ListNVMeNamespacesResponse" + + "\022;\n\020nv_me_namespaces\030\001 \003(\0132!.opi_api.sto" + + "rage.v1.NVMeNamespace\022\027\n\017next_page_token" + + "\030\002 \001(\t\"Q\n\027GetNVMeNamespaceRequest\0226\n\004nam" + + "e\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/NVMe" + + "Namespace\"O\n\031NVMeNamespaceStatsRequest\0222" + + "\n\014namespace_id\030\001 \001(\0132\034.opi_api.common.v1" + + ".ObjectKey\"v\n\032NVMeNamespaceStatsResponse" + "\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectK" + - "ey\"V\n\033NVMeControllerStatsResponse\022(\n\002id\030" + - "\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005s" + - "tats\030\002 \001(\t\"\263\001\n\032CreateNVMeNamespaceReques" + - "t\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.stora" + - "ge.v1/NVMeNamespace\022?\n\017nv_me_namespace\030\002" + - " \001(\0132!.opi_api.storage.v1.NVMeNamespaceB" + - "\003\340A\002\022\032\n\022nv_me_namespace_id\030\003 \001(\t\"T\n\032Dele" + - "teNVMeNamespaceRequest\0226\n\004name\030\001 \001(\tB(\340A" + - "\002\372A\"\n opi_api.storage.v1/NVMeNamespace\"\211" + - "\001\n\032UpdateNVMeNamespaceRequest\022:\n\017nv_me_n" + - "amespace\030\001 \001(\0132!.opi_api.storage.v1.NVMe" + - "Namespace\022/\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\"|\n\031ListNVMeNamespaces" + - "Request\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api" + - ".storage.v1/NVMeNamespace\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"r\n\032ListNVMeName" + - "spacesResponse\022;\n\020nv_me_namespaces\030\001 \003(\013" + - "2!.opi_api.storage.v1.NVMeNamespace\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\"Q\n\027GetNVMeNamespace" + - "Request\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.s" + - "torage.v1/NVMeNamespace\"O\n\031NVMeNamespace" + - "StatsRequest\0222\n\014namespace_id\030\001 \001(\0132\034.opi" + - "_api.common.v1.ObjectKey\"U\n\032NVMeNamespac" + - "eStatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.com" + - "mon.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t*\266\001\n\025NVMe" + - "NamespacePciState\022)\n%NV_ME_NAMESPACE_PCI" + - "_STATE_UNSPECIFIED\020\000\022%\n!NVME_NAMESPACE_P" + - "CI_STATE_DISABLED\020\001\022$\n NVME_NAMESPACE_PC" + - "I_STATE_ENABLED\020\002\022%\n!NVME_NAMESPACE_PCI_" + - "STATE_DELETING\020\003*\240\001\n\031NVMeNamespacePciOpe" + - "rState\022.\n*NV_ME_NAMESPACE_PCI_OPER_STATE" + - "_UNSPECIFIED\020\000\022(\n$NVME_NAMESPACE_PCI_OPE" + - "R_STATE_ONLINE\020\001\022)\n%NVME_NAMESPACE_PCI_O" + - "PER_STATE_OFFLINE\020\0022\245\027\n\023FrontendNvmeServ" + - "ice\022\306\001\n\023CreateNVMeSubsystem\022..opi_api.st" + - "orage.v1.CreateNVMeSubsystemRequest\032!.op" + - "i_api.storage.v1.NVMeSubsystem\"\\\202\323\344\223\002*\"\027" + - "/v1/{parent=subsystems}:\017nv_me_subsystem" + - "\332A)parent,nv_me_subsystem,nv_me_subsyste" + - "m_id\022\217\001\n\023DeleteNVMeSubsystem\022..opi_api.s" + - "torage.v1.DeleteNVMeSubsystemRequest\032\026.g" + - "oogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=" + - "subsystems}/{subsystem}\332A\004name\022\306\001\n\023Updat" + - "eNVMeSubsystem\022..opi_api.storage.v1.Upda" + - "teNVMeSubsystemRequest\032!.opi_api.storage" + - ".v1.NVMeSubsystem\"\\\202\323\344\223\00282%/v1/{nv_me_su" + - "bsystem.name=subsystems}:\017nv_me_subsyste" + - "m\332A\033nv_me_subsystem,update_mask\022\235\001\n\022List" + - "NVMeSubsystems\022-.opi_api.storage.v1.List" + - "NVMeSubsystemsRequest\032..opi_api.storage." + - "v1.ListNVMeSubsystemsResponse\"(\202\323\344\223\002\031\022\027/" + - "v1/{parent=subsystems}\332A\006parent\022\224\001\n\020GetN" + - "VMeSubsystem\022+.opi_api.storage.v1.GetNVM" + - "eSubsystemRequest\032!.opi_api.storage.v1.N" + - "VMeSubsystem\"0\202\323\344\223\002#\022!/v1/{name=subsyste" + - "ms}/{subsystem}\332A\004name\022u\n\022NVMeSubsystemS" + - "tats\022-.opi_api.storage.v1.NVMeSubsystemS" + - "tatsRequest\032..opi_api.storage.v1.NVMeSub" + - "systemStatsResponse\"\000\022\314\001\n\024CreateNVMeCont" + - "roller\022/.opi_api.storage.v1.CreateNVMeCo" + - "ntrollerRequest\032\".opi_api.storage.v1.NVM" + - "eController\"_\202\323\344\223\002+\"\027/v1/{parent=subsyst" + - "ems}:\020nv_me_controller\332A+parent,nv_me_co" + - "ntroller,nv_me_controller_id\022\223\001\n\024DeleteN" + - "VMeController\022/.opi_api.storage.v1.Delet" + - "eNVMeControllerRequest\032\026.google.protobuf" + - ".Empty\"2\202\323\344\223\002%*#/v1/{name=controllers}/{" + - "controller}\332A\004name\022\314\001\n\024UpdateNVMeControl" + - "ler\022/.opi_api.storage.v1.UpdateNVMeContr" + - "ollerRequest\032\".opi_api.storage.v1.NVMeCo" + - "ntroller\"_\202\323\344\223\002:2&/v1/{nv_me_controller." + - "name=subsystems}:\020nv_me_controller\332A\034nv_" + - "me_controller,update_mask\022\240\001\n\023ListNVMeCo" + - "ntrollers\022..opi_api.storage.v1.ListNVMeC" + - "ontrollersRequest\032/.opi_api.storage.v1.L" + - "istNVMeControllersResponse\"(\202\323\344\223\002\031\022\027/v1/" + - "{parent=subsystems}\332A\006parent\022\230\001\n\021GetNVMe" + - "Controller\022,.opi_api.storage.v1.GetNVMeC" + - "ontrollerRequest\032\".opi_api.storage.v1.NV" + - "MeController\"1\202\323\344\223\002$\022\"/v1/{name=subsyste" + - "ms}/{controller}\332A\004name\022x\n\023NVMeControlle" + - "rStats\022..opi_api.storage.v1.NVMeControll" + - "erStatsRequest\032/.opi_api.storage.v1.NVMe" + - "ControllerStatsResponse\"\000\022\306\001\n\023CreateNVMe" + - "Namespace\022..opi_api.storage.v1.CreateNVM" + - "eNamespaceRequest\032!.opi_api.storage.v1.N" + - "VMeNamespace\"\\\202\323\344\223\002*\"\027/v1/{parent=subsys" + - "tems}:\017nv_me_namespace\332A)parent,nv_me_na" + - "mespace,nv_me_namespace_id\022\217\001\n\023DeleteNVM" + - "eNamespace\022..opi_api.storage.v1.DeleteNV" + - "MeNamespaceRequest\032\026.google.protobuf.Emp" + - "ty\"0\202\323\344\223\002#*!/v1/{name=namespaces}/{names" + - "pace}\332A\004name\022\306\001\n\023UpdateNVMeNamespace\022..o" + - "pi_api.storage.v1.UpdateNVMeNamespaceReq" + - "uest\032!.opi_api.storage.v1.NVMeNamespace\"" + - "\\\202\323\344\223\00282%/v1/{nv_me_namespace.name=subsy" + - "stems}:\017nv_me_namespace\332A\033nv_me_namespac" + - "e,update_mask\022\235\001\n\022ListNVMeNamespaces\022-.o" + - "pi_api.storage.v1.ListNVMeNamespacesRequ" + - "est\032..opi_api.storage.v1.ListNVMeNamespa" + - "cesResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsyst" + - "ems}\332A\006parent\022\224\001\n\020GetNVMeNamespace\022+.opi" + - "_api.storage.v1.GetNVMeNamespaceRequest\032" + - "!.opi_api.storage.v1.NVMeNamespace\"0\202\323\344\223" + - "\002#\022!/v1/{name=subsystems}/{namespace}\332A\004" + - "name\022u\n\022NVMeNamespaceStats\022-.opi_api.sto" + - "rage.v1.NVMeNamespaceStatsRequest\032..opi_" + - "api.storage.v1.NVMeNamespaceStatsRespons" + - "e\"\000Bd\n\022opi_api.storage.v1B\025FrontendNvmeP" + - "cieProtoP\001Z5github.com/opiproject/opi-ap" + - "i/storage/v1alpha1/gen/gob\006proto3" + "ey\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.V" + + "olumeStats*\266\001\n\025NVMeNamespacePciState\022)\n%" + + "NV_ME_NAMESPACE_PCI_STATE_UNSPECIFIED\020\000\022" + + "%\n!NVME_NAMESPACE_PCI_STATE_DISABLED\020\001\022$" + + "\n NVME_NAMESPACE_PCI_STATE_ENABLED\020\002\022%\n!" + + "NVME_NAMESPACE_PCI_STATE_DELETING\020\003*\240\001\n\031" + + "NVMeNamespacePciOperState\022.\n*NV_ME_NAMES" + + "PACE_PCI_OPER_STATE_UNSPECIFIED\020\000\022(\n$NVM" + + "E_NAMESPACE_PCI_OPER_STATE_ONLINE\020\001\022)\n%N" + + "VME_NAMESPACE_PCI_OPER_STATE_OFFLINE\020\0022\245" + + "\027\n\023FrontendNvmeService\022\306\001\n\023CreateNVMeSub" + + "system\022..opi_api.storage.v1.CreateNVMeSu" + + "bsystemRequest\032!.opi_api.storage.v1.NVMe" + + "Subsystem\"\\\202\323\344\223\002*\"\027/v1/{parent=subsystem" + + "s}:\017nv_me_subsystem\332A)parent,nv_me_subsy" + + "stem,nv_me_subsystem_id\022\217\001\n\023DeleteNVMeSu" + + "bsystem\022..opi_api.storage.v1.DeleteNVMeS" + + "ubsystemRequest\032\026.google.protobuf.Empty\"" + + "0\202\323\344\223\002#*!/v1/{name=subsystems}/{subsyste" + + "m}\332A\004name\022\306\001\n\023UpdateNVMeSubsystem\022..opi_" + + "api.storage.v1.UpdateNVMeSubsystemReques" + + "t\032!.opi_api.storage.v1.NVMeSubsystem\"\\\202\323" + + "\344\223\00282%/v1/{nv_me_subsystem.name=subsyste" + + "ms}:\017nv_me_subsystem\332A\033nv_me_subsystem,u" + + "pdate_mask\022\235\001\n\022ListNVMeSubsystems\022-.opi_" + + "api.storage.v1.ListNVMeSubsystemsRequest" + + "\032..opi_api.storage.v1.ListNVMeSubsystems" + + "Response\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems" + + "}\332A\006parent\022\224\001\n\020GetNVMeSubsystem\022+.opi_ap" + + "i.storage.v1.GetNVMeSubsystemRequest\032!.o" + + "pi_api.storage.v1.NVMeSubsystem\"0\202\323\344\223\002#\022" + + "!/v1/{name=subsystems}/{subsystem}\332A\004nam" + + "e\022u\n\022NVMeSubsystemStats\022-.opi_api.storag" + + "e.v1.NVMeSubsystemStatsRequest\032..opi_api" + + ".storage.v1.NVMeSubsystemStatsResponse\"\000" + + "\022\314\001\n\024CreateNVMeController\022/.opi_api.stor" + + "age.v1.CreateNVMeControllerRequest\032\".opi" + + "_api.storage.v1.NVMeController\"_\202\323\344\223\002+\"\027" + + "/v1/{parent=subsystems}:\020nv_me_controlle" + + "r\332A+parent,nv_me_controller,nv_me_contro" + + "ller_id\022\223\001\n\024DeleteNVMeController\022/.opi_a" + + "pi.storage.v1.DeleteNVMeControllerReques" + + "t\032\026.google.protobuf.Empty\"2\202\323\344\223\002%*#/v1/{" + + "name=controllers}/{controller}\332A\004name\022\314\001" + + "\n\024UpdateNVMeController\022/.opi_api.storage" + + ".v1.UpdateNVMeControllerRequest\032\".opi_ap" + + "i.storage.v1.NVMeController\"_\202\323\344\223\002:2&/v1" + + "/{nv_me_controller.name=subsystems}:\020nv_" + + "me_controller\332A\034nv_me_controller,update_" + + "mask\022\240\001\n\023ListNVMeControllers\022..opi_api.s" + + "torage.v1.ListNVMeControllersRequest\032/.o" + + "pi_api.storage.v1.ListNVMeControllersRes" + + "ponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A" + + "\006parent\022\230\001\n\021GetNVMeController\022,.opi_api." + + "storage.v1.GetNVMeControllerRequest\032\".op" + + "i_api.storage.v1.NVMeController\"1\202\323\344\223\002$\022" + + "\"/v1/{name=subsystems}/{controller}\332A\004na" + + "me\022x\n\023NVMeControllerStats\022..opi_api.stor" + + "age.v1.NVMeControllerStatsRequest\032/.opi_" + + "api.storage.v1.NVMeControllerStatsRespon" + + "se\"\000\022\306\001\n\023CreateNVMeNamespace\022..opi_api.s" + + "torage.v1.CreateNVMeNamespaceRequest\032!.o" + + "pi_api.storage.v1.NVMeNamespace\"\\\202\323\344\223\002*\"" + + "\027/v1/{parent=subsystems}:\017nv_me_namespac" + + "e\332A)parent,nv_me_namespace,nv_me_namespa" + + "ce_id\022\217\001\n\023DeleteNVMeNamespace\022..opi_api." + + "storage.v1.DeleteNVMeNamespaceRequest\032\026." + + "google.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name" + + "=namespaces}/{namespace}\332A\004name\022\306\001\n\023Upda" + + "teNVMeNamespace\022..opi_api.storage.v1.Upd" + + "ateNVMeNamespaceRequest\032!.opi_api.storag" + + "e.v1.NVMeNamespace\"\\\202\323\344\223\00282%/v1/{nv_me_n" + + "amespace.name=subsystems}:\017nv_me_namespa" + + "ce\332A\033nv_me_namespace,update_mask\022\235\001\n\022Lis" + + "tNVMeNamespaces\022-.opi_api.storage.v1.Lis" + + "tNVMeNamespacesRequest\032..opi_api.storage" + + ".v1.ListNVMeNamespacesResponse\"(\202\323\344\223\002\031\022\027" + + "/v1/{parent=subsystems}\332A\006parent\022\224\001\n\020Get" + + "NVMeNamespace\022+.opi_api.storage.v1.GetNV" + + "MeNamespaceRequest\032!.opi_api.storage.v1." + + "NVMeNamespace\"0\202\323\344\223\002#\022!/v1/{name=subsyst" + + "ems}/{namespace}\332A\004name\022u\n\022NVMeNamespace" + + "Stats\022-.opi_api.storage.v1.NVMeNamespace" + + "StatsRequest\032..opi_api.storage.v1.NVMeNa" + + "mespaceStatsResponse\"\000Bd\n\022opi_api.storag" + + "e.v1B\025FrontendNvmePcieProtoP\001Z5github.co" + + "m/opiproject/opi-api/storage/v1alpha1/ge" + + "n/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, 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 c4608fba..cb2f2c8d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java @@ -97,34 +97,35 @@ public static void registerAllExtensions( "est\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034opi_api.stora" + "ge.v1/VirtioBlk\"L\n\025VirtioBlkStatsRequest" + "\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_api.common" + - ".v1.ObjectKey\"Q\n\026VirtioBlkStatsResponse\022" + + ".v1.ObjectKey\"r\n\026VirtioBlkStatsResponse\022" + "(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + - "y\022\r\n\005stats\030\002 \001(\t2\212\007\n\030FrontendVirtioBlkSe" + - "rvice\022\253\001\n\017CreateVirtioBlk\022*.opi_api.stor" + - "age.v1.CreateVirtioBlkRequest\032\035.opi_api." + - "storage.v1.VirtioBlk\"M\202\323\344\223\002%\"\027/v1/{paren" + - "t=subsystems}:\nvirtio_blk\332A\037parent,virti" + - "o_blk,virtio_blk_id\022\207\001\n\017DeleteVirtioBlk\022" + - "*.opi_api.storage.v1.DeleteVirtioBlkRequ" + - "est\032\026.google.protobuf.Empty\"0\202\323\344\223\002#*!/v1" + - "/{name=virtioblks}/{virtioblk}\332A\004name\022\253\001" + - "\n\017UpdateVirtioBlk\022*.opi_api.storage.v1.U" + - "pdateVirtioBlkRequest\032\035.opi_api.storage." + - "v1.VirtioBlk\"M\202\323\344\223\002.2 /v1/{virtio_blk.na" + - "me=subsystems}:\nvirtio_blk\332A\026virtio_blk," + - "update_mask\022\221\001\n\016ListVirtioBlks\022).opi_api" + - ".storage.v1.ListVirtioBlksRequest\032*.opi_" + - "api.storage.v1.ListVirtioBlksResponse\"(\202" + - "\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022" + - "\210\001\n\014GetVirtioBlk\022\'.opi_api.storage.v1.Ge" + - "tVirtioBlkRequest\032\035.opi_api.storage.v1.V" + - "irtioBlk\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/" + - "{virtioblk}\332A\004name\022i\n\016VirtioBlkStats\022).o" + - "pi_api.storage.v1.VirtioBlkStatsRequest\032" + - "*.opi_api.storage.v1.VirtioBlkStatsRespo" + - "nse\"\000Be\n\022opi_api.storage.v1B\026FrontendVir" + - "tioBlkProtoP\001Z5github.com/opiproject/opi" + - "-api/storage/v1alpha1/gen/gob\006proto3" + "y\022.\n\005stats\030\002 \001(\0132\037.opi_api.storage.v1.Vo" + + "lumeStats2\212\007\n\030FrontendVirtioBlkService\022\253" + + "\001\n\017CreateVirtioBlk\022*.opi_api.storage.v1." + + "CreateVirtioBlkRequest\032\035.opi_api.storage" + + ".v1.VirtioBlk\"M\202\323\344\223\002%\"\027/v1/{parent=subsy" + + "stems}:\nvirtio_blk\332A\037parent,virtio_blk,v" + + "irtio_blk_id\022\207\001\n\017DeleteVirtioBlk\022*.opi_a" + + "pi.storage.v1.DeleteVirtioBlkRequest\032\026.g" + + "oogle.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=" + + "virtioblks}/{virtioblk}\332A\004name\022\253\001\n\017Updat" + + "eVirtioBlk\022*.opi_api.storage.v1.UpdateVi" + + "rtioBlkRequest\032\035.opi_api.storage.v1.Virt" + + "ioBlk\"M\202\323\344\223\002.2 /v1/{virtio_blk.name=subs" + + "ystems}:\nvirtio_blk\332A\026virtio_blk,update_" + + "mask\022\221\001\n\016ListVirtioBlks\022).opi_api.storag" + + "e.v1.ListVirtioBlksRequest\032*.opi_api.sto" + + "rage.v1.ListVirtioBlksResponse\"(\202\323\344\223\002\031\022\027" + + "/v1/{parent=subsystems}\332A\006parent\022\210\001\n\014Get" + + "VirtioBlk\022\'.opi_api.storage.v1.GetVirtio" + + "BlkRequest\032\035.opi_api.storage.v1.VirtioBl" + + "k\"0\202\323\344\223\002#\022!/v1/{name=subsystems}/{virtio" + + "blk}\332A\004name\022i\n\016VirtioBlkStats\022).opi_api." + + "storage.v1.VirtioBlkStatsRequest\032*.opi_a" + + "pi.storage.v1.VirtioBlkStatsResponse\"\000Be" + + "\n\022opi_api.storage.v1B\026FrontendVirtioBlkP" + + "rotoP\001Z5github.com/opiproject/opi-api/st" + + "orage/v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, 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 57a5f9f9..f479c04e 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java @@ -195,142 +195,145 @@ public static void registerAllExtensions( "\372A%\n#opi_api.storage.v1/VirtioScsiTarget" + "\"O\n\034VirtioScsiTargetStatsRequest\022/\n\ttarg" + "et_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + - "y\"X\n\035VirtioScsiTargetStatsResponse\022(\n\002id" + - "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005" + - "stats\030\002 \001(\t\"\326\001\n!CreateVirtioScsiControll" + - "erRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_a" + - "pi.storage.v1/VirtioScsiController\022M\n\026vi" + - "rtio_scsi_controller\030\002 \001(\0132(.opi_api.sto" + - "rage.v1.VirtioScsiControllerB\003\340A\002\022!\n\031vir" + - "tio_scsi_controller_id\030\003 \001(\t\"b\n!DeleteVi" + - "rtioScsiControllerRequest\022=\n\004name\030\001 \001(\tB" + - "/\340A\002\372A)\n\'opi_api.storage.v1/VirtioScsiCo" + - "ntroller\"\236\001\n!UpdateVirtioScsiControllerR" + - "equest\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\"\212\001\n ListVirtioScsiControllersR" + - "equest\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!ListV" + - "irtioScsiControllersResponse\022I\n\027virtio_s" + - "csi_controllers\030\001 \003(\0132(.opi_api.storage." + - "v1.VirtioScsiController\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"_\n\036GetVirtioScsiControllerReque" + - "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.storag" + - "e.v1/VirtioScsiController\"W\n VirtioScsiC" + - "ontrollerStatsRequest\0223\n\rcontroller_id\030\001" + - " \001(\0132\034.opi_api.common.v1.ObjectKey\"\\\n!Vi" + - "rtioScsiControllerStatsResponse\022(\n\002id\030\001 " + - "\001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005sta" + - "ts\030\002 \001(\t\"\263\001\n\032CreateVirtioScsiLunRequest\022" + - "8\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage" + - ".v1/VirtioScsiLun\022?\n\017virtio_scsi_lun\030\002 \001" + - "(\0132!.opi_api.storage.v1.VirtioScsiLunB\003\340" + - "A\002\022\032\n\022virtio_scsi_lun_id\030\003 \001(\t\"T\n\032Delete" + - "VirtioScsiLunRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" + - "A\"\n opi_api.storage.v1/VirtioScsiLun\"\211\001\n" + - "\032UpdateVirtioScsiLunRequest\022:\n\017virtio_sc" + - "si_lun\030\001 \001(\0132!.opi_api.storage.v1.Virtio" + - "ScsiLun\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" + - "otobuf.FieldMask\"|\n\031ListVirtioScsiLunsRe" + - "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n opi_api.s" + - "torage.v1/VirtioScsiLun\022\021\n\tpage_size\030\002 \001" + - "(\005\022\022\n\npage_token\030\003 \001(\t\"r\n\032ListVirtioScsi" + - "LunsResponse\022;\n\020virtio_scsi_luns\030\001 \003(\0132!" + - ".opi_api.storage.v1.VirtioScsiLun\022\027\n\017nex" + - "t_page_token\030\002 \001(\t\"Q\n\027GetVirtioScsiLunRe" + - "quest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.sto" + - "rage.v1/VirtioScsiLun\"~\n\031VirtioScsiLunSt" + - "atsRequest\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.common.v1.ObjectKey\"U\n\032VirtioS" + - "csiLunStatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_ap" + - "i.common.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\241\031\n" + - "\031FrontendVirtioScsiService\022\330\001\n\026CreateVir" + - "tioScsiTarget\0221.opi_api.storage.v1.Creat" + - "eVirtioScsiTargetRequest\032$.opi_api.stora" + - "ge.v1.VirtioScsiTarget\"e\202\323\344\223\002-\"\027/v1/{par" + - "ent=subsystems}:\022virtio_scsi_target\332A/pa" + - "rent,virtio_scsi_target,virtio_scsi_targ" + - "et_id\022\234\001\n\026DeleteVirtioScsiTarget\0221.opi_a" + - "pi.storage.v1.DeleteVirtioScsiTargetRequ" + - "est\032\026.google.protobuf.Empty\"7\202\323\344\223\002**(/v1" + - "/{name=subsystems}/{virtioscsitarget}\332A\004" + - "name\022\330\001\n\026UpdateVirtioScsiTarget\0221.opi_ap" + - "i.storage.v1.UpdateVirtioScsiTargetReque" + - "st\032$.opi_api.storage.v1.VirtioScsiTarget" + - "\"e\202\323\344\223\002>2(/v1/{virtio_scsi_target.name=s" + - "ubsystems}:\022virtio_scsi_target\332A\036virtio_" + - "scsi_target,update_mask\022\246\001\n\025ListVirtioSc" + - "siTargets\0220.opi_api.storage.v1.ListVirti" + - "oScsiTargetsRequest\0321.opi_api.storage.v1" + - ".ListVirtioScsiTargetsResponse\"(\202\323\344\223\002\031\022\027" + - "/v1/{parent=subsystems}\332A\006parent\022\244\001\n\023Get" + - "VirtioScsiTarget\022..opi_api.storage.v1.Ge" + - "tVirtioScsiTargetRequest\032$.opi_api.stora" + - "ge.v1.VirtioScsiTarget\"7\202\323\344\223\002*\022(/v1/{nam" + - "e=subsystems}/{virtioscsitarget}\332A\004name\022" + - "~\n\025VirtioScsiTargetStats\0220.opi_api.stora" + - "ge.v1.VirtioScsiTargetStatsRequest\0321.opi" + - "_api.storage.v1.VirtioScsiTargetStatsRes" + - "ponse\"\000\022\360\001\n\032CreateVirtioScsiController\0225" + - ".opi_api.storage.v1.CreateVirtioScsiCont" + - "rollerRequest\032(.opi_api.storage.v1.Virti" + - "oScsiController\"q\202\323\344\223\0021\"\027/v1/{parent=sub" + - "systems}:\026virtio_scsi_controller\332A7paren" + - "t,virtio_scsi_controller,virtio_scsi_con" + - "troller_id\022\247\001\n\032DeleteVirtioScsiControlle" + - "r\0225.opi_api.storage.v1.DeleteVirtioScsiC" + - "ontrollerRequest\032\026.google.protobuf.Empty" + - "\":\202\323\344\223\002-*+/v1/{name=virtioscsictrls}/{vi" + - "rtioscsictrl}\332A\004name\022\360\001\n\032UpdateVirtioScs" + - "iController\0225.opi_api.storage.v1.UpdateV" + - "irtioScsiControllerRequest\032(.opi_api.sto" + - "rage.v1.VirtioScsiController\"q\202\323\344\223\002F2,/v" + - "1/{virtio_scsi_controller.name=subsystem" + - "s}:\026virtio_scsi_controller\332A\"virtio_scsi" + - "_controller,update_mask\022\262\001\n\031ListVirtioSc" + - "siControllers\0224.opi_api.storage.v1.ListV" + - "irtioScsiControllersRequest\0325.opi_api.st" + - "orage.v1.ListVirtioScsiControllersRespon" + - "se\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006pa" + - "rent\022\256\001\n\027GetVirtioScsiController\0222.opi_a" + - "pi.storage.v1.GetVirtioScsiControllerReq" + - "uest\032(.opi_api.storage.v1.VirtioScsiCont" + - "roller\"5\202\323\344\223\002(\022&/v1/{name=subsystems}/{v" + - "irtioscsictrl}\332A\004name\022\212\001\n\031VirtioScsiCont" + - "rollerStats\0224.opi_api.storage.v1.VirtioS" + - "csiControllerStatsRequest\0325.opi_api.stor" + - "age.v1.VirtioScsiControllerStatsResponse" + - "\"\000\022\306\001\n\023CreateVirtioScsiLun\022..opi_api.sto" + - "rage.v1.CreateVirtioScsiLunRequest\032!.opi" + - "_api.storage.v1.VirtioScsiLun\"\\\202\323\344\223\002*\"\027/" + - "v1/{parent=subsystems}:\017virtio_scsi_lun\332" + - "A)parent,virtio_scsi_lun,virtio_scsi_lun" + - "_id\022\227\001\n\023DeleteVirtioScsiLun\022..opi_api.st" + - "orage.v1.DeleteVirtioScsiLunRequest\032\026.go" + - "ogle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=v" + - "irtioscsiluns}/{virtioscsilun}\332A\004name\022\306\001" + - "\n\023UpdateVirtioScsiLun\022..opi_api.storage." + - "v1.UpdateVirtioScsiLunRequest\032!.opi_api." + - "storage.v1.VirtioScsiLun\"\\\202\323\344\223\00282%/v1/{v" + - "irtio_scsi_lun.name=subsystems}:\017virtio_" + - "scsi_lun\332A\033virtio_scsi_lun,update_mask\022\235" + - "\001\n\022ListVirtioScsiLuns\022-.opi_api.storage." + - "v1.ListVirtioScsiLunsRequest\032..opi_api.s" + - "torage.v1.ListVirtioScsiLunsResponse\"(\202\323" + - "\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent\022\230" + - "\001\n\020GetVirtioScsiLun\022+.opi_api.storage.v1" + - ".GetVirtioScsiLunRequest\032!.opi_api.stora" + - "ge.v1.VirtioScsiLun\"4\202\323\344\223\002\'\022%/v1/{name=s" + - "ubsystems}/{virtioscsilun}\332A\004name\022u\n\022Vir" + - "tioScsiLunStats\022-.opi_api.storage.v1.Vir" + - "tioScsiLunStatsRequest\032..opi_api.storage" + - ".v1.VirtioScsiLunStatsResponse\"\000Bf\n\022opi_" + - "api.storage.v1B\027FrontendVirtioScsiProtoP" + - "\001Z5github.com/opiproject/opi-api/storage" + - "/v1alpha1/gen/gob\006proto3" + "y\"y\n\035VirtioScsiTargetStatsResponse\022(\n\002id" + + "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022.\n\005" + + "stats\030\002 \001(\0132\037.opi_api.storage.v1.VolumeS" + + "tats\"\326\001\n!CreateVirtioScsiControllerReque" + + "st\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.stor" + + "age.v1/VirtioScsiController\022M\n\026virtio_sc" + + "si_controller\030\002 \001(\0132(.opi_api.storage.v1" + + ".VirtioScsiControllerB\003\340A\002\022!\n\031virtio_scs" + + "i_controller_id\030\003 \001(\t\"b\n!DeleteVirtioScs" + + "iControllerRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)" + + "\n\'opi_api.storage.v1/VirtioScsiControlle" + + "r\"\236\001\n!UpdateVirtioScsiControllerRequest\022" + + "H\n\026virtio_scsi_controller\030\001 \001(\0132(.opi_ap" + + "i.storage.v1.VirtioScsiController\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"\212\001\n ListVirtioScsiControllersRequest\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!ListVirtioSc" + + "siControllersResponse\022I\n\027virtio_scsi_con" + + "trollers\030\001 \003(\0132(.opi_api.storage.v1.Virt" + + "ioScsiController\022\027\n\017next_page_token\030\002 \001(" + + "\t\"_\n\036GetVirtioScsiControllerRequest\022=\n\004n" + + "ame\030\001 \001(\tB/\340A\002\372A)\n\'opi_api.storage.v1/Vi" + + "rtioScsiController\"W\n VirtioScsiControll" + + "erStatsRequest\0223\n\rcontroller_id\030\001 \001(\0132\034." + + "opi_api.common.v1.ObjectKey\"}\n!VirtioScs" + + "iControllerStatsResponse\022(\n\002id\030\001 \001(\0132\034.o" + + "pi_api.common.v1.ObjectKey\022.\n\005stats\030\002 \001(" + + "\0132\037.opi_api.storage.v1.VolumeStats\"\263\001\n\032C" + + "reateVirtioScsiLunRequest\0228\n\006parent\030\001 \001(" + + "\tB(\340A\002\372A\"\n opi_api.storage.v1/VirtioScsi" + + "Lun\022?\n\017virtio_scsi_lun\030\002 \001(\0132!.opi_api.s" + + "torage.v1.VirtioScsiLunB\003\340A\002\022\032\n\022virtio_s" + + "csi_lun_id\030\003 \001(\t\"T\n\032DeleteVirtioScsiLunR" + + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n opi_api.st" + + "orage.v1/VirtioScsiLun\"\211\001\n\032UpdateVirtioS" + + "csiLunRequest\022:\n\017virtio_scsi_lun\030\001 \001(\0132!" + + ".opi_api.storage.v1.VirtioScsiLun\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"|\n\031ListVirtioScsiLunsRequest\0228\n\006paren" + + "t\030\001 \001(\tB(\340A\002\372A\"\n opi_api.storage.v1/Virt" + + "ioScsiLun\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"r\n\032ListVirtioScsiLunsResponse\022;" + + "\n\020virtio_scsi_luns\030\001 \003(\0132!.opi_api.stora" + + "ge.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/Virtio" + + "ScsiLun\"~\n\031VirtioScsiLunStatsRequest\0223\n\r" + + "controller_id\030\001 \001(\0132\034.opi_api.common.v1." + + "ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_api.comm" + + "on.v1.ObjectKey\"v\n\032VirtioScsiLunStatsRes" + + "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\241\031\n\031FrontendVirtioScsiSe" + + "rvice\022\330\001\n\026CreateVirtioScsiTarget\0221.opi_a" + + "pi.storage.v1.CreateVirtioScsiTargetRequ" + + "est\032$.opi_api.storage.v1.VirtioScsiTarge" + + "t\"e\202\323\344\223\002-\"\027/v1/{parent=subsystems}:\022virt" + + "io_scsi_target\332A/parent,virtio_scsi_targ" + + "et,virtio_scsi_target_id\022\234\001\n\026DeleteVirti" + + "oScsiTarget\0221.opi_api.storage.v1.DeleteV" + + "irtioScsiTargetRequest\032\026.google.protobuf" + + ".Empty\"7\202\323\344\223\002**(/v1/{name=subsystems}/{v" + + "irtioscsitarget}\332A\004name\022\330\001\n\026UpdateVirtio" + + "ScsiTarget\0221.opi_api.storage.v1.UpdateVi" + + "rtioScsiTargetRequest\032$.opi_api.storage." + + "v1.VirtioScsiTarget\"e\202\323\344\223\002>2(/v1/{virtio" + + "_scsi_target.name=subsystems}:\022virtio_sc" + + "si_target\332A\036virtio_scsi_target,update_ma" + + "sk\022\246\001\n\025ListVirtioScsiTargets\0220.opi_api.s" + + "torage.v1.ListVirtioScsiTargetsRequest\0321" + + ".opi_api.storage.v1.ListVirtioScsiTarget" + + "sResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=subsystem" + + "s}\332A\006parent\022\244\001\n\023GetVirtioScsiTarget\022..op" + + "i_api.storage.v1.GetVirtioScsiTargetRequ" + + "est\032$.opi_api.storage.v1.VirtioScsiTarge" + + "t\"7\202\323\344\223\002*\022(/v1/{name=subsystems}/{virtio" + + "scsitarget}\332A\004name\022~\n\025VirtioScsiTargetSt" + + "ats\0220.opi_api.storage.v1.VirtioScsiTarge" + + "tStatsRequest\0321.opi_api.storage.v1.Virti" + + "oScsiTargetStatsResponse\"\000\022\360\001\n\032CreateVir" + + "tioScsiController\0225.opi_api.storage.v1.C" + + "reateVirtioScsiControllerRequest\032(.opi_a" + + "pi.storage.v1.VirtioScsiController\"q\202\323\344\223" + + "\0021\"\027/v1/{parent=subsystems}:\026virtio_scsi" + + "_controller\332A7parent,virtio_scsi_control" + + "ler,virtio_scsi_controller_id\022\247\001\n\032Delete" + + "VirtioScsiController\0225.opi_api.storage.v" + + "1.DeleteVirtioScsiControllerRequest\032\026.go" + + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v1/{name=v" + + "irtioscsictrls}/{virtioscsictrl}\332A\004name\022" + + "\360\001\n\032UpdateVirtioScsiController\0225.opi_api" + + ".storage.v1.UpdateVirtioScsiControllerRe" + + "quest\032(.opi_api.storage.v1.VirtioScsiCon" + + "troller\"q\202\323\344\223\002F2,/v1/{virtio_scsi_contro" + + "ller.name=subsystems}:\026virtio_scsi_contr" + + "oller\332A\"virtio_scsi_controller,update_ma" + + "sk\022\262\001\n\031ListVirtioScsiControllers\0224.opi_a" + + "pi.storage.v1.ListVirtioScsiControllersR" + + "equest\0325.opi_api.storage.v1.ListVirtioSc" + + "siControllersResponse\"(\202\323\344\223\002\031\022\027/v1/{pare" + + "nt=subsystems}\332A\006parent\022\256\001\n\027GetVirtioScs" + + "iController\0222.opi_api.storage.v1.GetVirt" + + "ioScsiControllerRequest\032(.opi_api.storag" + + "e.v1.VirtioScsiController\"5\202\323\344\223\002(\022&/v1/{" + + "name=subsystems}/{virtioscsictrl}\332A\004name" + + "\022\212\001\n\031VirtioScsiControllerStats\0224.opi_api" + + ".storage.v1.VirtioScsiControllerStatsReq" + + "uest\0325.opi_api.storage.v1.VirtioScsiCont" + + "rollerStatsResponse\"\000\022\306\001\n\023CreateVirtioSc" + + "siLun\022..opi_api.storage.v1.CreateVirtioS" + + "csiLunRequest\032!.opi_api.storage.v1.Virti" + + "oScsiLun\"\\\202\323\344\223\002*\"\027/v1/{parent=subsystems" + + "}:\017virtio_scsi_lun\332A)parent,virtio_scsi_" + + "lun,virtio_scsi_lun_id\022\227\001\n\023DeleteVirtioS" + + "csiLun\022..opi_api.storage.v1.DeleteVirtio" + + "ScsiLunRequest\032\026.google.protobuf.Empty\"8" + + "\202\323\344\223\002+*)/v1/{name=virtioscsiluns}/{virti" + + "oscsilun}\332A\004name\022\306\001\n\023UpdateVirtioScsiLun" + + "\022..opi_api.storage.v1.UpdateVirtioScsiLu" + + "nRequest\032!.opi_api.storage.v1.VirtioScsi" + + "Lun\"\\\202\323\344\223\00282%/v1/{virtio_scsi_lun.name=s" + + "ubsystems}:\017virtio_scsi_lun\332A\033virtio_scs" + + "i_lun,update_mask\022\235\001\n\022ListVirtioScsiLuns" + + "\022-.opi_api.storage.v1.ListVirtioScsiLuns" + + "Request\032..opi_api.storage.v1.ListVirtioS" + + "csiLunsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=sub" + + "systems}\332A\006parent\022\230\001\n\020GetVirtioScsiLun\022+" + + ".opi_api.storage.v1.GetVirtioScsiLunRequ" + + "est\032!.opi_api.storage.v1.VirtioScsiLun\"4" + + "\202\323\344\223\002\'\022%/v1/{name=subsystems}/{virtioscs" + + "ilun}\332A\004name\022u\n\022VirtioScsiLunStats\022-.opi" + + "_api.storage.v1.VirtioScsiLunStatsReques" + + "t\032..opi_api.storage.v1.VirtioScsiLunStat" + + "sResponse\"\000Bf\n\022opi_api.storage.v1B\027Front" + + "endVirtioScsiProtoP\001Z5github.com/opiproj" + + "ect/opi-api/storage/v1alpha1/gen/gob\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendProto.java index 1f6d58a4..d49d3a8f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendProto.java @@ -100,38 +100,39 @@ public static void registerAllExtensions( "\001(\tB*\340A\002\372A$\n\"opi_api.storage.v1/Encrypte" + "dVolume\"X\n\033EncryptedVolumeStatsRequest\0229" + "\n\023encrypted_volume_id\030\001 \001(\0132\034.opi_api.co" + - "mmon.v1.ObjectKey\"h\n\034EncryptedVolumeStat" + - "sResponse\0229\n\023encrypted_volume_id\030\001 \001(\0132\034" + - ".opi_api.common.v1.ObjectKey\022\r\n\005stats\030\002 " + - "\001(\t2\200\010\n\020MiddleendService\022\317\001\n\025CreateEncry" + - "ptedVolume\0220.opi_api.storage.v1.CreateEn" + - "cryptedVolumeRequest\032#.opi_api.storage.v" + - "1.EncryptedVolume\"_\202\323\344\223\002+\"\027/v1/{parent=s" + - "ubsystems}:\020encrypted_volume\332A+parent,en" + - "crypted_volume,encrypted_volume_id\022\215\001\n\025D" + - "eleteEncryptedVolume\0220.opi_api.storage.v" + - "1.DeleteEncryptedVolumeRequest\032\026.google." + - "protobuf.Empty\"*\202\323\344\223\002\035*\033/v1/{name=volume" + - "s}/{volume}\332A\004name\022\317\001\n\025UpdateEncryptedVo" + - "lume\0220.opi_api.storage.v1.UpdateEncrypte" + + "mmon.v1.ObjectKey\"\211\001\n\034EncryptedVolumeSta" + + "tsResponse\0229\n\023encrypted_volume_id\030\001 \001(\0132" + + "\034.opi_api.common.v1.ObjectKey\022.\n\005stats\030\002" + + " \001(\0132\037.opi_api.storage.v1.VolumeStats2\200\010" + + "\n\020MiddleendService\022\317\001\n\025CreateEncryptedVo" + + "lume\0220.opi_api.storage.v1.CreateEncrypte" + "dVolumeRequest\032#.opi_api.storage.v1.Encr" + - "yptedVolume\"_\202\323\344\223\002:2&/v1/{encrypted_volu" + - "me.name=subsystems}:\020encrypted_volume\332A\034" + - "encrypted_volume,update_mask\022\240\001\n\024ListEnc" + - "ryptedVolumes\022/.opi_api.storage.v1.ListE" + - "ncryptedVolumesRequest\0320.opi_api.storage" + - ".v1.ListEncryptedVolumesResponse\"%\202\323\344\223\002\026" + - "\022\024/v1/{parent=volumes}\332A\006parent\022\227\001\n\022GetE" + - "ncryptedVolume\022-.opi_api.storage.v1.GetE" + - "ncryptedVolumeRequest\032#.opi_api.storage." + - "v1.EncryptedVolume\"-\202\323\344\223\002 \022\036/v1/{name=su" + - "bsystems}/{volume}\332A\004name\022{\n\024EncryptedVo" + - "lumeStats\022/.opi_api.storage.v1.Encrypted" + - "VolumeStatsRequest\0320.opi_api.storage.v1." + - "EncryptedVolumeStatsResponse\"\000B]\n\022opi_ap" + - "i.storage.v1B\016MiddleendProtoP\001Z5github.c" + - "om/opiproject/opi-api/storage/v1alpha1/g" + - "en/gob\006proto3" + "yptedVolume\"_\202\323\344\223\002+\"\027/v1/{parent=subsyst" + + "ems}:\020encrypted_volume\332A+parent,encrypte" + + "d_volume,encrypted_volume_id\022\215\001\n\025DeleteE" + + "ncryptedVolume\0220.opi_api.storage.v1.Dele" + + "teEncryptedVolumeRequest\032\026.google.protob" + + "uf.Empty\"*\202\323\344\223\002\035*\033/v1/{name=volumes}/{vo" + + "lume}\332A\004name\022\317\001\n\025UpdateEncryptedVolume\0220" + + ".opi_api.storage.v1.UpdateEncryptedVolum" + + "eRequest\032#.opi_api.storage.v1.EncryptedV" + + "olume\"_\202\323\344\223\002:2&/v1/{encrypted_volume.nam" + + "e=subsystems}:\020encrypted_volume\332A\034encryp" + + "ted_volume,update_mask\022\240\001\n\024ListEncrypted" + + "Volumes\022/.opi_api.storage.v1.ListEncrypt" + + "edVolumesRequest\0320.opi_api.storage.v1.Li" + + "stEncryptedVolumesResponse\"%\202\323\344\223\002\026\022\024/v1/" + + "{parent=volumes}\332A\006parent\022\227\001\n\022GetEncrypt" + + "edVolume\022-.opi_api.storage.v1.GetEncrypt" + + "edVolumeRequest\032#.opi_api.storage.v1.Enc" + + "ryptedVolume\"-\202\323\344\223\002 \022\036/v1/{name=subsyste" + + "ms}/{volume}\332A\004name\022{\n\024EncryptedVolumeSt" + + "ats\022/.opi_api.storage.v1.EncryptedVolume" + + "StatsRequest\0320.opi_api.storage.v1.Encryp" + + "tedVolumeStatsResponse\"\000B]\n\022opi_api.stor" + + "age.v1B\016MiddleendProtoP\001Z5github.com/opi" + + "project/opi-api/storage/v1alpha1/gen/gob" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponse.java index 28c99c40..72b14d85 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponse.java @@ -16,7 +16,6 @@ private NVMeControllerStatsResponse(com.google.protobuf.GeneratedMessageV3.Build super(builder); } private NVMeControllerStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private NVMeControllerStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (id_ != null) { output.writeMessage(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getId() .equals(other.getId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { id_ = null; idBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.NVMeControllerStatsResponse buildPartial() { } else { result.id_ = idBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.NVMeControllerStatsResponse other) { if (other.hasId()) { mergeId(other.getId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { return idBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponseOrBuilder.java index 613f1b78..41013659 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeControllerStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface NVMeControllerStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponse.java index 2e5c7cf5..7d9212ec 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponse.java @@ -16,7 +16,6 @@ private NVMeNamespaceStatsResponse(com.google.protobuf.GeneratedMessageV3.Builde super(builder); } private NVMeNamespaceStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private NVMeNamespaceStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (id_ != null) { output.writeMessage(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getId() .equals(other.getId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { id_ = null; idBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.NVMeNamespaceStatsResponse buildPartial() { } else { result.id_ = idBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.NVMeNamespaceStatsResponse other) { if (other.hasId()) { mergeId(other.getId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { return idBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponseOrBuilder.java index dba7c276..c1b1b833 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeNamespaceStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface NVMeNamespaceStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponse.java index ac768531..f07cc70d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponse.java @@ -16,7 +16,6 @@ private NVMeSubsystemStatsResponse(com.google.protobuf.GeneratedMessageV3.Builde super(builder); } private NVMeSubsystemStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -50,9 +49,16 @@ private NVMeSubsystemStatsResponse( done = true; break; case 10: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -88,41 +94,29 @@ private NVMeSubsystemStatsResponse( } public static final int STATS_FIELD_NUMBER = 1; - private volatile java.lang.Object stats_; + private opi_api.storage.v1.VolumeStats stats_; /** - * string stats = 1; + * .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 java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 1; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 1; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -139,8 +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(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stats_); + if (stats_ != null) { + output.writeMessage(1, getStats()); } unknownFields.writeTo(output); } @@ -151,8 +145,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -169,8 +164,11 @@ public boolean equals(final java.lang.Object obj) { } opi_api.storage.v1.NVMeSubsystemStatsResponse other = (opi_api.storage.v1.NVMeSubsystemStatsResponse) obj; - if (!getStats() - .equals(other.getStats())) 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; } @@ -182,8 +180,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -317,8 +317,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -345,7 +349,11 @@ 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); - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -394,9 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(opi_api.storage.v1.NVMeSubsystemStatsResponse other) { if (other == opi_api.storage.v1.NVMeSubsystemStatsResponse.getDefaultInstance()) return this; - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -427,80 +434,123 @@ public Builder mergeFrom( return this; } - private java.lang.Object stats_ = ""; + 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_; /** - * string stats = 1; + * .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 java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 1; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 1; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 1; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 1; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 1; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 1; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponseOrBuilder.java index 9fe78ddd..cbb3aaf4 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMeSubsystemStatsResponseOrBuilder.java @@ -8,14 +8,17 @@ public interface NVMeSubsystemStatsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string stats = 1; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 1; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 1; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java index 2d94c5cf..fd61bcc7 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java @@ -16,7 +16,6 @@ private NVMfRemoteControllerStatsResponse(com.google.protobuf.GeneratedMessageV3 super(builder); } private NVMfRemoteControllerStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -50,9 +49,16 @@ private NVMfRemoteControllerStatsResponse( done = true; break; case 10: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -88,41 +94,29 @@ private NVMfRemoteControllerStatsResponse( } public static final int STATS_FIELD_NUMBER = 1; - private volatile java.lang.Object stats_; + private opi_api.storage.v1.VolumeStats stats_; /** - * string stats = 1; + * .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 java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 1; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 1; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -139,8 +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(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stats_); + if (stats_ != null) { + output.writeMessage(1, getStats()); } unknownFields.writeTo(output); } @@ -151,8 +145,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -169,8 +164,11 @@ public boolean equals(final java.lang.Object obj) { } opi_api.storage.v1.NVMfRemoteControllerStatsResponse other = (opi_api.storage.v1.NVMfRemoteControllerStatsResponse) obj; - if (!getStats() - .equals(other.getStats())) 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; } @@ -182,8 +180,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -317,8 +317,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -345,7 +349,11 @@ public opi_api.storage.v1.NVMfRemoteControllerStatsResponse build() { @java.lang.Override public opi_api.storage.v1.NVMfRemoteControllerStatsResponse buildPartial() { opi_api.storage.v1.NVMfRemoteControllerStatsResponse result = new opi_api.storage.v1.NVMfRemoteControllerStatsResponse(this); - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -394,9 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerStatsResponse other) { if (other == opi_api.storage.v1.NVMfRemoteControllerStatsResponse.getDefaultInstance()) return this; - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -427,80 +434,123 @@ public Builder mergeFrom( return this; } - private java.lang.Object stats_ = ""; + 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_; /** - * string stats = 1; + * .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 java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 1; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 1; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 1; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 1; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 1; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 1; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 1; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java index be9948de..110d0e6a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java @@ -8,14 +8,17 @@ public interface NVMfRemoteControllerStatsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string stats = 1; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 1; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 1; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponse.java index 3e2f7e6d..da5405f2 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponse.java @@ -16,7 +16,6 @@ private NullDebugStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder super(builder); } private NullDebugStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private NullDebugStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (handle_ != null) { output.writeMessage(1, getHandle()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHandle()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getHandle() .equals(other.getHandle())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + HANDLE_FIELD_NUMBER; hash = (53 * hash) + getHandle().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { handle_ = null; handleBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.NullDebugStatsResponse buildPartial() { } else { result.handle_ = handleBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.NullDebugStatsResponse other) { if (other.hasHandle()) { mergeHandle(other.getHandle()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { return handleBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponseOrBuilder.java index 60ae83c4..18d60a13 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface NullDebugStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java index 7271e0c2..9ba0e195 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java @@ -19,6 +19,11 @@ public static void registerAllExtensions( static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_PciEndpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_opi_api_storage_v1_VolumeStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_opi_api_storage_v1_VolumeStats_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -31,15 +36,21 @@ public static void registerAllExtensions( "\n\017opicommon.proto\022\022opi_api.storage.v1\"S\n" + "\013PciEndpoint\022\017\n\007port_id\030\001 \001(\005\022\031\n\021physica" + "l_function\030\002 \001(\005\022\030\n\020virtual_function\030\003 \001" + - "(\005*\367\001\n\016EncryptionType\022\037\n\033ENCRYPTION_TYPE" + - "_UNSPECIFIED\020\000\022\037\n\033ENCRYPTION_TYPE_AES_CB" + - "C_128\020\001\022\037\n\033ENCRYPTION_TYPE_AES_CBC_192\020\002" + - "\022\037\n\033ENCRYPTION_TYPE_AES_CBC_256\020\003\022\037\n\033ENC" + - "RYPTION_TYPE_AES_XTS_128\020\004\022\037\n\033ENCRYPTION" + - "_TYPE_AES_XTS_192\020\005\022\037\n\033ENCRYPTION_TYPE_A" + - "ES_XTS_256\020\006B]\n\022opi_api.storage.v1B\016OpiC" + - "ommonProtoP\001Z5github.com/opiproject/opi-" + - "api/storage/v1alpha1/gen/gob\006proto3" + "(\005\"\360\001\n\013VolumeStats\022\022\n\nbytes_read\030\001 \001(\005\022\026" + + "\n\016read_ops_count\030\002 \001(\005\022\025\n\rbytes_written\030" + + "\003 \001(\005\022\027\n\017write_ops_count\030\004 \001(\005\022\026\n\016bytes_" + + "unmapped\030\005 \001(\005\022\027\n\017unmap_ops_count\030\006 \001(\005\022" + + "\032\n\022read_latency_ticks\030\007 \001(\005\022\033\n\023write_lat" + + "ency_ticks\030\010 \001(\005\022\033\n\023unmap_latency_ticks\030" + + "\t \001(\005*\367\001\n\016EncryptionType\022\037\n\033ENCRYPTION_T" + + "YPE_UNSPECIFIED\020\000\022\037\n\033ENCRYPTION_TYPE_AES" + + "_CBC_128\020\001\022\037\n\033ENCRYPTION_TYPE_AES_CBC_19" + + "2\020\002\022\037\n\033ENCRYPTION_TYPE_AES_CBC_256\020\003\022\037\n\033" + + "ENCRYPTION_TYPE_AES_XTS_128\020\004\022\037\n\033ENCRYPT" + + "ION_TYPE_AES_XTS_192\020\005\022\037\n\033ENCRYPTION_TYP" + + "E_AES_XTS_256\020\006B]\n\022opi_api.storage.v1B\016O" + + "piCommonProtoP\001Z5github.com/opiproject/o" + + "pi-api/storage/v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -51,6 +62,12 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_PciEndpoint_descriptor, new java.lang.String[] { "PortId", "PhysicalFunction", "VirtualFunction", }); + internal_static_opi_api_storage_v1_VolumeStats_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_opi_api_storage_v1_VolumeStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_opi_api_storage_v1_VolumeStats_descriptor, + new java.lang.String[] { "BytesRead", "ReadOpsCount", "BytesWritten", "WriteOpsCount", "BytesUnmapped", "UnmapOpsCount", "ReadLatencyTicks", "WriteLatencyTicks", "UnmapLatencyTicks", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java index cab4c97b..803d94e9 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponse.java @@ -16,7 +16,6 @@ private VirtioBlkStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder super(builder); } private VirtioBlkStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private VirtioBlkStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (id_ != null) { output.writeMessage(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getId() .equals(other.getId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { id_ = null; idBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.VirtioBlkStatsResponse buildPartial() { } else { result.id_ = idBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.VirtioBlkStatsResponse other) { if (other.hasId()) { mergeId(other.getId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { return idBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java index 631a7b45..1a64f928 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioBlkStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface VirtioBlkStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java index 4858b0a2..499f32b2 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponse.java @@ -16,7 +16,6 @@ private VirtioScsiControllerStatsResponse(com.google.protobuf.GeneratedMessageV3 super(builder); } private VirtioScsiControllerStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private VirtioScsiControllerStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (id_ != null) { output.writeMessage(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getId() .equals(other.getId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { id_ = null; idBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.VirtioScsiControllerStatsResponse buildPartial() { } else { result.id_ = idBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.VirtioScsiControllerStatsResponse ot if (other.hasId()) { mergeId(other.getId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { return idBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java index da3768b2..bbbe7371 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiControllerStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface VirtioScsiControllerStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java index 22c08525..9e65cdb8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponse.java @@ -16,7 +16,6 @@ private VirtioScsiLunStatsResponse(com.google.protobuf.GeneratedMessageV3.Builde super(builder); } private VirtioScsiLunStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private VirtioScsiLunStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (id_ != null) { output.writeMessage(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getId() .equals(other.getId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { id_ = null; idBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.VirtioScsiLunStatsResponse buildPartial() { } else { result.id_ = idBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.VirtioScsiLunStatsResponse other) { if (other.hasId()) { mergeId(other.getId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { return idBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java index e4917b23..b5e6f7a0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiLunStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface VirtioScsiLunStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java index 517103c8..11aad4aa 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponse.java @@ -16,7 +16,6 @@ private VirtioScsiTargetStatsResponse(com.google.protobuf.GeneratedMessageV3.Bui super(builder); } private VirtioScsiTargetStatsResponse() { - stats_ = ""; } @java.lang.Override @@ -63,9 +62,16 @@ private VirtioScsiTargetStatsResponse( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + 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(); + } - stats_ = s; break; } default: { @@ -127,41 +133,29 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { } public static final int STATS_FIELD_NUMBER = 2; - private volatile java.lang.Object stats_; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ @java.lang.Override - public java.lang.String getStats() { - java.lang.Object ref = stats_; - 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(); - stats_ = s; - return s; - } + public opi_api.storage.v1.VolumeStats getStats() { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ @java.lang.Override - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder() { + return getStats(); } private byte memoizedIsInitialized = -1; @@ -181,8 +175,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (id_ != null) { output.writeMessage(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + if (stats_ != null) { + output.writeMessage(2, getStats()); } unknownFields.writeTo(output); } @@ -197,8 +191,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,8 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getId() .equals(other.getId())) return false; } - if (!getStats() - .equals(other.getStats())) 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; } @@ -237,8 +235,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } - hash = (37 * hash) + STATS_FIELD_NUMBER; - hash = (53 * hash) + getStats().hashCode(); + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -378,8 +378,12 @@ public Builder clear() { id_ = null; idBuilder_ = null; } - stats_ = ""; - + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -411,7 +415,11 @@ public opi_api.storage.v1.VirtioScsiTargetStatsResponse buildPartial() { } else { result.id_ = idBuilder_.build(); } - result.stats_ = stats_; + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } onBuilt(); return result; } @@ -463,9 +471,8 @@ public Builder mergeFrom(opi_api.storage.v1.VirtioScsiTargetStatsResponse other) if (other.hasId()) { mergeId(other.getId()); } - if (!other.getStats().isEmpty()) { - stats_ = other.stats_; - onChanged(); + if (other.hasStats()) { + mergeStats(other.getStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -615,80 +622,123 @@ public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { return idBuilder_; } - private java.lang.Object stats_ = ""; + 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; + } /** - * string stats = 2; + * .opi_api.storage.v1.VolumeStats stats = 2; * @return The stats. */ - public java.lang.String getStats() { - java.lang.Object ref = stats_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - stats_ = s; - return s; + public opi_api.storage.v1.VolumeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null ? opi_api.storage.v1.VolumeStats.getDefaultInstance() : stats_; } else { - return (java.lang.String) ref; + return statsBuilder_.getMessage(); } } /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public com.google.protobuf.ByteString - getStatsBytes() { - java.lang.Object ref = stats_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stats_ = b; - return b; + public Builder setStats(opi_api.storage.v1.VolumeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + statsBuilder_.setMessage(value); } + + return this; } /** - * string stats = 2; - * @param value The stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder setStats( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - stats_ = value; - onChanged(); + 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; } /** - * string stats = 2; - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ public Builder clearStats() { - - stats_ = getDefaultInstance().getStats(); - onChanged(); + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + return this; } /** - * string stats = 2; - * @param value The bytes for stats to set. - * @return This builder for chaining. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - public Builder setStatsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public opi_api.storage.v1.VolumeStats.Builder getStatsBuilder() { - stats_ = value; onChanged(); - return this; + 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( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java index d10a2bde..2b9aeb1c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VirtioScsiTargetStatsResponseOrBuilder.java @@ -23,14 +23,17 @@ public interface VirtioScsiTargetStatsResponseOrBuilder extends opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** - * string stats = 2; + * .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. */ - java.lang.String getStats(); + opi_api.storage.v1.VolumeStats getStats(); /** - * string stats = 2; - * @return The bytes for stats. + * .opi_api.storage.v1.VolumeStats stats = 2; */ - com.google.protobuf.ByteString - getStatsBytes(); + opi_api.storage.v1.VolumeStatsOrBuilder getStatsOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStats.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStats.java new file mode 100644 index 00000000..cea68b92 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStats.java @@ -0,0 +1,995 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: opicommon.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.VolumeStats} + */ +public final class VolumeStats extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.VolumeStats) + VolumeStatsOrBuilder { +private static final long serialVersionUID = 0L; + // Use VolumeStats.newBuilder() to construct. + private VolumeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private VolumeStats() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new VolumeStats(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private VolumeStats( + 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 8: { + + bytesRead_ = input.readInt32(); + break; + } + case 16: { + + readOpsCount_ = input.readInt32(); + break; + } + case 24: { + + bytesWritten_ = input.readInt32(); + break; + } + case 32: { + + writeOpsCount_ = input.readInt32(); + break; + } + case 40: { + + bytesUnmapped_ = input.readInt32(); + break; + } + case 48: { + + unmapOpsCount_ = input.readInt32(); + break; + } + case 56: { + + readLatencyTicks_ = input.readInt32(); + break; + } + case 64: { + + writeLatencyTicks_ = input.readInt32(); + break; + } + case 72: { + + unmapLatencyTicks_ = input.readInt32(); + 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.OpiCommonProto.internal_static_opi_api_storage_v1_VolumeStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.OpiCommonProto.internal_static_opi_api_storage_v1_VolumeStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.VolumeStats.class, opi_api.storage.v1.VolumeStats.Builder.class); + } + + public static final int BYTES_READ_FIELD_NUMBER = 1; + private int bytesRead_; + /** + * int32 bytes_read = 1; + * @return The bytesRead. + */ + @java.lang.Override + public int getBytesRead() { + return bytesRead_; + } + + public static final int READ_OPS_COUNT_FIELD_NUMBER = 2; + private int readOpsCount_; + /** + * int32 read_ops_count = 2; + * @return The readOpsCount. + */ + @java.lang.Override + public int getReadOpsCount() { + return readOpsCount_; + } + + public static final int BYTES_WRITTEN_FIELD_NUMBER = 3; + private int bytesWritten_; + /** + * int32 bytes_written = 3; + * @return The bytesWritten. + */ + @java.lang.Override + public int getBytesWritten() { + return bytesWritten_; + } + + public static final int WRITE_OPS_COUNT_FIELD_NUMBER = 4; + private int writeOpsCount_; + /** + * int32 write_ops_count = 4; + * @return The writeOpsCount. + */ + @java.lang.Override + public int getWriteOpsCount() { + return writeOpsCount_; + } + + public static final int BYTES_UNMAPPED_FIELD_NUMBER = 5; + private int bytesUnmapped_; + /** + * int32 bytes_unmapped = 5; + * @return The bytesUnmapped. + */ + @java.lang.Override + public int getBytesUnmapped() { + return bytesUnmapped_; + } + + public static final int UNMAP_OPS_COUNT_FIELD_NUMBER = 6; + private int unmapOpsCount_; + /** + * int32 unmap_ops_count = 6; + * @return The unmapOpsCount. + */ + @java.lang.Override + public int getUnmapOpsCount() { + return unmapOpsCount_; + } + + public static final int READ_LATENCY_TICKS_FIELD_NUMBER = 7; + private int readLatencyTicks_; + /** + * int32 read_latency_ticks = 7; + * @return The readLatencyTicks. + */ + @java.lang.Override + public int getReadLatencyTicks() { + return readLatencyTicks_; + } + + public static final int WRITE_LATENCY_TICKS_FIELD_NUMBER = 8; + private int writeLatencyTicks_; + /** + * int32 write_latency_ticks = 8; + * @return The writeLatencyTicks. + */ + @java.lang.Override + public int getWriteLatencyTicks() { + return writeLatencyTicks_; + } + + public static final int UNMAP_LATENCY_TICKS_FIELD_NUMBER = 9; + private int unmapLatencyTicks_; + /** + * int32 unmap_latency_ticks = 9; + * @return The unmapLatencyTicks. + */ + @java.lang.Override + public int getUnmapLatencyTicks() { + return unmapLatencyTicks_; + } + + 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 (bytesRead_ != 0) { + output.writeInt32(1, bytesRead_); + } + if (readOpsCount_ != 0) { + output.writeInt32(2, readOpsCount_); + } + if (bytesWritten_ != 0) { + output.writeInt32(3, bytesWritten_); + } + if (writeOpsCount_ != 0) { + output.writeInt32(4, writeOpsCount_); + } + if (bytesUnmapped_ != 0) { + output.writeInt32(5, bytesUnmapped_); + } + if (unmapOpsCount_ != 0) { + output.writeInt32(6, unmapOpsCount_); + } + if (readLatencyTicks_ != 0) { + output.writeInt32(7, readLatencyTicks_); + } + if (writeLatencyTicks_ != 0) { + output.writeInt32(8, writeLatencyTicks_); + } + if (unmapLatencyTicks_ != 0) { + output.writeInt32(9, unmapLatencyTicks_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (bytesRead_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, bytesRead_); + } + if (readOpsCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, readOpsCount_); + } + if (bytesWritten_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, bytesWritten_); + } + if (writeOpsCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, writeOpsCount_); + } + if (bytesUnmapped_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, bytesUnmapped_); + } + if (unmapOpsCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, unmapOpsCount_); + } + if (readLatencyTicks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, readLatencyTicks_); + } + if (writeLatencyTicks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, writeLatencyTicks_); + } + if (unmapLatencyTicks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, unmapLatencyTicks_); + } + 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.VolumeStats)) { + return super.equals(obj); + } + opi_api.storage.v1.VolumeStats other = (opi_api.storage.v1.VolumeStats) obj; + + if (getBytesRead() + != other.getBytesRead()) return false; + if (getReadOpsCount() + != other.getReadOpsCount()) return false; + if (getBytesWritten() + != other.getBytesWritten()) return false; + if (getWriteOpsCount() + != other.getWriteOpsCount()) return false; + if (getBytesUnmapped() + != other.getBytesUnmapped()) return false; + if (getUnmapOpsCount() + != other.getUnmapOpsCount()) return false; + if (getReadLatencyTicks() + != other.getReadLatencyTicks()) return false; + if (getWriteLatencyTicks() + != other.getWriteLatencyTicks()) return false; + if (getUnmapLatencyTicks() + != other.getUnmapLatencyTicks()) 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) + BYTES_READ_FIELD_NUMBER; + hash = (53 * hash) + getBytesRead(); + hash = (37 * hash) + READ_OPS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getReadOpsCount(); + hash = (37 * hash) + BYTES_WRITTEN_FIELD_NUMBER; + hash = (53 * hash) + getBytesWritten(); + hash = (37 * hash) + WRITE_OPS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getWriteOpsCount(); + hash = (37 * hash) + BYTES_UNMAPPED_FIELD_NUMBER; + hash = (53 * hash) + getBytesUnmapped(); + hash = (37 * hash) + UNMAP_OPS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getUnmapOpsCount(); + hash = (37 * hash) + READ_LATENCY_TICKS_FIELD_NUMBER; + hash = (53 * hash) + getReadLatencyTicks(); + hash = (37 * hash) + WRITE_LATENCY_TICKS_FIELD_NUMBER; + hash = (53 * hash) + getWriteLatencyTicks(); + hash = (37 * hash) + UNMAP_LATENCY_TICKS_FIELD_NUMBER; + hash = (53 * hash) + getUnmapLatencyTicks(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.VolumeStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.VolumeStats 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.VolumeStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.VolumeStats 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.VolumeStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.VolumeStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.VolumeStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.VolumeStats 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.VolumeStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.VolumeStats 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.VolumeStats parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.VolumeStats 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.VolumeStats 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.VolumeStats} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.VolumeStats) + opi_api.storage.v1.VolumeStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.OpiCommonProto.internal_static_opi_api_storage_v1_VolumeStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.OpiCommonProto.internal_static_opi_api_storage_v1_VolumeStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.VolumeStats.class, opi_api.storage.v1.VolumeStats.Builder.class); + } + + // Construct using opi_api.storage.v1.VolumeStats.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(); + bytesRead_ = 0; + + readOpsCount_ = 0; + + bytesWritten_ = 0; + + writeOpsCount_ = 0; + + bytesUnmapped_ = 0; + + unmapOpsCount_ = 0; + + readLatencyTicks_ = 0; + + writeLatencyTicks_ = 0; + + unmapLatencyTicks_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.OpiCommonProto.internal_static_opi_api_storage_v1_VolumeStats_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.VolumeStats getDefaultInstanceForType() { + return opi_api.storage.v1.VolumeStats.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.VolumeStats build() { + opi_api.storage.v1.VolumeStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.VolumeStats buildPartial() { + opi_api.storage.v1.VolumeStats result = new opi_api.storage.v1.VolumeStats(this); + result.bytesRead_ = bytesRead_; + result.readOpsCount_ = readOpsCount_; + result.bytesWritten_ = bytesWritten_; + result.writeOpsCount_ = writeOpsCount_; + result.bytesUnmapped_ = bytesUnmapped_; + result.unmapOpsCount_ = unmapOpsCount_; + result.readLatencyTicks_ = readLatencyTicks_; + result.writeLatencyTicks_ = writeLatencyTicks_; + result.unmapLatencyTicks_ = unmapLatencyTicks_; + 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.VolumeStats) { + return mergeFrom((opi_api.storage.v1.VolumeStats)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.VolumeStats other) { + if (other == opi_api.storage.v1.VolumeStats.getDefaultInstance()) return this; + if (other.getBytesRead() != 0) { + setBytesRead(other.getBytesRead()); + } + if (other.getReadOpsCount() != 0) { + setReadOpsCount(other.getReadOpsCount()); + } + if (other.getBytesWritten() != 0) { + setBytesWritten(other.getBytesWritten()); + } + if (other.getWriteOpsCount() != 0) { + setWriteOpsCount(other.getWriteOpsCount()); + } + if (other.getBytesUnmapped() != 0) { + setBytesUnmapped(other.getBytesUnmapped()); + } + if (other.getUnmapOpsCount() != 0) { + setUnmapOpsCount(other.getUnmapOpsCount()); + } + if (other.getReadLatencyTicks() != 0) { + setReadLatencyTicks(other.getReadLatencyTicks()); + } + if (other.getWriteLatencyTicks() != 0) { + setWriteLatencyTicks(other.getWriteLatencyTicks()); + } + if (other.getUnmapLatencyTicks() != 0) { + setUnmapLatencyTicks(other.getUnmapLatencyTicks()); + } + 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.VolumeStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.VolumeStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bytesRead_ ; + /** + * int32 bytes_read = 1; + * @return The bytesRead. + */ + @java.lang.Override + public int getBytesRead() { + return bytesRead_; + } + /** + * int32 bytes_read = 1; + * @param value The bytesRead to set. + * @return This builder for chaining. + */ + public Builder setBytesRead(int value) { + + bytesRead_ = value; + onChanged(); + return this; + } + /** + * int32 bytes_read = 1; + * @return This builder for chaining. + */ + public Builder clearBytesRead() { + + bytesRead_ = 0; + onChanged(); + return this; + } + + private int readOpsCount_ ; + /** + * int32 read_ops_count = 2; + * @return The readOpsCount. + */ + @java.lang.Override + public int getReadOpsCount() { + return readOpsCount_; + } + /** + * int32 read_ops_count = 2; + * @param value The readOpsCount to set. + * @return This builder for chaining. + */ + public Builder setReadOpsCount(int value) { + + readOpsCount_ = value; + onChanged(); + return this; + } + /** + * int32 read_ops_count = 2; + * @return This builder for chaining. + */ + public Builder clearReadOpsCount() { + + readOpsCount_ = 0; + onChanged(); + return this; + } + + private int bytesWritten_ ; + /** + * int32 bytes_written = 3; + * @return The bytesWritten. + */ + @java.lang.Override + public int getBytesWritten() { + return bytesWritten_; + } + /** + * int32 bytes_written = 3; + * @param value The bytesWritten to set. + * @return This builder for chaining. + */ + public Builder setBytesWritten(int value) { + + bytesWritten_ = value; + onChanged(); + return this; + } + /** + * int32 bytes_written = 3; + * @return This builder for chaining. + */ + public Builder clearBytesWritten() { + + bytesWritten_ = 0; + onChanged(); + return this; + } + + private int writeOpsCount_ ; + /** + * int32 write_ops_count = 4; + * @return The writeOpsCount. + */ + @java.lang.Override + public int getWriteOpsCount() { + return writeOpsCount_; + } + /** + * int32 write_ops_count = 4; + * @param value The writeOpsCount to set. + * @return This builder for chaining. + */ + public Builder setWriteOpsCount(int value) { + + writeOpsCount_ = value; + onChanged(); + return this; + } + /** + * int32 write_ops_count = 4; + * @return This builder for chaining. + */ + public Builder clearWriteOpsCount() { + + writeOpsCount_ = 0; + onChanged(); + return this; + } + + private int bytesUnmapped_ ; + /** + * int32 bytes_unmapped = 5; + * @return The bytesUnmapped. + */ + @java.lang.Override + public int getBytesUnmapped() { + return bytesUnmapped_; + } + /** + * int32 bytes_unmapped = 5; + * @param value The bytesUnmapped to set. + * @return This builder for chaining. + */ + public Builder setBytesUnmapped(int value) { + + bytesUnmapped_ = value; + onChanged(); + return this; + } + /** + * int32 bytes_unmapped = 5; + * @return This builder for chaining. + */ + public Builder clearBytesUnmapped() { + + bytesUnmapped_ = 0; + onChanged(); + return this; + } + + private int unmapOpsCount_ ; + /** + * int32 unmap_ops_count = 6; + * @return The unmapOpsCount. + */ + @java.lang.Override + public int getUnmapOpsCount() { + return unmapOpsCount_; + } + /** + * int32 unmap_ops_count = 6; + * @param value The unmapOpsCount to set. + * @return This builder for chaining. + */ + public Builder setUnmapOpsCount(int value) { + + unmapOpsCount_ = value; + onChanged(); + return this; + } + /** + * int32 unmap_ops_count = 6; + * @return This builder for chaining. + */ + public Builder clearUnmapOpsCount() { + + unmapOpsCount_ = 0; + onChanged(); + return this; + } + + private int readLatencyTicks_ ; + /** + * int32 read_latency_ticks = 7; + * @return The readLatencyTicks. + */ + @java.lang.Override + public int getReadLatencyTicks() { + return readLatencyTicks_; + } + /** + * int32 read_latency_ticks = 7; + * @param value The readLatencyTicks to set. + * @return This builder for chaining. + */ + public Builder setReadLatencyTicks(int value) { + + readLatencyTicks_ = value; + onChanged(); + return this; + } + /** + * int32 read_latency_ticks = 7; + * @return This builder for chaining. + */ + public Builder clearReadLatencyTicks() { + + readLatencyTicks_ = 0; + onChanged(); + return this; + } + + private int writeLatencyTicks_ ; + /** + * int32 write_latency_ticks = 8; + * @return The writeLatencyTicks. + */ + @java.lang.Override + public int getWriteLatencyTicks() { + return writeLatencyTicks_; + } + /** + * int32 write_latency_ticks = 8; + * @param value The writeLatencyTicks to set. + * @return This builder for chaining. + */ + public Builder setWriteLatencyTicks(int value) { + + writeLatencyTicks_ = value; + onChanged(); + return this; + } + /** + * int32 write_latency_ticks = 8; + * @return This builder for chaining. + */ + public Builder clearWriteLatencyTicks() { + + writeLatencyTicks_ = 0; + onChanged(); + return this; + } + + private int unmapLatencyTicks_ ; + /** + * int32 unmap_latency_ticks = 9; + * @return The unmapLatencyTicks. + */ + @java.lang.Override + public int getUnmapLatencyTicks() { + return unmapLatencyTicks_; + } + /** + * int32 unmap_latency_ticks = 9; + * @param value The unmapLatencyTicks to set. + * @return This builder for chaining. + */ + public Builder setUnmapLatencyTicks(int value) { + + unmapLatencyTicks_ = value; + onChanged(); + return this; + } + /** + * int32 unmap_latency_ticks = 9; + * @return This builder for chaining. + */ + public Builder clearUnmapLatencyTicks() { + + unmapLatencyTicks_ = 0; + 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.VolumeStats) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.VolumeStats) + private static final opi_api.storage.v1.VolumeStats DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.VolumeStats(); + } + + public static opi_api.storage.v1.VolumeStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VolumeStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VolumeStats(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.VolumeStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStatsOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStatsOrBuilder.java new file mode 100644 index 00000000..0d526f86 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/VolumeStatsOrBuilder.java @@ -0,0 +1,63 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: opicommon.proto + +package opi_api.storage.v1; + +public interface VolumeStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.VolumeStats) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 bytes_read = 1; + * @return The bytesRead. + */ + int getBytesRead(); + + /** + * int32 read_ops_count = 2; + * @return The readOpsCount. + */ + int getReadOpsCount(); + + /** + * int32 bytes_written = 3; + * @return The bytesWritten. + */ + int getBytesWritten(); + + /** + * int32 write_ops_count = 4; + * @return The writeOpsCount. + */ + int getWriteOpsCount(); + + /** + * int32 bytes_unmapped = 5; + * @return The bytesUnmapped. + */ + int getBytesUnmapped(); + + /** + * int32 unmap_ops_count = 6; + * @return The unmapOpsCount. + */ + int getUnmapOpsCount(); + + /** + * int32 read_latency_ticks = 7; + * @return The readLatencyTicks. + */ + int getReadLatencyTicks(); + + /** + * int32 write_latency_ticks = 8; + * @return The writeLatencyTicks. + */ + int getWriteLatencyTicks(); + + /** + * int32 unmap_latency_ticks = 9; + * @return The unmapLatencyTicks. + */ + int getUnmapLatencyTicks(); +} diff --git a/storage/v1alpha1/gen/python/backend_aio_pb2.py b/storage/v1alpha1/gen/python/backend_aio_pb2.py index b150ea03..099c8c8c 100644 --- a/storage/v1alpha1/gen/python/backend_aio_pb2.py +++ b/storage/v1alpha1/gen/python/backend_aio_pb2.py @@ -19,10 +19,11 @@ 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\nuuid.proto\"\xa0\x01\n\rAioController\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\xb1\x01\n\x1a\x43reateAioControllerRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\x12>\n\x0e\x61io_controller\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.AioControllerB\x03\xe0\x41\x02\x12\x19\n\x11\x61io_controller_id\x18\x03 \x01(\t\"T\n\x1a\x44\x65leteAioControllerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\"\x88\x01\n\x1aUpdateAioControllerRequest\x12\x39\n\x0e\x61io_controller\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\n\x19ListAioControllersRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x1aListAioControllersResponse\x12:\n\x0f\x61io_controllers\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.AioController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetAioControllerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\"I\n\x19\x41ioControllerStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"Y\n\x1a\x41ioControllerStatsResponse\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\xe2\x07\n\x14\x41ioControllerService\x12\xc3\x01\n\x13\x43reateAioController\x12..opi_api.storage.v1.CreateAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"Y\x82\xd3\xe4\x93\x02)\"\x17/v1/{parent=subsystems}:\x0e\x61io_controller\xda\x41\'parent,aio_controller,aio_controller_id\x12\x8f\x01\n\x13\x44\x65leteAioController\x12..opi_api.storage.v1.DeleteAioControllerRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xc3\x01\n\x13UpdateAioController\x12..opi_api.storage.v1.UpdateAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"Y\x82\xd3\xe4\x93\x02\x36\x32$/v1/{aio_controller.name=subsystems}:\x0e\x61io_controller\xda\x41\x1a\x61io_controller,update_mask\x12\x9d\x01\n\x12ListAioControllers\x12-.opi_api.storage.v1.ListAioControllersRequest\x1a..opi_api.storage.v1.ListAioControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x94\x01\n\x10GetAioController\x12+.opi_api.storage.v1.GetAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12u\n\x12\x41ioControllerStats\x12-.opi_api.storage.v1.AioControllerStatsRequest\x1a..opi_api.storage.v1.AioControllerStatsResponse\"\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\x10object_key.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xa0\x01\n\rAioController\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\xb1\x01\n\x1a\x43reateAioControllerRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\x12>\n\x0e\x61io_controller\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.AioControllerB\x03\xe0\x41\x02\x12\x19\n\x11\x61io_controller_id\x18\x03 \x01(\t\"T\n\x1a\x44\x65leteAioControllerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\"\x88\x01\n\x1aUpdateAioControllerRequest\x12\x39\n\x0e\x61io_controller\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\n\x19ListAioControllersRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x1aListAioControllersResponse\x12:\n\x0f\x61io_controllers\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.AioController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x17GetAioControllerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/AioController\"I\n\x19\x41ioControllerStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"z\n\x1a\x41ioControllerStatsResponse\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\xe2\x07\n\x14\x41ioControllerService\x12\xc3\x01\n\x13\x43reateAioController\x12..opi_api.storage.v1.CreateAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"Y\x82\xd3\xe4\x93\x02)\"\x17/v1/{parent=subsystems}:\x0e\x61io_controller\xda\x41\'parent,aio_controller,aio_controller_id\x12\x8f\x01\n\x13\x44\x65leteAioController\x12..opi_api.storage.v1.DeleteAioControllerRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xc3\x01\n\x13UpdateAioController\x12..opi_api.storage.v1.UpdateAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"Y\x82\xd3\xe4\x93\x02\x36\x32$/v1/{aio_controller.name=subsystems}:\x0e\x61io_controller\xda\x41\x1a\x61io_controller,update_mask\x12\x9d\x01\n\x12ListAioControllers\x12-.opi_api.storage.v1.ListAioControllersRequest\x1a..opi_api.storage.v1.ListAioControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x94\x01\n\x10GetAioController\x12+.opi_api.storage.v1.GetAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12u\n\x12\x41ioControllerStats\x12-.opi_api.storage.v1.AioControllerStatsRequest\x1a..opi_api.storage.v1.AioControllerStatsResponse\"\x00\x42^\n\x12opi_api.storage.v1B\x0f\x42\x61\x63kendAioProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -123,24 +124,24 @@ _AIOCONTROLLERSERVICE.methods_by_name['ListAioControllers']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _AIOCONTROLLERSERVICE.methods_by_name['GetAioController']._options = None _AIOCONTROLLERSERVICE.methods_by_name['GetAioController']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' - _AIOCONTROLLER._serialized_start=250 - _AIOCONTROLLER._serialized_end=410 - _CREATEAIOCONTROLLERREQUEST._serialized_start=413 - _CREATEAIOCONTROLLERREQUEST._serialized_end=590 - _DELETEAIOCONTROLLERREQUEST._serialized_start=592 - _DELETEAIOCONTROLLERREQUEST._serialized_end=676 - _UPDATEAIOCONTROLLERREQUEST._serialized_start=679 - _UPDATEAIOCONTROLLERREQUEST._serialized_end=815 - _LISTAIOCONTROLLERSREQUEST._serialized_start=817 - _LISTAIOCONTROLLERSREQUEST._serialized_end=941 - _LISTAIOCONTROLLERSRESPONSE._serialized_start=943 - _LISTAIOCONTROLLERSRESPONSE._serialized_end=1056 - _GETAIOCONTROLLERREQUEST._serialized_start=1058 - _GETAIOCONTROLLERREQUEST._serialized_end=1139 - _AIOCONTROLLERSTATSREQUEST._serialized_start=1141 - _AIOCONTROLLERSTATSREQUEST._serialized_end=1214 - _AIOCONTROLLERSTATSRESPONSE._serialized_start=1216 - _AIOCONTROLLERSTATSRESPONSE._serialized_end=1305 - _AIOCONTROLLERSERVICE._serialized_start=1308 - _AIOCONTROLLERSERVICE._serialized_end=2302 + _AIOCONTROLLER._serialized_start=267 + _AIOCONTROLLER._serialized_end=427 + _CREATEAIOCONTROLLERREQUEST._serialized_start=430 + _CREATEAIOCONTROLLERREQUEST._serialized_end=607 + _DELETEAIOCONTROLLERREQUEST._serialized_start=609 + _DELETEAIOCONTROLLERREQUEST._serialized_end=693 + _UPDATEAIOCONTROLLERREQUEST._serialized_start=696 + _UPDATEAIOCONTROLLERREQUEST._serialized_end=832 + _LISTAIOCONTROLLERSREQUEST._serialized_start=834 + _LISTAIOCONTROLLERSREQUEST._serialized_end=958 + _LISTAIOCONTROLLERSRESPONSE._serialized_start=960 + _LISTAIOCONTROLLERSRESPONSE._serialized_end=1073 + _GETAIOCONTROLLERREQUEST._serialized_start=1075 + _GETAIOCONTROLLERREQUEST._serialized_end=1156 + _AIOCONTROLLERSTATSREQUEST._serialized_start=1158 + _AIOCONTROLLERSTATSREQUEST._serialized_end=1231 + _AIOCONTROLLERSTATSRESPONSE._serialized_start=1233 + _AIOCONTROLLERSTATSRESPONSE._serialized_end=1355 + _AIOCONTROLLERSERVICE._serialized_start=1358 + _AIOCONTROLLERSERVICE._serialized_end=2352 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_null_pb2.py b/storage/v1alpha1/gen/python/backend_null_pb2.py index 7a8b81ee..6c424a4e 100644 --- a/storage/v1alpha1/gen/python/backend_null_pb2.py +++ b/storage/v1alpha1/gen/python/backend_null_pb2.py @@ -19,10 +19,11 @@ 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\nuuid.proto\"\x8a\x01\n\tNullDebug\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\x9d\x01\n\x16\x43reateNullDebugRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\x12\x36\n\nnull_debug\x18\x02 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebugB\x03\xe0\x41\x02\x12\x15\n\rnull_debug_id\x18\x03 \x01(\t\"L\n\x16\x44\x65leteNullDebugRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\"|\n\x16UpdateNullDebugRequest\x12\x31\n\nnull_debug\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"t\n\x15ListNullDebugsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListNullDebugsResponse\x12\x32\n\x0bnull_debugs\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetNullDebugRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\"E\n\x15NullDebugStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"U\n\x16NullDebugStatsResponse\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\x82\x07\n\x10NullDebugService\x12\xab\x01\n\x0f\x43reateNullDebug\x12*.opi_api.storage.v1.CreateNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"M\x82\xd3\xe4\x93\x02%\"\x17/v1/{parent=subsystems}:\nnull_debug\xda\x41\x1fparent,null_debug,null_debug_id\x12\x87\x01\n\x0f\x44\x65leteNullDebug\x12*.opi_api.storage.v1.DeleteNullDebugRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateNullDebug\x12*.opi_api.storage.v1.UpdateNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"M\x82\xd3\xe4\x93\x02.2 /v1/{null_debug.name=subsystems}:\nnull_debug\xda\x41\x16null_debug,update_mask\x12\x91\x01\n\x0eListNullDebugs\x12).opi_api.storage.v1.ListNullDebugsRequest\x1a*.opi_api.storage.v1.ListNullDebugsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x88\x01\n\x0cGetNullDebug\x12\'.opi_api.storage.v1.GetNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12i\n\x0eNullDebugStats\x12).opi_api.storage.v1.NullDebugStatsRequest\x1a*.opi_api.storage.v1.NullDebugStatsResponse\"\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\x10object_key.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\x8a\x01\n\tNullDebug\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\x9d\x01\n\x16\x43reateNullDebugRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\x12\x36\n\nnull_debug\x18\x02 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebugB\x03\xe0\x41\x02\x12\x15\n\rnull_debug_id\x18\x03 \x01(\t\"L\n\x16\x44\x65leteNullDebugRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\"|\n\x16UpdateNullDebugRequest\x12\x31\n\nnull_debug\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"t\n\x15ListNullDebugsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListNullDebugsResponse\x12\x32\n\x0bnull_debugs\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x13GetNullDebugRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/NullDebug\"E\n\x15NullDebugStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"v\n\x16NullDebugStatsResponse\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\x82\x07\n\x10NullDebugService\x12\xab\x01\n\x0f\x43reateNullDebug\x12*.opi_api.storage.v1.CreateNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"M\x82\xd3\xe4\x93\x02%\"\x17/v1/{parent=subsystems}:\nnull_debug\xda\x41\x1fparent,null_debug,null_debug_id\x12\x87\x01\n\x0f\x44\x65leteNullDebug\x12*.opi_api.storage.v1.DeleteNullDebugRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xab\x01\n\x0fUpdateNullDebug\x12*.opi_api.storage.v1.UpdateNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"M\x82\xd3\xe4\x93\x02.2 /v1/{null_debug.name=subsystems}:\nnull_debug\xda\x41\x16null_debug,update_mask\x12\x91\x01\n\x0eListNullDebugs\x12).opi_api.storage.v1.ListNullDebugsRequest\x1a*.opi_api.storage.v1.ListNullDebugsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\x88\x01\n\x0cGetNullDebug\x12\'.opi_api.storage.v1.GetNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12i\n\x0eNullDebugStats\x12).opi_api.storage.v1.NullDebugStatsRequest\x1a*.opi_api.storage.v1.NullDebugStatsResponse\"\x00\x42_\n\x12opi_api.storage.v1B\x10\x42\x61\x63kendNullProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -123,24 +124,24 @@ _NULLDEBUGSERVICE.methods_by_name['ListNullDebugs']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _NULLDEBUGSERVICE.methods_by_name['GetNullDebug']._options = None _NULLDEBUGSERVICE.methods_by_name['GetNullDebug']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' - _NULLDEBUG._serialized_start=251 - _NULLDEBUG._serialized_end=389 - _CREATENULLDEBUGREQUEST._serialized_start=392 - _CREATENULLDEBUGREQUEST._serialized_end=549 - _DELETENULLDEBUGREQUEST._serialized_start=551 - _DELETENULLDEBUGREQUEST._serialized_end=627 - _UPDATENULLDEBUGREQUEST._serialized_start=629 - _UPDATENULLDEBUGREQUEST._serialized_end=753 - _LISTNULLDEBUGSREQUEST._serialized_start=755 - _LISTNULLDEBUGSREQUEST._serialized_end=871 - _LISTNULLDEBUGSRESPONSE._serialized_start=873 - _LISTNULLDEBUGSRESPONSE._serialized_end=974 - _GETNULLDEBUGREQUEST._serialized_start=976 - _GETNULLDEBUGREQUEST._serialized_end=1049 - _NULLDEBUGSTATSREQUEST._serialized_start=1051 - _NULLDEBUGSTATSREQUEST._serialized_end=1120 - _NULLDEBUGSTATSRESPONSE._serialized_start=1122 - _NULLDEBUGSTATSRESPONSE._serialized_end=1207 - _NULLDEBUGSERVICE._serialized_start=1210 - _NULLDEBUGSERVICE._serialized_end=2108 + _NULLDEBUG._serialized_start=268 + _NULLDEBUG._serialized_end=406 + _CREATENULLDEBUGREQUEST._serialized_start=409 + _CREATENULLDEBUGREQUEST._serialized_end=566 + _DELETENULLDEBUGREQUEST._serialized_start=568 + _DELETENULLDEBUGREQUEST._serialized_end=644 + _UPDATENULLDEBUGREQUEST._serialized_start=646 + _UPDATENULLDEBUGREQUEST._serialized_end=770 + _LISTNULLDEBUGSREQUEST._serialized_start=772 + _LISTNULLDEBUGSREQUEST._serialized_end=888 + _LISTNULLDEBUGSRESPONSE._serialized_start=890 + _LISTNULLDEBUGSRESPONSE._serialized_end=991 + _GETNULLDEBUGREQUEST._serialized_start=993 + _GETNULLDEBUGREQUEST._serialized_end=1066 + _NULLDEBUGSTATSREQUEST._serialized_start=1068 + _NULLDEBUGSTATSREQUEST._serialized_end=1137 + _NULLDEBUGSTATSRESPONSE._serialized_start=1139 + _NULLDEBUGSTATSRESPONSE._serialized_end=1257 + _NULLDEBUGSERVICE._serialized_start=1260 + _NULLDEBUGSERVICE._serialized_end=2158 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py index 5bd29f00..a8a5a598 100644 --- a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py +++ b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py @@ -20,9 +20,10 @@ 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 -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\x10object_key.proto\"\xf1\x02\n\x14NVMfRemoteController\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x35\n\x06trtype\x18\x02 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportType\x12\x35\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamily\x12\x0e\n\x06traddr\x18\x04 \x01(\t\x12\x0f\n\x07trsvcid\x18\x05 \x01(\x03\x12\x0e\n\x06subnqn\x18\x06 \x01(\t\x12\r\n\x05hdgst\x18\x07 \x01(\x08\x12\r\n\x05\x64\x64gst\x18\x08 \x01(\x08\x12\x34\n\tmultipath\x18\t \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipath\x12\x17\n\x0fio_queues_count\x18\n \x01(\x03\x12\x12\n\nqueue_size\x18\x0b \x01(\x03\x12\x0f\n\x07hostnqn\x18\x0c \x01(\t\"\xd8\x01\n!CreateNVMfRemoteControllerRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\x12N\n\x17nv_mf_remote_controller\x18\x02 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteControllerB\x03\xe0\x41\x02\x12\"\n\x1anv_mf_remote_controller_id\x18\x03 \x01(\t\"b\n!DeleteNVMfRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\"\x9f\x01\n!UpdateNVMfRemoteControllerRequest\x12I\n\x17nv_mf_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x8a\x01\n ListNVMfRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x88\x01\n!ListNVMfRemoteControllersResponse\x12J\n\x18nv_mf_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNVMfRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\"L\n NVMfRemoteControllerResetRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"L\n NVMfRemoteControllerStatsRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"2\n!NVMfRemoteControllerStatsResponse\x12\r\n\x05stats\x18\x01 \x01(\t*\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\x10NVMF_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVMF_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVMF_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVMF_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVMF_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\x84\n\n\x1bNVMfRemoteControllerService\x12\xf3\x01\n\x1a\x43reateNVMfRemoteController\x12\x35.opi_api.storage.v1.CreateNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"t\x82\xd3\xe4\x93\x02\x32\"\x17/v1/{parent=subsystems}:\x17nv_mf_remote_controller\xda\x41\x39parent,nv_mf_remote_controller,nv_mf_remote_controller_id\x12\x9d\x01\n\x1a\x44\x65leteNVMfRemoteController\x12\x35.opi_api.storage.v1.DeleteNVMfRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xf3\x01\n\x1aUpdateNVMfRemoteController\x12\x35.opi_api.storage.v1.UpdateNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"t\x82\xd3\xe4\x93\x02H2-/v1/{nv_mf_remote_controller.name=subsystems}:\x17nv_mf_remote_controller\xda\x41#nv_mf_remote_controller,update_mask\x12\xb2\x01\n\x19ListNVMfRemoteControllers\x12\x34.opi_api.storage.v1.ListNVMfRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNVMfRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa9\x01\n\x17GetNVMfRemoteController\x12\x32.opi_api.storage.v1.GetNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12k\n\x19NVMfRemoteControllerReset\x12\x34.opi_api.storage.v1.NVMfRemoteControllerResetRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x8a\x01\n\x19NVMfRemoteControllerStats\x12\x34.opi_api.storage.v1.NVMfRemoteControllerStatsRequest\x1a\x35.opi_api.storage.v1.NVMfRemoteControllerStatsResponse\"\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\x10object_key.proto\x1a\x0fopicommon.proto\"\xf1\x02\n\x14NVMfRemoteController\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x35\n\x06trtype\x18\x02 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportType\x12\x35\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamily\x12\x0e\n\x06traddr\x18\x04 \x01(\t\x12\x0f\n\x07trsvcid\x18\x05 \x01(\x03\x12\x0e\n\x06subnqn\x18\x06 \x01(\t\x12\r\n\x05hdgst\x18\x07 \x01(\x08\x12\r\n\x05\x64\x64gst\x18\x08 \x01(\x08\x12\x34\n\tmultipath\x18\t \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipath\x12\x17\n\x0fio_queues_count\x18\n \x01(\x03\x12\x12\n\nqueue_size\x18\x0b \x01(\x03\x12\x0f\n\x07hostnqn\x18\x0c \x01(\t\"\xd8\x01\n!CreateNVMfRemoteControllerRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\x12N\n\x17nv_mf_remote_controller\x18\x02 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteControllerB\x03\xe0\x41\x02\x12\"\n\x1anv_mf_remote_controller_id\x18\x03 \x01(\t\"b\n!DeleteNVMfRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\"\x9f\x01\n!UpdateNVMfRemoteControllerRequest\x12I\n\x17nv_mf_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x8a\x01\n ListNVMfRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x88\x01\n!ListNVMfRemoteControllersResponse\x12J\n\x18nv_mf_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNVMfRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NVMfRemoteController\"L\n NVMfRemoteControllerResetRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"L\n NVMfRemoteControllerStatsRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"S\n!NVMfRemoteControllerStatsResponse\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\x10NVMF_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVMF_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVMF_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVMF_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVMF_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\x84\n\n\x1bNVMfRemoteControllerService\x12\xf3\x01\n\x1a\x43reateNVMfRemoteController\x12\x35.opi_api.storage.v1.CreateNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"t\x82\xd3\xe4\x93\x02\x32\"\x17/v1/{parent=subsystems}:\x17nv_mf_remote_controller\xda\x41\x39parent,nv_mf_remote_controller,nv_mf_remote_controller_id\x12\x9d\x01\n\x1a\x44\x65leteNVMfRemoteController\x12\x35.opi_api.storage.v1.DeleteNVMfRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12\xf3\x01\n\x1aUpdateNVMfRemoteController\x12\x35.opi_api.storage.v1.UpdateNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"t\x82\xd3\xe4\x93\x02H2-/v1/{nv_mf_remote_controller.name=subsystems}:\x17nv_mf_remote_controller\xda\x41#nv_mf_remote_controller,update_mask\x12\xb2\x01\n\x19ListNVMfRemoteControllers\x12\x34.opi_api.storage.v1.ListNVMfRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNVMfRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa9\x01\n\x17GetNVMfRemoteController\x12\x32.opi_api.storage.v1.GetNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=subsystems}/{subsystem}\xda\x41\x04name\x12k\n\x19NVMfRemoteControllerReset\x12\x34.opi_api.storage.v1.NVMfRemoteControllerResetRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x8a\x01\n\x19NVMfRemoteControllerStats\x12\x34.opi_api.storage.v1.NVMfRemoteControllerStatsRequest\x1a\x35.opi_api.storage.v1.NVMfRemoteControllerStatsResponse\"\x00\x42\x62\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) @@ -153,32 +154,32 @@ _NVMFREMOTECONTROLLERSERVICE.methods_by_name['ListNVMfRemoteControllers']._serialized_options = b'\202\323\344\223\002\031\022\027/v1/{parent=subsystems}\332A\006parent' _NVMFREMOTECONTROLLERSERVICE.methods_by_name['GetNVMfRemoteController']._options = None _NVMFREMOTECONTROLLERSERVICE.methods_by_name['GetNVMfRemoteController']._serialized_options = b'\202\323\344\223\002#\022!/v1/{name=subsystems}/{subsystem}\332A\004name' - _NVMETRANSPORTTYPE._serialized_start=1681 - _NVMETRANSPORTTYPE._serialized_end=1861 - _NVMEADDRESSFAMILY._serialized_start=1864 - _NVMEADDRESSFAMILY._serialized_end=2032 - _NVMEMULTIPATH._serialized_start=2035 - _NVMEMULTIPATH._serialized_end=2169 - _NVMFREMOTECONTROLLER._serialized_start=243 - _NVMFREMOTECONTROLLER._serialized_end=612 - _CREATENVMFREMOTECONTROLLERREQUEST._serialized_start=615 - _CREATENVMFREMOTECONTROLLERREQUEST._serialized_end=831 - _DELETENVMFREMOTECONTROLLERREQUEST._serialized_start=833 - _DELETENVMFREMOTECONTROLLERREQUEST._serialized_end=931 - _UPDATENVMFREMOTECONTROLLERREQUEST._serialized_start=934 - _UPDATENVMFREMOTECONTROLLERREQUEST._serialized_end=1093 - _LISTNVMFREMOTECONTROLLERSREQUEST._serialized_start=1096 - _LISTNVMFREMOTECONTROLLERSREQUEST._serialized_end=1234 - _LISTNVMFREMOTECONTROLLERSRESPONSE._serialized_start=1237 - _LISTNVMFREMOTECONTROLLERSRESPONSE._serialized_end=1373 - _GETNVMFREMOTECONTROLLERREQUEST._serialized_start=1375 - _GETNVMFREMOTECONTROLLERREQUEST._serialized_end=1470 - _NVMFREMOTECONTROLLERRESETREQUEST._serialized_start=1472 - _NVMFREMOTECONTROLLERRESETREQUEST._serialized_end=1548 - _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_start=1550 - _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_end=1626 - _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_start=1628 - _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_end=1678 - _NVMFREMOTECONTROLLERSERVICE._serialized_start=2172 - _NVMFREMOTECONTROLLERSERVICE._serialized_end=3456 + _NVMETRANSPORTTYPE._serialized_start=1731 + _NVMETRANSPORTTYPE._serialized_end=1911 + _NVMEADDRESSFAMILY._serialized_start=1914 + _NVMEADDRESSFAMILY._serialized_end=2082 + _NVMEMULTIPATH._serialized_start=2085 + _NVMEMULTIPATH._serialized_end=2219 + _NVMFREMOTECONTROLLER._serialized_start=260 + _NVMFREMOTECONTROLLER._serialized_end=629 + _CREATENVMFREMOTECONTROLLERREQUEST._serialized_start=632 + _CREATENVMFREMOTECONTROLLERREQUEST._serialized_end=848 + _DELETENVMFREMOTECONTROLLERREQUEST._serialized_start=850 + _DELETENVMFREMOTECONTROLLERREQUEST._serialized_end=948 + _UPDATENVMFREMOTECONTROLLERREQUEST._serialized_start=951 + _UPDATENVMFREMOTECONTROLLERREQUEST._serialized_end=1110 + _LISTNVMFREMOTECONTROLLERSREQUEST._serialized_start=1113 + _LISTNVMFREMOTECONTROLLERSREQUEST._serialized_end=1251 + _LISTNVMFREMOTECONTROLLERSRESPONSE._serialized_start=1254 + _LISTNVMFREMOTECONTROLLERSRESPONSE._serialized_end=1390 + _GETNVMFREMOTECONTROLLERREQUEST._serialized_start=1392 + _GETNVMFREMOTECONTROLLERREQUEST._serialized_end=1487 + _NVMFREMOTECONTROLLERRESETREQUEST._serialized_start=1489 + _NVMFREMOTECONTROLLERRESETREQUEST._serialized_end=1565 + _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_start=1567 + _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_end=1643 + _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_start=1645 + _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_end=1728 + _NVMFREMOTECONTROLLERSERVICE._serialized_start=2222 + _NVMFREMOTECONTROLLERSERVICE._serialized_end=3506 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py index 34031638..c54a0124 100644 --- a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py @@ -24,7 +24,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\x10object_key.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\"}\n\rNVMeSubsystem\x12\x33\n\x04spec\x18\x01 \x01(\x0b\x32%.opi_api.storage.v1.NVMeSubsystemSpec\x12\x37\n\x06status\x18\x02 \x01(\x0b\x32\'.opi_api.storage.v1.NVMeSubsystemStatus\"\x8f\x01\n\x11NVMeSubsystemSpec\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x0b\n\x03nqn\x18\x02 \x01(\t\x12\x15\n\rserial_number\x18\x03 \x01(\t\x12\x14\n\x0cmodel_number\x18\x04 \x01(\t\x12\x16\n\x0emax_namespaces\x18\x05 \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\"\x80\x01\n\x0eNVMeController\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.opi_api.storage.v1.NVMeControllerSpec\x12\x38\n\x06status\x18\x02 \x01(\x0b\x32(.opi_api.storage.v1.NVMeControllerStatus\"\x96\x02\n\x12NVMeControllerSpec\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x1a\n\x12nvme_controller_id\x18\x02 \x01(\x05\x12\x32\n\x0csubsystem_id\x18\x03 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x30\n\x07pcie_id\x18\x04 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12\x0f\n\x07max_nsq\x18\x05 \x01(\x05\x12\x0f\n\x07max_ncq\x18\x06 \x01(\x05\x12\x0c\n\x04sqes\x18\x07 \x01(\x05\x12\x0c\n\x04\x63qes\x18\x08 \x01(\x05\x12\x16\n\x0emax_namespaces\x18\t \x01(\x05\"&\n\x14NVMeControllerStatus\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\"}\n\rNVMeNamespace\x12\x33\n\x04spec\x18\x01 \x01(\x0b\x32%.opi_api.storage.v1.NVMeNamespaceSpec\x12\x37\n\x06status\x18\x02 \x01(\x0b\x32\'.opi_api.storage.v1.NVMeNamespaceStatus\"\xfa\x01\n\x11NVMeNamespaceSpec\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x32\n\x0csubsystem_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\thost_nsid\x18\x04 \x01(\x05\x12\r\n\x05nguid\x18\x07 \x01(\t\x12\r\n\x05\x65ui64\x18\x08 \x01(\x03\x12%\n\x04uuid\x18\t \x01(\x0b\x32\x17.opi_api.common.v1.Uuid\x12/\n\tvolume_id\x18\n \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\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\"\xb3\x01\n\x1a\x43reateNVMeSubsystemRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeSubsystem\x12?\n\x0fnv_me_subsystem\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystemB\x03\xe0\x41\x02\x12\x1a\n\x12nv_me_subsystem_id\x18\x03 \x01(\t\"T\n\x1a\x44\x65leteNVMeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeSubsystem\"\x89\x01\n\x1aUpdateNVMeSubsystemRequest\x12:\n\x0fnv_me_subsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\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\"r\n\x1aListNVMeSubsystemsResponse\x12;\n\x10nv_me_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\"O\n\x19NVMeSubsystemStatsRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"+\n\x1aNVMeSubsystemStatsResponse\x12\r\n\x05stats\x18\x01 \x01(\t\"\xb8\x01\n\x1b\x43reateNVMeControllerRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NVMeController\x12\x41\n\x10nv_me_controller\x18\x02 \x01(\x0b\x32\".opi_api.storage.v1.NVMeControllerB\x03\xe0\x41\x02\x12\x1b\n\x13nv_me_controller_id\x18\x03 \x01(\t\"V\n\x1b\x44\x65leteNVMeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NVMeController\"\x8c\x01\n\x1bUpdateNVMeControllerRequest\x12<\n\x10nv_me_controller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NVMeController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"~\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\"u\n\x1bListNVMeControllersResponse\x12=\n\x11nv_me_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\"F\n\x1aNVMeControllerStatsRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"V\n\x1bNVMeControllerStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t\"\xb3\x01\n\x1a\x43reateNVMeNamespaceRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeNamespace\x12?\n\x0fnv_me_namespace\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespaceB\x03\xe0\x41\x02\x12\x1a\n\x12nv_me_namespace_id\x18\x03 \x01(\t\"T\n\x1a\x44\x65leteNVMeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeNamespace\"\x89\x01\n\x1aUpdateNVMeNamespaceRequest\x12:\n\x0fnv_me_namespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\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\"r\n\x1aListNVMeNamespacesResponse\x12;\n\x10nv_me_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\"O\n\x19NVMeNamespaceStatsRequest\x12\x32\n\x0cnamespace_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"U\n\x1aNVMeNamespaceStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t*\xb6\x01\n\x15NVMeNamespacePciState\x12)\n%NV_ME_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*\xa0\x01\n\x19NVMeNamespacePciOperState\x12.\n*NV_ME_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\xa5\x17\n\x13\x46rontendNvmeService\x12\xc6\x01\n\x13\x43reateNVMeSubsystem\x12..opi_api.storage.v1.CreateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"\\\x82\xd3\xe4\x93\x02*\"\x17/v1/{parent=subsystems}:\x0fnv_me_subsystem\xda\x41)parent,nv_me_subsystem,nv_me_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\xc6\x01\n\x13UpdateNVMeSubsystem\x12..opi_api.storage.v1.UpdateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{nv_me_subsystem.name=subsystems}:\x0fnv_me_subsystem\xda\x41\x1bnv_me_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\xcc\x01\n\x14\x43reateNVMeController\x12/.opi_api.storage.v1.CreateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"_\x82\xd3\xe4\x93\x02+\"\x17/v1/{parent=subsystems}:\x10nv_me_controller\xda\x41+parent,nv_me_controller,nv_me_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\xcc\x01\n\x14UpdateNVMeController\x12/.opi_api.storage.v1.UpdateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"_\x82\xd3\xe4\x93\x02:2&/v1/{nv_me_controller.name=subsystems}:\x10nv_me_controller\xda\x41\x1cnv_me_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\xc6\x01\n\x13\x43reateNVMeNamespace\x12..opi_api.storage.v1.CreateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"\\\x82\xd3\xe4\x93\x02*\"\x17/v1/{parent=subsystems}:\x0fnv_me_namespace\xda\x41)parent,nv_me_namespace,nv_me_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\xc6\x01\n\x13UpdateNVMeNamespace\x12..opi_api.storage.v1.UpdateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{nv_me_namespace.name=subsystems}:\x0fnv_me_namespace\xda\x41\x1bnv_me_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\x10object_key.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\"}\n\rNVMeSubsystem\x12\x33\n\x04spec\x18\x01 \x01(\x0b\x32%.opi_api.storage.v1.NVMeSubsystemSpec\x12\x37\n\x06status\x18\x02 \x01(\x0b\x32\'.opi_api.storage.v1.NVMeSubsystemStatus\"\x8f\x01\n\x11NVMeSubsystemSpec\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x0b\n\x03nqn\x18\x02 \x01(\t\x12\x15\n\rserial_number\x18\x03 \x01(\t\x12\x14\n\x0cmodel_number\x18\x04 \x01(\t\x12\x16\n\x0emax_namespaces\x18\x05 \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\"\x80\x01\n\x0eNVMeController\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.opi_api.storage.v1.NVMeControllerSpec\x12\x38\n\x06status\x18\x02 \x01(\x0b\x32(.opi_api.storage.v1.NVMeControllerStatus\"\x96\x02\n\x12NVMeControllerSpec\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x1a\n\x12nvme_controller_id\x18\x02 \x01(\x05\x12\x32\n\x0csubsystem_id\x18\x03 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x30\n\x07pcie_id\x18\x04 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\x12\x0f\n\x07max_nsq\x18\x05 \x01(\x05\x12\x0f\n\x07max_ncq\x18\x06 \x01(\x05\x12\x0c\n\x04sqes\x18\x07 \x01(\x05\x12\x0c\n\x04\x63qes\x18\x08 \x01(\x05\x12\x16\n\x0emax_namespaces\x18\t \x01(\x05\"&\n\x14NVMeControllerStatus\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\"}\n\rNVMeNamespace\x12\x33\n\x04spec\x18\x01 \x01(\x0b\x32%.opi_api.storage.v1.NVMeNamespaceSpec\x12\x37\n\x06status\x18\x02 \x01(\x0b\x32\'.opi_api.storage.v1.NVMeNamespaceStatus\"\xfa\x01\n\x11NVMeNamespaceSpec\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x32\n\x0csubsystem_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\thost_nsid\x18\x04 \x01(\x05\x12\r\n\x05nguid\x18\x07 \x01(\t\x12\r\n\x05\x65ui64\x18\x08 \x01(\x03\x12%\n\x04uuid\x18\t \x01(\x0b\x32\x17.opi_api.common.v1.Uuid\x12/\n\tvolume_id\x18\n \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\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\"\xb3\x01\n\x1a\x43reateNVMeSubsystemRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeSubsystem\x12?\n\x0fnv_me_subsystem\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystemB\x03\xe0\x41\x02\x12\x1a\n\x12nv_me_subsystem_id\x18\x03 \x01(\t\"T\n\x1a\x44\x65leteNVMeSubsystemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeSubsystem\"\x89\x01\n\x1aUpdateNVMeSubsystemRequest\x12:\n\x0fnv_me_subsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\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\"r\n\x1aListNVMeSubsystemsResponse\x12;\n\x10nv_me_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\"O\n\x19NVMeSubsystemStatsRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"L\n\x1aNVMeSubsystemStatsResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\xb8\x01\n\x1b\x43reateNVMeControllerRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NVMeController\x12\x41\n\x10nv_me_controller\x18\x02 \x01(\x0b\x32\".opi_api.storage.v1.NVMeControllerB\x03\xe0\x41\x02\x12\x1b\n\x13nv_me_controller_id\x18\x03 \x01(\t\"V\n\x1b\x44\x65leteNVMeControllerRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!opi_api.storage.v1/NVMeController\"\x8c\x01\n\x1bUpdateNVMeControllerRequest\x12<\n\x10nv_me_controller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NVMeController\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"~\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\"u\n\x1bListNVMeControllersResponse\x12=\n\x11nv_me_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\"F\n\x1aNVMeControllerStatsRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"w\n\x1bNVMeControllerStatsResponse\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\"\xb3\x01\n\x1a\x43reateNVMeNamespaceRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeNamespace\x12?\n\x0fnv_me_namespace\x18\x02 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespaceB\x03\xe0\x41\x02\x12\x1a\n\x12nv_me_namespace_id\x18\x03 \x01(\t\"T\n\x1a\x44\x65leteNVMeNamespaceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/NVMeNamespace\"\x89\x01\n\x1aUpdateNVMeNamespaceRequest\x12:\n\x0fnv_me_namespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\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\"r\n\x1aListNVMeNamespacesResponse\x12;\n\x10nv_me_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\"O\n\x19NVMeNamespaceStatsRequest\x12\x32\n\x0cnamespace_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"v\n\x1aNVMeNamespaceStatsResponse\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*\xb6\x01\n\x15NVMeNamespacePciState\x12)\n%NV_ME_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*\xa0\x01\n\x19NVMeNamespacePciOperState\x12.\n*NV_ME_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\xa5\x17\n\x13\x46rontendNvmeService\x12\xc6\x01\n\x13\x43reateNVMeSubsystem\x12..opi_api.storage.v1.CreateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"\\\x82\xd3\xe4\x93\x02*\"\x17/v1/{parent=subsystems}:\x0fnv_me_subsystem\xda\x41)parent,nv_me_subsystem,nv_me_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\xc6\x01\n\x13UpdateNVMeSubsystem\x12..opi_api.storage.v1.UpdateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{nv_me_subsystem.name=subsystems}:\x0fnv_me_subsystem\xda\x41\x1bnv_me_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\xcc\x01\n\x14\x43reateNVMeController\x12/.opi_api.storage.v1.CreateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"_\x82\xd3\xe4\x93\x02+\"\x17/v1/{parent=subsystems}:\x10nv_me_controller\xda\x41+parent,nv_me_controller,nv_me_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\xcc\x01\n\x14UpdateNVMeController\x12/.opi_api.storage.v1.UpdateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"_\x82\xd3\xe4\x93\x02:2&/v1/{nv_me_controller.name=subsystems}:\x10nv_me_controller\xda\x41\x1cnv_me_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\xc6\x01\n\x13\x43reateNVMeNamespace\x12..opi_api.storage.v1.CreateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"\\\x82\xd3\xe4\x93\x02*\"\x17/v1/{parent=subsystems}:\x0fnv_me_namespace\xda\x41)parent,nv_me_namespace,nv_me_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\xc6\x01\n\x13UpdateNVMeNamespace\x12..opi_api.storage.v1.UpdateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"\\\x82\xd3\xe4\x93\x02\x38\x32%/v1/{nv_me_namespace.name=subsystems}:\x0fnv_me_namespace\xda\x41\x1bnv_me_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') _NVMENAMESPACEPCISTATE = DESCRIPTOR.enum_types_by_name['NVMeNamespacePciState'] NVMeNamespacePciState = enum_type_wrapper.EnumTypeWrapper(_NVMENAMESPACEPCISTATE) @@ -368,10 +368,10 @@ _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=4274 - _NVMENAMESPACEPCISTATE._serialized_end=4456 - _NVMENAMESPACEPCIOPERSTATE._serialized_start=4459 - _NVMENAMESPACEPCIOPERSTATE._serialized_end=4619 + _NVMENAMESPACEPCISTATE._serialized_start=4373 + _NVMENAMESPACEPCISTATE._serialized_end=4555 + _NVMENAMESPACEPCIOPERSTATE._serialized_start=4558 + _NVMENAMESPACEPCIOPERSTATE._serialized_end=4718 _NVMESUBSYSTEM._serialized_start=273 _NVMESUBSYSTEM._serialized_end=398 _NVMESUBSYSTEMSPEC._serialized_start=401 @@ -405,39 +405,39 @@ _NVMESUBSYSTEMSTATSREQUEST._serialized_start=2336 _NVMESUBSYSTEMSTATSREQUEST._serialized_end=2415 _NVMESUBSYSTEMSTATSRESPONSE._serialized_start=2417 - _NVMESUBSYSTEMSTATSRESPONSE._serialized_end=2460 - _CREATENVMECONTROLLERREQUEST._serialized_start=2463 - _CREATENVMECONTROLLERREQUEST._serialized_end=2647 - _DELETENVMECONTROLLERREQUEST._serialized_start=2649 - _DELETENVMECONTROLLERREQUEST._serialized_end=2735 - _UPDATENVMECONTROLLERREQUEST._serialized_start=2738 - _UPDATENVMECONTROLLERREQUEST._serialized_end=2878 - _LISTNVMECONTROLLERSREQUEST._serialized_start=2880 - _LISTNVMECONTROLLERSREQUEST._serialized_end=3006 - _LISTNVMECONTROLLERSRESPONSE._serialized_start=3008 - _LISTNVMECONTROLLERSRESPONSE._serialized_end=3125 - _GETNVMECONTROLLERREQUEST._serialized_start=3127 - _GETNVMECONTROLLERREQUEST._serialized_end=3210 - _NVMECONTROLLERSTATSREQUEST._serialized_start=3212 - _NVMECONTROLLERSTATSREQUEST._serialized_end=3282 - _NVMECONTROLLERSTATSRESPONSE._serialized_start=3284 - _NVMECONTROLLERSTATSRESPONSE._serialized_end=3370 - _CREATENVMENAMESPACEREQUEST._serialized_start=3373 - _CREATENVMENAMESPACEREQUEST._serialized_end=3552 - _DELETENVMENAMESPACEREQUEST._serialized_start=3554 - _DELETENVMENAMESPACEREQUEST._serialized_end=3638 - _UPDATENVMENAMESPACEREQUEST._serialized_start=3641 - _UPDATENVMENAMESPACEREQUEST._serialized_end=3778 - _LISTNVMENAMESPACESREQUEST._serialized_start=3780 - _LISTNVMENAMESPACESREQUEST._serialized_end=3904 - _LISTNVMENAMESPACESRESPONSE._serialized_start=3906 - _LISTNVMENAMESPACESRESPONSE._serialized_end=4020 - _GETNVMENAMESPACEREQUEST._serialized_start=4022 - _GETNVMENAMESPACEREQUEST._serialized_end=4103 - _NVMENAMESPACESTATSREQUEST._serialized_start=4105 - _NVMENAMESPACESTATSREQUEST._serialized_end=4184 - _NVMENAMESPACESTATSRESPONSE._serialized_start=4186 - _NVMENAMESPACESTATSRESPONSE._serialized_end=4271 - _FRONTENDNVMESERVICE._serialized_start=4622 - _FRONTENDNVMESERVICE._serialized_end=7603 + _NVMESUBSYSTEMSTATSRESPONSE._serialized_end=2493 + _CREATENVMECONTROLLERREQUEST._serialized_start=2496 + _CREATENVMECONTROLLERREQUEST._serialized_end=2680 + _DELETENVMECONTROLLERREQUEST._serialized_start=2682 + _DELETENVMECONTROLLERREQUEST._serialized_end=2768 + _UPDATENVMECONTROLLERREQUEST._serialized_start=2771 + _UPDATENVMECONTROLLERREQUEST._serialized_end=2911 + _LISTNVMECONTROLLERSREQUEST._serialized_start=2913 + _LISTNVMECONTROLLERSREQUEST._serialized_end=3039 + _LISTNVMECONTROLLERSRESPONSE._serialized_start=3041 + _LISTNVMECONTROLLERSRESPONSE._serialized_end=3158 + _GETNVMECONTROLLERREQUEST._serialized_start=3160 + _GETNVMECONTROLLERREQUEST._serialized_end=3243 + _NVMECONTROLLERSTATSREQUEST._serialized_start=3245 + _NVMECONTROLLERSTATSREQUEST._serialized_end=3315 + _NVMECONTROLLERSTATSRESPONSE._serialized_start=3317 + _NVMECONTROLLERSTATSRESPONSE._serialized_end=3436 + _CREATENVMENAMESPACEREQUEST._serialized_start=3439 + _CREATENVMENAMESPACEREQUEST._serialized_end=3618 + _DELETENVMENAMESPACEREQUEST._serialized_start=3620 + _DELETENVMENAMESPACEREQUEST._serialized_end=3704 + _UPDATENVMENAMESPACEREQUEST._serialized_start=3707 + _UPDATENVMENAMESPACEREQUEST._serialized_end=3844 + _LISTNVMENAMESPACESREQUEST._serialized_start=3846 + _LISTNVMENAMESPACESREQUEST._serialized_end=3970 + _LISTNVMENAMESPACESRESPONSE._serialized_start=3972 + _LISTNVMENAMESPACESRESPONSE._serialized_end=4086 + _GETNVMENAMESPACEREQUEST._serialized_start=4088 + _GETNVMENAMESPACEREQUEST._serialized_end=4169 + _NVMENAMESPACESTATSREQUEST._serialized_start=4171 + _NVMENAMESPACESTATSREQUEST._serialized_end=4250 + _NVMENAMESPACESTATSRESPONSE._serialized_start=4252 + _NVMENAMESPACESTATSRESPONSE._serialized_end=4370 + _FRONTENDNVMESERVICE._serialized_start=4721 + _FRONTENDNVMESERVICE._serialized_end=7702 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py b/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py index 41595b66..b3cfb193 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_blk_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\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\"\xac\x01\n\tVirtioBlk\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\x9d\x01\n\x16\x43reateVirtioBlkRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\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\"L\n\x16\x44\x65leteVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\"|\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\"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\"Q\n\x16VirtioBlkStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\x8a\x07\n\x18\x46rontendVirtioBlkService\x12\xab\x01\n\x0f\x43reateVirtioBlk\x12*.opi_api.storage.v1.CreateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"M\x82\xd3\xe4\x93\x02%\"\x17/v1/{parent=subsystems}:\nvirtio_blk\xda\x41\x1fparent,virtio_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\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\"\xac\x01\n\tVirtioBlk\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\x9d\x01\n\x16\x43reateVirtioBlkRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\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\"L\n\x16\x44\x65leteVirtioBlkRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1copi_api.storage.v1/VirtioBlk\"|\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\"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\x8a\x07\n\x18\x46rontendVirtioBlkService\x12\xab\x01\n\x0f\x43reateVirtioBlk\x12*.opi_api.storage.v1.CreateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"M\x82\xd3\xe4\x93\x02%\"\x17/v1/{parent=subsystems}:\nvirtio_blk\xda\x41\x1fparent,virtio_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') @@ -140,7 +140,7 @@ _VIRTIOBLKSTATSREQUEST._serialized_start=1097 _VIRTIOBLKSTATSREQUEST._serialized_end=1173 _VIRTIOBLKSTATSRESPONSE._serialized_start=1175 - _VIRTIOBLKSTATSRESPONSE._serialized_end=1256 - _FRONTENDVIRTIOBLKSERVICE._serialized_start=1259 - _FRONTENDVIRTIOBLKSERVICE._serialized_end=2165 + _VIRTIOBLKSTATSRESPONSE._serialized_end=1289 + _FRONTENDVIRTIOBLKSERVICE._serialized_start=1292 + _FRONTENDVIRTIOBLKSERVICE._serialized_end=2198 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py b/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py index 3f26c5e8..959464b4 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\"N\n\x10VirtioScsiTarget\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x10\n\x08max_luns\x18\x02 \x01(\x05\"r\n\x14VirtioScsiController\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x30\n\x07pcie_id\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\"\x9b\x01\n\rVirtioScsiLun\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\xc2\x01\n\x1d\x43reateVirtioScsiTargetRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\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\"Z\n\x1d\x44\x65leteVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\"\x92\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\"\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\"X\n\x1dVirtioScsiTargetStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t\"\xd6\x01\n!CreateVirtioScsiControllerRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\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\"b\n!DeleteVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\"\x9e\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\"\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\r\n\x05stats\x18\x02 \x01(\t\"\xb3\x01\n\x1a\x43reateVirtioScsiLunRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\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\"T\n\x1a\x44\x65leteVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\"\x89\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\"|\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\"U\n\x1aVirtioScsiLunStatsResponse\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\xa1\x19\n\x19\x46rontendVirtioScsiService\x12\xd8\x01\n\x16\x43reateVirtioScsiTarget\x12\x31.opi_api.storage.v1.CreateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"e\x82\xd3\xe4\x93\x02-\"\x17/v1/{parent=subsystems}:\x12virtio_scsi_target\xda\x41/parent,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\xf0\x01\n\x1a\x43reateVirtioScsiController\x12\x35.opi_api.storage.v1.CreateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"q\x82\xd3\xe4\x93\x02\x31\"\x17/v1/{parent=subsystems}:\x16virtio_scsi_controller\xda\x41\x37parent,virtio_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\xc6\x01\n\x13\x43reateVirtioScsiLun\x12..opi_api.storage.v1.CreateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"\\\x82\xd3\xe4\x93\x02*\"\x17/v1/{parent=subsystems}:\x0fvirtio_scsi_lun\xda\x41)parent,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\"N\n\x10VirtioScsiTarget\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x10\n\x08max_luns\x18\x02 \x01(\x05\"r\n\x14VirtioScsiController\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x30\n\x07pcie_id\x18\x02 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpoint\"\x9b\x01\n\rVirtioScsiLun\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\xc2\x01\n\x1d\x43reateVirtioScsiTargetRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\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\"Z\n\x1d\x44\x65leteVirtioScsiTargetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#opi_api.storage.v1/VirtioScsiTarget\"\x92\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\"\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\"\xd6\x01\n!CreateVirtioScsiControllerRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\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\"b\n!DeleteVirtioScsiControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/VirtioScsiController\"\x9e\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\"\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\"\xb3\x01\n\x1a\x43reateVirtioScsiLunRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\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\"T\n\x1a\x44\x65leteVirtioScsiLunRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n opi_api.storage.v1/VirtioScsiLun\"\x89\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\"|\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\xa1\x19\n\x19\x46rontendVirtioScsiService\x12\xd8\x01\n\x16\x43reateVirtioScsiTarget\x12\x31.opi_api.storage.v1.CreateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"e\x82\xd3\xe4\x93\x02-\"\x17/v1/{parent=subsystems}:\x12virtio_scsi_target\xda\x41/parent,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\xf0\x01\n\x1a\x43reateVirtioScsiController\x12\x35.opi_api.storage.v1.CreateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"q\x82\xd3\xe4\x93\x02\x31\"\x17/v1/{parent=subsystems}:\x16virtio_scsi_controller\xda\x41\x37parent,virtio_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\xc6\x01\n\x13\x43reateVirtioScsiLun\x12..opi_api.storage.v1.CreateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"\\\x82\xd3\xe4\x93\x02*\"\x17/v1/{parent=subsystems}:\x0fvirtio_scsi_lun\xda\x41)parent,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') @@ -328,39 +328,39 @@ _VIRTIOSCSITARGETSTATSREQUEST._serialized_start=1402 _VIRTIOSCSITARGETSTATSREQUEST._serialized_end=1481 _VIRTIOSCSITARGETSTATSRESPONSE._serialized_start=1483 - _VIRTIOSCSITARGETSTATSRESPONSE._serialized_end=1571 - _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1574 - _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1788 - _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1790 - _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1888 - _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1891 - _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2049 - _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_start=2052 - _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_end=2190 - _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_start=2193 - _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_end=2328 - _GETVIRTIOSCSICONTROLLERREQUEST._serialized_start=2330 - _GETVIRTIOSCSICONTROLLERREQUEST._serialized_end=2425 - _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_start=2427 - _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_end=2514 - _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_start=2516 - _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_end=2608 - _CREATEVIRTIOSCSILUNREQUEST._serialized_start=2611 - _CREATEVIRTIOSCSILUNREQUEST._serialized_end=2790 - _DELETEVIRTIOSCSILUNREQUEST._serialized_start=2792 - _DELETEVIRTIOSCSILUNREQUEST._serialized_end=2876 - _UPDATEVIRTIOSCSILUNREQUEST._serialized_start=2879 - _UPDATEVIRTIOSCSILUNREQUEST._serialized_end=3016 - _LISTVIRTIOSCSILUNSREQUEST._serialized_start=3018 - _LISTVIRTIOSCSILUNSREQUEST._serialized_end=3142 - _LISTVIRTIOSCSILUNSRESPONSE._serialized_start=3144 - _LISTVIRTIOSCSILUNSRESPONSE._serialized_end=3258 - _GETVIRTIOSCSILUNREQUEST._serialized_start=3260 - _GETVIRTIOSCSILUNREQUEST._serialized_end=3341 - _VIRTIOSCSILUNSTATSREQUEST._serialized_start=3343 - _VIRTIOSCSILUNSTATSREQUEST._serialized_end=3469 - _VIRTIOSCSILUNSTATSRESPONSE._serialized_start=3471 - _VIRTIOSCSILUNSTATSRESPONSE._serialized_end=3556 - _FRONTENDVIRTIOSCSISERVICE._serialized_start=3559 - _FRONTENDVIRTIOSCSISERVICE._serialized_end=6792 + _VIRTIOSCSITARGETSTATSRESPONSE._serialized_end=1604 + _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1607 + _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1821 + _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1823 + _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1921 + _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1924 + _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=2082 + _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_start=2085 + _LISTVIRTIOSCSICONTROLLERSREQUEST._serialized_end=2223 + _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_start=2226 + _LISTVIRTIOSCSICONTROLLERSRESPONSE._serialized_end=2361 + _GETVIRTIOSCSICONTROLLERREQUEST._serialized_start=2363 + _GETVIRTIOSCSICONTROLLERREQUEST._serialized_end=2458 + _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_start=2460 + _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_end=2547 + _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_start=2549 + _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_end=2674 + _CREATEVIRTIOSCSILUNREQUEST._serialized_start=2677 + _CREATEVIRTIOSCSILUNREQUEST._serialized_end=2856 + _DELETEVIRTIOSCSILUNREQUEST._serialized_start=2858 + _DELETEVIRTIOSCSILUNREQUEST._serialized_end=2942 + _UPDATEVIRTIOSCSILUNREQUEST._serialized_start=2945 + _UPDATEVIRTIOSCSILUNREQUEST._serialized_end=3082 + _LISTVIRTIOSCSILUNSREQUEST._serialized_start=3084 + _LISTVIRTIOSCSILUNSREQUEST._serialized_end=3208 + _LISTVIRTIOSCSILUNSRESPONSE._serialized_start=3210 + _LISTVIRTIOSCSILUNSRESPONSE._serialized_end=3324 + _GETVIRTIOSCSILUNREQUEST._serialized_start=3326 + _GETVIRTIOSCSILUNREQUEST._serialized_end=3407 + _VIRTIOSCSILUNSTATSREQUEST._serialized_start=3409 + _VIRTIOSCSILUNSTATSREQUEST._serialized_end=3535 + _VIRTIOSCSILUNSTATSRESPONSE._serialized_start=3537 + _VIRTIOSCSILUNSTATSRESPONSE._serialized_end=3655 + _FRONTENDVIRTIOSCSISERVICE._serialized_start=3658 + _FRONTENDVIRTIOSCSISERVICE._serialized_end=6891 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/middleend_pb2.py b/storage/v1alpha1/gen/python/middleend_pb2.py index ac64e4d1..fd40cd50 100644 --- a/storage/v1alpha1/gen/python/middleend_pb2.py +++ b/storage/v1alpha1/gen/python/middleend_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\x0fmiddleend.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\"\xbe\x01\n\x0f\x45ncryptedVolume\x12\x39\n\x13\x65ncrypted_volume_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\xbb\x01\n\x1c\x43reateEncryptedVolumeRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\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\"X\n\x1c\x44\x65leteEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\"\x8e\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\"\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\"h\n\x1c\x45ncryptedVolumeStatsResponse\x12\x39\n\x13\x65ncrypted_volume_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\x80\x08\n\x10MiddleendService\x12\xcf\x01\n\x15\x43reateEncryptedVolume\x12\x30.opi_api.storage.v1.CreateEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"_\x82\xd3\xe4\x93\x02+\"\x17/v1/{parent=subsystems}:\x10\x65ncrypted_volume\xda\x41+parent,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\x42]\n\x12opi_api.storage.v1B\x0eMiddleendProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fmiddleend.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\"\xbe\x01\n\x0f\x45ncryptedVolume\x12\x39\n\x13\x65ncrypted_volume_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\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\"\xbb\x01\n\x1c\x43reateEncryptedVolumeRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\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\"X\n\x1c\x44\x65leteEncryptedVolumeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"opi_api.storage.v1/EncryptedVolume\"\x8e\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\"\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\x80\x08\n\x10MiddleendService\x12\xcf\x01\n\x15\x43reateEncryptedVolume\x12\x30.opi_api.storage.v1.CreateEncryptedVolumeRequest\x1a#.opi_api.storage.v1.EncryptedVolume\"_\x82\xd3\xe4\x93\x02+\"\x17/v1/{parent=subsystems}:\x10\x65ncrypted_volume\xda\x41+parent,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\x42]\n\x12opi_api.storage.v1B\x0eMiddleendProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -139,8 +139,8 @@ _GETENCRYPTEDVOLUMEREQUEST._serialized_end=1207 _ENCRYPTEDVOLUMESTATSREQUEST._serialized_start=1209 _ENCRYPTEDVOLUMESTATSREQUEST._serialized_end=1297 - _ENCRYPTEDVOLUMESTATSRESPONSE._serialized_start=1299 - _ENCRYPTEDVOLUMESTATSRESPONSE._serialized_end=1403 - _MIDDLEENDSERVICE._serialized_start=1406 - _MIDDLEENDSERVICE._serialized_end=2430 + _ENCRYPTEDVOLUMESTATSRESPONSE._serialized_start=1300 + _ENCRYPTEDVOLUMESTATSRESPONSE._serialized_end=1437 + _MIDDLEENDSERVICE._serialized_start=1440 + _MIDDLEENDSERVICE._serialized_end=2464 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/opicommon_pb2.py b/storage/v1alpha1/gen/python/opicommon_pb2.py index 020c7c54..cc126108 100644 --- a/storage/v1alpha1/gen/python/opicommon_pb2.py +++ b/storage/v1alpha1/gen/python/opicommon_pb2.py @@ -15,7 +15,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fopicommon.proto\x12\x12opi_api.storage.v1\"S\n\x0bPciEndpoint\x12\x0f\n\x07port_id\x18\x01 \x01(\x05\x12\x19\n\x11physical_function\x18\x02 \x01(\x05\x12\x18\n\x10virtual_function\x18\x03 \x01(\x05*\xf7\x01\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_128\x10\x01\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_192\x10\x02\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_256\x10\x03\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_128\x10\x04\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_192\x10\x05\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_256\x10\x06\x42]\n\x12opi_api.storage.v1B\x0eOpiCommonProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fopicommon.proto\x12\x12opi_api.storage.v1\"S\n\x0bPciEndpoint\x12\x0f\n\x07port_id\x18\x01 \x01(\x05\x12\x19\n\x11physical_function\x18\x02 \x01(\x05\x12\x18\n\x10virtual_function\x18\x03 \x01(\x05\"\xf0\x01\n\x0bVolumeStats\x12\x12\n\nbytes_read\x18\x01 \x01(\x05\x12\x16\n\x0eread_ops_count\x18\x02 \x01(\x05\x12\x15\n\rbytes_written\x18\x03 \x01(\x05\x12\x17\n\x0fwrite_ops_count\x18\x04 \x01(\x05\x12\x16\n\x0e\x62ytes_unmapped\x18\x05 \x01(\x05\x12\x17\n\x0funmap_ops_count\x18\x06 \x01(\x05\x12\x1a\n\x12read_latency_ticks\x18\x07 \x01(\x05\x12\x1b\n\x13write_latency_ticks\x18\x08 \x01(\x05\x12\x1b\n\x13unmap_latency_ticks\x18\t \x01(\x05*\xf7\x01\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_128\x10\x01\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_192\x10\x02\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_256\x10\x03\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_128\x10\x04\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_192\x10\x05\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_256\x10\x06\x42]\n\x12opi_api.storage.v1B\x0eOpiCommonProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') _ENCRYPTIONTYPE = DESCRIPTOR.enum_types_by_name['EncryptionType'] EncryptionType = enum_type_wrapper.EnumTypeWrapper(_ENCRYPTIONTYPE) @@ -29,6 +29,7 @@ _PCIENDPOINT = DESCRIPTOR.message_types_by_name['PciEndpoint'] +_VOLUMESTATS = DESCRIPTOR.message_types_by_name['VolumeStats'] PciEndpoint = _reflection.GeneratedProtocolMessageType('PciEndpoint', (_message.Message,), { 'DESCRIPTOR' : _PCIENDPOINT, '__module__' : 'opicommon_pb2' @@ -36,12 +37,21 @@ }) _sym_db.RegisterMessage(PciEndpoint) +VolumeStats = _reflection.GeneratedProtocolMessageType('VolumeStats', (_message.Message,), { + 'DESCRIPTOR' : _VOLUMESTATS, + '__module__' : 'opicommon_pb2' + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.VolumeStats) + }) +_sym_db.RegisterMessage(VolumeStats) + if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\016OpiCommonProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' - _ENCRYPTIONTYPE._serialized_start=125 - _ENCRYPTIONTYPE._serialized_end=372 + _ENCRYPTIONTYPE._serialized_start=368 + _ENCRYPTIONTYPE._serialized_end=615 _PCIENDPOINT._serialized_start=39 _PCIENDPOINT._serialized_end=122 + _VOLUMESTATS._serialized_start=125 + _VOLUMESTATS._serialized_end=365 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/middleend.proto b/storage/v1alpha1/middleend.proto index 746a4b69..86f56630 100755 --- a/storage/v1alpha1/middleend.proto +++ b/storage/v1alpha1/middleend.proto @@ -120,5 +120,5 @@ message EncryptedVolumeStatsRequest { message EncryptedVolumeStatsResponse { common.v1.ObjectKey encrypted_volume_id = 1; - string stats = 2; + VolumeStats stats = 2; } diff --git a/storage/v1alpha1/opicommon.proto b/storage/v1alpha1/opicommon.proto index e881933c..1b9f8f98 100755 --- a/storage/v1alpha1/opicommon.proto +++ b/storage/v1alpha1/opicommon.proto @@ -37,6 +37,18 @@ message PciEndpoint { int32 virtual_function = 3; } +message VolumeStats { + int32 bytes_read = 1; + int32 read_ops_count = 2; + int32 bytes_written = 3; + int32 write_ops_count = 4; + int32 bytes_unmapped = 5; + int32 unmap_ops_count = 6; + int32 read_latency_ticks = 7; + int32 write_latency_ticks = 8; + int32 unmap_latency_ticks = 9; +} + // AES encryption types enum EncryptionType { ENCRYPTION_TYPE_UNSPECIFIED = 0;